Skip to content
Open
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
2 changes: 2 additions & 0 deletions flyteidl2/cluster/payload.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ message SelectClusterRequest {
flyteidl2.common.ActionIdentifier action_id = 4;
flyteidl2.common.ActionAttemptIdentifier action_attempt_id = 5;
flyteidl2.app.Identifier app_id = 6;
flyteidl2.common.DomainIdentifier domain_id = 9;
}

enum Operation {
Expand All @@ -29,6 +30,7 @@ message SelectClusterRequest {
OPERATION_CREATE_DOWNLOAD_LINK = 5;
OPERATION_TAIL_LOGS = 6;
OPERATION_GET_ACTION_ATTEMPT_METRICS = 7;
OPERATION_USE_SECRETS = 10;
}

Operation operation = 8 [(buf.validate.field).enum = {
Expand Down
5 changes: 5 additions & 0 deletions flyteidl2/common/identifier.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ message ProjectIdentifier {
string name = 3 [(buf.validate.field).string.min_len = 1];
}

message DomainIdentifier {
string organization = 1 [(buf.validate.field).string.min_len = 1];
string name = 2 [(buf.validate.field).string.min_len = 1];
}

message ClusterIdentifier {
string organization = 1;
string name = 2 [(buf.validate.field).string.min_len = 1];
Expand Down
142 changes: 84 additions & 58 deletions gen/go/flyteidl2/cluster/payload.pb.go

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

41 changes: 41 additions & 0 deletions gen/go/flyteidl2/cluster/payload.pb.validate.go

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

Loading
Loading