Skip to content

Commit

Permalink
Automated DCL import.
Browse files Browse the repository at this point in the history
  - a1b537a038a48a71c97a50739ea2ffe9cabb2d75 Automatic import from cloud_mmv2_dcl_20240228_1231_RC00 by DCL Team <[email protected]>

GitOrigin-RevId: a1b537a038a48a71c97a50739ea2ffe9cabb2d75
  • Loading branch information
DCL Team authored and copybara-github committed Feb 28, 2024
1 parent 16b1d7f commit 718ebd0
Show file tree
Hide file tree
Showing 32 changed files with 14,202 additions and 3,591 deletions.
42 changes: 42 additions & 0 deletions python/proto/gkehub/alpha/feature_membership.proto
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ enum GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicy
GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryInstallationEnumALL = 3;
}

enum GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnum {
GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnumNO_VALUE_DO_NOT_USE = 0;
GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnumAFFINITY_UNSPECIFIED = 1;
GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnumNO_AFFINITY = 2;
GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnumANTI_AFFINITY = 3;
}

message GkehubAlphaFeatureMembership {
GkehubAlphaFeatureMembershipMesh mesh = 1;
GkehubAlphaFeatureMembershipConfigmanagement configmanagement = 2;
Expand Down Expand Up @@ -156,6 +163,7 @@ message GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfig {
int64 audit_interval_seconds = 7;
int64 constraint_violation_limit = 8;
GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent policy_content = 9;
map<string, GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigs> deployment_configs = 10;
}

message GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring {
Expand All @@ -164,12 +172,46 @@ message GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigMon

message GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent {
GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary template_library = 1;
map<string, GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundles> bundles = 2;
}

message GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary {
GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryInstallationEnum installation = 1;
}

message GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundles {
repeated string exempted_namespaces = 1;
}

message GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigs {
int64 replica_count = 1;
GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResources container_resources = 2;
GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnum pod_affinity = 3;
repeated GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodTolerations pod_tolerations = 4;
}

message GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResources {
GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesLimits limits = 1;
GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesRequests requests = 2;
}

message GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesLimits {
string memory = 1;
string cpu = 2;
}

message GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesRequests {
string memory = 1;
string cpu = 2;
}

message GkehubAlphaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodTolerations {
string key = 1;
string operator = 2;
string value = 3;
string effect = 4;
}

message ApplyGkehubAlphaFeatureMembershipRequest {
GkehubAlphaFeatureMembership resource = 1;
repeated LifecycleDirective lifecycle_directives = 2;
Expand Down
42 changes: 42 additions & 0 deletions python/proto/gkehub/beta/feature_membership.proto
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ enum GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyC
GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryInstallationEnumALL = 3;
}

enum GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnum {
GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnumNO_VALUE_DO_NOT_USE = 0;
GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnumAFFINITY_UNSPECIFIED = 1;
GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnumNO_AFFINITY = 2;
GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnumANTI_AFFINITY = 3;
}

message GkehubBetaFeatureMembership {
GkehubBetaFeatureMembershipMesh mesh = 1;
GkehubBetaFeatureMembershipConfigmanagement configmanagement = 2;
Expand Down Expand Up @@ -156,6 +163,7 @@ message GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfig {
int64 audit_interval_seconds = 7;
int64 constraint_violation_limit = 8;
GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent policy_content = 9;
map<string, GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigs> deployment_configs = 10;
}

message GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring {
Expand All @@ -164,12 +172,46 @@ message GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigMoni

message GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent {
GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary template_library = 1;
map<string, GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundles> bundles = 2;
}

message GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary {
GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryInstallationEnum installation = 1;
}

message GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundles {
repeated string exempted_namespaces = 1;
}

message GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigs {
int64 replica_count = 1;
GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResources container_resources = 2;
GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnum pod_affinity = 3;
repeated GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodTolerations pod_tolerations = 4;
}

message GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResources {
GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesLimits limits = 1;
GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesRequests requests = 2;
}

message GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesLimits {
string memory = 1;
string cpu = 2;
}

message GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesRequests {
string memory = 1;
string cpu = 2;
}

message GkehubBetaFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodTolerations {
string key = 1;
string operator = 2;
string value = 3;
string effect = 4;
}

message ApplyGkehubBetaFeatureMembershipRequest {
GkehubBetaFeatureMembership resource = 1;
repeated LifecycleDirective lifecycle_directives = 2;
Expand Down
42 changes: 42 additions & 0 deletions python/proto/gkehub/feature_membership.proto
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ enum GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyConte
GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryInstallationEnumALL = 3;
}

enum GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnum {
GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnumNO_VALUE_DO_NOT_USE = 0;
GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnumAFFINITY_UNSPECIFIED = 1;
GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnumNO_AFFINITY = 2;
GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnumANTI_AFFINITY = 3;
}

message GkehubFeatureMembership {
GkehubFeatureMembershipMesh mesh = 1;
GkehubFeatureMembershipConfigmanagement configmanagement = 2;
Expand Down Expand Up @@ -156,6 +163,7 @@ message GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfig {
int64 audit_interval_seconds = 7;
int64 constraint_violation_limit = 8;
GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent policy_content = 9;
map<string, GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigs> deployment_configs = 10;
}

message GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoring {
Expand All @@ -164,12 +172,46 @@ message GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitori

message GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContent {
GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary template_library = 1;
map<string, GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundles> bundles = 2;
}

message GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibrary {
GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryInstallationEnum installation = 1;
}

message GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundles {
repeated string exempted_namespaces = 1;
}

message GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigs {
int64 replica_count = 1;
GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResources container_resources = 2;
GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodAffinityEnum pod_affinity = 3;
repeated GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodTolerations pod_tolerations = 4;
}

message GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResources {
GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesLimits limits = 1;
GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesRequests requests = 2;
}

message GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesLimits {
string memory = 1;
string cpu = 2;
}

message GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsContainerResourcesRequests {
string memory = 1;
string cpu = 2;
}

message GkehubFeatureMembershipPolicycontrollerPolicyControllerHubConfigDeploymentConfigsPodTolerations {
string key = 1;
string operator = 2;
string value = 3;
string effect = 4;
}

message ApplyGkehubFeatureMembershipRequest {
GkehubFeatureMembership resource = 1;
repeated LifecycleDirective lifecycle_directives = 2;
Expand Down
Loading

0 comments on commit 718ebd0

Please sign in to comment.