Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
232 changes: 75 additions & 157 deletions api/grpc/mpi/v1/files.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions api/grpc/mpi/v1/files.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 1 addition & 16 deletions api/grpc/mpi/v1/files.proto
Original file line number Diff line number Diff line change
Expand Up @@ -126,23 +126,8 @@ message FileOverview {
message File {
// Meta information about the file, the name (including path) and hash
FileMeta file_meta = 1;
// Action enumeration
enum FileAction {
// Default value, no action
FILE_ACTION_UNSPECIFIED = 0;
// No changes to the file
FILE_ACTION_UNCHANGED = 1;
// New file
FILE_ACTION_ADD = 2;
// Updated file
FILE_ACTION_UPDATE = 3;
// File deleted
FILE_ACTION_DELETE = 4;
}
// Optional action
optional FileAction action = 2;
// Unmanaged files will not be modified
bool unmanaged = 3;
bool unmanaged = 2;
}

// Represents the get file request
Expand Down
17 changes: 0 additions & 17 deletions docs/proto/protos.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
- [UpdateOverviewResponse](#mpi-v1-UpdateOverviewResponse)
- [X509Name](#mpi-v1-X509Name)

- [File.FileAction](#mpi-v1-File-FileAction)
- [SignatureAlgorithm](#mpi-v1-SignatureAlgorithm)

- [FileService](#mpi-v1-FileService)
Expand Down Expand Up @@ -304,7 +303,6 @@ Represents meta data about a file
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| file_meta | [FileMeta](#mpi-v1-FileMeta) | | Meta information about the file, the name (including path) and hash |
| action | [File.FileAction](#mpi-v1-File-FileAction) | optional | Optional action |
| unmanaged | [bool](#bool) | | Unmanaged files will not be modified |


Expand Down Expand Up @@ -591,21 +589,6 @@ Represents the dates for which a certificate is valid as seen at https://pkg.go.



<a name="mpi-v1-File-FileAction"></a>

### File.FileAction
Action enumeration

| Name | Number | Description |
| ---- | ------ | ----------- |
| FILE_ACTION_UNSPECIFIED | 0 | Default value, no action |
| FILE_ACTION_UNCHANGED | 1 | No changes to the file |
| FILE_ACTION_ADD | 2 | New file |
| FILE_ACTION_UPDATE | 3 | Updated file |
| FILE_ACTION_DELETE | 4 | File deleted |



<a name="mpi-v1-SignatureAlgorithm"></a>

### SignatureAlgorithm
Expand Down
Loading