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.
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"`
}
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) 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) GetReconciling
func (x *AttachedCluster) GetReconciling() bool
func (*AttachedCluster) GetState
func (x *AttachedCluster) GetState() AttachedCluster_State
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
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 {
// Required. 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"`
// 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) 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)
}
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)
}
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
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 {
// Required. 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"`
// 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) 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"`
}
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) 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
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 */
}
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) 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 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)
// 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)
// 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 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)
// 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)
// 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
AwsK8SVersionInfo
type AwsK8SVersionInfo struct {
// Kubernetes version name.
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,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) 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 */
}
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) 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
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"`
}
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) 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) 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
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/anthos/clusters/docs/multi-cloud/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 valid Kubernetes versions.
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()