Variables
AttachedCluster_State_name, AttachedCluster_State_value
var (
AttachedCluster_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "PROVISIONING",
2: "RUNNING",
3: "RECONCILING",
4: "STOPPING",
5: "ERROR",
6: "DEGRADED",
}
AttachedCluster_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"PROVISIONING": 1,
"RUNNING": 2,
"RECONCILING": 3,
"STOPPING": 4,
"ERROR": 5,
"DEGRADED": 6,
}
)
Enum value maps for AttachedCluster_State.
AwsCluster_State_name, AwsCluster_State_value
var (
AwsCluster_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "PROVISIONING",
2: "RUNNING",
3: "RECONCILING",
4: "STOPPING",
5: "ERROR",
6: "DEGRADED",
}
AwsCluster_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"PROVISIONING": 1,
"RUNNING": 2,
"RECONCILING": 3,
"STOPPING": 4,
"ERROR": 5,
"DEGRADED": 6,
}
)
Enum value maps for AwsCluster_State.
AwsVolumeTemplate_VolumeType_name, AwsVolumeTemplate_VolumeType_value
var (
AwsVolumeTemplate_VolumeType_name = map[int32]string{
0: "VOLUME_TYPE_UNSPECIFIED",
1: "GP2",
2: "GP3",
}
AwsVolumeTemplate_VolumeType_value = map[string]int32{
"VOLUME_TYPE_UNSPECIFIED": 0,
"GP2": 1,
"GP3": 2,
}
)
Enum value maps for AwsVolumeTemplate_VolumeType.
AwsNodePool_State_name, AwsNodePool_State_value
var (
AwsNodePool_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "PROVISIONING",
2: "RUNNING",
3: "RECONCILING",
4: "STOPPING",
5: "ERROR",
6: "DEGRADED",
}
AwsNodePool_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"PROVISIONING": 1,
"RUNNING": 2,
"RECONCILING": 3,
"STOPPING": 4,
"ERROR": 5,
"DEGRADED": 6,
}
)
Enum value maps for AwsNodePool_State.
AwsInstancePlacement_Tenancy_name, AwsInstancePlacement_Tenancy_value
var (
AwsInstancePlacement_Tenancy_name = map[int32]string{
0: "TENANCY_UNSPECIFIED",
1: "DEFAULT",
2: "DEDICATED",
3: "HOST",
}
AwsInstancePlacement_Tenancy_value = map[string]int32{
"TENANCY_UNSPECIFIED": 0,
"DEFAULT": 1,
"DEDICATED": 2,
"HOST": 3,
}
)
Enum value maps for AwsInstancePlacement_Tenancy.
AzureCluster_State_name, AzureCluster_State_value
var (
AzureCluster_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "PROVISIONING",
2: "RUNNING",
3: "RECONCILING",
4: "STOPPING",
5: "ERROR",
6: "DEGRADED",
}
AzureCluster_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"PROVISIONING": 1,
"RUNNING": 2,
"RECONCILING": 3,
"STOPPING": 4,
"ERROR": 5,
"DEGRADED": 6,
}
)
Enum value maps for AzureCluster_State.
AzureNodePool_State_name, AzureNodePool_State_value
var (
AzureNodePool_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "PROVISIONING",
2: "RUNNING",
3: "RECONCILING",
4: "STOPPING",
5: "ERROR",
6: "DEGRADED",
}
AzureNodePool_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"PROVISIONING": 1,
"RUNNING": 2,
"RECONCILING": 3,
"STOPPING": 4,
"ERROR": 5,
"DEGRADED": 6,
}
)
Enum value maps for AzureNodePool_State.
NodeTaint_Effect_name, NodeTaint_Effect_value
var (
NodeTaint_Effect_name = map[int32]string{
0: "EFFECT_UNSPECIFIED",
1: "NO_SCHEDULE",
2: "PREFER_NO_SCHEDULE",
3: "NO_EXECUTE",
}
NodeTaint_Effect_value = map[string]int32{
"EFFECT_UNSPECIFIED": 0,
"NO_SCHEDULE": 1,
"PREFER_NO_SCHEDULE": 2,
"NO_EXECUTE": 3,
}
)
Enum value maps for NodeTaint_Effect.
LoggingComponentConfig_Component_name, LoggingComponentConfig_Component_value
var (
LoggingComponentConfig_Component_name = map[int32]string{
0: "COMPONENT_UNSPECIFIED",
1: "SYSTEM_COMPONENTS",
2: "WORKLOADS",
}
LoggingComponentConfig_Component_value = map[string]int32{
"COMPONENT_UNSPECIFIED": 0,
"SYSTEM_COMPONENTS": 1,
"WORKLOADS": 2,
}
)
Enum value maps for LoggingComponentConfig_Component.
BinaryAuthorization_EvaluationMode_name, BinaryAuthorization_EvaluationMode_value
var (
BinaryAuthorization_EvaluationMode_name = map[int32]string{
0: "EVALUATION_MODE_UNSPECIFIED",
1: "DISABLED",
2: "PROJECT_SINGLETON_POLICY_ENFORCE",
}
BinaryAuthorization_EvaluationMode_value = map[string]int32{
"EVALUATION_MODE_UNSPECIFIED": 0,
"DISABLED": 1,
"PROJECT_SINGLETON_POLICY_ENFORCE": 2,
}
)
Enum value maps for BinaryAuthorization_EvaluationMode.
SecurityPostureConfig_VulnerabilityMode_name, SecurityPostureConfig_VulnerabilityMode_value
var (
SecurityPostureConfig_VulnerabilityMode_name = map[int32]string{
0: "VULNERABILITY_MODE_UNSPECIFIED",
1: "VULNERABILITY_DISABLED",
2: "VULNERABILITY_ENTERPRISE",
}
SecurityPostureConfig_VulnerabilityMode_value = map[string]int32{
"VULNERABILITY_MODE_UNSPECIFIED": 0,
"VULNERABILITY_DISABLED": 1,
"VULNERABILITY_ENTERPRISE": 2,
}
)
Enum value maps for SecurityPostureConfig_VulnerabilityMode.
File_google_cloud_gkemulticloud_v1_attached_resources_proto
var File_google_cloud_gkemulticloud_v1_attached_resources_proto protoreflect.FileDescriptor
File_google_cloud_gkemulticloud_v1_attached_service_proto
var File_google_cloud_gkemulticloud_v1_attached_service_proto protoreflect.FileDescriptor
File_google_cloud_gkemulticloud_v1_aws_resources_proto
var File_google_cloud_gkemulticloud_v1_aws_resources_proto protoreflect.FileDescriptor
File_google_cloud_gkemulticloud_v1_aws_service_proto
var File_google_cloud_gkemulticloud_v1_aws_service_proto protoreflect.FileDescriptor
File_google_cloud_gkemulticloud_v1_azure_resources_proto
var File_google_cloud_gkemulticloud_v1_azure_resources_proto protoreflect.FileDescriptor
File_google_cloud_gkemulticloud_v1_azure_service_proto
var File_google_cloud_gkemulticloud_v1_azure_service_proto protoreflect.FileDescriptor
File_google_cloud_gkemulticloud_v1_common_resources_proto
var File_google_cloud_gkemulticloud_v1_common_resources_proto protoreflect.FileDescriptor
Functions
func RegisterAttachedClustersServer
func RegisterAttachedClustersServer(s *grpc.Server, srv AttachedClustersServer)
func RegisterAwsClustersServer
func RegisterAwsClustersServer(s *grpc.Server, srv AwsClustersServer)
func RegisterAzureClustersServer
func RegisterAzureClustersServer(s *grpc.Server, srv AzureClustersServer)
AttachedCluster
type AttachedCluster struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
OidcConfig *AttachedOidcConfig `protobuf:"bytes,3,opt,name=oidc_config,json=oidcConfig,proto3" json:"oidc_config,omitempty"`
PlatformVersion string `protobuf:"bytes,4,opt,name=platform_version,json=platformVersion,proto3" json:"platform_version,omitempty"`
Distribution string `protobuf:"bytes,16,opt,name=distribution,proto3" json:"distribution,omitempty"`
ClusterRegion string `protobuf:"bytes,22,opt,name=cluster_region,json=clusterRegion,proto3" json:"cluster_region,omitempty"`
Fleet *Fleet `protobuf:"bytes,5,opt,name=fleet,proto3" json:"fleet,omitempty"`
State AttachedCluster_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.gkemulticloud.v1.AttachedCluster_State" json:"state,omitempty"`
Uid string `protobuf:"bytes,7,opt,name=uid,proto3" json:"uid,omitempty"`
Reconciling bool `protobuf:"varint,8,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Etag string `protobuf:"bytes,11,opt,name=etag,proto3" json:"etag,omitempty"`
KubernetesVersion string `protobuf:"bytes,12,opt,name=kubernetes_version,json=kubernetesVersion,proto3" json:"kubernetes_version,omitempty"`
Annotations map[string]string "" /* 164 byte string literal not displayed */
WorkloadIdentityConfig *WorkloadIdentityConfig "" /* 130 byte string literal not displayed */
LoggingConfig *LoggingConfig `protobuf:"bytes,15,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"`
Errors []*AttachedClusterError `protobuf:"bytes,20,rep,name=errors,proto3" json:"errors,omitempty"`
Authorization *AttachedClustersAuthorization `protobuf:"bytes,21,opt,name=authorization,proto3" json:"authorization,omitempty"`
MonitoringConfig *MonitoringConfig `protobuf:"bytes,23,opt,name=monitoring_config,json=monitoringConfig,proto3" json:"monitoring_config,omitempty"`
ProxyConfig *AttachedProxyConfig `protobuf:"bytes,24,opt,name=proxy_config,json=proxyConfig,proto3" json:"proxy_config,omitempty"`
BinaryAuthorization *BinaryAuthorization `protobuf:"bytes,25,opt,name=binary_authorization,json=binaryAuthorization,proto3" json:"binary_authorization,omitempty"`
SecurityPostureConfig *SecurityPostureConfig "" /* 127 byte string literal not displayed */
Tags map[string]string "" /* 150 byte string literal not displayed */
}
An Anthos cluster running on customer own infrastructure.
func (*AttachedCluster) Descriptor
func (*AttachedCluster) Descriptor() ([]byte, []int)
Deprecated: Use AttachedCluster.ProtoReflect.Descriptor instead.
func (*AttachedCluster) GetAnnotations
func (x *AttachedCluster) GetAnnotations() map[string]string
func (*AttachedCluster) GetAuthorization
func (x *AttachedCluster) GetAuthorization() *AttachedClustersAuthorization
func (*AttachedCluster) GetBinaryAuthorization
func (x *AttachedCluster) GetBinaryAuthorization() *BinaryAuthorization
func (*AttachedCluster) GetClusterRegion
func (x *AttachedCluster) GetClusterRegion() string
func (*AttachedCluster) GetCreateTime
func (x *AttachedCluster) GetCreateTime() *timestamppb.Timestamp
func (*AttachedCluster) GetDescription
func (x *AttachedCluster) GetDescription() string
func (*AttachedCluster) GetDistribution
func (x *AttachedCluster) GetDistribution() string
func (*AttachedCluster) GetErrors
func (x *AttachedCluster) GetErrors() []*AttachedClusterError
func (*AttachedCluster) GetEtag
func (x *AttachedCluster) GetEtag() string
func (*AttachedCluster) GetFleet
func (x *AttachedCluster) GetFleet() *Fleet
func (*AttachedCluster) GetKubernetesVersion
func (x *AttachedCluster) GetKubernetesVersion() string
func (*AttachedCluster) GetLoggingConfig
func (x *AttachedCluster) GetLoggingConfig() *LoggingConfig
func (*AttachedCluster) GetMonitoringConfig
func (x *AttachedCluster) GetMonitoringConfig() *MonitoringConfig
func (*AttachedCluster) GetName
func (x *AttachedCluster) GetName() string
func (*AttachedCluster) GetOidcConfig
func (x *AttachedCluster) GetOidcConfig() *AttachedOidcConfig
func (*AttachedCluster) GetPlatformVersion
func (x *AttachedCluster) GetPlatformVersion() string
func (*AttachedCluster) GetProxyConfig
func (x *AttachedCluster) GetProxyConfig() *AttachedProxyConfig
func (*AttachedCluster) GetReconciling
func (x *AttachedCluster) GetReconciling() bool
func (*AttachedCluster) GetSecurityPostureConfig
func (x *AttachedCluster) GetSecurityPostureConfig() *SecurityPostureConfig
func (*AttachedCluster) GetState
func (x *AttachedCluster) GetState() AttachedCluster_State
func (*AttachedCluster) GetTags
func (x *AttachedCluster) GetTags() map[string]string
func (*AttachedCluster) GetUid
func (x *AttachedCluster) GetUid() string
func (*AttachedCluster) GetUpdateTime
func (x *AttachedCluster) GetUpdateTime() *timestamppb.Timestamp
func (*AttachedCluster) GetWorkloadIdentityConfig
func (x *AttachedCluster) GetWorkloadIdentityConfig() *WorkloadIdentityConfig
func (*AttachedCluster) ProtoMessage
func (*AttachedCluster) ProtoMessage()
func (*AttachedCluster) ProtoReflect
func (x *AttachedCluster) ProtoReflect() protoreflect.Message
func (*AttachedCluster) Reset
func (x *AttachedCluster) Reset()
func (*AttachedCluster) String
func (x *AttachedCluster) String() string
AttachedClusterError
type AttachedClusterError struct {
// Human-friendly description of the error.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
AttachedClusterError describes errors found on attached clusters.
func (*AttachedClusterError) Descriptor
func (*AttachedClusterError) Descriptor() ([]byte, []int)
Deprecated: Use AttachedClusterError.ProtoReflect.Descriptor instead.
func (*AttachedClusterError) GetMessage
func (x *AttachedClusterError) GetMessage() string
func (*AttachedClusterError) ProtoMessage
func (*AttachedClusterError) ProtoMessage()
func (*AttachedClusterError) ProtoReflect
func (x *AttachedClusterError) ProtoReflect() protoreflect.Message
func (*AttachedClusterError) Reset
func (x *AttachedClusterError) Reset()
func (*AttachedClusterError) String
func (x *AttachedClusterError) String() string
AttachedClusterGroup
type AttachedClusterGroup struct {
// Required. The name of the group, e.g. `my-group@domain.com`.
Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
// contains filtered or unexported fields
}
Identities of a group-type subject for Attached clusters.
func (*AttachedClusterGroup) Descriptor
func (*AttachedClusterGroup) Descriptor() ([]byte, []int)
Deprecated: Use AttachedClusterGroup.ProtoReflect.Descriptor instead.
func (*AttachedClusterGroup) GetGroup
func (x *AttachedClusterGroup) GetGroup() string
func (*AttachedClusterGroup) ProtoMessage
func (*AttachedClusterGroup) ProtoMessage()
func (*AttachedClusterGroup) ProtoReflect
func (x *AttachedClusterGroup) ProtoReflect() protoreflect.Message
func (*AttachedClusterGroup) Reset
func (x *AttachedClusterGroup) Reset()
func (*AttachedClusterGroup) String
func (x *AttachedClusterGroup) String() string
AttachedClusterUser
type AttachedClusterUser struct {
// Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
// contains filtered or unexported fields
}
Identities of a user-type subject for Attached clusters.
func (*AttachedClusterUser) Descriptor
func (*AttachedClusterUser) Descriptor() ([]byte, []int)
Deprecated: Use AttachedClusterUser.ProtoReflect.Descriptor instead.
func (*AttachedClusterUser) GetUsername
func (x *AttachedClusterUser) GetUsername() string
func (*AttachedClusterUser) ProtoMessage
func (*AttachedClusterUser) ProtoMessage()
func (*AttachedClusterUser) ProtoReflect
func (x *AttachedClusterUser) ProtoReflect() protoreflect.Message
func (*AttachedClusterUser) Reset
func (x *AttachedClusterUser) Reset()
func (*AttachedClusterUser) String
func (x *AttachedClusterUser) String() string
AttachedCluster_State
type AttachedCluster_State int32
The lifecycle state of the cluster.
AttachedCluster_STATE_UNSPECIFIED, AttachedCluster_PROVISIONING, AttachedCluster_RUNNING, AttachedCluster_RECONCILING, AttachedCluster_STOPPING, AttachedCluster_ERROR, AttachedCluster_DEGRADED
const (
// Not set.
AttachedCluster_STATE_UNSPECIFIED AttachedCluster_State = 0
// The PROVISIONING state indicates the cluster is being registered.
AttachedCluster_PROVISIONING AttachedCluster_State = 1
// The RUNNING state indicates the cluster has been register and is fully
// usable.
AttachedCluster_RUNNING AttachedCluster_State = 2
// The RECONCILING state indicates that some work is actively being done on
// the cluster, such as upgrading software components.
AttachedCluster_RECONCILING AttachedCluster_State = 3
// The STOPPING state indicates the cluster is being de-registered.
AttachedCluster_STOPPING AttachedCluster_State = 4
// The ERROR state indicates the cluster is in a broken unrecoverable
// state.
AttachedCluster_ERROR AttachedCluster_State = 5
// The DEGRADED state indicates the cluster requires user action to
// restore full functionality.
AttachedCluster_DEGRADED AttachedCluster_State = 6
)
func (AttachedCluster_State) Descriptor
func (AttachedCluster_State) Descriptor() protoreflect.EnumDescriptor
func (AttachedCluster_State) Enum
func (x AttachedCluster_State) Enum() *AttachedCluster_State
func (AttachedCluster_State) EnumDescriptor
func (AttachedCluster_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use AttachedCluster_State.Descriptor instead.
func (AttachedCluster_State) Number
func (x AttachedCluster_State) Number() protoreflect.EnumNumber
func (AttachedCluster_State) String
func (x AttachedCluster_State) String() string
func (AttachedCluster_State) Type
func (AttachedCluster_State) Type() protoreflect.EnumType
AttachedClustersAuthorization
type AttachedClustersAuthorization struct {
// Optional. Users that can perform operations as a cluster admin. A managed
// ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
// to the users. Up to ten admin users can be provided.
//
// For more info on RBAC, see
// https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
AdminUsers []*AttachedClusterUser `protobuf:"bytes,1,rep,name=admin_users,json=adminUsers,proto3" json:"admin_users,omitempty"`
// Optional. Groups of users that can perform operations as a cluster admin. A
// managed ClusterRoleBinding will be created to grant the `cluster-admin`
// ClusterRole to the groups. Up to ten admin groups can be provided.
//
// For more info on RBAC, see
// https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
AdminGroups []*AttachedClusterGroup `protobuf:"bytes,2,rep,name=admin_groups,json=adminGroups,proto3" json:"admin_groups,omitempty"`
// contains filtered or unexported fields
}
Configuration related to the cluster RBAC settings.
func (*AttachedClustersAuthorization) Descriptor
func (*AttachedClustersAuthorization) Descriptor() ([]byte, []int)
Deprecated: Use AttachedClustersAuthorization.ProtoReflect.Descriptor instead.
func (*AttachedClustersAuthorization) GetAdminGroups
func (x *AttachedClustersAuthorization) GetAdminGroups() []*AttachedClusterGroup
func (*AttachedClustersAuthorization) GetAdminUsers
func (x *AttachedClustersAuthorization) GetAdminUsers() []*AttachedClusterUser
func (*AttachedClustersAuthorization) ProtoMessage
func (*AttachedClustersAuthorization) ProtoMessage()
func (*AttachedClustersAuthorization) ProtoReflect
func (x *AttachedClustersAuthorization) ProtoReflect() protoreflect.Message
func (*AttachedClustersAuthorization) Reset
func (x *AttachedClustersAuthorization) Reset()
func (*AttachedClustersAuthorization) String
func (x *AttachedClustersAuthorization) String() string
AttachedClustersClient
type AttachedClustersClient interface {
// Creates a new
// [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
// on a given Google Cloud Platform project and region.
//
// If successful, the response contains a newly created
// [Operation][google.longrunning.Operation] resource that can be
// described to track the status of the operation.
CreateAttachedCluster(ctx context.Context, in *CreateAttachedClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates an
// [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
UpdateAttachedCluster(ctx context.Context, in *UpdateAttachedClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Imports creates a new
// [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
// by importing an existing Fleet Membership resource.
//
// Attached Clusters created before the introduction of the Anthos Multi-Cloud
// API can be imported through this method.
//
// If successful, the response contains a newly created
// [Operation][google.longrunning.Operation] resource that can be
// described to track the status of the operation.
ImportAttachedCluster(ctx context.Context, in *ImportAttachedClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Describes a specific
// [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
GetAttachedCluster(ctx context.Context, in *GetAttachedClusterRequest, opts ...grpc.CallOption) (*AttachedCluster, error)
// Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
// resources on a given Google Cloud project and region.
ListAttachedClusters(ctx context.Context, in *ListAttachedClustersRequest, opts ...grpc.CallOption) (*ListAttachedClustersResponse, error)
// Deletes a specific
// [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
//
// If successful, the response contains a newly created
// [Operation][google.longrunning.Operation] resource that can be
// described to track the status of the operation.
DeleteAttachedCluster(ctx context.Context, in *DeleteAttachedClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Returns information, such as supported Kubernetes versions, on a given
// Google Cloud location.
GetAttachedServerConfig(ctx context.Context, in *GetAttachedServerConfigRequest, opts ...grpc.CallOption) (*AttachedServerConfig, error)
// Generates the install manifest to be installed on the target cluster.
GenerateAttachedClusterInstallManifest(ctx context.Context, in *GenerateAttachedClusterInstallManifestRequest, opts ...grpc.CallOption) (*GenerateAttachedClusterInstallManifestResponse, error)
// Generates an access token for a cluster agent.
GenerateAttachedClusterAgentToken(ctx context.Context, in *GenerateAttachedClusterAgentTokenRequest, opts ...grpc.CallOption) (*GenerateAttachedClusterAgentTokenResponse, error)
}
AttachedClustersClient is the client API for AttachedClusters service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAttachedClustersClient
func NewAttachedClustersClient(cc grpc.ClientConnInterface) AttachedClustersClient
AttachedClustersServer
type AttachedClustersServer interface {
// Creates a new
// [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
// on a given Google Cloud Platform project and region.
//
// If successful, the response contains a newly created
// [Operation][google.longrunning.Operation] resource that can be
// described to track the status of the operation.
CreateAttachedCluster(context.Context, *CreateAttachedClusterRequest) (*longrunningpb.Operation, error)
// Updates an
// [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
UpdateAttachedCluster(context.Context, *UpdateAttachedClusterRequest) (*longrunningpb.Operation, error)
// Imports creates a new
// [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
// by importing an existing Fleet Membership resource.
//
// Attached Clusters created before the introduction of the Anthos Multi-Cloud
// API can be imported through this method.
//
// If successful, the response contains a newly created
// [Operation][google.longrunning.Operation] resource that can be
// described to track the status of the operation.
ImportAttachedCluster(context.Context, *ImportAttachedClusterRequest) (*longrunningpb.Operation, error)
// Describes a specific
// [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
GetAttachedCluster(context.Context, *GetAttachedClusterRequest) (*AttachedCluster, error)
// Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
// resources on a given Google Cloud project and region.
ListAttachedClusters(context.Context, *ListAttachedClustersRequest) (*ListAttachedClustersResponse, error)
// Deletes a specific
// [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
//
// If successful, the response contains a newly created
// [Operation][google.longrunning.Operation] resource that can be
// described to track the status of the operation.
DeleteAttachedCluster(context.Context, *DeleteAttachedClusterRequest) (*longrunningpb.Operation, error)
// Returns information, such as supported Kubernetes versions, on a given
// Google Cloud location.
GetAttachedServerConfig(context.Context, *GetAttachedServerConfigRequest) (*AttachedServerConfig, error)
// Generates the install manifest to be installed on the target cluster.
GenerateAttachedClusterInstallManifest(context.Context, *GenerateAttachedClusterInstallManifestRequest) (*GenerateAttachedClusterInstallManifestResponse, error)
// Generates an access token for a cluster agent.
GenerateAttachedClusterAgentToken(context.Context, *GenerateAttachedClusterAgentTokenRequest) (*GenerateAttachedClusterAgentTokenResponse, error)
}
AttachedClustersServer is the server API for AttachedClusters service.
AttachedOidcConfig
type AttachedOidcConfig struct {
// A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`.
IssuerUrl string `protobuf:"bytes,1,opt,name=issuer_url,json=issuerUrl,proto3" json:"issuer_url,omitempty"`
// Optional. OIDC verification keys in JWKS format (RFC 7517).
// It contains a list of OIDC verification keys that can be used to verify
// OIDC JWTs.
//
// This field is required for cluster that doesn't have a publicly available
// discovery endpoint. When provided, it will be directly used
// to verify the OIDC JWT asserted by the IDP.
Jwks []byte `protobuf:"bytes,2,opt,name=jwks,proto3" json:"jwks,omitempty"`
// contains filtered or unexported fields
}
OIDC discovery information of the target cluster.
Kubernetes Service Account (KSA) tokens are JWT tokens signed by the cluster API server. This fields indicates how Google Cloud Platform services validate KSA tokens in order to allow system workloads (such as GKE Connect and telemetry agents) to authenticate back to Google Cloud Platform.
Both clusters with public and private issuer URLs are supported.
Clusters with public issuers only need to specify the issuer_url
field
while clusters with private issuers need to provide both
issuer_url
and oidc_jwks
.
func (*AttachedOidcConfig) Descriptor
func (*AttachedOidcConfig) Descriptor() ([]byte, []int)
Deprecated: Use AttachedOidcConfig.ProtoReflect.Descriptor instead.
func (*AttachedOidcConfig) GetIssuerUrl
func (x *AttachedOidcConfig) GetIssuerUrl() string
func (*AttachedOidcConfig) GetJwks
func (x *AttachedOidcConfig) GetJwks() []byte
func (*AttachedOidcConfig) ProtoMessage
func (*AttachedOidcConfig) ProtoMessage()
func (*AttachedOidcConfig) ProtoReflect
func (x *AttachedOidcConfig) ProtoReflect() protoreflect.Message
func (*AttachedOidcConfig) Reset
func (x *AttachedOidcConfig) Reset()
func (*AttachedOidcConfig) String
func (x *AttachedOidcConfig) String() string
AttachedPlatformVersionInfo
type AttachedPlatformVersionInfo struct {
// Platform version name.
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
Information about a supported Attached Clusters platform version.
func (*AttachedPlatformVersionInfo) Descriptor
func (*AttachedPlatformVersionInfo) Descriptor() ([]byte, []int)
Deprecated: Use AttachedPlatformVersionInfo.ProtoReflect.Descriptor instead.
func (*AttachedPlatformVersionInfo) GetVersion
func (x *AttachedPlatformVersionInfo) GetVersion() string
func (*AttachedPlatformVersionInfo) ProtoMessage
func (*AttachedPlatformVersionInfo) ProtoMessage()
func (*AttachedPlatformVersionInfo) ProtoReflect
func (x *AttachedPlatformVersionInfo) ProtoReflect() protoreflect.Message
func (*AttachedPlatformVersionInfo) Reset
func (x *AttachedPlatformVersionInfo) Reset()
func (*AttachedPlatformVersionInfo) String
func (x *AttachedPlatformVersionInfo) String() string
AttachedProxyConfig
type AttachedProxyConfig struct {
// The Kubernetes Secret resource that contains the HTTP(S) proxy
// configuration. The secret must be a JSON encoded proxy configuration
// as described in
// https://cloud.google.com/kubernetes-engine/multi-cloud/docs/attached/eks/how-to/use-a-proxy#configure-proxy-support
// for EKS clusters and
// https://cloud.google.com/kubernetes-engine/multi-cloud/docs/attached/aks/how-to/use-a-proxy#configure-proxy-support
// for AKS clusters.
KubernetesSecret *KubernetesSecret `protobuf:"bytes,1,opt,name=kubernetes_secret,json=kubernetesSecret,proto3" json:"kubernetes_secret,omitempty"`
// contains filtered or unexported fields
}
Details of a proxy config.
func (*AttachedProxyConfig) Descriptor
func (*AttachedProxyConfig) Descriptor() ([]byte, []int)
Deprecated: Use AttachedProxyConfig.ProtoReflect.Descriptor instead.
func (*AttachedProxyConfig) GetKubernetesSecret
func (x *AttachedProxyConfig) GetKubernetesSecret() *KubernetesSecret
func (*AttachedProxyConfig) ProtoMessage
func (*AttachedProxyConfig) ProtoMessage()
func (*AttachedProxyConfig) ProtoReflect
func (x *AttachedProxyConfig) ProtoReflect() protoreflect.Message
func (*AttachedProxyConfig) Reset
func (x *AttachedProxyConfig) Reset()
func (*AttachedProxyConfig) String
func (x *AttachedProxyConfig) String() string
AttachedServerConfig
type AttachedServerConfig struct {
// The resource name of the config.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// List of valid platform versions.
ValidVersions []*AttachedPlatformVersionInfo `protobuf:"bytes,2,rep,name=valid_versions,json=validVersions,proto3" json:"valid_versions,omitempty"`
// contains filtered or unexported fields
}
AttachedServerConfig provides information about supported Kubernetes versions
func (*AttachedServerConfig) Descriptor
func (*AttachedServerConfig) Descriptor() ([]byte, []int)
Deprecated: Use AttachedServerConfig.ProtoReflect.Descriptor instead.
func (*AttachedServerConfig) GetName
func (x *AttachedServerConfig) GetName() string
func (*AttachedServerConfig) GetValidVersions
func (x *AttachedServerConfig) GetValidVersions() []*AttachedPlatformVersionInfo
func (*AttachedServerConfig) ProtoMessage
func (*AttachedServerConfig) ProtoMessage()
func (*AttachedServerConfig) ProtoReflect
func (x *AttachedServerConfig) ProtoReflect() protoreflect.Message
func (*AttachedServerConfig) Reset
func (x *AttachedServerConfig) Reset()
func (*AttachedServerConfig) String
func (x *AttachedServerConfig) String() string
AwsAuthorization
type AwsAuthorization struct {
// Optional. Users that can perform operations as a cluster admin. A managed
// ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
// to the users. Up to ten admin users can be provided.
//
// For more info on RBAC, see
// https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
AdminUsers []*AwsClusterUser `protobuf:"bytes,1,rep,name=admin_users,json=adminUsers,proto3" json:"admin_users,omitempty"`
// Optional. Groups of users that can perform operations as a cluster admin. A
// managed ClusterRoleBinding will be created to grant the `cluster-admin`
// ClusterRole to the groups. Up to ten admin groups can be provided.
//
// For more info on RBAC, see
// https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
AdminGroups []*AwsClusterGroup `protobuf:"bytes,2,rep,name=admin_groups,json=adminGroups,proto3" json:"admin_groups,omitempty"`
// contains filtered or unexported fields
}
Configuration related to the cluster RBAC settings.
func (*AwsAuthorization) Descriptor
func (*AwsAuthorization) Descriptor() ([]byte, []int)
Deprecated: Use AwsAuthorization.ProtoReflect.Descriptor instead.
func (*AwsAuthorization) GetAdminGroups
func (x *AwsAuthorization) GetAdminGroups() []*AwsClusterGroup
func (*AwsAuthorization) GetAdminUsers
func (x *AwsAuthorization) GetAdminUsers() []*AwsClusterUser
func (*AwsAuthorization) ProtoMessage
func (*AwsAuthorization) ProtoMessage()
func (*AwsAuthorization) ProtoReflect
func (x *AwsAuthorization) ProtoReflect() protoreflect.Message
func (*AwsAuthorization) Reset
func (x *AwsAuthorization) Reset()
func (*AwsAuthorization) String
func (x *AwsAuthorization) String() string
AwsAutoscalingGroupMetricsCollection
type AwsAutoscalingGroupMetricsCollection struct {
// Required. The frequency at which EC2 Auto Scaling sends aggregated data to
// AWS CloudWatch. The only valid value is "1Minute".
Granularity string `protobuf:"bytes,1,opt,name=granularity,proto3" json:"granularity,omitempty"`
// Optional. The metrics to enable. For a list of valid metrics, see
// https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
// If you specify Granularity and don't specify any metrics, all metrics are
// enabled.
Metrics []string `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"`
// contains filtered or unexported fields
}
Configuration related to CloudWatch metrics collection in an AWS Auto Scaling group.
func (*AwsAutoscalingGroupMetricsCollection) Descriptor
func (*AwsAutoscalingGroupMetricsCollection) Descriptor() ([]byte, []int)
Deprecated: Use AwsAutoscalingGroupMetricsCollection.ProtoReflect.Descriptor instead.
func (*AwsAutoscalingGroupMetricsCollection) GetGranularity
func (x *AwsAutoscalingGroupMetricsCollection) GetGranularity() string
func (*AwsAutoscalingGroupMetricsCollection) GetMetrics
func (x *AwsAutoscalingGroupMetricsCollection) GetMetrics() []string
func (*AwsAutoscalingGroupMetricsCollection) ProtoMessage
func (*AwsAutoscalingGroupMetricsCollection) ProtoMessage()
func (*AwsAutoscalingGroupMetricsCollection) ProtoReflect
func (x *AwsAutoscalingGroupMetricsCollection) ProtoReflect() protoreflect.Message
func (*AwsAutoscalingGroupMetricsCollection) Reset
func (x *AwsAutoscalingGroupMetricsCollection) Reset()
func (*AwsAutoscalingGroupMetricsCollection) String
func (x *AwsAutoscalingGroupMetricsCollection) String() string
AwsCluster
type AwsCluster struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Networking *AwsClusterNetworking `protobuf:"bytes,3,opt,name=networking,proto3" json:"networking,omitempty"`
AwsRegion string `protobuf:"bytes,4,opt,name=aws_region,json=awsRegion,proto3" json:"aws_region,omitempty"`
ControlPlane *AwsControlPlane `protobuf:"bytes,5,opt,name=control_plane,json=controlPlane,proto3" json:"control_plane,omitempty"`
Authorization *AwsAuthorization `protobuf:"bytes,15,opt,name=authorization,proto3" json:"authorization,omitempty"`
State AwsCluster_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.gkemulticloud.v1.AwsCluster_State" json:"state,omitempty"`
Endpoint string `protobuf:"bytes,8,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
Uid string `protobuf:"bytes,9,opt,name=uid,proto3" json:"uid,omitempty"`
Reconciling bool `protobuf:"varint,10,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Etag string `protobuf:"bytes,13,opt,name=etag,proto3" json:"etag,omitempty"`
Annotations map[string]string "" /* 164 byte string literal not displayed */
WorkloadIdentityConfig *WorkloadIdentityConfig "" /* 130 byte string literal not displayed */
ClusterCaCertificate string `protobuf:"bytes,17,opt,name=cluster_ca_certificate,json=clusterCaCertificate,proto3" json:"cluster_ca_certificate,omitempty"`
Fleet *Fleet `protobuf:"bytes,18,opt,name=fleet,proto3" json:"fleet,omitempty"`
LoggingConfig *LoggingConfig `protobuf:"bytes,19,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"`
Errors []*AwsClusterError `protobuf:"bytes,20,rep,name=errors,proto3" json:"errors,omitempty"`
MonitoringConfig *MonitoringConfig `protobuf:"bytes,21,opt,name=monitoring_config,json=monitoringConfig,proto3" json:"monitoring_config,omitempty"`
BinaryAuthorization *BinaryAuthorization `protobuf:"bytes,22,opt,name=binary_authorization,json=binaryAuthorization,proto3" json:"binary_authorization,omitempty"`
}
An Anthos cluster running on AWS.
func (*AwsCluster) Descriptor
func (*AwsCluster) Descriptor() ([]byte, []int)
Deprecated: Use AwsCluster.ProtoReflect.Descriptor instead.
func (*AwsCluster) GetAnnotations
func (x *AwsCluster) GetAnnotations() map[string]string
func (*AwsCluster) GetAuthorization
func (x *AwsCluster) GetAuthorization() *AwsAuthorization
func (*AwsCluster) GetAwsRegion
func (x *AwsCluster) GetAwsRegion() string
func (*AwsCluster) GetBinaryAuthorization
func (x *AwsCluster) GetBinaryAuthorization() *BinaryAuthorization
func (*AwsCluster) GetClusterCaCertificate
func (x *AwsCluster) GetClusterCaCertificate() string
func (*AwsCluster) GetControlPlane
func (x *AwsCluster) GetControlPlane() *AwsControlPlane
func (*AwsCluster) GetCreateTime
func (x *AwsCluster) GetCreateTime() *timestamppb.Timestamp
func (*AwsCluster) GetDescription
func (x *AwsCluster) GetDescription() string
func (*AwsCluster) GetEndpoint
func (x *AwsCluster) GetEndpoint() string
func (*AwsCluster) GetErrors
func (x *AwsCluster) GetErrors() []*AwsClusterError
func (*AwsCluster) GetEtag
func (x *AwsCluster) GetEtag() string
func (*AwsCluster) GetFleet
func (x *AwsCluster) GetFleet() *Fleet
func (*AwsCluster) GetLoggingConfig
func (x *AwsCluster) GetLoggingConfig() *LoggingConfig
func (*AwsCluster) GetMonitoringConfig
func (x *AwsCluster) GetMonitoringConfig() *MonitoringConfig
func (*AwsCluster) GetName
func (x *AwsCluster) GetName() string
func (*AwsCluster) GetNetworking
func (x *AwsCluster) GetNetworking() *AwsClusterNetworking
func (*AwsCluster) GetReconciling
func (x *AwsCluster) GetReconciling() bool
func (*AwsCluster) GetState
func (x *AwsCluster) GetState() AwsCluster_State
func (*AwsCluster) GetUid
func (x *AwsCluster) GetUid() string
func (*AwsCluster) GetUpdateTime
func (x *AwsCluster) GetUpdateTime() *timestamppb.Timestamp
func (*AwsCluster) GetWorkloadIdentityConfig
func (x *AwsCluster) GetWorkloadIdentityConfig() *WorkloadIdentityConfig
func (*AwsCluster) ProtoMessage
func (*AwsCluster) ProtoMessage()
func (*AwsCluster) ProtoReflect
func (x *AwsCluster) ProtoReflect() protoreflect.Message
func (*AwsCluster) Reset
func (x *AwsCluster) Reset()
func (*AwsCluster) String
func (x *AwsCluster) String() string
AwsClusterError
type AwsClusterError struct {
// Human-friendly description of the error.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
AwsClusterError describes errors found on AWS clusters.
func (*AwsClusterError) Descriptor
func (*AwsClusterError) Descriptor() ([]byte, []int)
Deprecated: Use AwsClusterError.ProtoReflect.Descriptor instead.
func (*AwsClusterError) GetMessage
func (x *AwsClusterError) GetMessage() string
func (*AwsClusterError) ProtoMessage
func (*AwsClusterError) ProtoMessage()
func (*AwsClusterError) ProtoReflect
func (x *AwsClusterError) ProtoReflect() protoreflect.Message
func (*AwsClusterError) Reset
func (x *AwsClusterError) Reset()
func (*AwsClusterError) String
func (x *AwsClusterError) String() string
AwsClusterGroup
type AwsClusterGroup struct {
// Required. The name of the group, e.g. `my-group@domain.com`.
Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
// contains filtered or unexported fields
}
Identities of a group-type subject for AWS clusters.
func (*AwsClusterGroup) Descriptor
func (*AwsClusterGroup) Descriptor() ([]byte, []int)
Deprecated: Use AwsClusterGroup.ProtoReflect.Descriptor instead.
func (*AwsClusterGroup) GetGroup
func (x *AwsClusterGroup) GetGroup() string
func (*AwsClusterGroup) ProtoMessage
func (*AwsClusterGroup) ProtoMessage()
func (*AwsClusterGroup) ProtoReflect
func (x *AwsClusterGroup) ProtoReflect() protoreflect.Message
func (*AwsClusterGroup) Reset
func (x *AwsClusterGroup) Reset()
func (*AwsClusterGroup) String
func (x *AwsClusterGroup) String() string
AwsClusterNetworking
type AwsClusterNetworking struct {
VpcId string `protobuf:"bytes,1,opt,name=vpc_id,json=vpcId,proto3" json:"vpc_id,omitempty"`
PodAddressCidrBlocks []string `protobuf:"bytes,2,rep,name=pod_address_cidr_blocks,json=podAddressCidrBlocks,proto3" json:"pod_address_cidr_blocks,omitempty"`
ServiceAddressCidrBlocks []string "" /* 137 byte string literal not displayed */
PerNodePoolSgRulesDisabled bool "" /* 148 byte string literal not displayed */
}
ClusterNetworking defines cluster-wide networking configuration.
Anthos clusters on AWS run on a single VPC. This includes control plane replicas and node pool nodes.
func (*AwsClusterNetworking) Descriptor
func (*AwsClusterNetworking) Descriptor() ([]byte, []int)
Deprecated: Use AwsClusterNetworking.ProtoReflect.Descriptor instead.
func (*AwsClusterNetworking) GetPerNodePoolSgRulesDisabled
func (x *AwsClusterNetworking) GetPerNodePoolSgRulesDisabled() bool
func (*AwsClusterNetworking) GetPodAddressCidrBlocks
func (x *AwsClusterNetworking) GetPodAddressCidrBlocks() []string
func (*AwsClusterNetworking) GetServiceAddressCidrBlocks
func (x *AwsClusterNetworking) GetServiceAddressCidrBlocks() []string
func (*AwsClusterNetworking) GetVpcId
func (x *AwsClusterNetworking) GetVpcId() string
func (*AwsClusterNetworking) ProtoMessage
func (*AwsClusterNetworking) ProtoMessage()
func (*AwsClusterNetworking) ProtoReflect
func (x *AwsClusterNetworking) ProtoReflect() protoreflect.Message
func (*AwsClusterNetworking) Reset
func (x *AwsClusterNetworking) Reset()
func (*AwsClusterNetworking) String
func (x *AwsClusterNetworking) String() string
AwsClusterUser
type AwsClusterUser struct {
// Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
// contains filtered or unexported fields
}
Identities of a user-type subject for AWS clusters.
func (*AwsClusterUser) Descriptor
func (*AwsClusterUser) Descriptor() ([]byte, []int)
Deprecated: Use AwsClusterUser.ProtoReflect.Descriptor instead.
func (*AwsClusterUser) GetUsername
func (x *AwsClusterUser) GetUsername() string
func (*AwsClusterUser) ProtoMessage
func (*AwsClusterUser) ProtoMessage()
func (*AwsClusterUser) ProtoReflect
func (x *AwsClusterUser) ProtoReflect() protoreflect.Message
func (*AwsClusterUser) Reset
func (x *AwsClusterUser) Reset()
func (*AwsClusterUser) String
func (x *AwsClusterUser) String() string
AwsCluster_State
type AwsCluster_State int32
The lifecycle state of the cluster.
AwsCluster_STATE_UNSPECIFIED, AwsCluster_PROVISIONING, AwsCluster_RUNNING, AwsCluster_RECONCILING, AwsCluster_STOPPING, AwsCluster_ERROR, AwsCluster_DEGRADED
const (
// Not set.
AwsCluster_STATE_UNSPECIFIED AwsCluster_State = 0
// The PROVISIONING state indicates the cluster is being created.
AwsCluster_PROVISIONING AwsCluster_State = 1
// The RUNNING state indicates the cluster has been created and is fully
// usable.
AwsCluster_RUNNING AwsCluster_State = 2
// The RECONCILING state indicates that some work is actively being done on
// the cluster, such as upgrading the control plane replicas.
AwsCluster_RECONCILING AwsCluster_State = 3
// The STOPPING state indicates the cluster is being deleted.
AwsCluster_STOPPING AwsCluster_State = 4
// The ERROR state indicates the cluster is in a broken unrecoverable
// state.
AwsCluster_ERROR AwsCluster_State = 5
// The DEGRADED state indicates the cluster requires user action to
// restore full functionality.
AwsCluster_DEGRADED AwsCluster_State = 6
)
func (AwsCluster_State) Descriptor
func (AwsCluster_State) Descriptor() protoreflect.EnumDescriptor
func (AwsCluster_State) Enum
func (x AwsCluster_State) Enum() *AwsCluster_State
func (AwsCluster_State) EnumDescriptor
func (AwsCluster_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use AwsCluster_State.Descriptor instead.
func (AwsCluster_State) Number
func (x AwsCluster_State) Number() protoreflect.EnumNumber
func (AwsCluster_State) String
func (x AwsCluster_State) String() string
func (AwsCluster_State) Type
func (AwsCluster_State) Type() protoreflect.EnumType
AwsClustersClient
type AwsClustersClient interface {
// Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
// resource on a given Google Cloud Platform project and region.
//
// If successful, the response contains a newly created
// [Operation][google.longrunning.Operation] resource that can be
// described to track the status of the operation.
CreateAwsCluster(ctx context.Context, in *CreateAwsClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
UpdateAwsCluster(ctx context.Context, in *UpdateAwsClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
// resource.
GetAwsCluster(ctx context.Context, in *GetAwsClusterRequest, opts ...grpc.CallOption) (*AwsCluster, error)
// Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
// on a given Google Cloud project and region.
ListAwsClusters(ctx context.Context, in *ListAwsClustersRequest, opts ...grpc.CallOption) (*ListAwsClustersResponse, error)
// Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
// resource.
//
// Fails if the cluster has one or more associated
// [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
//
// If successful, the response contains a newly created
// [Operation][google.longrunning.Operation] resource that can be
// described to track the status of the operation.
DeleteAwsCluster(ctx context.Context, in *DeleteAwsClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Generates an access token for a cluster agent.
GenerateAwsClusterAgentToken(ctx context.Context, in *GenerateAwsClusterAgentTokenRequest, opts ...grpc.CallOption) (*GenerateAwsClusterAgentTokenResponse, error)
// Generates a short-lived access token to authenticate to a given
// [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
GenerateAwsAccessToken(ctx context.Context, in *GenerateAwsAccessTokenRequest, opts ...grpc.CallOption) (*GenerateAwsAccessTokenResponse, error)
// Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],
// attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
//
// If successful, the response contains a newly created
// [Operation][google.longrunning.Operation] resource that can be
// described to track the status of the operation.
CreateAwsNodePool(ctx context.Context, in *CreateAwsNodePoolRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
UpdateAwsNodePool(ctx context.Context, in *UpdateAwsNodePoolRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Rolls back a previously aborted or failed
// [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request.
// Makes no changes if the last update request successfully finished.
// If an update request is in progress, you cannot rollback the update.
// You must first cancel or let it finish unsuccessfully before you can
// rollback.
RollbackAwsNodePoolUpdate(ctx context.Context, in *RollbackAwsNodePoolUpdateRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Describes a specific
// [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
GetAwsNodePool(ctx context.Context, in *GetAwsNodePoolRequest, opts ...grpc.CallOption) (*AwsNodePool, error)
// Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
// resources on a given
// [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
ListAwsNodePools(ctx context.Context, in *ListAwsNodePoolsRequest, opts ...grpc.CallOption) (*ListAwsNodePoolsResponse, error)
// Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
// resource.
//
// If successful, the response contains a newly created
// [Operation][google.longrunning.Operation] resource that can be
// described to track the status of the operation.
DeleteAwsNodePool(ctx context.Context, in *DeleteAwsNodePoolRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets the OIDC discovery document for the cluster.
// See the
// [OpenID Connect Discovery 1.0
// specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
// for details.
GetAwsOpenIdConfig(ctx context.Context, in *GetAwsOpenIdConfigRequest, opts ...grpc.CallOption) (*AwsOpenIdConfig, error)
// Gets the public component of the cluster signing keys in
// JSON Web Key format.
GetAwsJsonWebKeys(ctx context.Context, in *GetAwsJsonWebKeysRequest, opts ...grpc.CallOption) (*AwsJsonWebKeys, error)
// Returns information, such as supported AWS regions and Kubernetes
// versions, on a given Google Cloud location.
GetAwsServerConfig(ctx context.Context, in *GetAwsServerConfigRequest, opts ...grpc.CallOption) (*AwsServerConfig, error)
}
AwsClustersClient is the client API for AwsClusters service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAwsClustersClient
func NewAwsClustersClient(cc grpc.ClientConnInterface) AwsClustersClient
AwsClustersServer
type AwsClustersServer interface {
// Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
// resource on a given Google Cloud Platform project and region.
//
// If successful, the response contains a newly created
// [Operation][google.longrunning.Operation] resource that can be
// described to track the status of the operation.
CreateAwsCluster(context.Context, *CreateAwsClusterRequest) (*longrunningpb.Operation, error)
// Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
UpdateAwsCluster(context.Context, *UpdateAwsClusterRequest) (*longrunningpb.Operation, error)
// Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
// resource.
GetAwsCluster(context.Context, *GetAwsClusterRequest) (*AwsCluster, error)
// Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
// on a given Google Cloud project and region.
ListAwsClusters(context.Context, *ListAwsClustersRequest) (*ListAwsClustersResponse, error)
// Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
// resource.
//
// Fails if the cluster has one or more associated
// [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
//
// If successful, the response contains a newly created
// [Operation][google.longrunning.Operation] resource that can be
// described to track the status of the operation.
DeleteAwsCluster(context.Context, *DeleteAwsClusterRequest) (*longrunningpb.Operation, error)
// Generates an access token for a cluster agent.
GenerateAwsClusterAgentToken(context.Context, *GenerateAwsClusterAgentTokenRequest) (*GenerateAwsClusterAgentTokenResponse, error)
// Generates a short-lived access token to authenticate to a given
// [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
GenerateAwsAccessToken(context.Context, *GenerateAwsAccessTokenRequest) (*GenerateAwsAccessTokenResponse, error)
// Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],
// attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
//
// If successful, the response contains a newly created
// [Operation][google.longrunning.Operation] resource that can be
// described to track the status of the operation.
CreateAwsNodePool(context.Context, *CreateAwsNodePoolRequest) (*longrunningpb.Operation, error)
// Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
UpdateAwsNodePool(context.Context, *UpdateAwsNodePoolRequest) (*longrunningpb.Operation, error)
// Rolls back a previously aborted or failed
// [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request.
// Makes no changes if the last update request successfully finished.
// If an update request is in progress, you cannot rollback the update.
// You must first cancel or let it finish unsuccessfully before you can
// rollback.
RollbackAwsNodePoolUpdate(context.Context, *RollbackAwsNodePoolUpdateRequest) (*longrunningpb.Operation, error)
// Describes a specific
// [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
GetAwsNodePool(context.Context, *GetAwsNodePoolRequest) (*AwsNodePool, error)
// Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
// resources on a given
// [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
ListAwsNodePools(context.Context, *ListAwsNodePoolsRequest) (*ListAwsNodePoolsResponse, error)
// Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
// resource.
//
// If successful, the response contains a newly created
// [Operation][google.longrunning.Operation] resource that can be
// described to track the status of the operation.
DeleteAwsNodePool(context.Context, *DeleteAwsNodePoolRequest) (*longrunningpb.Operation, error)
// Gets the OIDC discovery document for the cluster.
// See the
// [OpenID Connect Discovery 1.0
// specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
// for details.
GetAwsOpenIdConfig(context.Context, *GetAwsOpenIdConfigRequest) (*AwsOpenIdConfig, error)
// Gets the public component of the cluster signing keys in
// JSON Web Key format.
GetAwsJsonWebKeys(context.Context, *GetAwsJsonWebKeysRequest) (*AwsJsonWebKeys, error)
// Returns information, such as supported AWS regions and Kubernetes
// versions, on a given Google Cloud location.
GetAwsServerConfig(context.Context, *GetAwsServerConfigRequest) (*AwsServerConfig, error)
}
AwsClustersServer is the server API for AwsClusters service.
AwsConfigEncryption
type AwsConfigEncryption struct {
// Required. The ARN of the AWS KMS key used to encrypt user data.
KmsKeyArn string `protobuf:"bytes,1,opt,name=kms_key_arn,json=kmsKeyArn,proto3" json:"kms_key_arn,omitempty"`
// contains filtered or unexported fields
}
Config encryption for user data.
func (*AwsConfigEncryption) Descriptor
func (*AwsConfigEncryption) Descriptor() ([]byte, []int)
Deprecated: Use AwsConfigEncryption.ProtoReflect.Descriptor instead.
func (*AwsConfigEncryption) GetKmsKeyArn
func (x *AwsConfigEncryption) GetKmsKeyArn() string
func (*AwsConfigEncryption) ProtoMessage
func (*AwsConfigEncryption) ProtoMessage()
func (*AwsConfigEncryption) ProtoReflect
func (x *AwsConfigEncryption) ProtoReflect() protoreflect.Message
func (*AwsConfigEncryption) Reset
func (x *AwsConfigEncryption) Reset()
func (*AwsConfigEncryption) String
func (x *AwsConfigEncryption) String() string
AwsControlPlane
type AwsControlPlane struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
InstanceType string `protobuf:"bytes,2,opt,name=instance_type,json=instanceType,proto3" json:"instance_type,omitempty"`
SshConfig *AwsSshConfig `protobuf:"bytes,14,opt,name=ssh_config,json=sshConfig,proto3" json:"ssh_config,omitempty"`
SubnetIds []string `protobuf:"bytes,4,rep,name=subnet_ids,json=subnetIds,proto3" json:"subnet_ids,omitempty"`
SecurityGroupIds []string `protobuf:"bytes,5,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
IamInstanceProfile string `protobuf:"bytes,7,opt,name=iam_instance_profile,json=iamInstanceProfile,proto3" json:"iam_instance_profile,omitempty"`
RootVolume *AwsVolumeTemplate `protobuf:"bytes,8,opt,name=root_volume,json=rootVolume,proto3" json:"root_volume,omitempty"`
MainVolume *AwsVolumeTemplate `protobuf:"bytes,9,opt,name=main_volume,json=mainVolume,proto3" json:"main_volume,omitempty"`
DatabaseEncryption *AwsDatabaseEncryption `protobuf:"bytes,10,opt,name=database_encryption,json=databaseEncryption,proto3" json:"database_encryption,omitempty"`
Tags map[string]string "" /* 150 byte string literal not displayed */
AwsServicesAuthentication *AwsServicesAuthentication "" /* 139 byte string literal not displayed */
ProxyConfig *AwsProxyConfig `protobuf:"bytes,16,opt,name=proxy_config,json=proxyConfig,proto3" json:"proxy_config,omitempty"`
ConfigEncryption *AwsConfigEncryption `protobuf:"bytes,17,opt,name=config_encryption,json=configEncryption,proto3" json:"config_encryption,omitempty"`
InstancePlacement *AwsInstancePlacement `protobuf:"bytes,18,opt,name=instance_placement,json=instancePlacement,proto3" json:"instance_placement,omitempty"`
}
ControlPlane defines common parameters between control plane nodes.
func (*AwsControlPlane) Descriptor
func (*AwsControlPlane) Descriptor() ([]byte, []int)
Deprecated: Use AwsControlPlane.ProtoReflect.Descriptor instead.
func (*AwsControlPlane) GetAwsServicesAuthentication
func (x *AwsControlPlane) GetAwsServicesAuthentication() *AwsServicesAuthentication
func (*AwsControlPlane) GetConfigEncryption
func (x *AwsControlPlane) GetConfigEncryption() *AwsConfigEncryption
func (*AwsControlPlane) GetDatabaseEncryption
func (x *AwsControlPlane) GetDatabaseEncryption() *AwsDatabaseEncryption
func (*AwsControlPlane) GetIamInstanceProfile
func (x *AwsControlPlane) GetIamInstanceProfile() string
func (*AwsControlPlane) GetInstancePlacement
func (x *AwsControlPlane) GetInstancePlacement() *AwsInstancePlacement
func (*AwsControlPlane) GetInstanceType
func (x *AwsControlPlane) GetInstanceType() string
func (*AwsControlPlane) GetMainVolume
func (x *AwsControlPlane) GetMainVolume() *AwsVolumeTemplate
func (*AwsControlPlane) GetProxyConfig
func (x *AwsControlPlane) GetProxyConfig() *AwsProxyConfig
func (*AwsControlPlane) GetRootVolume
func (x *AwsControlPlane) GetRootVolume() *AwsVolumeTemplate
func (*AwsControlPlane) GetSecurityGroupIds
func (x *AwsControlPlane) GetSecurityGroupIds() []string
func (*AwsControlPlane) GetSshConfig
func (x *AwsControlPlane) GetSshConfig() *AwsSshConfig
func (*AwsControlPlane) GetSubnetIds
func (x *AwsControlPlane) GetSubnetIds() []string
func (*AwsControlPlane) GetTags
func (x *AwsControlPlane) GetTags() map[string]string
func (*AwsControlPlane) GetVersion
func (x *AwsControlPlane) GetVersion() string
func (*AwsControlPlane) ProtoMessage
func (*AwsControlPlane) ProtoMessage()
func (*AwsControlPlane) ProtoReflect
func (x *AwsControlPlane) ProtoReflect() protoreflect.Message
func (*AwsControlPlane) Reset
func (x *AwsControlPlane) Reset()
func (*AwsControlPlane) String
func (x *AwsControlPlane) String() string
AwsDatabaseEncryption
type AwsDatabaseEncryption struct {
// Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
KmsKeyArn string `protobuf:"bytes,1,opt,name=kms_key_arn,json=kmsKeyArn,proto3" json:"kms_key_arn,omitempty"`
// contains filtered or unexported fields
}
Configuration related to application-layer secrets encryption.
func (*AwsDatabaseEncryption) Descriptor
func (*AwsDatabaseEncryption) Descriptor() ([]byte, []int)
Deprecated: Use AwsDatabaseEncryption.ProtoReflect.Descriptor instead.
func (*AwsDatabaseEncryption) GetKmsKeyArn
func (x *AwsDatabaseEncryption) GetKmsKeyArn() string
func (*AwsDatabaseEncryption) ProtoMessage
func (*AwsDatabaseEncryption) ProtoMessage()
func (*AwsDatabaseEncryption) ProtoReflect
func (x *AwsDatabaseEncryption) ProtoReflect() protoreflect.Message
func (*AwsDatabaseEncryption) Reset
func (x *AwsDatabaseEncryption) Reset()
func (*AwsDatabaseEncryption) String
func (x *AwsDatabaseEncryption) String() string
AwsInstancePlacement
type AwsInstancePlacement struct {
Tenancy AwsInstancePlacement_Tenancy "" /* 132 byte string literal not displayed */
}
Details of placement information for an instance.
Limitations for using the host
tenancy:
- T3 instances that use the unlimited CPU credit option don't support host tenancy.
func (*AwsInstancePlacement) Descriptor
func (*AwsInstancePlacement) Descriptor() ([]byte, []int)
Deprecated: Use AwsInstancePlacement.ProtoReflect.Descriptor instead.
func (*AwsInstancePlacement) GetTenancy
func (x *AwsInstancePlacement) GetTenancy() AwsInstancePlacement_Tenancy
func (*AwsInstancePlacement) ProtoMessage
func (*AwsInstancePlacement) ProtoMessage()
func (*AwsInstancePlacement) ProtoReflect
func (x *AwsInstancePlacement) ProtoReflect() protoreflect.Message
func (*AwsInstancePlacement) Reset
func (x *AwsInstancePlacement) Reset()
func (*AwsInstancePlacement) String
func (x *AwsInstancePlacement) String() string
AwsInstancePlacement_Tenancy
type AwsInstancePlacement_Tenancy int32
Tenancy defines how EC2 instances are distributed across physical hardware.
AwsInstancePlacement_TENANCY_UNSPECIFIED, AwsInstancePlacement_DEFAULT, AwsInstancePlacement_DEDICATED, AwsInstancePlacement_HOST
const (
// Not set.
AwsInstancePlacement_TENANCY_UNSPECIFIED AwsInstancePlacement_Tenancy = 0
// Use default VPC tenancy.
AwsInstancePlacement_DEFAULT AwsInstancePlacement_Tenancy = 1
// Run a dedicated instance.
AwsInstancePlacement_DEDICATED AwsInstancePlacement_Tenancy = 2
// Launch this instance to a dedicated host.
AwsInstancePlacement_HOST AwsInstancePlacement_Tenancy = 3
)
func (AwsInstancePlacement_Tenancy) Descriptor
func (AwsInstancePlacement_Tenancy) Descriptor() protoreflect.EnumDescriptor
func (AwsInstancePlacement_Tenancy) Enum
func (x AwsInstancePlacement_Tenancy) Enum() *AwsInstancePlacement_Tenancy
func (AwsInstancePlacement_Tenancy) EnumDescriptor
func (AwsInstancePlacement_Tenancy) EnumDescriptor() ([]byte, []int)
Deprecated: Use AwsInstancePlacement_Tenancy.Descriptor instead.
func (AwsInstancePlacement_Tenancy) Number
func (x AwsInstancePlacement_Tenancy) Number() protoreflect.EnumNumber
func (AwsInstancePlacement_Tenancy) String
func (x AwsInstancePlacement_Tenancy) String() string
func (AwsInstancePlacement_Tenancy) Type
func (AwsInstancePlacement_Tenancy) Type() protoreflect.EnumType
AwsJsonWebKeys
type AwsJsonWebKeys struct {
// The public component of the keys used by the cluster to sign token
// requests.
Keys []*Jwk `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
// contains filtered or unexported fields
}
AwsJsonWebKeys is a valid JSON Web Key Set as specififed in RFC 7517.
func (*AwsJsonWebKeys) Descriptor
func (*AwsJsonWebKeys) Descriptor() ([]byte, []int)
Deprecated: Use AwsJsonWebKeys.ProtoReflect.Descriptor instead.
func (*AwsJsonWebKeys) GetKeys
func (x *AwsJsonWebKeys) GetKeys() []*Jwk
func (*AwsJsonWebKeys) ProtoMessage
func (*AwsJsonWebKeys) ProtoMessage()
func (*AwsJsonWebKeys) ProtoReflect
func (x *AwsJsonWebKeys) ProtoReflect() protoreflect.Message
func (*AwsJsonWebKeys) Reset
func (x *AwsJsonWebKeys) Reset()
func (*AwsJsonWebKeys) String
func (x *AwsJsonWebKeys) String() string
AwsK8SVersionInfo
type AwsK8SVersionInfo struct {
// Kubernetes version name.
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// Optional. True if the version is available for cluster creation. If a
// version is enabled for creation, it can be used to create new clusters.
// Otherwise, cluster creation will fail. However, cluster upgrade operations
// may succeed, even if the version is not enabled.
Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
// Optional. True if this cluster version belongs to a minor version that has
// reached its end of life and is no longer in scope to receive security and
// bug fixes.
EndOfLife bool `protobuf:"varint,4,opt,name=end_of_life,json=endOfLife,proto3" json:"end_of_life,omitempty"`
// Optional. The estimated date (in Pacific Time) when this cluster version
// will reach its end of life. Or if this version is no longer supported (the
// `end_of_life` field is true), this is the actual date (in Pacific time)
// when the version reached its end of life.
EndOfLifeDate *date.Date `protobuf:"bytes,5,opt,name=end_of_life_date,json=endOfLifeDate,proto3" json:"end_of_life_date,omitempty"`
// Optional. The date (in Pacific Time) when the cluster version was released.
ReleaseDate *date.Date `protobuf:"bytes,6,opt,name=release_date,json=releaseDate,proto3" json:"release_date,omitempty"`
// contains filtered or unexported fields
}
Kubernetes version information of GKE cluster on AWS.
func (*AwsK8SVersionInfo) Descriptor
func (*AwsK8SVersionInfo) Descriptor() ([]byte, []int)
Deprecated: Use AwsK8SVersionInfo.ProtoReflect.Descriptor instead.
func (*AwsK8SVersionInfo) GetEnabled
func (x *AwsK8SVersionInfo) GetEnabled() bool
func (*AwsK8SVersionInfo) GetEndOfLife
func (x *AwsK8SVersionInfo) GetEndOfLife() bool
func (*AwsK8SVersionInfo) GetEndOfLifeDate
func (x *AwsK8SVersionInfo) GetEndOfLifeDate() *date.Date
func (*AwsK8SVersionInfo) GetReleaseDate
func (x *AwsK8SVersionInfo) GetReleaseDate() *date.Date
func (*AwsK8SVersionInfo) GetVersion
func (x *AwsK8SVersionInfo) GetVersion() string
func (*AwsK8SVersionInfo) ProtoMessage
func (*AwsK8SVersionInfo) ProtoMessage()
func (*AwsK8SVersionInfo) ProtoReflect
func (x *AwsK8SVersionInfo) ProtoReflect() protoreflect.Message
func (*AwsK8SVersionInfo) Reset
func (x *AwsK8SVersionInfo) Reset()
func (*AwsK8SVersionInfo) String
func (x *AwsK8SVersionInfo) String() string
AwsNodeConfig
type AwsNodeConfig struct {
InstanceType string `protobuf:"bytes,1,opt,name=instance_type,json=instanceType,proto3" json:"instance_type,omitempty"`
RootVolume *AwsVolumeTemplate `protobuf:"bytes,2,opt,name=root_volume,json=rootVolume,proto3" json:"root_volume,omitempty"`
Taints []*NodeTaint `protobuf:"bytes,3,rep,name=taints,proto3" json:"taints,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
Tags map[string]string "" /* 149 byte string literal not displayed */
IamInstanceProfile string `protobuf:"bytes,6,opt,name=iam_instance_profile,json=iamInstanceProfile,proto3" json:"iam_instance_profile,omitempty"`
ImageType string `protobuf:"bytes,11,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"`
SshConfig *AwsSshConfig `protobuf:"bytes,9,opt,name=ssh_config,json=sshConfig,proto3" json:"ssh_config,omitempty"`
SecurityGroupIds []string `protobuf:"bytes,10,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
ProxyConfig *AwsProxyConfig `protobuf:"bytes,12,opt,name=proxy_config,json=proxyConfig,proto3" json:"proxy_config,omitempty"`
ConfigEncryption *AwsConfigEncryption `protobuf:"bytes,13,opt,name=config_encryption,json=configEncryption,proto3" json:"config_encryption,omitempty"`
InstancePlacement *AwsInstancePlacement `protobuf:"bytes,14,opt,name=instance_placement,json=instancePlacement,proto3" json:"instance_placement,omitempty"`
AutoscalingMetricsCollection *AwsAutoscalingGroupMetricsCollection "" /* 148 byte string literal not displayed */
SpotConfig *SpotConfig `protobuf:"bytes,16,opt,name=spot_config,json=spotConfig,proto3" json:"spot_config,omitempty"`
}
Parameters that describe the nodes in a cluster.
func (*AwsNodeConfig) Descriptor
func (*AwsNodeConfig) Descriptor() ([]byte, []int)
Deprecated: Use AwsNodeConfig.ProtoReflect.Descriptor instead.
func (*AwsNodeConfig) GetAutoscalingMetricsCollection
func (x *AwsNodeConfig) GetAutoscalingMetricsCollection() *AwsAutoscalingGroupMetricsCollection
func (*AwsNodeConfig) GetConfigEncryption
func (x *AwsNodeConfig) GetConfigEncryption() *AwsConfigEncryption
func (*AwsNodeConfig) GetIamInstanceProfile
func (x *AwsNodeConfig) GetIamInstanceProfile() string
func (*AwsNodeConfig) GetImageType
func (x *AwsNodeConfig) GetImageType() string
func (*AwsNodeConfig) GetInstancePlacement
func (x *AwsNodeConfig) GetInstancePlacement() *AwsInstancePlacement
func (*AwsNodeConfig) GetInstanceType
func (x *AwsNodeConfig) GetInstanceType() string
func (*AwsNodeConfig) GetLabels
func (x *AwsNodeConfig) GetLabels() map[string]string
func (*AwsNodeConfig) GetProxyConfig
func (x *AwsNodeConfig) GetProxyConfig() *AwsProxyConfig
func (*AwsNodeConfig) GetRootVolume
func (x *AwsNodeConfig) GetRootVolume() *AwsVolumeTemplate
func (*AwsNodeConfig) GetSecurityGroupIds
func (x *AwsNodeConfig) GetSecurityGroupIds() []string
func (*AwsNodeConfig) GetSpotConfig
func (x *AwsNodeConfig) GetSpotConfig() *SpotConfig
func (*AwsNodeConfig) GetSshConfig
func (x *AwsNodeConfig) GetSshConfig() *AwsSshConfig
func (*AwsNodeConfig) GetTags
func (x *AwsNodeConfig) GetTags() map[string]string
func (*AwsNodeConfig) GetTaints
func (x *AwsNodeConfig) GetTaints() []*NodeTaint
func (*AwsNodeConfig) ProtoMessage
func (*AwsNodeConfig) ProtoMessage()
func (*AwsNodeConfig) ProtoReflect
func (x *AwsNodeConfig) ProtoReflect() protoreflect.Message
func (*AwsNodeConfig) Reset
func (x *AwsNodeConfig) Reset()
func (*AwsNodeConfig) String
func (x *AwsNodeConfig) String() string
AwsNodeManagement
type AwsNodeManagement struct {
// Optional. Whether or not the nodes will be automatically repaired. When set
// to true, the nodes in this node pool will be monitored and if they fail
// health checks consistently over a period of time, an automatic repair
// action will be triggered to replace them with new nodes.
AutoRepair bool `protobuf:"varint,1,opt,name=auto_repair,json=autoRepair,proto3" json:"auto_repair,omitempty"`
// contains filtered or unexported fields
}
AwsNodeManagement defines the set of node management features turned on for an AWS node pool.
func (*AwsNodeManagement) Descriptor
func (*AwsNodeManagement) Descriptor() ([]byte, []int)
Deprecated: Use AwsNodeManagement.ProtoReflect.Descriptor instead.
func (*AwsNodeManagement) GetAutoRepair
func (x *AwsNodeManagement) GetAutoRepair() bool
func (*AwsNodeManagement) ProtoMessage
func (*AwsNodeManagement) ProtoMessage()
func (*AwsNodeManagement) ProtoReflect
func (x *AwsNodeManagement) ProtoReflect() protoreflect.Message
func (*AwsNodeManagement) Reset
func (x *AwsNodeManagement) Reset()
func (*AwsNodeManagement) String
func (x *AwsNodeManagement) String() string
AwsNodePool
type AwsNodePool struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
Config *AwsNodeConfig `protobuf:"bytes,28,opt,name=config,proto3" json:"config,omitempty"`
Autoscaling *AwsNodePoolAutoscaling `protobuf:"bytes,25,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"`
SubnetId string `protobuf:"bytes,6,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
State AwsNodePool_State `protobuf:"varint,16,opt,name=state,proto3,enum=google.cloud.gkemulticloud.v1.AwsNodePool_State" json:"state,omitempty"`
Uid string `protobuf:"bytes,17,opt,name=uid,proto3" json:"uid,omitempty"`
Reconciling bool `protobuf:"varint,18,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Etag string `protobuf:"bytes,21,opt,name=etag,proto3" json:"etag,omitempty"`
Annotations map[string]string "" /* 164 byte string literal not displayed */
MaxPodsConstraint *MaxPodsConstraint `protobuf:"bytes,27,opt,name=max_pods_constraint,json=maxPodsConstraint,proto3" json:"max_pods_constraint,omitempty"`
Errors []*AwsNodePoolError `protobuf:"bytes,29,rep,name=errors,proto3" json:"errors,omitempty"`
Management *AwsNodeManagement `protobuf:"bytes,30,opt,name=management,proto3" json:"management,omitempty"`
KubeletConfig *NodeKubeletConfig `protobuf:"bytes,31,opt,name=kubelet_config,json=kubeletConfig,proto3" json:"kubelet_config,omitempty"`
UpdateSettings *UpdateSettings `protobuf:"bytes,32,opt,name=update_settings,json=updateSettings,proto3" json:"update_settings,omitempty"`
}
An Anthos node pool running on AWS.
func (*AwsNodePool) Descriptor
func (*AwsNodePool) Descriptor() ([]byte, []int)
Deprecated: Use AwsNodePool.ProtoReflect.Descriptor instead.
func (*AwsNodePool) GetAnnotations
func (x *AwsNodePool) GetAnnotations() map[string]string
func (*AwsNodePool) GetAutoscaling
func (x *AwsNodePool) GetAutoscaling() *AwsNodePoolAutoscaling
func (*AwsNodePool) GetConfig
func (x *AwsNodePool) GetConfig() *AwsNodeConfig
func (*AwsNodePool) GetCreateTime
func (x *AwsNodePool) GetCreateTime() *timestamppb.Timestamp
func (*AwsNodePool) GetErrors
func (x *AwsNodePool) GetErrors() []*AwsNodePoolError
func (*AwsNodePool) GetEtag
func (x *AwsNodePool) GetEtag() string
func (*AwsNodePool) GetKubeletConfig
func (x *AwsNodePool) GetKubeletConfig() *NodeKubeletConfig
func (*AwsNodePool) GetManagement
func (x *AwsNodePool) GetManagement() *AwsNodeManagement
func (*AwsNodePool) GetMaxPodsConstraint
func (x *AwsNodePool) GetMaxPodsConstraint() *MaxPodsConstraint
func (*AwsNodePool) GetName
func (x *AwsNodePool) GetName() string
func (*AwsNodePool) GetReconciling
func (x *AwsNodePool) GetReconciling() bool
func (*AwsNodePool) GetState
func (x *AwsNodePool) GetState() AwsNodePool_State
func (*AwsNodePool) GetSubnetId
func (x *AwsNodePool) GetSubnetId() string
func (*AwsNodePool) GetUid
func (x *AwsNodePool) GetUid() string
func (*AwsNodePool) GetUpdateSettings
func (x *AwsNodePool) GetUpdateSettings() *UpdateSettings
func (*AwsNodePool) GetUpdateTime
func (x *AwsNodePool) GetUpdateTime() *timestamppb.Timestamp
func (*AwsNodePool) GetVersion
func (x *AwsNodePool) GetVersion() string
func (*AwsNodePool) ProtoMessage
func (*AwsNodePool) ProtoMessage()
func (*AwsNodePool) ProtoReflect
func (x *AwsNodePool) ProtoReflect() protoreflect.Message
func (*AwsNodePool) Reset
func (x *AwsNodePool) Reset()
func (*AwsNodePool) String
func (x *AwsNodePool) String() string
AwsNodePoolAutoscaling
type AwsNodePoolAutoscaling struct {
// Required. Minimum number of nodes in the node pool. Must be greater than or
// equal to 1 and less than or equal to max_node_count.
MinNodeCount int32 `protobuf:"varint,1,opt,name=min_node_count,json=minNodeCount,proto3" json:"min_node_count,omitempty"`
// Required. Maximum number of nodes in the node pool. Must be greater than or
// equal to min_node_count and less than or equal to 50.
MaxNodeCount int32 `protobuf:"varint,2,opt,name=max_node_count,json=maxNodeCount,proto3" json:"max_node_count,omitempty"`
// contains filtered or unexported fields
}
AwsNodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.
func (*AwsNodePoolAutoscaling) Descriptor
func (*AwsNodePoolAutoscaling) Descriptor() ([]byte, []int)
Deprecated: Use AwsNodePoolAutoscaling.ProtoReflect.Descriptor instead.
func (*AwsNodePoolAutoscaling) GetMaxNodeCount
func (x *AwsNodePoolAutoscaling) GetMaxNodeCount() int32
func (*AwsNodePoolAutoscaling) GetMinNodeCount
func (x *AwsNodePoolAutoscaling) GetMinNodeCount() int32
func (*AwsNodePoolAutoscaling) ProtoMessage
func (*AwsNodePoolAutoscaling) ProtoMessage()
func (*AwsNodePoolAutoscaling) ProtoReflect
func (x *AwsNodePoolAutoscaling) ProtoReflect() protoreflect.Message
func (*AwsNodePoolAutoscaling) Reset
func (x *AwsNodePoolAutoscaling) Reset()
func (*AwsNodePoolAutoscaling) String
func (x *AwsNodePoolAutoscaling) String() string
AwsNodePoolError
type AwsNodePoolError struct {
// Human-friendly description of the error.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
AwsNodePoolError describes errors found on AWS node pools.
func (*AwsNodePoolError) Descriptor
func (*AwsNodePoolError) Descriptor() ([]byte, []int)
Deprecated: Use AwsNodePoolError.ProtoReflect.Descriptor instead.
func (*AwsNodePoolError) GetMessage
func (x *AwsNodePoolError) GetMessage() string
func (*AwsNodePoolError) ProtoMessage
func (*AwsNodePoolError) ProtoMessage()
func (*AwsNodePoolError) ProtoReflect
func (x *AwsNodePoolError) ProtoReflect() protoreflect.Message
func (*AwsNodePoolError) Reset
func (x *AwsNodePoolError) Reset()
func (*AwsNodePoolError) String
func (x *AwsNodePoolError) String() string
AwsNodePool_State
type AwsNodePool_State int32
The lifecycle state of the node pool.
AwsNodePool_STATE_UNSPECIFIED, AwsNodePool_PROVISIONING, AwsNodePool_RUNNING, AwsNodePool_RECONCILING, AwsNodePool_STOPPING, AwsNodePool_ERROR, AwsNodePool_DEGRADED
const (
// Not set.
AwsNodePool_STATE_UNSPECIFIED AwsNodePool_State = 0
// The PROVISIONING state indicates the node pool is being created.
AwsNodePool_PROVISIONING AwsNodePool_State = 1
// The RUNNING state indicates the node pool has been created
// and is fully usable.
AwsNodePool_RUNNING AwsNodePool_State = 2
// The RECONCILING state indicates that the node pool is being reconciled.
AwsNodePool_RECONCILING AwsNodePool_State = 3
// The STOPPING state indicates the node pool is being deleted.
AwsNodePool_STOPPING AwsNodePool_State = 4
// The ERROR state indicates the node pool is in a broken unrecoverable
// state.
AwsNodePool_ERROR AwsNodePool_State = 5
// The DEGRADED state indicates the node pool requires user action to
// restore full functionality.
AwsNodePool_DEGRADED AwsNodePool_State = 6
)
func (AwsNodePool_State) Descriptor
func (AwsNodePool_State) Descriptor() protoreflect.EnumDescriptor
func (AwsNodePool_State) Enum
func (x AwsNodePool_State) Enum() *AwsNodePool_State
func (AwsNodePool_State) EnumDescriptor
func (AwsNodePool_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use AwsNodePool_State.Descriptor instead.
func (AwsNodePool_State) Number
func (x AwsNodePool_State) Number() protoreflect.EnumNumber
func (AwsNodePool_State) String
func (x AwsNodePool_State) String() string
func (AwsNodePool_State) Type
func (AwsNodePool_State) Type() protoreflect.EnumType
AwsOpenIdConfig
type AwsOpenIdConfig struct {
Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
JwksUri string `protobuf:"bytes,2,opt,name=jwks_uri,json=jwksUri,proto3" json:"jwks_uri,omitempty"`
ResponseTypesSupported []string "" /* 129 byte string literal not displayed */
SubjectTypesSupported []string `protobuf:"bytes,4,rep,name=subject_types_supported,json=subjectTypesSupported,proto3" json:"subject_types_supported,omitempty"`
IdTokenSigningAlgValuesSupported []string "" /* 165 byte string literal not displayed */
ClaimsSupported []string `protobuf:"bytes,6,rep,name=claims_supported,json=claimsSupported,proto3" json:"claims_supported,omitempty"`
GrantTypes []string `protobuf:"bytes,7,rep,name=grant_types,json=grantTypes,proto3" json:"grant_types,omitempty"`
}
AwsOpenIdConfig is an OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.
func (*AwsOpenIdConfig) Descriptor
func (*AwsOpenIdConfig) Descriptor() ([]byte, []int)
Deprecated: Use AwsOpenIdConfig.ProtoReflect.Descriptor instead.
func (*AwsOpenIdConfig) GetClaimsSupported
func (x *AwsOpenIdConfig) GetClaimsSupported() []string
func (*AwsOpenIdConfig) GetGrantTypes
func (x *AwsOpenIdConfig) GetGrantTypes() []string
func (*AwsOpenIdConfig) GetIdTokenSigningAlgValuesSupported
func (x *AwsOpenIdConfig) GetIdTokenSigningAlgValuesSupported() []string
func (*AwsOpenIdConfig) GetIssuer
func (x *AwsOpenIdConfig) GetIssuer() string
func (*AwsOpenIdConfig) GetJwksUri
func (x *AwsOpenIdConfig) GetJwksUri() string
func (*AwsOpenIdConfig) GetResponseTypesSupported
func (x *AwsOpenIdConfig) GetResponseTypesSupported() []string
func (*AwsOpenIdConfig) GetSubjectTypesSupported
func (x *AwsOpenIdConfig) GetSubjectTypesSupported() []string
func (*AwsOpenIdConfig) ProtoMessage
func (*AwsOpenIdConfig) ProtoMessage()
func (*AwsOpenIdConfig) ProtoReflect
func (x *AwsOpenIdConfig) ProtoReflect() protoreflect.Message
func (*AwsOpenIdConfig) Reset
func (x *AwsOpenIdConfig) Reset()
func (*AwsOpenIdConfig) String
func (x *AwsOpenIdConfig) String() string
AwsProxyConfig
type AwsProxyConfig struct {
// The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
// configuration.
//
// The secret must be a JSON encoded proxy configuration
// as described in
// https://cloud.google.com/kubernetes-engine/multi-cloud/docs/aws/how-to/use-a-proxy#create_a_proxy_configuration_file
SecretArn string `protobuf:"bytes,1,opt,name=secret_arn,json=secretArn,proto3" json:"secret_arn,omitempty"`
// The version string of the AWS Secret Manager secret that contains the
// HTTP(S) proxy configuration.
SecretVersion string `protobuf:"bytes,2,opt,name=secret_version,json=secretVersion,proto3" json:"secret_version,omitempty"`
// contains filtered or unexported fields
}
Details of a proxy config stored in AWS Secret Manager.
func (*AwsProxyConfig) Descriptor
func (*AwsProxyConfig) Descriptor() ([]byte, []int)
Deprecated: Use AwsProxyConfig.ProtoReflect.Descriptor instead.
func (*AwsProxyConfig) GetSecretArn
func (x *AwsProxyConfig) GetSecretArn() string
func (*AwsProxyConfig) GetSecretVersion
func (x *AwsProxyConfig) GetSecretVersion() string
func (*AwsProxyConfig) ProtoMessage
func (*AwsProxyConfig) ProtoMessage()
func (*AwsProxyConfig) ProtoReflect
func (x *AwsProxyConfig) ProtoReflect() protoreflect.Message
func (*AwsProxyConfig) Reset
func (x *AwsProxyConfig) Reset()
func (*AwsProxyConfig) String
func (x *AwsProxyConfig) String() string
AwsServerConfig
type AwsServerConfig struct {
// The resource name of the config.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// List of all released Kubernetes versions, including ones which are end of
// life and can no longer be used. Filter by the `enabled`
// property to limit to currently available versions.
// Valid versions supported for both create and update operations
ValidVersions []*AwsK8SVersionInfo `protobuf:"bytes,2,rep,name=valid_versions,json=validVersions,proto3" json:"valid_versions,omitempty"`
// The list of supported AWS regions.
SupportedAwsRegions []string `protobuf:"bytes,3,rep,name=supported_aws_regions,json=supportedAwsRegions,proto3" json:"supported_aws_regions,omitempty"`
// contains filtered or unexported fields
}
AwsServerConfig is the configuration of GKE cluster on AWS.
func (*AwsServerConfig) Descriptor
func (*AwsServerConfig) Descriptor() ([]byte, []int)
Deprecated: Use AwsServerConfig.ProtoReflect.Descriptor instead.
func (*AwsServerConfig) GetName
func (x *AwsServerConfig) GetName() string
func (*AwsServerConfig) GetSupportedAwsRegions
func (x *AwsServerConfig) GetSupportedAwsRegions() []string
func (*AwsServerConfig) GetValidVersions
func (x *AwsServerConfig) GetValidVersions() []*AwsK8SVersionInfo
func (*AwsServerConfig) ProtoMessage
func (*AwsServerConfig) ProtoMessage()
func (*AwsServerConfig) ProtoReflect
func (x *AwsServerConfig) ProtoReflect() protoreflect.Message
func (*AwsServerConfig) Reset
func (x *AwsServerConfig) Reset()
func (*AwsServerConfig) String
func (x *AwsServerConfig) String() string
AwsServicesAuthentication
type AwsServicesAuthentication struct {
// Required. The Amazon Resource Name (ARN) of the role that the Anthos
// Multi-Cloud API will assume when managing AWS resources on your account.
RoleArn string `protobuf:"bytes,1,opt,name=role_arn,json=roleArn,proto3" json:"role_arn,omitempty"`
// Optional. An identifier for the assumed role session.
//
// When unspecified, it defaults to `multicloud-service-agent`.
RoleSessionName string `protobuf:"bytes,2,opt,name=role_session_name,json=roleSessionName,proto3" json:"role_session_name,omitempty"`
// contains filtered or unexported fields
}
Authentication configuration for the management of AWS resources.
func (*AwsServicesAuthentication) Descriptor
func (*AwsServicesAuthentication) Descriptor() ([]byte, []int)
Deprecated: Use AwsServicesAuthentication.ProtoReflect.Descriptor instead.
func (*AwsServicesAuthentication) GetRoleArn
func (x *AwsServicesAuthentication) GetRoleArn() string
func (*AwsServicesAuthentication) GetRoleSessionName
func (x *AwsServicesAuthentication) GetRoleSessionName() string
func (*AwsServicesAuthentication) ProtoMessage
func (*AwsServicesAuthentication) ProtoMessage()
func (*AwsServicesAuthentication) ProtoReflect
func (x *AwsServicesAuthentication) ProtoReflect() protoreflect.Message
func (*AwsServicesAuthentication) Reset
func (x *AwsServicesAuthentication) Reset()
func (*AwsServicesAuthentication) String
func (x *AwsServicesAuthentication) String() string
AwsSshConfig
type AwsSshConfig struct {
// Required. The name of the EC2 key pair used to login into cluster machines.
Ec2KeyPair string `protobuf:"bytes,1,opt,name=ec2_key_pair,json=ec2KeyPair,proto3" json:"ec2_key_pair,omitempty"`
// contains filtered or unexported fields
}
SSH configuration for AWS resources.
func (*AwsSshConfig) Descriptor
func (*AwsSshConfig) Descriptor() ([]byte, []int)
Deprecated: Use AwsSshConfig.ProtoReflect.Descriptor instead.
func (*AwsSshConfig) GetEc2KeyPair
func (x *AwsSshConfig) GetEc2KeyPair() string
func (*AwsSshConfig) ProtoMessage
func (*AwsSshConfig) ProtoMessage()
func (*AwsSshConfig) ProtoReflect
func (x *AwsSshConfig) ProtoReflect() protoreflect.Message
func (*AwsSshConfig) Reset
func (x *AwsSshConfig) Reset()
func (*AwsSshConfig) String
func (x *AwsSshConfig) String() string
AwsVolumeTemplate
type AwsVolumeTemplate struct {
SizeGib int32 `protobuf:"varint,1,opt,name=size_gib,json=sizeGib,proto3" json:"size_gib,omitempty"`
VolumeType AwsVolumeTemplate_VolumeType "" /* 156 byte string literal not displayed */
Iops int32 `protobuf:"varint,3,opt,name=iops,proto3" json:"iops,omitempty"`
Throughput int32 `protobuf:"varint,5,opt,name=throughput,proto3" json:"throughput,omitempty"`
KmsKeyArn string `protobuf:"bytes,4,opt,name=kms_key_arn,json=kmsKeyArn,proto3" json:"kms_key_arn,omitempty"`
}
Configuration template for AWS EBS volumes.
func (*AwsVolumeTemplate) Descriptor
func (*AwsVolumeTemplate) Descriptor() ([]byte, []int)
Deprecated: Use AwsVolumeTemplate.ProtoReflect.Descriptor instead.
func (*AwsVolumeTemplate) GetIops
func (x *AwsVolumeTemplate) GetIops() int32
func (*AwsVolumeTemplate) GetKmsKeyArn
func (x *AwsVolumeTemplate) GetKmsKeyArn() string
func (*AwsVolumeTemplate) GetSizeGib
func (x *AwsVolumeTemplate) GetSizeGib() int32
func (*AwsVolumeTemplate) GetThroughput
func (x *AwsVolumeTemplate) GetThroughput() int32
func (*AwsVolumeTemplate) GetVolumeType
func (x *AwsVolumeTemplate) GetVolumeType() AwsVolumeTemplate_VolumeType
func (*AwsVolumeTemplate) ProtoMessage
func (*AwsVolumeTemplate) ProtoMessage()
func (*AwsVolumeTemplate) ProtoReflect
func (x *AwsVolumeTemplate) ProtoReflect() protoreflect.Message
func (*AwsVolumeTemplate) Reset
func (x *AwsVolumeTemplate) Reset()
func (*AwsVolumeTemplate) String
func (x *AwsVolumeTemplate) String() string
AwsVolumeTemplate_VolumeType
type AwsVolumeTemplate_VolumeType int32
Types of supported EBS volumes. We currently only support GP2 or GP3 volumes. See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html for more information.
AwsVolumeTemplate_VOLUME_TYPE_UNSPECIFIED, AwsVolumeTemplate_GP2, AwsVolumeTemplate_GP3
const (
// Not set.
AwsVolumeTemplate_VOLUME_TYPE_UNSPECIFIED AwsVolumeTemplate_VolumeType = 0
// GP2 (General Purpose SSD volume type).
AwsVolumeTemplate_GP2 AwsVolumeTemplate_VolumeType = 1
// GP3 (General Purpose SSD volume type).
AwsVolumeTemplate_GP3 AwsVolumeTemplate_VolumeType = 2
)
func (AwsVolumeTemplate_VolumeType) Descriptor
func (AwsVolumeTemplate_VolumeType) Descriptor() protoreflect.EnumDescriptor
func (AwsVolumeTemplate_VolumeType) Enum
func (x AwsVolumeTemplate_VolumeType) Enum() *AwsVolumeTemplate_VolumeType
func (AwsVolumeTemplate_VolumeType) EnumDescriptor
func (AwsVolumeTemplate_VolumeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AwsVolumeTemplate_VolumeType.Descriptor instead.
func (AwsVolumeTemplate_VolumeType) Number
func (x AwsVolumeTemplate_VolumeType) Number() protoreflect.EnumNumber
func (AwsVolumeTemplate_VolumeType) String
func (x AwsVolumeTemplate_VolumeType) String() string
func (AwsVolumeTemplate_VolumeType) Type
func (AwsVolumeTemplate_VolumeType) Type() protoreflect.EnumType
AzureAuthorization
type AzureAuthorization struct {
// Optional. Users that can perform operations as a cluster admin. A managed
// ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
// to the users. Up to ten admin users can be provided.
//
// For more info on RBAC, see
// https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
AdminUsers []*AzureClusterUser `protobuf:"bytes,1,rep,name=admin_users,json=adminUsers,proto3" json:"admin_users,omitempty"`
// Optional. Groups of users that can perform operations as a cluster admin. A
// managed ClusterRoleBinding will be created to grant the `cluster-admin`
// ClusterRole to the groups. Up to ten admin groups can be provided.
//
// For more info on RBAC, see
// https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
AdminGroups []*AzureClusterGroup `protobuf:"bytes,2,rep,name=admin_groups,json=adminGroups,proto3" json:"admin_groups,omitempty"`
// contains filtered or unexported fields
}
Configuration related to the cluster RBAC settings.
func (*AzureAuthorization) Descriptor
func (*AzureAuthorization) Descriptor() ([]byte, []int)
Deprecated: Use AzureAuthorization.ProtoReflect.Descriptor instead.
func (*AzureAuthorization) GetAdminGroups
func (x *AzureAuthorization) GetAdminGroups() []*AzureClusterGroup
func (*AzureAuthorization) GetAdminUsers
func (x *AzureAuthorization) GetAdminUsers() []*AzureClusterUser
func (*AzureAuthorization) ProtoMessage
func (*AzureAuthorization) ProtoMessage()
func (*AzureAuthorization) ProtoReflect
func (x *AzureAuthorization) ProtoReflect() protoreflect.Message
func (*AzureAuthorization) Reset
func (x *AzureAuthorization) Reset()
func (*AzureAuthorization) String
func (x *AzureAuthorization) String() string
AzureClient
type AzureClient struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
TenantId string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
ApplicationId string `protobuf:"bytes,3,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
Reconciling bool `protobuf:"varint,9,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
Annotations map[string]string "" /* 163 byte string literal not displayed */
PemCertificate string `protobuf:"bytes,7,opt,name=pem_certificate,json=pemCertificate,proto3" json:"pem_certificate,omitempty"`
Uid string `protobuf:"bytes,5,opt,name=uid,proto3" json:"uid,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
}
AzureClient
resources hold client authentication information needed by the
Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.
When an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] is
created, an AzureClient
resource needs to be provided and all operations on
Azure resources associated to that cluster will authenticate to Azure
services using the given client.
AzureClient
resources are immutable and cannot be modified upon creation.
Each AzureClient
resource is bound to a single Azure Active Directory
Application and tenant.
func (*AzureClient) Descriptor
func (*AzureClient) Descriptor() ([]byte, []int)
Deprecated: Use AzureClient.ProtoReflect.Descriptor instead.
func (*AzureClient) GetAnnotations
func (x *AzureClient) GetAnnotations() map[string]string
func (*AzureClient) GetApplicationId
func (x *AzureClient) GetApplicationId() string
func (*AzureClient) GetCreateTime
func (x *AzureClient) GetCreateTime() *timestamppb.Timestamp
func (*AzureClient) GetName
func (x *AzureClient) GetName() string
func (*AzureClient) GetPemCertificate
func (x *AzureClient) GetPemCertificate() string
func (*AzureClient) GetReconciling
func (x *AzureClient) GetReconciling() bool
func (*AzureClient) GetTenantId
func (x *AzureClient) GetTenantId() string
func (*AzureClient) GetUid
func (x *AzureClient) GetUid() string
func (*AzureClient) GetUpdateTime
func (x *AzureClient) GetUpdateTime() *timestamppb.Timestamp
func (*AzureClient) ProtoMessage
func (*AzureClient) ProtoMessage()
func (*AzureClient) ProtoReflect
func (x *AzureClient) ProtoReflect() protoreflect.Message
func (*AzureClient) Reset
func (x *AzureClient) Reset()
func (*AzureClient) String
func (x *AzureClient) String() string
AzureCluster
type AzureCluster struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
AzureRegion string `protobuf:"bytes,3,opt,name=azure_region,json=azureRegion,proto3" json:"azure_region,omitempty"`
ResourceGroupId string `protobuf:"bytes,17,opt,name=resource_group_id,json=resourceGroupId,proto3" json:"resource_group_id,omitempty"`
AzureClient string `protobuf:"bytes,16,opt,name=azure_client,json=azureClient,proto3" json:"azure_client,omitempty"`
Networking *AzureClusterNetworking `protobuf:"bytes,4,opt,name=networking,proto3" json:"networking,omitempty"`
ControlPlane *AzureControlPlane `protobuf:"bytes,5,opt,name=control_plane,json=controlPlane,proto3" json:"control_plane,omitempty"`
Authorization *AzureAuthorization `protobuf:"bytes,6,opt,name=authorization,proto3" json:"authorization,omitempty"`
AzureServicesAuthentication *AzureServicesAuthentication "" /* 145 byte string literal not displayed */
State AzureCluster_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.gkemulticloud.v1.AzureCluster_State" json:"state,omitempty"`
Endpoint string `protobuf:"bytes,8,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
Uid string `protobuf:"bytes,9,opt,name=uid,proto3" json:"uid,omitempty"`
Reconciling bool `protobuf:"varint,10,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Etag string `protobuf:"bytes,13,opt,name=etag,proto3" json:"etag,omitempty"`
Annotations map[string]string "" /* 164 byte string literal not displayed */
WorkloadIdentityConfig *WorkloadIdentityConfig "" /* 130 byte string literal not displayed */
ClusterCaCertificate string `protobuf:"bytes,19,opt,name=cluster_ca_certificate,json=clusterCaCertificate,proto3" json:"cluster_ca_certificate,omitempty"`
Fleet *Fleet `protobuf:"bytes,20,opt,name=fleet,proto3" json:"fleet,omitempty"`
ManagedResources *AzureClusterResources `protobuf:"bytes,21,opt,name=managed_resources,json=managedResources,proto3" json:"managed_resources,omitempty"`
LoggingConfig *LoggingConfig `protobuf:"bytes,23,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"`
Errors []*AzureClusterError `protobuf:"bytes,24,rep,name=errors,proto3" json:"errors,omitempty"`
MonitoringConfig *MonitoringConfig `protobuf:"bytes,25,opt,name=monitoring_config,json=monitoringConfig,proto3" json:"monitoring_config,omitempty"`
}
An Anthos cluster running on Azure.
func (*AzureCluster) Descriptor
func (*AzureCluster) Descriptor() ([]byte, []int)
Deprecated: Use AzureCluster.ProtoReflect.Descriptor instead.
func (*AzureCluster) GetAnnotations
func (x *AzureCluster) GetAnnotations() map[string]string
func (*AzureCluster) GetAuthorization
func (x *AzureCluster) GetAuthorization() *AzureAuthorization
func (*AzureCluster) GetAzureClient
func (x *AzureCluster) GetAzureClient() string
func (*AzureCluster) GetAzureRegion
func (x *AzureCluster) GetAzureRegion() string
func (*AzureCluster) GetAzureServicesAuthentication
func (x *AzureCluster) GetAzureServicesAuthentication() *AzureServicesAuthentication
func (*AzureCluster) GetClusterCaCertificate
func (x *AzureCluster) GetClusterCaCertificate() string
func (*AzureCluster) GetControlPlane
func (x *AzureCluster) GetControlPlane() *AzureControlPlane
func (*AzureCluster) GetCreateTime
func (x *AzureCluster) GetCreateTime() *timestamppb.Timestamp
func (*AzureCluster) GetDescription
func (x *AzureCluster) GetDescription() string
func (*AzureCluster) GetEndpoint
func (x *AzureCluster) GetEndpoint() string
func (*AzureCluster) GetErrors
func (x *AzureCluster) GetErrors() []*AzureClusterError
func (*AzureCluster) GetEtag
func (x *AzureCluster) GetEtag() string
func (*AzureCluster) GetFleet
func (x *AzureCluster) GetFleet() *Fleet
func (*AzureCluster) GetLoggingConfig
func (x *AzureCluster) GetLoggingConfig() *LoggingConfig
func (*AzureCluster) GetManagedResources
func (x *AzureCluster) GetManagedResources() *AzureClusterResources
func (*AzureCluster) GetMonitoringConfig
func (x *AzureCluster) GetMonitoringConfig() *MonitoringConfig
func (*AzureCluster) GetName
func (x *AzureCluster) GetName() string
func (*AzureCluster) GetNetworking
func (x *AzureCluster) GetNetworking() *AzureClusterNetworking
func (*AzureCluster) GetReconciling
func (x *AzureCluster) GetReconciling() bool
func (*AzureCluster) GetResourceGroupId
func (x *AzureCluster) GetResourceGroupId() string
func (*AzureCluster) GetState
func (x *AzureCluster) GetState() AzureCluster_State
func (*AzureCluster) GetUid
func (x *AzureCluster) GetUid() string
func (*AzureCluster) GetUpdateTime
func (x *AzureCluster) GetUpdateTime() *timestamppb.Timestamp
func (*AzureCluster) GetWorkloadIdentityConfig
func (x *AzureCluster) GetWorkloadIdentityConfig() *WorkloadIdentityConfig
func (*AzureCluster) ProtoMessage
func (*AzureCluster) ProtoMessage()
func (*AzureCluster) ProtoReflect
func (x *AzureCluster) ProtoReflect() protoreflect.Message
func (*AzureCluster) Reset
func (x *AzureCluster) Reset()
func (*AzureCluster) String
func (x *AzureCluster) String() string
AzureClusterError
type AzureClusterError struct {
// Human-friendly description of the error.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
AzureClusterError describes errors found on Azure clusters.
func (*AzureClusterError) Descriptor
func (*AzureClusterError) Descriptor() ([]byte, []int)
Deprecated: Use AzureClusterError.ProtoReflect.Descriptor instead.
func (*AzureClusterError) GetMessage
func (x *AzureClusterError) GetMessage() string
func (*AzureClusterError) ProtoMessage
func (*AzureClusterError) ProtoMessage()
func (*AzureClusterError) ProtoReflect
func