edgecontainerpb

package
v0.0.0-...-8078c5c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package edgecontainerpb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	KmsKeyState_name = map[int32]string{
		0: "KMS_KEY_STATE_UNSPECIFIED",
		1: "KMS_KEY_STATE_KEY_AVAILABLE",
		2: "KMS_KEY_STATE_KEY_UNAVAILABLE",
	}
	KmsKeyState_value = map[string]int32{
		"KMS_KEY_STATE_UNSPECIFIED":     0,
		"KMS_KEY_STATE_KEY_AVAILABLE":   1,
		"KMS_KEY_STATE_KEY_UNAVAILABLE": 2,
	}
)

Enum value maps for KmsKeyState.

View Source
var (
	Cluster_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "PROVISIONING",
		2: "RUNNING",
		3: "DELETING",
		4: "ERROR",
		5: "RECONCILING",
	}
	Cluster_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"PROVISIONING":       1,
		"RUNNING":            2,
		"DELETING":           3,
		"ERROR":              4,
		"RECONCILING":        5,
	}
)

Enum value maps for Cluster_Status.

View Source
var (
	Cluster_ReleaseChannel_name = map[int32]string{
		0: "RELEASE_CHANNEL_UNSPECIFIED",
		1: "NONE",
		2: "REGULAR",
	}
	Cluster_ReleaseChannel_value = map[string]int32{
		"RELEASE_CHANNEL_UNSPECIFIED": 0,
		"NONE":                        1,
		"REGULAR":                     2,
	}
)

Enum value maps for Cluster_ReleaseChannel.

View Source
var (
	Cluster_ControlPlane_SharedDeploymentPolicy_name = map[int32]string{
		0: "SHARED_DEPLOYMENT_POLICY_UNSPECIFIED",
		1: "ALLOWED",
		2: "DISALLOWED",
	}
	Cluster_ControlPlane_SharedDeploymentPolicy_value = map[string]int32{
		"SHARED_DEPLOYMENT_POLICY_UNSPECIFIED": 0,
		"ALLOWED":                              1,
		"DISALLOWED":                           2,
	}
)

Enum value maps for Cluster_ControlPlane_SharedDeploymentPolicy.

View Source
var (
	Cluster_MaintenanceEvent_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "USER_INITIATED_UPGRADE",
		2: "GOOGLE_DRIVEN_UPGRADE",
	}
	Cluster_MaintenanceEvent_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":       0,
		"USER_INITIATED_UPGRADE": 1,
		"GOOGLE_DRIVEN_UPGRADE":  2,
	}
)

Enum value maps for Cluster_MaintenanceEvent_Type.

View Source
var (
	Cluster_MaintenanceEvent_Schedule_name = map[int32]string{
		0: "SCHEDULE_UNSPECIFIED",
		1: "IMMEDIATELY",
	}
	Cluster_MaintenanceEvent_Schedule_value = map[string]int32{
		"SCHEDULE_UNSPECIFIED": 0,
		"IMMEDIATELY":          1,
	}
)

Enum value maps for Cluster_MaintenanceEvent_Schedule.

View Source
var (
	Cluster_MaintenanceEvent_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "RECONCILING",
		2: "SUCCEEDED",
		3: "FAILED",
	}
	Cluster_MaintenanceEvent_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"RECONCILING":       1,
		"SUCCEEDED":         2,
		"FAILED":            3,
	}
)

Enum value maps for Cluster_MaintenanceEvent_State.

View Source
var (
	VpnConnection_BgpRoutingMode_name = map[int32]string{
		0: "BGP_ROUTING_MODE_UNSPECIFIED",
		1: "REGIONAL",
		2: "GLOBAL",
	}
	VpnConnection_BgpRoutingMode_value = map[string]int32{
		"BGP_ROUTING_MODE_UNSPECIFIED": 0,
		"REGIONAL":                     1,
		"GLOBAL":                       2,
	}
)

Enum value maps for VpnConnection_BgpRoutingMode.

View Source
var (
	VpnConnection_Details_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "STATE_CONNECTED",
		2: "STATE_CONNECTING",
		3: "STATE_ERROR",
	}
	VpnConnection_Details_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"STATE_CONNECTED":   1,
		"STATE_CONNECTING":  2,
		"STATE_ERROR":       3,
	}
)

Enum value maps for VpnConnection_Details_State.

View Source
var (
	ZoneMetadata_RackType_name = map[int32]string{
		0: "RACK_TYPE_UNSPECIFIED",
		1: "BASE",
		2: "EXPANSION",
	}
	ZoneMetadata_RackType_value = map[string]int32{
		"RACK_TYPE_UNSPECIFIED": 0,
		"BASE":                  1,
		"EXPANSION":             2,
	}
)

Enum value maps for ZoneMetadata_RackType.

View Source
var (
	UpgradeClusterRequest_Schedule_name = map[int32]string{
		0: "SCHEDULE_UNSPECIFIED",
		1: "IMMEDIATELY",
	}
	UpgradeClusterRequest_Schedule_value = map[string]int32{
		"SCHEDULE_UNSPECIFIED": 0,
		"IMMEDIATELY":          1,
	}
)

Enum value maps for UpgradeClusterRequest_Schedule.

View Source
var EdgeContainer_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "mockgcp.cloud.edgecontainer.v1.EdgeContainer",
	HandlerType: (*EdgeContainerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListClusters",
			Handler:    _EdgeContainer_ListClusters_Handler,
		},
		{
			MethodName: "GetCluster",
			Handler:    _EdgeContainer_GetCluster_Handler,
		},
		{
			MethodName: "CreateCluster",
			Handler:    _EdgeContainer_CreateCluster_Handler,
		},
		{
			MethodName: "UpdateCluster",
			Handler:    _EdgeContainer_UpdateCluster_Handler,
		},
		{
			MethodName: "UpgradeCluster",
			Handler:    _EdgeContainer_UpgradeCluster_Handler,
		},
		{
			MethodName: "DeleteCluster",
			Handler:    _EdgeContainer_DeleteCluster_Handler,
		},
		{
			MethodName: "GenerateAccessToken",
			Handler:    _EdgeContainer_GenerateAccessToken_Handler,
		},
		{
			MethodName: "GenerateOfflineCredential",
			Handler:    _EdgeContainer_GenerateOfflineCredential_Handler,
		},
		{
			MethodName: "ListNodePools",
			Handler:    _EdgeContainer_ListNodePools_Handler,
		},
		{
			MethodName: "GetNodePool",
			Handler:    _EdgeContainer_GetNodePool_Handler,
		},
		{
			MethodName: "CreateNodePool",
			Handler:    _EdgeContainer_CreateNodePool_Handler,
		},
		{
			MethodName: "UpdateNodePool",
			Handler:    _EdgeContainer_UpdateNodePool_Handler,
		},
		{
			MethodName: "DeleteNodePool",
			Handler:    _EdgeContainer_DeleteNodePool_Handler,
		},
		{
			MethodName: "ListMachines",
			Handler:    _EdgeContainer_ListMachines_Handler,
		},
		{
			MethodName: "GetMachine",
			Handler:    _EdgeContainer_GetMachine_Handler,
		},
		{
			MethodName: "ListVpnConnections",
			Handler:    _EdgeContainer_ListVpnConnections_Handler,
		},
		{
			MethodName: "GetVpnConnection",
			Handler:    _EdgeContainer_GetVpnConnection_Handler,
		},
		{
			MethodName: "CreateVpnConnection",
			Handler:    _EdgeContainer_CreateVpnConnection_Handler,
		},
		{
			MethodName: "DeleteVpnConnection",
			Handler:    _EdgeContainer_DeleteVpnConnection_Handler,
		},
		{
			MethodName: "GetServerConfig",
			Handler:    _EdgeContainer_GetServerConfig_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "mockgcp/cloud/edgecontainer/v1/service.proto",
}

EdgeContainer_ServiceDesc is the grpc.ServiceDesc for EdgeContainer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_mockgcp_cloud_edgecontainer_v1_resources_proto protoreflect.FileDescriptor
View Source
var File_mockgcp_cloud_edgecontainer_v1_service_proto protoreflect.FileDescriptor

Functions

func RegisterEdgeContainerHandler

func RegisterEdgeContainerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterEdgeContainerHandler registers the http handlers for service EdgeContainer to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterEdgeContainerHandlerClient

func RegisterEdgeContainerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EdgeContainerClient) error

RegisterEdgeContainerHandlerClient registers the http handlers for service EdgeContainer to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "EdgeContainerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "EdgeContainerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "EdgeContainerClient" to call the correct interceptors.

func RegisterEdgeContainerHandlerFromEndpoint

func RegisterEdgeContainerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterEdgeContainerHandlerFromEndpoint is same as RegisterEdgeContainerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterEdgeContainerHandlerServer

func RegisterEdgeContainerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EdgeContainerServer) error

RegisterEdgeContainerHandlerServer registers the http handlers for service EdgeContainer to "mux". UnaryRPC :call EdgeContainerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterEdgeContainerHandlerFromEndpoint instead.

func RegisterEdgeContainerServer

func RegisterEdgeContainerServer(s grpc.ServiceRegistrar, srv EdgeContainerServer)

Types

type Authorization

type Authorization struct {

	// Required. User that will be granted the cluster-admin role on the cluster,
	// providing full access to the cluster. Currently, this is a singular field,
	// but will be expanded to allow multiple admins in the future.
	AdminUsers *ClusterUser `protobuf:"bytes,1,opt,name=admin_users,json=adminUsers,proto3" json:"admin_users,omitempty"`
	// contains filtered or unexported fields
}

RBAC policy that will be applied and managed by GEC.

func (*Authorization) Descriptor deprecated

func (*Authorization) Descriptor() ([]byte, []int)

Deprecated: Use Authorization.ProtoReflect.Descriptor instead.

func (*Authorization) GetAdminUsers

func (x *Authorization) GetAdminUsers() *ClusterUser

func (*Authorization) ProtoMessage

func (*Authorization) ProtoMessage()

func (*Authorization) ProtoReflect

func (x *Authorization) ProtoReflect() protoreflect.Message

func (*Authorization) Reset

func (x *Authorization) Reset()

func (*Authorization) String

func (x *Authorization) String() string

type ChannelConfig

type ChannelConfig struct {

	// Output only. Default version for this release channel, e.g.: "1.4.0".
	DefaultVersion string `protobuf:"bytes,1,opt,name=default_version,json=defaultVersion,proto3" json:"default_version,omitempty"`
	// contains filtered or unexported fields
}

Configuration for a release channel.

func (*ChannelConfig) Descriptor deprecated

func (*ChannelConfig) Descriptor() ([]byte, []int)

Deprecated: Use ChannelConfig.ProtoReflect.Descriptor instead.

func (*ChannelConfig) GetDefaultVersion

func (x *ChannelConfig) GetDefaultVersion() string

func (*ChannelConfig) ProtoMessage

func (*ChannelConfig) ProtoMessage()

func (*ChannelConfig) ProtoReflect

func (x *ChannelConfig) ProtoReflect() protoreflect.Message

func (*ChannelConfig) Reset

func (x *ChannelConfig) Reset()

func (*ChannelConfig) String

func (x *ChannelConfig) String() string

type Cluster

type Cluster struct {

	// Required. The resource name of the cluster.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The time when the cluster was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time when the cluster was last updated.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Labels associated with this resource.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Required. Fleet configuration.
	Fleet *Fleet `protobuf:"bytes,11,opt,name=fleet,proto3" json:"fleet,omitempty"`
	// Required. Cluster-wide networking configuration.
	Networking *ClusterNetworking `protobuf:"bytes,7,opt,name=networking,proto3" json:"networking,omitempty"`
	// Required. Immutable. RBAC policy that will be applied and managed by GEC.
	Authorization *Authorization `protobuf:"bytes,9,opt,name=authorization,proto3" json:"authorization,omitempty"`
	// Optional. The default maximum number of pods per node used if a maximum
	// value is not specified explicitly for a node pool in this cluster. If
	// unspecified, the Kubernetes default value will be used.
	DefaultMaxPodsPerNode int32 `` /* 131-byte string literal not displayed */
	// Output only. The IP address of the Kubernetes API server.
	Endpoint string `protobuf:"bytes,6,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Output only. The port number of the Kubernetes API server.
	Port int32 `protobuf:"varint,19,opt,name=port,proto3" json:"port,omitempty"`
	// Output only. The PEM-encoded public certificate of the cluster's CA.
	ClusterCaCertificate string `protobuf:"bytes,10,opt,name=cluster_ca_certificate,json=clusterCaCertificate,proto3" json:"cluster_ca_certificate,omitempty"`
	// Optional. Cluster-wide maintenance policy configuration.
	MaintenancePolicy *MaintenancePolicy `protobuf:"bytes,12,opt,name=maintenance_policy,json=maintenancePolicy,proto3" json:"maintenance_policy,omitempty"`
	// Output only. The control plane release version
	ControlPlaneVersion string `protobuf:"bytes,13,opt,name=control_plane_version,json=controlPlaneVersion,proto3" json:"control_plane_version,omitempty"`
	// Output only. The lowest release version among all worker nodes. This field
	// can be empty if the cluster does not have any worker nodes.
	NodeVersion string `protobuf:"bytes,14,opt,name=node_version,json=nodeVersion,proto3" json:"node_version,omitempty"`
	// Optional. The configuration of the cluster control plane.
	ControlPlane *Cluster_ControlPlane `protobuf:"bytes,15,opt,name=control_plane,json=controlPlane,proto3" json:"control_plane,omitempty"`
	// Optional. The configuration of the system add-ons.
	SystemAddonsConfig *Cluster_SystemAddonsConfig `protobuf:"bytes,16,opt,name=system_addons_config,json=systemAddonsConfig,proto3" json:"system_addons_config,omitempty"`
	// Optional. IPv4 address pools for cluster data plane external load
	// balancing.
	ExternalLoadBalancerIpv4AddressPools []string `` /* 178-byte string literal not displayed */
	// Optional. Remote control plane disk encryption options. This field is only
	// used when enabling CMEK support.
	ControlPlaneEncryption *Cluster_ControlPlaneEncryption `` /* 130-byte string literal not displayed */
	// Output only. The current status of the cluster.
	Status Cluster_Status `protobuf:"varint,20,opt,name=status,proto3,enum=mockgcp.cloud.edgecontainer.v1.Cluster_Status" json:"status,omitempty"`
	// Output only. All the maintenance events scheduled for the cluster,
	// including the ones ongoing, planned for the future and done in the past (up
	// to 90 days).
	MaintenanceEvents []*Cluster_MaintenanceEvent `protobuf:"bytes,21,rep,name=maintenance_events,json=maintenanceEvents,proto3" json:"maintenance_events,omitempty"`
	// Optional. The target cluster version. For example: "1.5.0".
	TargetVersion string `protobuf:"bytes,22,opt,name=target_version,json=targetVersion,proto3" json:"target_version,omitempty"`
	// Optional. The release channel a cluster is subscribed to.
	ReleaseChannel Cluster_ReleaseChannel `` /* 164-byte string literal not displayed */
	// Optional. Configuration of the cluster survivability, e.g., for the case
	// when network connectivity is lost. Note: This only applies to local control
	// plane clusters.
	SurvivabilityConfig *Cluster_SurvivabilityConfig `protobuf:"bytes,24,opt,name=survivability_config,json=survivabilityConfig,proto3" json:"survivability_config,omitempty"`
	// Optional. IPv6 address pools for cluster data plane external load
	// balancing.
	ExternalLoadBalancerIpv6AddressPools []string `` /* 178-byte string literal not displayed */
	// contains filtered or unexported fields
}

A Google Distributed Cloud Edge Kubernetes cluster.

func (*Cluster) Descriptor deprecated

func (*Cluster) Descriptor() ([]byte, []int)

Deprecated: Use Cluster.ProtoReflect.Descriptor instead.

func (*Cluster) GetAuthorization

func (x *Cluster) GetAuthorization() *Authorization

func (*Cluster) GetClusterCaCertificate

func (x *Cluster) GetClusterCaCertificate() string

func (*Cluster) GetControlPlane

func (x *Cluster) GetControlPlane() *Cluster_ControlPlane

func (*Cluster) GetControlPlaneEncryption

func (x *Cluster) GetControlPlaneEncryption() *Cluster_ControlPlaneEncryption

func (*Cluster) GetControlPlaneVersion

func (x *Cluster) GetControlPlaneVersion() string

func (*Cluster) GetCreateTime

func (x *Cluster) GetCreateTime() *timestamp.Timestamp

func (*Cluster) GetDefaultMaxPodsPerNode

func (x *Cluster) GetDefaultMaxPodsPerNode() int32

func (*Cluster) GetEndpoint

func (x *Cluster) GetEndpoint() string

func (*Cluster) GetExternalLoadBalancerIpv4AddressPools

func (x *Cluster) GetExternalLoadBalancerIpv4AddressPools() []string

func (*Cluster) GetExternalLoadBalancerIpv6AddressPools

func (x *Cluster) GetExternalLoadBalancerIpv6AddressPools() []string

func (*Cluster) GetFleet

func (x *Cluster) GetFleet() *Fleet

func (*Cluster) GetLabels

func (x *Cluster) GetLabels() map[string]string

func (*Cluster) GetMaintenanceEvents

func (x *Cluster) GetMaintenanceEvents() []*Cluster_MaintenanceEvent

func (*Cluster) GetMaintenancePolicy

func (x *Cluster) GetMaintenancePolicy() *MaintenancePolicy

func (*Cluster) GetName

func (x *Cluster) GetName() string

func (*Cluster) GetNetworking

func (x *Cluster) GetNetworking() *ClusterNetworking

func (*Cluster) GetNodeVersion

func (x *Cluster) GetNodeVersion() string

func (*Cluster) GetPort

func (x *Cluster) GetPort() int32

func (*Cluster) GetReleaseChannel

func (x *Cluster) GetReleaseChannel() Cluster_ReleaseChannel

func (*Cluster) GetStatus

func (x *Cluster) GetStatus() Cluster_Status

func (*Cluster) GetSurvivabilityConfig

func (x *Cluster) GetSurvivabilityConfig() *Cluster_SurvivabilityConfig

func (*Cluster) GetSystemAddonsConfig

func (x *Cluster) GetSystemAddonsConfig() *Cluster_SystemAddonsConfig

func (*Cluster) GetTargetVersion

func (x *Cluster) GetTargetVersion() string

func (*Cluster) GetUpdateTime

func (x *Cluster) GetUpdateTime() *timestamp.Timestamp

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) ProtoReflect

func (x *Cluster) ProtoReflect() protoreflect.Message

func (*Cluster) Reset

func (x *Cluster) Reset()

func (*Cluster) String

func (x *Cluster) String() string

type ClusterNetworking

type ClusterNetworking struct {

	// Required. All pods in the cluster are assigned an RFC1918 IPv4 address from
	// these blocks. Only a single block is supported. This field cannot be
	// changed after creation.
	ClusterIpv4CidrBlocks []string `` /* 128-byte string literal not displayed */
	// Required. All services in the cluster are assigned an RFC1918 IPv4 address
	// from these blocks. Only a single block is supported. This field cannot be
	// changed after creation.
	ServicesIpv4CidrBlocks []string `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

Cluster-wide networking configuration.

func (*ClusterNetworking) Descriptor deprecated

func (*ClusterNetworking) Descriptor() ([]byte, []int)

Deprecated: Use ClusterNetworking.ProtoReflect.Descriptor instead.

func (*ClusterNetworking) GetClusterIpv4CidrBlocks

func (x *ClusterNetworking) GetClusterIpv4CidrBlocks() []string

func (*ClusterNetworking) GetServicesIpv4CidrBlocks

func (x *ClusterNetworking) GetServicesIpv4CidrBlocks() []string

func (*ClusterNetworking) ProtoMessage

func (*ClusterNetworking) ProtoMessage()

func (*ClusterNetworking) ProtoReflect

func (x *ClusterNetworking) ProtoReflect() protoreflect.Message

func (*ClusterNetworking) Reset

func (x *ClusterNetworking) Reset()

func (*ClusterNetworking) String

func (x *ClusterNetworking) String() string

type ClusterUser

type ClusterUser struct {

	// Required. An active Google username.
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

A user principal for an RBAC policy.

func (*ClusterUser) Descriptor deprecated

func (*ClusterUser) Descriptor() ([]byte, []int)

Deprecated: Use ClusterUser.ProtoReflect.Descriptor instead.

func (*ClusterUser) GetUsername

func (x *ClusterUser) GetUsername() string

func (*ClusterUser) ProtoMessage

func (*ClusterUser) ProtoMessage()

func (*ClusterUser) ProtoReflect

func (x *ClusterUser) ProtoReflect() protoreflect.Message

func (*ClusterUser) Reset

func (x *ClusterUser) Reset()

func (*ClusterUser) String

func (x *ClusterUser) String() string

type Cluster_ControlPlane

type Cluster_ControlPlane struct {

	// Types that are assignable to Config:
	//
	//	*Cluster_ControlPlane_Remote_
	//	*Cluster_ControlPlane_Local_
	Config isCluster_ControlPlane_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

Configuration of the cluster control plane.

func (*Cluster_ControlPlane) Descriptor deprecated

func (*Cluster_ControlPlane) Descriptor() ([]byte, []int)

Deprecated: Use Cluster_ControlPlane.ProtoReflect.Descriptor instead.

func (*Cluster_ControlPlane) GetConfig

func (m *Cluster_ControlPlane) GetConfig() isCluster_ControlPlane_Config

func (*Cluster_ControlPlane) GetLocal

func (*Cluster_ControlPlane) GetRemote

func (*Cluster_ControlPlane) ProtoMessage

func (*Cluster_ControlPlane) ProtoMessage()

func (*Cluster_ControlPlane) ProtoReflect

func (x *Cluster_ControlPlane) ProtoReflect() protoreflect.Message

func (*Cluster_ControlPlane) Reset

func (x *Cluster_ControlPlane) Reset()

func (*Cluster_ControlPlane) String

func (x *Cluster_ControlPlane) String() string

type Cluster_ControlPlaneEncryption

type Cluster_ControlPlaneEncryption struct {

	// Immutable. The Cloud KMS CryptoKey e.g.
	// projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
	// to use for protecting control plane disks. If not specified, a
	// Google-managed key will be used instead.
	KmsKey string `protobuf:"bytes,1,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"`
	// Output only. The Cloud KMS CryptoKeyVersion currently in use for
	// protecting control plane disks. Only applicable if kms_key is set.
	KmsKeyActiveVersion string `protobuf:"bytes,2,opt,name=kms_key_active_version,json=kmsKeyActiveVersion,proto3" json:"kms_key_active_version,omitempty"`
	// Output only. Availability of the Cloud KMS CryptoKey. If not
	// `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
	// local data. This can be caused by a lack of permissions to use the key,
	// or if the key is disabled or deleted.
	KmsKeyState KmsKeyState `` /* 145-byte string literal not displayed */
	// Output only. Error status returned by Cloud KMS when using this key. This
	// field may be populated only if `kms_key_state` is not
	// `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
	// error status reported by Cloud KMS.
	KmsStatus *status.Status `protobuf:"bytes,4,opt,name=kms_status,json=kmsStatus,proto3" json:"kms_status,omitempty"`
	// contains filtered or unexported fields
}

Configuration for Customer-managed KMS key support for remote control plane cluster disk encryption.

func (*Cluster_ControlPlaneEncryption) Descriptor deprecated

func (*Cluster_ControlPlaneEncryption) Descriptor() ([]byte, []int)

Deprecated: Use Cluster_ControlPlaneEncryption.ProtoReflect.Descriptor instead.

func (*Cluster_ControlPlaneEncryption) GetKmsKey

func (x *Cluster_ControlPlaneEncryption) GetKmsKey() string

func (*Cluster_ControlPlaneEncryption) GetKmsKeyActiveVersion

func (x *Cluster_ControlPlaneEncryption) GetKmsKeyActiveVersion() string

func (*Cluster_ControlPlaneEncryption) GetKmsKeyState

func (x *Cluster_ControlPlaneEncryption) GetKmsKeyState() KmsKeyState

func (*Cluster_ControlPlaneEncryption) GetKmsStatus

func (x *Cluster_ControlPlaneEncryption) GetKmsStatus() *status.Status

func (*Cluster_ControlPlaneEncryption) ProtoMessage

func (*Cluster_ControlPlaneEncryption) ProtoMessage()

func (*Cluster_ControlPlaneEncryption) ProtoReflect

func (*Cluster_ControlPlaneEncryption) Reset

func (x *Cluster_ControlPlaneEncryption) Reset()

func (*Cluster_ControlPlaneEncryption) String

type Cluster_ControlPlane_Local

type Cluster_ControlPlane_Local struct {

	// Name of the Google Distributed Cloud Edge zones where this node pool
	// will be created. For example: `us-central1-edge-customer-a`.
	NodeLocation string `protobuf:"bytes,1,opt,name=node_location,json=nodeLocation,proto3" json:"node_location,omitempty"`
	// The number of nodes to serve as replicas of the Control Plane.
	NodeCount int32 `protobuf:"varint,2,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`
	// Only machines matching this filter will be allowed to host control
	// plane nodes. The filtering language accepts strings like "name=<name>",
	// and is documented here: [AIP-160](https://google.aip.dev/160).
	MachineFilter string `protobuf:"bytes,3,opt,name=machine_filter,json=machineFilter,proto3" json:"machine_filter,omitempty"`
	// Policy configuration about how user applications are deployed.
	SharedDeploymentPolicy Cluster_ControlPlane_SharedDeploymentPolicy `` /* 210-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration specific to clusters with a control plane hosted locally.

Warning: Local control plane clusters must be created in their own project. Local control plane clusters cannot coexist in the same project with any other type of clusters, including non-GDCE clusters. Mixing local control plane GDCE clusters with any other type of clusters in the same project can result in data loss.

func (*Cluster_ControlPlane_Local) Descriptor deprecated

func (*Cluster_ControlPlane_Local) Descriptor() ([]byte, []int)

Deprecated: Use Cluster_ControlPlane_Local.ProtoReflect.Descriptor instead.

func (*Cluster_ControlPlane_Local) GetMachineFilter

func (x *Cluster_ControlPlane_Local) GetMachineFilter() string

func (*Cluster_ControlPlane_Local) GetNodeCount

func (x *Cluster_ControlPlane_Local) GetNodeCount() int32

func (*Cluster_ControlPlane_Local) GetNodeLocation

func (x *Cluster_ControlPlane_Local) GetNodeLocation() string

func (*Cluster_ControlPlane_Local) GetSharedDeploymentPolicy

func (*Cluster_ControlPlane_Local) ProtoMessage

func (*Cluster_ControlPlane_Local) ProtoMessage()

func (*Cluster_ControlPlane_Local) ProtoReflect

func (*Cluster_ControlPlane_Local) Reset

func (x *Cluster_ControlPlane_Local) Reset()

func (*Cluster_ControlPlane_Local) String

func (x *Cluster_ControlPlane_Local) String() string

type Cluster_ControlPlane_Local_

type Cluster_ControlPlane_Local_ struct {
	// Local control plane configuration.
	//
	// Warning: Local control plane clusters must be created in their own
	// project. Local control plane clusters cannot coexist in the same
	// project with any other type of clusters, including non-GDCE clusters.
	// Mixing local control plane GDCE clusters with any other type of
	// clusters in the same project can result in data loss.
	Local *Cluster_ControlPlane_Local `protobuf:"bytes,2,opt,name=local,proto3,oneof"`
}

type Cluster_ControlPlane_Remote

type Cluster_ControlPlane_Remote struct {
	// contains filtered or unexported fields
}

Configuration specific to clusters with a control plane hosted remotely.

func (*Cluster_ControlPlane_Remote) Descriptor deprecated

func (*Cluster_ControlPlane_Remote) Descriptor() ([]byte, []int)

Deprecated: Use Cluster_ControlPlane_Remote.ProtoReflect.Descriptor instead.

func (*Cluster_ControlPlane_Remote) ProtoMessage

func (*Cluster_ControlPlane_Remote) ProtoMessage()

func (*Cluster_ControlPlane_Remote) ProtoReflect

func (*Cluster_ControlPlane_Remote) Reset

func (x *Cluster_ControlPlane_Remote) Reset()

func (*Cluster_ControlPlane_Remote) String

func (x *Cluster_ControlPlane_Remote) String() string

type Cluster_ControlPlane_Remote_

type Cluster_ControlPlane_Remote_ struct {
	// Remote control plane configuration.
	Remote *Cluster_ControlPlane_Remote `protobuf:"bytes,1,opt,name=remote,proto3,oneof"`
}

type Cluster_ControlPlane_SharedDeploymentPolicy

type Cluster_ControlPlane_SharedDeploymentPolicy int32

Represents the policy configuration about how user applications are deployed.

const (
	// Unspecified.
	Cluster_ControlPlane_SHARED_DEPLOYMENT_POLICY_UNSPECIFIED Cluster_ControlPlane_SharedDeploymentPolicy = 0
	// User applications can be deployed both on control plane and worker
	// nodes.
	Cluster_ControlPlane_ALLOWED Cluster_ControlPlane_SharedDeploymentPolicy = 1
	// User applications can not be deployed on control plane nodes and can
	// only be deployed on worker nodes.
	Cluster_ControlPlane_DISALLOWED Cluster_ControlPlane_SharedDeploymentPolicy = 2
)

func (Cluster_ControlPlane_SharedDeploymentPolicy) Descriptor

func (Cluster_ControlPlane_SharedDeploymentPolicy) Enum

func (Cluster_ControlPlane_SharedDeploymentPolicy) EnumDescriptor deprecated

func (Cluster_ControlPlane_SharedDeploymentPolicy) EnumDescriptor() ([]byte, []int)

Deprecated: Use Cluster_ControlPlane_SharedDeploymentPolicy.Descriptor instead.

func (Cluster_ControlPlane_SharedDeploymentPolicy) Number

func (Cluster_ControlPlane_SharedDeploymentPolicy) String

func (Cluster_ControlPlane_SharedDeploymentPolicy) Type

type Cluster_MaintenanceEvent

type Cluster_MaintenanceEvent struct {

	// Output only. UUID of the maintenance event.
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Output only. The target version of the cluster.
	TargetVersion string `protobuf:"bytes,2,opt,name=target_version,json=targetVersion,proto3" json:"target_version,omitempty"`
	// Output only. The operation for running the maintenance event. Specified
	// in the format projects/*/locations/*/operations/*. If the maintenance
	// event is split into multiple operations (e.g. due to maintenance
	// windows), the latest one is recorded.
	Operation string `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"`
	// Output only. The type of the maintenance event.
	Type Cluster_MaintenanceEvent_Type `` /* 128-byte string literal not displayed */
	// Output only. The schedule of the maintenance event.
	Schedule Cluster_MaintenanceEvent_Schedule `` /* 140-byte string literal not displayed */
	// Output only. The state of the maintenance event.
	State Cluster_MaintenanceEvent_State `` /* 131-byte string literal not displayed */
	// Output only. The time when the maintenance event request was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time when the maintenance event started.
	StartTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Output only. The time when the maintenance event ended, either
	// successfully or not. If the maintenance event is split into multiple
	// maintenance windows, end_time is only updated when the whole flow ends.
	EndTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. The time when the maintenance event message was updated.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

A Maintenance Event is an operation that could cause temporary disruptions to the cluster workloads, including Google-driven or user-initiated cluster upgrades, user-initiated cluster configuration changes that require restarting nodes, etc.

func (*Cluster_MaintenanceEvent) Descriptor deprecated

func (*Cluster_MaintenanceEvent) Descriptor() ([]byte, []int)

Deprecated: Use Cluster_MaintenanceEvent.ProtoReflect.Descriptor instead.

func (*Cluster_MaintenanceEvent) GetCreateTime

func (x *Cluster_MaintenanceEvent) GetCreateTime() *timestamp.Timestamp

func (*Cluster_MaintenanceEvent) GetEndTime

func (x *Cluster_MaintenanceEvent) GetEndTime() *timestamp.Timestamp

func (*Cluster_MaintenanceEvent) GetOperation

func (x *Cluster_MaintenanceEvent) GetOperation() string

func (*Cluster_MaintenanceEvent) GetSchedule

func (*Cluster_MaintenanceEvent) GetStartTime

func (x *Cluster_MaintenanceEvent) GetStartTime() *timestamp.Timestamp

func (*Cluster_MaintenanceEvent) GetState

func (*Cluster_MaintenanceEvent) GetTargetVersion

func (x *Cluster_MaintenanceEvent) GetTargetVersion() string

func (*Cluster_MaintenanceEvent) GetType

func (*Cluster_MaintenanceEvent) GetUpdateTime

func (x *Cluster_MaintenanceEvent) GetUpdateTime() *timestamp.Timestamp

func (*Cluster_MaintenanceEvent) GetUuid

func (x *Cluster_MaintenanceEvent) GetUuid() string

func (*Cluster_MaintenanceEvent) ProtoMessage

func (*Cluster_MaintenanceEvent) ProtoMessage()

func (*Cluster_MaintenanceEvent) ProtoReflect

func (x *Cluster_MaintenanceEvent) ProtoReflect() protoreflect.Message

func (*Cluster_MaintenanceEvent) Reset

func (x *Cluster_MaintenanceEvent) Reset()

func (*Cluster_MaintenanceEvent) String

func (x *Cluster_MaintenanceEvent) String() string

type Cluster_MaintenanceEvent_Schedule

type Cluster_MaintenanceEvent_Schedule int32

Indicates when the maintenance event should be performed.

const (
	// Unspecified.
	Cluster_MaintenanceEvent_SCHEDULE_UNSPECIFIED Cluster_MaintenanceEvent_Schedule = 0
	// Immediately after receiving the request.
	Cluster_MaintenanceEvent_IMMEDIATELY Cluster_MaintenanceEvent_Schedule = 1
)

func (Cluster_MaintenanceEvent_Schedule) Descriptor

func (Cluster_MaintenanceEvent_Schedule) Enum

func (Cluster_MaintenanceEvent_Schedule) EnumDescriptor deprecated

func (Cluster_MaintenanceEvent_Schedule) EnumDescriptor() ([]byte, []int)

Deprecated: Use Cluster_MaintenanceEvent_Schedule.Descriptor instead.

func (Cluster_MaintenanceEvent_Schedule) Number

func (Cluster_MaintenanceEvent_Schedule) String

func (Cluster_MaintenanceEvent_Schedule) Type

type Cluster_MaintenanceEvent_State

type Cluster_MaintenanceEvent_State int32

Indicates the maintenance event state.

const (
	// Unspecified.
	Cluster_MaintenanceEvent_STATE_UNSPECIFIED Cluster_MaintenanceEvent_State = 0
	// The maintenance event is ongoing. The cluster might be unusable.
	Cluster_MaintenanceEvent_RECONCILING Cluster_MaintenanceEvent_State = 1
	// The maintenance event succeeded.
	Cluster_MaintenanceEvent_SUCCEEDED Cluster_MaintenanceEvent_State = 2
	// The maintenance event failed.
	Cluster_MaintenanceEvent_FAILED Cluster_MaintenanceEvent_State = 3
)

func (Cluster_MaintenanceEvent_State) Descriptor

func (Cluster_MaintenanceEvent_State) Enum

func (Cluster_MaintenanceEvent_State) EnumDescriptor deprecated

func (Cluster_MaintenanceEvent_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Cluster_MaintenanceEvent_State.Descriptor instead.

func (Cluster_MaintenanceEvent_State) Number

func (Cluster_MaintenanceEvent_State) String

func (Cluster_MaintenanceEvent_State) Type

type Cluster_MaintenanceEvent_Type

type Cluster_MaintenanceEvent_Type int32

Indicates the maintenance event type.

const (
	// Unspecified.
	Cluster_MaintenanceEvent_TYPE_UNSPECIFIED Cluster_MaintenanceEvent_Type = 0
	// Upgrade initiated by users.
	Cluster_MaintenanceEvent_USER_INITIATED_UPGRADE Cluster_MaintenanceEvent_Type = 1
	// Upgrade driven by Google.
	Cluster_MaintenanceEvent_GOOGLE_DRIVEN_UPGRADE Cluster_MaintenanceEvent_Type = 2
)

func (Cluster_MaintenanceEvent_Type) Descriptor

func (Cluster_MaintenanceEvent_Type) Enum

func (Cluster_MaintenanceEvent_Type) EnumDescriptor deprecated

func (Cluster_MaintenanceEvent_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Cluster_MaintenanceEvent_Type.Descriptor instead.

func (Cluster_MaintenanceEvent_Type) Number

func (Cluster_MaintenanceEvent_Type) String

func (Cluster_MaintenanceEvent_Type) Type

type Cluster_ReleaseChannel

type Cluster_ReleaseChannel int32

The release channel a cluster is subscribed to.

const (
	// Unspecified release channel. This will default to the REGULAR channel.
	Cluster_RELEASE_CHANNEL_UNSPECIFIED Cluster_ReleaseChannel = 0
	// No release channel.
	Cluster_NONE Cluster_ReleaseChannel = 1
	// Regular release channel.
	Cluster_REGULAR Cluster_ReleaseChannel = 2
)

func (Cluster_ReleaseChannel) Descriptor

func (Cluster_ReleaseChannel) Enum

func (Cluster_ReleaseChannel) EnumDescriptor deprecated

func (Cluster_ReleaseChannel) EnumDescriptor() ([]byte, []int)

Deprecated: Use Cluster_ReleaseChannel.Descriptor instead.

func (Cluster_ReleaseChannel) Number

func (Cluster_ReleaseChannel) String

func (x Cluster_ReleaseChannel) String() string

func (Cluster_ReleaseChannel) Type

type Cluster_Status

type Cluster_Status int32

Indicates the status of the cluster.

const (
	// Status unknown.
	Cluster_STATUS_UNSPECIFIED Cluster_Status = 0
	// The cluster is being created.
	Cluster_PROVISIONING Cluster_Status = 1
	// The cluster is created and fully usable.
	Cluster_RUNNING Cluster_Status = 2
	// The cluster is being deleted.
	Cluster_DELETING Cluster_Status = 3
	// The status indicates that some errors occurred while reconciling/deleting
	// the cluster.
	Cluster_ERROR Cluster_Status = 4
	// The cluster is undergoing some work such as version upgrades, etc.
	Cluster_RECONCILING Cluster_Status = 5
)

func (Cluster_Status) Descriptor

func (Cluster_Status) Enum

func (x Cluster_Status) Enum() *Cluster_Status

func (Cluster_Status) EnumDescriptor deprecated

func (Cluster_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Cluster_Status.Descriptor instead.

func (Cluster_Status) Number

func (Cluster_Status) String

func (x Cluster_Status) String() string

func (Cluster_Status) Type

type Cluster_SurvivabilityConfig

type Cluster_SurvivabilityConfig struct {

	// Optional. Time period that allows the cluster nodes to be rebooted and
	// become functional without network connectivity to Google. The default 0
	// means not allowed. The maximum is 7 days.
	OfflineRebootTtl *duration.Duration `protobuf:"bytes,1,opt,name=offline_reboot_ttl,json=offlineRebootTtl,proto3" json:"offline_reboot_ttl,omitempty"`
	// contains filtered or unexported fields
}

Configuration of the cluster survivability, e.g., for the case when network connectivity is lost.

func (*Cluster_SurvivabilityConfig) Descriptor deprecated

func (*Cluster_SurvivabilityConfig) Descriptor() ([]byte, []int)

Deprecated: Use Cluster_SurvivabilityConfig.ProtoReflect.Descriptor instead.

func (*Cluster_SurvivabilityConfig) GetOfflineRebootTtl

func (x *Cluster_SurvivabilityConfig) GetOfflineRebootTtl() *duration.Duration

func (*Cluster_SurvivabilityConfig) ProtoMessage

func (*Cluster_SurvivabilityConfig) ProtoMessage()

func (*Cluster_SurvivabilityConfig) ProtoReflect

func (*Cluster_SurvivabilityConfig) Reset

func (x *Cluster_SurvivabilityConfig) Reset()

func (*Cluster_SurvivabilityConfig) String

func (x *Cluster_SurvivabilityConfig) String() string

type Cluster_SystemAddonsConfig

type Cluster_SystemAddonsConfig struct {

	// Optional. Config for Ingress.
	Ingress *Cluster_SystemAddonsConfig_Ingress `protobuf:"bytes,1,opt,name=ingress,proto3" json:"ingress,omitempty"`
	// contains filtered or unexported fields
}

Config that customers are allowed to define for GDCE system add-ons.

func (*Cluster_SystemAddonsConfig) Descriptor deprecated

func (*Cluster_SystemAddonsConfig) Descriptor() ([]byte, []int)

Deprecated: Use Cluster_SystemAddonsConfig.ProtoReflect.Descriptor instead.

func (*Cluster_SystemAddonsConfig) GetIngress

func (*Cluster_SystemAddonsConfig) ProtoMessage

func (*Cluster_SystemAddonsConfig) ProtoMessage()

func (*Cluster_SystemAddonsConfig) ProtoReflect

func (*Cluster_SystemAddonsConfig) Reset

func (x *Cluster_SystemAddonsConfig) Reset()

func (*Cluster_SystemAddonsConfig) String

func (x *Cluster_SystemAddonsConfig) String() string

type Cluster_SystemAddonsConfig_Ingress

type Cluster_SystemAddonsConfig_Ingress struct {

	// Optional. Whether Ingress is disabled.
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// Optional. Ingress VIP.
	Ipv4Vip string `protobuf:"bytes,2,opt,name=ipv4_vip,json=ipv4Vip,proto3" json:"ipv4_vip,omitempty"`
	// contains filtered or unexported fields
}

Config for the Ingress add-on which allows customers to create an Ingress object to manage external access to the servers in a cluster. The add-on consists of istiod and istio-ingress.

func (*Cluster_SystemAddonsConfig_Ingress) Descriptor deprecated

func (*Cluster_SystemAddonsConfig_Ingress) Descriptor() ([]byte, []int)

Deprecated: Use Cluster_SystemAddonsConfig_Ingress.ProtoReflect.Descriptor instead.

func (*Cluster_SystemAddonsConfig_Ingress) GetDisabled

func (x *Cluster_SystemAddonsConfig_Ingress) GetDisabled() bool

func (*Cluster_SystemAddonsConfig_Ingress) GetIpv4Vip

func (*Cluster_SystemAddonsConfig_Ingress) ProtoMessage

func (*Cluster_SystemAddonsConfig_Ingress) ProtoMessage()

func (*Cluster_SystemAddonsConfig_Ingress) ProtoReflect

func (*Cluster_SystemAddonsConfig_Ingress) Reset

func (*Cluster_SystemAddonsConfig_Ingress) String

type CreateClusterRequest

type CreateClusterRequest struct {

	// Required. The parent location where this cluster will be created.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. A client-specified unique identifier for the cluster.
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Required. The cluster to create.
	Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// A unique identifier for this request. Restricted to 36 ASCII characters. A
	// random UUID is recommended. This request is only idempotent if
	// `request_id` is provided.
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Creates a cluster.

func (*CreateClusterRequest) Descriptor deprecated

func (*CreateClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.

func (*CreateClusterRequest) GetCluster

func (x *CreateClusterRequest) GetCluster() *Cluster

func (*CreateClusterRequest) GetClusterId

func (x *CreateClusterRequest) GetClusterId() string

func (*CreateClusterRequest) GetParent

func (x *CreateClusterRequest) GetParent() string

func (*CreateClusterRequest) GetRequestId

func (x *CreateClusterRequest) GetRequestId() string

func (*CreateClusterRequest) ProtoMessage

func (*CreateClusterRequest) ProtoMessage()

func (*CreateClusterRequest) ProtoReflect

func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message

func (*CreateClusterRequest) Reset

func (x *CreateClusterRequest) Reset()

func (*CreateClusterRequest) String

func (x *CreateClusterRequest) String() string

type CreateNodePoolRequest

type CreateNodePoolRequest struct {

	// Required. The parent cluster where this node pool will be created.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. A client-specified unique identifier for the node pool.
	NodePoolId string `protobuf:"bytes,2,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"`
	// Required. The node pool to create.
	NodePool *NodePool `protobuf:"bytes,3,opt,name=node_pool,json=nodePool,proto3" json:"node_pool,omitempty"`
	// A unique identifier for this request. Restricted to 36 ASCII characters. A
	// random UUID is recommended. This request is only idempotent if
	// `request_id` is provided.
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Creates a node pool.

func (*CreateNodePoolRequest) Descriptor deprecated

func (*CreateNodePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateNodePoolRequest.ProtoReflect.Descriptor instead.

func (*CreateNodePoolRequest) GetNodePool

func (x *CreateNodePoolRequest) GetNodePool() *NodePool

func (*CreateNodePoolRequest) GetNodePoolId

func (x *CreateNodePoolRequest) GetNodePoolId() string

func (*CreateNodePoolRequest) GetParent

func (x *CreateNodePoolRequest) GetParent() string

func (*CreateNodePoolRequest) GetRequestId

func (x *CreateNodePoolRequest) GetRequestId() string

func (*CreateNodePoolRequest) ProtoMessage

func (*CreateNodePoolRequest) ProtoMessage()

func (*CreateNodePoolRequest) ProtoReflect

func (x *CreateNodePoolRequest) ProtoReflect() protoreflect.Message

func (*CreateNodePoolRequest) Reset

func (x *CreateNodePoolRequest) Reset()

func (*CreateNodePoolRequest) String

func (x *CreateNodePoolRequest) String() string

type CreateVpnConnectionRequest

type CreateVpnConnectionRequest struct {

	// Required. The parent location where this vpn connection will be created.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The VPN connection identifier.
	VpnConnectionId string `protobuf:"bytes,2,opt,name=vpn_connection_id,json=vpnConnectionId,proto3" json:"vpn_connection_id,omitempty"`
	// Required. The VPN connection to create.
	VpnConnection *VpnConnection `protobuf:"bytes,3,opt,name=vpn_connection,json=vpnConnection,proto3" json:"vpn_connection,omitempty"`
	// A unique identifier for this request. Restricted to 36 ASCII characters. A
	// random UUID is recommended. This request is only idempotent if
	// `request_id` is provided.
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Creates a VPN connection.

func (*CreateVpnConnectionRequest) Descriptor deprecated

func (*CreateVpnConnectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateVpnConnectionRequest.ProtoReflect.Descriptor instead.

func (*CreateVpnConnectionRequest) GetParent

func (x *CreateVpnConnectionRequest) GetParent() string

func (*CreateVpnConnectionRequest) GetRequestId

func (x *CreateVpnConnectionRequest) GetRequestId() string

func (*CreateVpnConnectionRequest) GetVpnConnection

func (x *CreateVpnConnectionRequest) GetVpnConnection() *VpnConnection

func (*CreateVpnConnectionRequest) GetVpnConnectionId

func (x *CreateVpnConnectionRequest) GetVpnConnectionId() string

func (*CreateVpnConnectionRequest) ProtoMessage

func (*CreateVpnConnectionRequest) ProtoMessage()

func (*CreateVpnConnectionRequest) ProtoReflect

func (*CreateVpnConnectionRequest) Reset

func (x *CreateVpnConnectionRequest) Reset()

func (*CreateVpnConnectionRequest) String

func (x *CreateVpnConnectionRequest) String() string

type DeleteClusterRequest

type DeleteClusterRequest struct {

	// Required. The resource name of the cluster.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A unique identifier for this request. Restricted to 36 ASCII characters. A
	// random UUID is recommended. This request is only idempotent if
	// `request_id` is provided.
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Deletes a cluster.

func (*DeleteClusterRequest) Descriptor deprecated

func (*DeleteClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.

func (*DeleteClusterRequest) GetName

func (x *DeleteClusterRequest) GetName() string

func (*DeleteClusterRequest) GetRequestId

func (x *DeleteClusterRequest) GetRequestId() string

func (*DeleteClusterRequest) ProtoMessage

func (*DeleteClusterRequest) ProtoMessage()

func (*DeleteClusterRequest) ProtoReflect

func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message

func (*DeleteClusterRequest) Reset

func (x *DeleteClusterRequest) Reset()

func (*DeleteClusterRequest) String

func (x *DeleteClusterRequest) String() string

type DeleteNodePoolRequest

type DeleteNodePoolRequest struct {

	// Required. The resource name of the node pool.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A unique identifier for this request. Restricted to 36 ASCII characters. A
	// random UUID is recommended. This request is only idempotent if
	// `request_id` is provided.
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Deletes a node pool.

func (*DeleteNodePoolRequest) Descriptor deprecated

func (*DeleteNodePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNodePoolRequest.ProtoReflect.Descriptor instead.

func (*DeleteNodePoolRequest) GetName

func (x *DeleteNodePoolRequest) GetName() string

func (*DeleteNodePoolRequest) GetRequestId

func (x *DeleteNodePoolRequest) GetRequestId() string

func (*DeleteNodePoolRequest) ProtoMessage

func (*DeleteNodePoolRequest) ProtoMessage()

func (*DeleteNodePoolRequest) ProtoReflect

func (x *DeleteNodePoolRequest) ProtoReflect() protoreflect.Message

func (*DeleteNodePoolRequest) Reset

func (x *DeleteNodePoolRequest) Reset()

func (*DeleteNodePoolRequest) String

func (x *DeleteNodePoolRequest) String() string

type DeleteVpnConnectionRequest

type DeleteVpnConnectionRequest struct {

	// Required. The resource name of the vpn connection.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A unique identifier for this request. Restricted to 36 ASCII characters. A
	// random UUID is recommended. This request is only idempotent if
	// `request_id` is provided.
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Deletes a vpn connection.

func (*DeleteVpnConnectionRequest) Descriptor deprecated

func (*DeleteVpnConnectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteVpnConnectionRequest.ProtoReflect.Descriptor instead.

func (*DeleteVpnConnectionRequest) GetName

func (x *DeleteVpnConnectionRequest) GetName() string

func (*DeleteVpnConnectionRequest) GetRequestId

func (x *DeleteVpnConnectionRequest) GetRequestId() string

func (*DeleteVpnConnectionRequest) ProtoMessage

func (*DeleteVpnConnectionRequest) ProtoMessage()

func (*DeleteVpnConnectionRequest) ProtoReflect

func (*DeleteVpnConnectionRequest) Reset

func (x *DeleteVpnConnectionRequest) Reset()

func (*DeleteVpnConnectionRequest) String

func (x *DeleteVpnConnectionRequest) String() string

type EdgeContainerClient

type EdgeContainerClient interface {
	// Lists Clusters in a given project and location.
	ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
	// Gets details of a single Cluster.
	GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
	// Creates a new Cluster in a given project and location.
	CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the parameters of a single Cluster.
	UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Upgrades a single cluster.
	UpgradeCluster(ctx context.Context, in *UpgradeClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single Cluster.
	DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Generates an access token for a Cluster.
	GenerateAccessToken(ctx context.Context, in *GenerateAccessTokenRequest, opts ...grpc.CallOption) (*GenerateAccessTokenResponse, error)
	// Generates an offline credential for a Cluster.
	GenerateOfflineCredential(ctx context.Context, in *GenerateOfflineCredentialRequest, opts ...grpc.CallOption) (*GenerateOfflineCredentialResponse, error)
	// Lists NodePools in a given project and location.
	ListNodePools(ctx context.Context, in *ListNodePoolsRequest, opts ...grpc.CallOption) (*ListNodePoolsResponse, error)
	// Gets details of a single NodePool.
	GetNodePool(ctx context.Context, in *GetNodePoolRequest, opts ...grpc.CallOption) (*NodePool, error)
	// Creates a new NodePool in a given project and location.
	CreateNodePool(ctx context.Context, in *CreateNodePoolRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the parameters of a single NodePool.
	UpdateNodePool(ctx context.Context, in *UpdateNodePoolRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single NodePool.
	DeleteNodePool(ctx context.Context, in *DeleteNodePoolRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists Machines in a given project and location.
	ListMachines(ctx context.Context, in *ListMachinesRequest, opts ...grpc.CallOption) (*ListMachinesResponse, error)
	// Gets details of a single Machine.
	GetMachine(ctx context.Context, in *GetMachineRequest, opts ...grpc.CallOption) (*Machine, error)
	// Lists VPN connections in a given project and location.
	ListVpnConnections(ctx context.Context, in *ListVpnConnectionsRequest, opts ...grpc.CallOption) (*ListVpnConnectionsResponse, error)
	// Gets details of a single VPN connection.
	GetVpnConnection(ctx context.Context, in *GetVpnConnectionRequest, opts ...grpc.CallOption) (*VpnConnection, error)
	// Creates a new VPN connection in a given project and location.
	CreateVpnConnection(ctx context.Context, in *CreateVpnConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single VPN connection.
	DeleteVpnConnection(ctx context.Context, in *DeleteVpnConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets the server config.
	GetServerConfig(ctx context.Context, in *GetServerConfigRequest, opts ...grpc.CallOption) (*ServerConfig, error)
}

EdgeContainerClient is the client API for EdgeContainer service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type EdgeContainerServer

type EdgeContainerServer interface {
	// Lists Clusters in a given project and location.
	ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
	// Gets details of a single Cluster.
	GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
	// Creates a new Cluster in a given project and location.
	CreateCluster(context.Context, *CreateClusterRequest) (*longrunningpb.Operation, error)
	// Updates the parameters of a single Cluster.
	UpdateCluster(context.Context, *UpdateClusterRequest) (*longrunningpb.Operation, error)
	// Upgrades a single cluster.
	UpgradeCluster(context.Context, *UpgradeClusterRequest) (*longrunningpb.Operation, error)
	// Deletes a single Cluster.
	DeleteCluster(context.Context, *DeleteClusterRequest) (*longrunningpb.Operation, error)
	// Generates an access token for a Cluster.
	GenerateAccessToken(context.Context, *GenerateAccessTokenRequest) (*GenerateAccessTokenResponse, error)
	// Generates an offline credential for a Cluster.
	GenerateOfflineCredential(context.Context, *GenerateOfflineCredentialRequest) (*GenerateOfflineCredentialResponse, error)
	// Lists NodePools in a given project and location.
	ListNodePools(context.Context, *ListNodePoolsRequest) (*ListNodePoolsResponse, error)
	// Gets details of a single NodePool.
	GetNodePool(context.Context, *GetNodePoolRequest) (*NodePool, error)
	// Creates a new NodePool in a given project and location.
	CreateNodePool(context.Context, *CreateNodePoolRequest) (*longrunningpb.Operation, error)
	// Updates the parameters of a single NodePool.
	UpdateNodePool(context.Context, *UpdateNodePoolRequest) (*longrunningpb.Operation, error)
	// Deletes a single NodePool.
	DeleteNodePool(context.Context, *DeleteNodePoolRequest) (*longrunningpb.Operation, error)
	// Lists Machines in a given project and location.
	ListMachines(context.Context, *ListMachinesRequest) (*ListMachinesResponse, error)
	// Gets details of a single Machine.
	GetMachine(context.Context, *GetMachineRequest) (*Machine, error)
	// Lists VPN connections in a given project and location.
	ListVpnConnections(context.Context, *ListVpnConnectionsRequest) (*ListVpnConnectionsResponse, error)
	// Gets details of a single VPN connection.
	GetVpnConnection(context.Context, *GetVpnConnectionRequest) (*VpnConnection, error)
	// Creates a new VPN connection in a given project and location.
	CreateVpnConnection(context.Context, *CreateVpnConnectionRequest) (*longrunningpb.Operation, error)
	// Deletes a single VPN connection.
	DeleteVpnConnection(context.Context, *DeleteVpnConnectionRequest) (*longrunningpb.Operation, error)
	// Gets the server config.
	GetServerConfig(context.Context, *GetServerConfigRequest) (*ServerConfig, error)
	// contains filtered or unexported methods
}

EdgeContainerServer is the server API for EdgeContainer service. All implementations must embed UnimplementedEdgeContainerServer for forward compatibility

type Fleet

type Fleet struct {

	// Required. The name of the Fleet host project where this cluster will be
	// registered.
	//
	// Project names are formatted as
	// `projects/<project-number>`.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Output only. The name of the managed Hub Membership resource associated to
	// this cluster.
	//
	// Membership names are formatted as
	// `projects/<project-number>/locations/global/membership/<cluster-id>`.
	Membership string `protobuf:"bytes,2,opt,name=membership,proto3" json:"membership,omitempty"`
	// contains filtered or unexported fields
}

Fleet related configuration.

Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems.

func (*Fleet) Descriptor deprecated

func (*Fleet) Descriptor() ([]byte, []int)

Deprecated: Use Fleet.ProtoReflect.Descriptor instead.

func (*Fleet) GetMembership

func (x *Fleet) GetMembership() string

func (*Fleet) GetProject

func (x *Fleet) GetProject() string

func (*Fleet) ProtoMessage

func (*Fleet) ProtoMessage()

func (*Fleet) ProtoReflect

func (x *Fleet) ProtoReflect() protoreflect.Message

func (*Fleet) Reset

func (x *Fleet) Reset()

func (*Fleet) String

func (x *Fleet) String() string

type GenerateAccessTokenRequest

type GenerateAccessTokenRequest struct {

	// Required. The resource name of the cluster.
	Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// contains filtered or unexported fields
}

Generates an access token for a cluster.

func (*GenerateAccessTokenRequest) Descriptor deprecated

func (*GenerateAccessTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*GenerateAccessTokenRequest) GetCluster

func (x *GenerateAccessTokenRequest) GetCluster() string

func (*GenerateAccessTokenRequest) ProtoMessage

func (*GenerateAccessTokenRequest) ProtoMessage()

func (*GenerateAccessTokenRequest) ProtoReflect

func (*GenerateAccessTokenRequest) Reset

func (x *GenerateAccessTokenRequest) Reset()

func (*GenerateAccessTokenRequest) String

func (x *GenerateAccessTokenRequest) String() string

type GenerateAccessTokenResponse

type GenerateAccessTokenResponse struct {

	// Output only. Access token to authenticate to k8s api-server.
	AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// Output only. Timestamp at which the token will expire.
	ExpireTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	// contains filtered or unexported fields
}

An access token for a cluster.

func (*GenerateAccessTokenResponse) Descriptor deprecated

func (*GenerateAccessTokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateAccessTokenResponse.ProtoReflect.Descriptor instead.

func (*GenerateAccessTokenResponse) GetAccessToken

func (x *GenerateAccessTokenResponse) GetAccessToken() string

func (*GenerateAccessTokenResponse) GetExpireTime

func (x *GenerateAccessTokenResponse) GetExpireTime() *timestamp.Timestamp

func (*GenerateAccessTokenResponse) ProtoMessage

func (*GenerateAccessTokenResponse) ProtoMessage()

func (*GenerateAccessTokenResponse) ProtoReflect

func (*GenerateAccessTokenResponse) Reset

func (x *GenerateAccessTokenResponse) Reset()

func (*GenerateAccessTokenResponse) String

func (x *GenerateAccessTokenResponse) String() string

type GenerateOfflineCredentialRequest

type GenerateOfflineCredentialRequest struct {

	// Required. The resource name of the cluster.
	Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// contains filtered or unexported fields
}

Generates an offline credential(offline) for a cluster.

func (*GenerateOfflineCredentialRequest) Descriptor deprecated

func (*GenerateOfflineCredentialRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateOfflineCredentialRequest.ProtoReflect.Descriptor instead.

func (*GenerateOfflineCredentialRequest) GetCluster

func (x *GenerateOfflineCredentialRequest) GetCluster() string

func (*GenerateOfflineCredentialRequest) ProtoMessage

func (*GenerateOfflineCredentialRequest) ProtoMessage()

func (*GenerateOfflineCredentialRequest) ProtoReflect

func (*GenerateOfflineCredentialRequest) Reset

func (*GenerateOfflineCredentialRequest) String

type GenerateOfflineCredentialResponse

type GenerateOfflineCredentialResponse struct {

	// Output only. Client certificate to authenticate to k8s api-server.
	ClientCertificate string `protobuf:"bytes,1,opt,name=client_certificate,json=clientCertificate,proto3" json:"client_certificate,omitempty"`
	// Output only. Client private key to authenticate to k8s api-server.
	ClientKey string `protobuf:"bytes,2,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"`
	// Output only. Client's identity.
	UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Output only. Timestamp at which this credential will expire.
	ExpireTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	// contains filtered or unexported fields
}

An offline credential for a cluster.

func (*GenerateOfflineCredentialResponse) Descriptor deprecated

func (*GenerateOfflineCredentialResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateOfflineCredentialResponse.ProtoReflect.Descriptor instead.

func (*GenerateOfflineCredentialResponse) GetClientCertificate

func (x *GenerateOfflineCredentialResponse) GetClientCertificate() string

func (*GenerateOfflineCredentialResponse) GetClientKey

func (x *GenerateOfflineCredentialResponse) GetClientKey() string

func (*GenerateOfflineCredentialResponse) GetExpireTime

func (*GenerateOfflineCredentialResponse) GetUserId

func (*GenerateOfflineCredentialResponse) ProtoMessage

func (*GenerateOfflineCredentialResponse) ProtoMessage()

func (*GenerateOfflineCredentialResponse) ProtoReflect

func (*GenerateOfflineCredentialResponse) Reset

func (*GenerateOfflineCredentialResponse) String

type GetClusterRequest

type GetClusterRequest struct {

	// Required. The resource name of the cluster.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Gets a cluster.

func (*GetClusterRequest) Descriptor deprecated

func (*GetClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.

func (*GetClusterRequest) GetName

func (x *GetClusterRequest) GetName() string

func (*GetClusterRequest) ProtoMessage

func (*GetClusterRequest) ProtoMessage()

func (*GetClusterRequest) ProtoReflect

func (x *GetClusterRequest) ProtoReflect() protoreflect.Message

func (*GetClusterRequest) Reset

func (x *GetClusterRequest) Reset()

func (*GetClusterRequest) String

func (x *GetClusterRequest) String() string

type GetMachineRequest

type GetMachineRequest struct {

	// Required. The resource name of the machine.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Gets a machine.

func (*GetMachineRequest) Descriptor deprecated

func (*GetMachineRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetMachineRequest.ProtoReflect.Descriptor instead.

func (*GetMachineRequest) GetName

func (x *GetMachineRequest) GetName() string

func (*GetMachineRequest) ProtoMessage

func (*GetMachineRequest) ProtoMessage()

func (*GetMachineRequest) ProtoReflect

func (x *GetMachineRequest) ProtoReflect() protoreflect.Message

func (*GetMachineRequest) Reset

func (x *GetMachineRequest) Reset()

func (*GetMachineRequest) String

func (x *GetMachineRequest) String() string

type GetNodePoolRequest

type GetNodePoolRequest struct {

	// Required. The resource name of the node pool.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Gets a node pool.

func (*GetNodePoolRequest) Descriptor deprecated

func (*GetNodePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetNodePoolRequest.ProtoReflect.Descriptor instead.

func (*GetNodePoolRequest) GetName

func (x *GetNodePoolRequest) GetName() string

func (*GetNodePoolRequest) ProtoMessage

func (*GetNodePoolRequest) ProtoMessage()

func (*GetNodePoolRequest) ProtoReflect

func (x *GetNodePoolRequest) ProtoReflect() protoreflect.Message

func (*GetNodePoolRequest) Reset

func (x *GetNodePoolRequest) Reset()

func (*GetNodePoolRequest) String

func (x *GetNodePoolRequest) String() string

type GetServerConfigRequest

type GetServerConfigRequest struct {

	// Required. The name (project and location) of the server config to get,
	// specified in the format `projects/*/locations/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Gets the server config.

func (*GetServerConfigRequest) Descriptor deprecated

func (*GetServerConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetServerConfigRequest.ProtoReflect.Descriptor instead.

func (*GetServerConfigRequest) GetName

func (x *GetServerConfigRequest) GetName() string

func (*GetServerConfigRequest) ProtoMessage

func (*GetServerConfigRequest) ProtoMessage()

func (*GetServerConfigRequest) ProtoReflect

func (x *GetServerConfigRequest) ProtoReflect() protoreflect.Message

func (*GetServerConfigRequest) Reset

func (x *GetServerConfigRequest) Reset()

func (*GetServerConfigRequest) String

func (x *GetServerConfigRequest) String() string

type GetVpnConnectionRequest

type GetVpnConnectionRequest struct {

	// Required. The resource name of the vpn connection.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Gets a VPN connection.

func (*GetVpnConnectionRequest) Descriptor deprecated

func (*GetVpnConnectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetVpnConnectionRequest.ProtoReflect.Descriptor instead.

func (*GetVpnConnectionRequest) GetName

func (x *GetVpnConnectionRequest) GetName() string

func (*GetVpnConnectionRequest) ProtoMessage

func (*GetVpnConnectionRequest) ProtoMessage()

func (*GetVpnConnectionRequest) ProtoReflect

func (x *GetVpnConnectionRequest) ProtoReflect() protoreflect.Message

func (*GetVpnConnectionRequest) Reset

func (x *GetVpnConnectionRequest) Reset()

func (*GetVpnConnectionRequest) String

func (x *GetVpnConnectionRequest) String() string

type KmsKeyState

type KmsKeyState int32

Represents the accessibility state of a customer-managed KMS key used for CMEK integration.

const (
	// Unspecified.
	KmsKeyState_KMS_KEY_STATE_UNSPECIFIED KmsKeyState = 0
	// The key is available for use, and dependent resources should be accessible.
	KmsKeyState_KMS_KEY_STATE_KEY_AVAILABLE KmsKeyState = 1
	// The key is unavailable for an unspecified reason. Dependent resources may
	// be inaccessible.
	KmsKeyState_KMS_KEY_STATE_KEY_UNAVAILABLE KmsKeyState = 2
)

func (KmsKeyState) Descriptor

func (KmsKeyState) Enum

func (x KmsKeyState) Enum() *KmsKeyState

func (KmsKeyState) EnumDescriptor deprecated

func (KmsKeyState) EnumDescriptor() ([]byte, []int)

Deprecated: Use KmsKeyState.Descriptor instead.

func (KmsKeyState) Number

func (x KmsKeyState) Number() protoreflect.EnumNumber

func (KmsKeyState) String

func (x KmsKeyState) String() string

func (KmsKeyState) Type

type ListClustersRequest

type ListClustersRequest struct {

	// Required. The parent location, which owns this collection of clusters.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of resources to list.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token received from previous list request.
	// A page token received from previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Only resources matching this filter will be listed.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Specifies the order in which resources will be listed.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Lists clusters in a location.

func (*ListClustersRequest) Descriptor deprecated

func (*ListClustersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead.

func (*ListClustersRequest) GetFilter

func (x *ListClustersRequest) GetFilter() string

func (*ListClustersRequest) GetOrderBy

func (x *ListClustersRequest) GetOrderBy() string

func (*ListClustersRequest) GetPageSize

func (x *ListClustersRequest) GetPageSize() int32

func (*ListClustersRequest) GetPageToken

func (x *ListClustersRequest) GetPageToken() string

func (*ListClustersRequest) GetParent

func (x *ListClustersRequest) GetParent() string

func (*ListClustersRequest) ProtoMessage

func (*ListClustersRequest) ProtoMessage()

func (*ListClustersRequest) ProtoReflect

func (x *ListClustersRequest) ProtoReflect() protoreflect.Message

func (*ListClustersRequest) Reset

func (x *ListClustersRequest) Reset()

func (*ListClustersRequest) String

func (x *ListClustersRequest) String() string

type ListClustersResponse

type ListClustersResponse struct {

	// Clusters in the location.
	Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
	// A token to retrieve next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

List of clusters in a location.

func (*ListClustersResponse) Descriptor deprecated

func (*ListClustersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListClustersResponse.ProtoReflect.Descriptor instead.

func (*ListClustersResponse) GetClusters

func (x *ListClustersResponse) GetClusters() []*Cluster

func (*ListClustersResponse) GetNextPageToken

func (x *ListClustersResponse) GetNextPageToken() string

func (*ListClustersResponse) GetUnreachable

func (x *ListClustersResponse) GetUnreachable() []string

func (*ListClustersResponse) ProtoMessage

func (*ListClustersResponse) ProtoMessage()

func (*ListClustersResponse) ProtoReflect

func (x *ListClustersResponse) ProtoReflect() protoreflect.Message

func (*ListClustersResponse) Reset

func (x *ListClustersResponse) Reset()

func (*ListClustersResponse) String

func (x *ListClustersResponse) String() string

type ListMachinesRequest

type ListMachinesRequest struct {

	// Required. The parent site, which owns this collection of machines.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of resources to list.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token received from previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Only resources matching this filter will be listed.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Specifies the order in which resources will be listed.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Lists machines in a site.

func (*ListMachinesRequest) Descriptor deprecated

func (*ListMachinesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListMachinesRequest.ProtoReflect.Descriptor instead.

func (*ListMachinesRequest) GetFilter

func (x *ListMachinesRequest) GetFilter() string

func (*ListMachinesRequest) GetOrderBy

func (x *ListMachinesRequest) GetOrderBy() string

func (*ListMachinesRequest) GetPageSize

func (x *ListMachinesRequest) GetPageSize() int32

func (*ListMachinesRequest) GetPageToken

func (x *ListMachinesRequest) GetPageToken() string

func (*ListMachinesRequest) GetParent

func (x *ListMachinesRequest) GetParent() string

func (*ListMachinesRequest) ProtoMessage

func (*ListMachinesRequest) ProtoMessage()

func (*ListMachinesRequest) ProtoReflect

func (x *ListMachinesRequest) ProtoReflect() protoreflect.Message

func (*ListMachinesRequest) Reset

func (x *ListMachinesRequest) Reset()

func (*ListMachinesRequest) String

func (x *ListMachinesRequest) String() string

type ListMachinesResponse

type ListMachinesResponse struct {

	// Machines in the site.
	Machines []*Machine `protobuf:"bytes,1,rep,name=machines,proto3" json:"machines,omitempty"`
	// A token to retrieve next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

List of machines in a site.

func (*ListMachinesResponse) Descriptor deprecated

func (*ListMachinesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListMachinesResponse.ProtoReflect.Descriptor instead.

func (*ListMachinesResponse) GetMachines

func (x *ListMachinesResponse) GetMachines() []*Machine

func (*ListMachinesResponse) GetNextPageToken

func (x *ListMachinesResponse) GetNextPageToken() string

func (*ListMachinesResponse) GetUnreachable

func (x *ListMachinesResponse) GetUnreachable() []string

func (*ListMachinesResponse) ProtoMessage

func (*ListMachinesResponse) ProtoMessage()

func (*ListMachinesResponse) ProtoReflect

func (x *ListMachinesResponse) ProtoReflect() protoreflect.Message

func (*ListMachinesResponse) Reset

func (x *ListMachinesResponse) Reset()

func (*ListMachinesResponse) String

func (x *ListMachinesResponse) String() string

type ListNodePoolsRequest

type ListNodePoolsRequest struct {

	// Required. The parent cluster, which owns this collection of node pools.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of resources to list.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token received from previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Only resources matching this filter will be listed.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Specifies the order in which resources will be listed.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Lists node pools in a cluster.

func (*ListNodePoolsRequest) Descriptor deprecated

func (*ListNodePoolsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListNodePoolsRequest.ProtoReflect.Descriptor instead.

func (*ListNodePoolsRequest) GetFilter

func (x *ListNodePoolsRequest) GetFilter() string

func (*ListNodePoolsRequest) GetOrderBy

func (x *ListNodePoolsRequest) GetOrderBy() string

func (*ListNodePoolsRequest) GetPageSize

func (x *ListNodePoolsRequest) GetPageSize() int32

func (*ListNodePoolsRequest) GetPageToken

func (x *ListNodePoolsRequest) GetPageToken() string

func (*ListNodePoolsRequest) GetParent

func (x *ListNodePoolsRequest) GetParent() string

func (*ListNodePoolsRequest) ProtoMessage

func (*ListNodePoolsRequest) ProtoMessage()

func (*ListNodePoolsRequest) ProtoReflect

func (x *ListNodePoolsRequest) ProtoReflect() protoreflect.Message

func (*ListNodePoolsRequest) Reset

func (x *ListNodePoolsRequest) Reset()

func (*ListNodePoolsRequest) String

func (x *ListNodePoolsRequest) String() string

type ListNodePoolsResponse

type ListNodePoolsResponse struct {

	// Node pools in the cluster.
	NodePools []*NodePool `protobuf:"bytes,1,rep,name=node_pools,json=nodePools,proto3" json:"node_pools,omitempty"`
	// A token to retrieve next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

List of node pools in a cluster.

func (*ListNodePoolsResponse) Descriptor deprecated

func (*ListNodePoolsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListNodePoolsResponse.ProtoReflect.Descriptor instead.

func (*ListNodePoolsResponse) GetNextPageToken

func (x *ListNodePoolsResponse) GetNextPageToken() string

func (*ListNodePoolsResponse) GetNodePools

func (x *ListNodePoolsResponse) GetNodePools() []*NodePool

func (*ListNodePoolsResponse) GetUnreachable

func (x *ListNodePoolsResponse) GetUnreachable() []string

func (*ListNodePoolsResponse) ProtoMessage

func (*ListNodePoolsResponse) ProtoMessage()

func (*ListNodePoolsResponse) ProtoReflect

func (x *ListNodePoolsResponse) ProtoReflect() protoreflect.Message

func (*ListNodePoolsResponse) Reset

func (x *ListNodePoolsResponse) Reset()

func (*ListNodePoolsResponse) String

func (x *ListNodePoolsResponse) String() string

type ListVpnConnectionsRequest

type ListVpnConnectionsRequest struct {

	// Required. The parent location, which owns this collection of VPN
	// connections.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of resources to list.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token received from previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Only resources matching this filter will be listed.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Specifies the order in which resources will be listed.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Lists VPN connections.

func (*ListVpnConnectionsRequest) Descriptor deprecated

func (*ListVpnConnectionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListVpnConnectionsRequest.ProtoReflect.Descriptor instead.

func (*ListVpnConnectionsRequest) GetFilter

func (x *ListVpnConnectionsRequest) GetFilter() string

func (*ListVpnConnectionsRequest) GetOrderBy

func (x *ListVpnConnectionsRequest) GetOrderBy() string

func (*ListVpnConnectionsRequest) GetPageSize

func (x *ListVpnConnectionsRequest) GetPageSize() int32

func (*ListVpnConnectionsRequest) GetPageToken

func (x *ListVpnConnectionsRequest) GetPageToken() string

func (*ListVpnConnectionsRequest) GetParent

func (x *ListVpnConnectionsRequest) GetParent() string

func (*ListVpnConnectionsRequest) ProtoMessage

func (*ListVpnConnectionsRequest) ProtoMessage()

func (*ListVpnConnectionsRequest) ProtoReflect

func (*ListVpnConnectionsRequest) Reset

func (x *ListVpnConnectionsRequest) Reset()

func (*ListVpnConnectionsRequest) String

func (x *ListVpnConnectionsRequest) String() string

type ListVpnConnectionsResponse

type ListVpnConnectionsResponse struct {

	// VpnConnections in the location.
	VpnConnections []*VpnConnection `protobuf:"bytes,1,rep,name=vpn_connections,json=vpnConnections,proto3" json:"vpn_connections,omitempty"`
	// A token to retrieve next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

List of VPN connections in a location.

func (*ListVpnConnectionsResponse) Descriptor deprecated

func (*ListVpnConnectionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListVpnConnectionsResponse.ProtoReflect.Descriptor instead.

func (*ListVpnConnectionsResponse) GetNextPageToken

func (x *ListVpnConnectionsResponse) GetNextPageToken() string

func (*ListVpnConnectionsResponse) GetUnreachable

func (x *ListVpnConnectionsResponse) GetUnreachable() []string

func (*ListVpnConnectionsResponse) GetVpnConnections

func (x *ListVpnConnectionsResponse) GetVpnConnections() []*VpnConnection

func (*ListVpnConnectionsResponse) ProtoMessage

func (*ListVpnConnectionsResponse) ProtoMessage()

func (*ListVpnConnectionsResponse) ProtoReflect

func (*ListVpnConnectionsResponse) Reset

func (x *ListVpnConnectionsResponse) Reset()

func (*ListVpnConnectionsResponse) String

func (x *ListVpnConnectionsResponse) String() string

type LocationMetadata

type LocationMetadata struct {

	// The set of available Google Distributed Cloud Edge zones in the location.
	// The map is keyed by the lowercase ID of each zone.
	AvailableZones map[string]*ZoneMetadata `` /* 191-byte string literal not displayed */
	// contains filtered or unexported fields
}

Metadata for a given [mockgcp.cloud.location.Location][mockgcp.cloud.location.Location].

func (*LocationMetadata) Descriptor deprecated

func (*LocationMetadata) Descriptor() ([]byte, []int)

Deprecated: Use LocationMetadata.ProtoReflect.Descriptor instead.

func (*LocationMetadata) GetAvailableZones

func (x *LocationMetadata) GetAvailableZones() map[string]*ZoneMetadata

func (*LocationMetadata) ProtoMessage

func (*LocationMetadata) ProtoMessage()

func (*LocationMetadata) ProtoReflect

func (x *LocationMetadata) ProtoReflect() protoreflect.Message

func (*LocationMetadata) Reset

func (x *LocationMetadata) Reset()

func (*LocationMetadata) String

func (x *LocationMetadata) String() string

type Machine

type Machine struct {

	// Required. The resource name of the machine.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The time when the node pool was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time when the node pool was last updated.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Labels associated with this resource.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Canonical resource name of the node that this machine is responsible for
	// hosting e.g.
	// projects/{project}/locations/{location}/clusters/{cluster_id}/nodePools/{pool_id}/{node},
	// Or empty if the machine is not assigned to assume the role of a node.
	//
	// For control plane nodes hosted on edge machines, this will return
	// the following format:
	//
	//	"projects/{project}/locations/{location}/clusters/{cluster_id}/controlPlaneNodes/{node}".
	HostedNode string `protobuf:"bytes,5,opt,name=hosted_node,json=hostedNode,proto3" json:"hosted_node,omitempty"`
	// The Google Distributed Cloud Edge zone of this machine.
	Zone string `protobuf:"bytes,6,opt,name=zone,proto3" json:"zone,omitempty"`
	// Output only. The software version of the machine.
	Version string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
	// Output only. Whether the machine is disabled. If disabled, the machine is
	// unable to enter service.
	Disabled bool `protobuf:"varint,8,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

A Google Distributed Cloud Edge machine capable of acting as a Kubernetes node.

func (*Machine) Descriptor deprecated

func (*Machine) Descriptor() ([]byte, []int)

Deprecated: Use Machine.ProtoReflect.Descriptor instead.

func (*Machine) GetCreateTime

func (x *Machine) GetCreateTime() *timestamp.Timestamp

func (*Machine) GetDisabled

func (x *Machine) GetDisabled() bool

func (*Machine) GetHostedNode

func (x *Machine) GetHostedNode() string

func (*Machine) GetLabels

func (x *Machine) GetLabels() map[string]string

func (*Machine) GetName

func (x *Machine) GetName() string

func (*Machine) GetUpdateTime

func (x *Machine) GetUpdateTime() *timestamp.Timestamp

func (*Machine) GetVersion

func (x *Machine) GetVersion() string

func (*Machine) GetZone

func (x *Machine) GetZone() string

func (*Machine) ProtoMessage

func (*Machine) ProtoMessage()

func (*Machine) ProtoReflect

func (x *Machine) ProtoReflect() protoreflect.Message

func (*Machine) Reset

func (x *Machine) Reset()

func (*Machine) String

func (x *Machine) String() string

type MaintenancePolicy

type MaintenancePolicy struct {

	// Specifies the maintenance window in which maintenance may be performed.
	Window *MaintenanceWindow `protobuf:"bytes,1,opt,name=window,proto3" json:"window,omitempty"`
	// contains filtered or unexported fields
}

Maintenance policy configuration.

func (*MaintenancePolicy) Descriptor deprecated

func (*MaintenancePolicy) Descriptor() ([]byte, []int)

Deprecated: Use MaintenancePolicy.ProtoReflect.Descriptor instead.

func (*MaintenancePolicy) GetWindow

func (x *MaintenancePolicy) GetWindow() *MaintenanceWindow

func (*MaintenancePolicy) ProtoMessage

func (*MaintenancePolicy) ProtoMessage()

func (*MaintenancePolicy) ProtoReflect

func (x *MaintenancePolicy) ProtoReflect() protoreflect.Message

func (*MaintenancePolicy) Reset

func (x *MaintenancePolicy) Reset()

func (*MaintenancePolicy) String

func (x *MaintenancePolicy) String() string

type MaintenanceWindow

type MaintenanceWindow struct {

	// Configuration of a recurring maintenance window.
	RecurringWindow *RecurringTimeWindow `protobuf:"bytes,1,opt,name=recurring_window,json=recurringWindow,proto3" json:"recurring_window,omitempty"`
	// contains filtered or unexported fields
}

Maintenance window configuration

func (*MaintenanceWindow) Descriptor deprecated

func (*MaintenanceWindow) Descriptor() ([]byte, []int)

Deprecated: Use MaintenanceWindow.ProtoReflect.Descriptor instead.

func (*MaintenanceWindow) GetRecurringWindow

func (x *MaintenanceWindow) GetRecurringWindow() *RecurringTimeWindow

func (*MaintenanceWindow) ProtoMessage

func (*MaintenanceWindow) ProtoMessage()

func (*MaintenanceWindow) ProtoReflect

func (x *MaintenanceWindow) ProtoReflect() protoreflect.Message

func (*MaintenanceWindow) Reset

func (x *MaintenanceWindow) Reset()

func (*MaintenanceWindow) String

func (x *MaintenanceWindow) String() string

type NodePool

type NodePool struct {

	// Required. The resource name of the node pool.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The time when the node pool was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time when the node pool was last updated.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Labels associated with this resource.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Name of the Google Distributed Cloud Edge zone where this node pool will be
	// created. For example: `us-central1-edge-customer-a`.
	NodeLocation string `protobuf:"bytes,8,opt,name=node_location,json=nodeLocation,proto3" json:"node_location,omitempty"`
	// Required. The number of nodes in the pool.
	NodeCount int32 `protobuf:"varint,6,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`
	// Only machines matching this filter will be allowed to join the node pool.
	// The filtering language accepts strings like "name=<name>", and is
	// documented in more detail in [AIP-160](https://google.aip.dev/160).
	MachineFilter string `protobuf:"bytes,7,opt,name=machine_filter,json=machineFilter,proto3" json:"machine_filter,omitempty"`
	// Optional. Local disk encryption options. This field is only used when
	// enabling CMEK support.
	LocalDiskEncryption *NodePool_LocalDiskEncryption `protobuf:"bytes,9,opt,name=local_disk_encryption,json=localDiskEncryption,proto3" json:"local_disk_encryption,omitempty"`
	// Output only. The lowest release version among all worker nodes.
	NodeVersion string `protobuf:"bytes,10,opt,name=node_version,json=nodeVersion,proto3" json:"node_version,omitempty"`
	// Optional. Configuration for each node in the NodePool
	NodeConfig *NodePool_NodeConfig `protobuf:"bytes,11,opt,name=node_config,json=nodeConfig,proto3" json:"node_config,omitempty"`
	// contains filtered or unexported fields
}

A set of Kubernetes nodes in a cluster with common configuration and specification.

func (*NodePool) Descriptor deprecated

func (*NodePool) Descriptor() ([]byte, []int)

Deprecated: Use NodePool.ProtoReflect.Descriptor instead.

func (*NodePool) GetCreateTime

func (x *NodePool) GetCreateTime() *timestamp.Timestamp

func (*NodePool) GetLabels

func (x *NodePool) GetLabels() map[string]string

func (*NodePool) GetLocalDiskEncryption

func (x *NodePool) GetLocalDiskEncryption() *NodePool_LocalDiskEncryption

func (*NodePool) GetMachineFilter

func (x *NodePool) GetMachineFilter() string

func (*NodePool) GetName

func (x *NodePool) GetName() string

func (*NodePool) GetNodeConfig

func (x *NodePool) GetNodeConfig() *NodePool_NodeConfig

func (*NodePool) GetNodeCount

func (x *NodePool) GetNodeCount() int32

func (*NodePool) GetNodeLocation

func (x *NodePool) GetNodeLocation() string

func (*NodePool) GetNodeVersion

func (x *NodePool) GetNodeVersion() string

func (*NodePool) GetUpdateTime

func (x *NodePool) GetUpdateTime() *timestamp.Timestamp

func (*NodePool) ProtoMessage

func (*NodePool) ProtoMessage()

func (*NodePool) ProtoReflect

func (x *NodePool) ProtoReflect() protoreflect.Message

func (*NodePool) Reset

func (x *NodePool) Reset()

func (*NodePool) String

func (x *NodePool) String() string

type NodePool_LocalDiskEncryption

type NodePool_LocalDiskEncryption struct {

	// Immutable. The Cloud KMS CryptoKey e.g.
	// projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
	// to use for protecting node local disks. If not specified, a
	// Google-managed key will be used instead.
	KmsKey string `protobuf:"bytes,1,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"`
	// Output only. The Cloud KMS CryptoKeyVersion currently in use for
	// protecting node local disks. Only applicable if kms_key is set.
	KmsKeyActiveVersion string `protobuf:"bytes,2,opt,name=kms_key_active_version,json=kmsKeyActiveVersion,proto3" json:"kms_key_active_version,omitempty"`
	// Output only. Availability of the Cloud KMS CryptoKey. If not
	// `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
	// local data. This can be caused by a lack of permissions to use the key,
	// or if the key is disabled or deleted.
	KmsKeyState KmsKeyState `` /* 145-byte string literal not displayed */
	// Output only. Error status returned by Cloud KMS when using this key. This
	// field may be populated only if `kms_key_state` is not
	// `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
	// error status reported by Cloud KMS.
	KmsStatus *status.Status `protobuf:"bytes,4,opt,name=kms_status,json=kmsStatus,proto3" json:"kms_status,omitempty"`
	// contains filtered or unexported fields
}

Configuration for CMEK support for edge machine local disk encryption.

func (*NodePool_LocalDiskEncryption) Descriptor deprecated

func (*NodePool_LocalDiskEncryption) Descriptor() ([]byte, []int)

Deprecated: Use NodePool_LocalDiskEncryption.ProtoReflect.Descriptor instead.

func (*NodePool_LocalDiskEncryption) GetKmsKey

func (x *NodePool_LocalDiskEncryption) GetKmsKey() string

func (*NodePool_LocalDiskEncryption) GetKmsKeyActiveVersion

func (x *NodePool_LocalDiskEncryption) GetKmsKeyActiveVersion() string

func (*NodePool_LocalDiskEncryption) GetKmsKeyState

func (x *NodePool_LocalDiskEncryption) GetKmsKeyState() KmsKeyState

func (*NodePool_LocalDiskEncryption) GetKmsStatus

func (x *NodePool_LocalDiskEncryption) GetKmsStatus() *status.Status

func (*NodePool_LocalDiskEncryption) ProtoMessage

func (*NodePool_LocalDiskEncryption) ProtoMessage()

func (*NodePool_LocalDiskEncryption) ProtoReflect

func (*NodePool_LocalDiskEncryption) Reset

func (x *NodePool_LocalDiskEncryption) Reset()

func (*NodePool_LocalDiskEncryption) String

type NodePool_NodeConfig

type NodePool_NodeConfig struct {

	// Optional. The Kubernetes node labels
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for each node in the NodePool

func (*NodePool_NodeConfig) Descriptor deprecated

func (*NodePool_NodeConfig) Descriptor() ([]byte, []int)

Deprecated: Use NodePool_NodeConfig.ProtoReflect.Descriptor instead.

func (*NodePool_NodeConfig) GetLabels

func (x *NodePool_NodeConfig) GetLabels() map[string]string

func (*NodePool_NodeConfig) ProtoMessage

func (*NodePool_NodeConfig) ProtoMessage()

func (*NodePool_NodeConfig) ProtoReflect

func (x *NodePool_NodeConfig) ProtoReflect() protoreflect.Message

func (*NodePool_NodeConfig) Reset

func (x *NodePool_NodeConfig) Reset()

func (*NodePool_NodeConfig) String

func (x *NodePool_NodeConfig) String() string

type OperationMetadata

type OperationMetadata struct {

	// The time the operation was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The time the operation finished running.
	EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Server-defined resource path for the target of the operation.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// The verb executed by the operation.
	Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
	// Human-readable status of the operation, if any.
	StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// Identifies whether the user has requested cancellation of the operation.
	// Operations that have successfully been cancelled have [Operation.error][]
	// value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
	// corresponding to `Code.CANCELLED`.
	RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
	// API version used to start the operation.
	ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// Warnings that do not block the operation, but still hold relevant
	// information for the end user to receive.
	Warnings []string `protobuf:"bytes,8,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// contains filtered or unexported fields
}

Long-running operation metadata for Edge Container API methods.

func (*OperationMetadata) Descriptor deprecated

func (*OperationMetadata) Descriptor() ([]byte, []int)

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCreateTime

func (x *OperationMetadata) GetCreateTime() *timestamp.Timestamp

func (*OperationMetadata) GetEndTime

func (x *OperationMetadata) GetEndTime() *timestamp.Timestamp

func (*OperationMetadata) GetRequestedCancellation

func (x *OperationMetadata) GetRequestedCancellation() bool

func (*OperationMetadata) GetStatusMessage

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) GetWarnings

func (x *OperationMetadata) GetWarnings() []string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

func (x *OperationMetadata) ProtoReflect() protoreflect.Message

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

type Quota

type Quota struct {

	// Name of the quota metric.
	Metric string `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"`
	// Quota limit for this metric.
	Limit float64 `protobuf:"fixed64,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// Current usage of this metric.
	Usage float64 `protobuf:"fixed64,3,opt,name=usage,proto3" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

Represents quota for Edge Container resources.

func (*Quota) Descriptor deprecated

func (*Quota) Descriptor() ([]byte, []int)

Deprecated: Use Quota.ProtoReflect.Descriptor instead.

func (*Quota) GetLimit

func (x *Quota) GetLimit() float64

func (*Quota) GetMetric

func (x *Quota) GetMetric() string

func (*Quota) GetUsage

func (x *Quota) GetUsage() float64

func (*Quota) ProtoMessage

func (*Quota) ProtoMessage()

func (*Quota) ProtoReflect

func (x *Quota) ProtoReflect() protoreflect.Message

func (*Quota) Reset

func (x *Quota) Reset()

func (*Quota) String

func (x *Quota) String() string

type RecurringTimeWindow

type RecurringTimeWindow struct {

	// The window of the first recurrence.
	Window *TimeWindow `protobuf:"bytes,1,opt,name=window,proto3" json:"window,omitempty"`
	// An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
	// this window recurs. They go on for the span of time between the start and
	// end time.
	Recurrence string `protobuf:"bytes,2,opt,name=recurrence,proto3" json:"recurrence,omitempty"`
	// contains filtered or unexported fields
}

Represents an arbitrary window of time that recurs.

func (*RecurringTimeWindow) Descriptor deprecated

func (*RecurringTimeWindow) Descriptor() ([]byte, []int)

Deprecated: Use RecurringTimeWindow.ProtoReflect.Descriptor instead.

func (*RecurringTimeWindow) GetRecurrence

func (x *RecurringTimeWindow) GetRecurrence() string

func (*RecurringTimeWindow) GetWindow

func (x *RecurringTimeWindow) GetWindow() *TimeWindow

func (*RecurringTimeWindow) ProtoMessage

func (*RecurringTimeWindow) ProtoMessage()

func (*RecurringTimeWindow) ProtoReflect

func (x *RecurringTimeWindow) ProtoReflect() protoreflect.Message

func (*RecurringTimeWindow) Reset

func (x *RecurringTimeWindow) Reset()

func (*RecurringTimeWindow) String

func (x *RecurringTimeWindow) String() string

type ServerConfig

type ServerConfig struct {

	// Output only. Mapping from release channel to channel config.
	Channels map[string]*ChannelConfig `` /* 157-byte string literal not displayed */
	// Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
	Versions []*Version `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"`
	// Output only. Default version, e.g.: "1.4.0".
	DefaultVersion string `protobuf:"bytes,3,opt,name=default_version,json=defaultVersion,proto3" json:"default_version,omitempty"`
	// contains filtered or unexported fields
}

Server configuration for supported versions and release channels.

func (*ServerConfig) Descriptor deprecated

func (*ServerConfig) Descriptor() ([]byte, []int)

Deprecated: Use ServerConfig.ProtoReflect.Descriptor instead.

func (*ServerConfig) GetChannels

func (x *ServerConfig) GetChannels() map[string]*ChannelConfig

func (*ServerConfig) GetDefaultVersion

func (x *ServerConfig) GetDefaultVersion() string

func (*ServerConfig) GetVersions

func (x *ServerConfig) GetVersions() []*Version

func (*ServerConfig) ProtoMessage

func (*ServerConfig) ProtoMessage()

func (*ServerConfig) ProtoReflect

func (x *ServerConfig) ProtoReflect() protoreflect.Message

func (*ServerConfig) Reset

func (x *ServerConfig) Reset()

func (*ServerConfig) String

func (x *ServerConfig) String() string

type TimeWindow

type TimeWindow struct {

	// The time that the window first starts.
	StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The time that the window ends. The end time must take place after the
	// start time.
	EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

Represents an arbitrary window of time.

func (*TimeWindow) Descriptor deprecated

func (*TimeWindow) Descriptor() ([]byte, []int)

Deprecated: Use TimeWindow.ProtoReflect.Descriptor instead.

func (*TimeWindow) GetEndTime

func (x *TimeWindow) GetEndTime() *timestamp.Timestamp

func (*TimeWindow) GetStartTime

func (x *TimeWindow) GetStartTime() *timestamp.Timestamp

func (*TimeWindow) ProtoMessage

func (*TimeWindow) ProtoMessage()

func (*TimeWindow) ProtoReflect

func (x *TimeWindow) ProtoReflect() protoreflect.Message

func (*TimeWindow) Reset

func (x *TimeWindow) Reset()

func (*TimeWindow) String

func (x *TimeWindow) String() string

type UnimplementedEdgeContainerServer

type UnimplementedEdgeContainerServer struct {
}

UnimplementedEdgeContainerServer must be embedded to have forward compatible implementations.

func (UnimplementedEdgeContainerServer) CreateCluster

func (UnimplementedEdgeContainerServer) CreateNodePool

func (UnimplementedEdgeContainerServer) CreateVpnConnection

func (UnimplementedEdgeContainerServer) DeleteCluster

func (UnimplementedEdgeContainerServer) DeleteNodePool

func (UnimplementedEdgeContainerServer) DeleteVpnConnection

func (UnimplementedEdgeContainerServer) GetCluster

func (UnimplementedEdgeContainerServer) GetMachine

func (UnimplementedEdgeContainerServer) GetNodePool

func (UnimplementedEdgeContainerServer) GetServerConfig

func (UnimplementedEdgeContainerServer) GetVpnConnection

func (UnimplementedEdgeContainerServer) ListClusters

func (UnimplementedEdgeContainerServer) ListMachines

func (UnimplementedEdgeContainerServer) ListNodePools

func (UnimplementedEdgeContainerServer) ListVpnConnections

func (UnimplementedEdgeContainerServer) UpdateCluster

func (UnimplementedEdgeContainerServer) UpdateNodePool

func (UnimplementedEdgeContainerServer) UpgradeCluster

type UnsafeEdgeContainerServer

type UnsafeEdgeContainerServer interface {
	// contains filtered or unexported methods
}

UnsafeEdgeContainerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EdgeContainerServer will result in compilation errors.

type UpdateClusterRequest

type UpdateClusterRequest struct {

	// Field mask is used to specify the fields to be overwritten in the
	// Cluster resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// The updated cluster.
	Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// A unique identifier for this request. Restricted to 36 ASCII characters.
	// A random UUID is recommended.
	// This request is only idempotent if `request_id` is provided.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Updates a cluster.

func (*UpdateClusterRequest) Descriptor deprecated

func (*UpdateClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateClusterRequest.ProtoReflect.Descriptor instead.

func (*UpdateClusterRequest) GetCluster

func (x *UpdateClusterRequest) GetCluster() *Cluster

func (*UpdateClusterRequest) GetRequestId

func (x *UpdateClusterRequest) GetRequestId() string

func (*UpdateClusterRequest) GetUpdateMask

func (x *UpdateClusterRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateClusterRequest) ProtoMessage

func (*UpdateClusterRequest) ProtoMessage()

func (*UpdateClusterRequest) ProtoReflect

func (x *UpdateClusterRequest) ProtoReflect() protoreflect.Message

func (*UpdateClusterRequest) Reset

func (x *UpdateClusterRequest) Reset()

func (*UpdateClusterRequest) String

func (x *UpdateClusterRequest) String() string

type UpdateNodePoolRequest

type UpdateNodePoolRequest struct {

	// Field mask is used to specify the fields to be overwritten in the
	// NodePool resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// The updated node pool.
	NodePool *NodePool `protobuf:"bytes,2,opt,name=node_pool,json=nodePool,proto3" json:"node_pool,omitempty"`
	// A unique identifier for this request. Restricted to 36 ASCII characters. A
	// random UUID is recommended. This request is only idempotent if
	// `request_id` is provided.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Updates a node pool.

func (*UpdateNodePoolRequest) Descriptor deprecated

func (*UpdateNodePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNodePoolRequest.ProtoReflect.Descriptor instead.

func (*UpdateNodePoolRequest) GetNodePool

func (x *UpdateNodePoolRequest) GetNodePool() *NodePool

func (*UpdateNodePoolRequest) GetRequestId

func (x *UpdateNodePoolRequest) GetRequestId() string

func (*UpdateNodePoolRequest) GetUpdateMask

func (x *UpdateNodePoolRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateNodePoolRequest) ProtoMessage

func (*UpdateNodePoolRequest) ProtoMessage()

func (*UpdateNodePoolRequest) ProtoReflect

func (x *UpdateNodePoolRequest) ProtoReflect() protoreflect.Message

func (*UpdateNodePoolRequest) Reset

func (x *UpdateNodePoolRequest) Reset()

func (*UpdateNodePoolRequest) String

func (x *UpdateNodePoolRequest) String() string

type UpgradeClusterRequest

type UpgradeClusterRequest struct {

	// Required. The resource name of the cluster.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The version the cluster is going to be upgraded to.
	TargetVersion string `protobuf:"bytes,2,opt,name=target_version,json=targetVersion,proto3" json:"target_version,omitempty"`
	// The schedule for the upgrade.
	Schedule UpgradeClusterRequest_Schedule `` /* 137-byte string literal not displayed */
	// A unique identifier for this request. Restricted to 36 ASCII characters. A
	// random UUID is recommended. This request is only idempotent if
	// `request_id` is provided.
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Upgrades a cluster.

func (*UpgradeClusterRequest) Descriptor deprecated

func (*UpgradeClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpgradeClusterRequest.ProtoReflect.Descriptor instead.

func (*UpgradeClusterRequest) GetName

func (x *UpgradeClusterRequest) GetName() string

func (*UpgradeClusterRequest) GetRequestId

func (x *UpgradeClusterRequest) GetRequestId() string

func (*UpgradeClusterRequest) GetSchedule

func (*UpgradeClusterRequest) GetTargetVersion

func (x *UpgradeClusterRequest) GetTargetVersion() string

func (*UpgradeClusterRequest) ProtoMessage

func (*UpgradeClusterRequest) ProtoMessage()

func (*UpgradeClusterRequest) ProtoReflect

func (x *UpgradeClusterRequest) ProtoReflect() protoreflect.Message

func (*UpgradeClusterRequest) Reset

func (x *UpgradeClusterRequest) Reset()

func (*UpgradeClusterRequest) String

func (x *UpgradeClusterRequest) String() string

type UpgradeClusterRequest_Schedule

type UpgradeClusterRequest_Schedule int32

Represents the schedule about when the cluster is going to be upgraded.

const (
	// Unspecified. The default is to upgrade the cluster immediately which is
	// the only option today.
	UpgradeClusterRequest_SCHEDULE_UNSPECIFIED UpgradeClusterRequest_Schedule = 0
	// The cluster is going to be upgraded immediately after receiving the
	// request.
	UpgradeClusterRequest_IMMEDIATELY UpgradeClusterRequest_Schedule = 1
)

func (UpgradeClusterRequest_Schedule) Descriptor

func (UpgradeClusterRequest_Schedule) Enum

func (UpgradeClusterRequest_Schedule) EnumDescriptor deprecated

func (UpgradeClusterRequest_Schedule) EnumDescriptor() ([]byte, []int)

Deprecated: Use UpgradeClusterRequest_Schedule.Descriptor instead.

func (UpgradeClusterRequest_Schedule) Number

func (UpgradeClusterRequest_Schedule) String

func (UpgradeClusterRequest_Schedule) Type

type Version

type Version struct {

	// Output only. Name of the version, e.g.: "1.4.0".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Version of a cluster.

func (*Version) Descriptor deprecated

func (*Version) Descriptor() ([]byte, []int)

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) GetName

func (x *Version) GetName() string

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) ProtoReflect

func (x *Version) ProtoReflect() protoreflect.Message

func (*Version) Reset

func (x *Version) Reset()

func (*Version) String

func (x *Version) String() string

type VpnConnection

type VpnConnection struct {

	// Required. The resource name of VPN connection
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The time when the VPN connection was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time when the VPN connection was last updated.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Labels associated with this resource.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// NAT gateway IP, or WAN IP address. If a customer has multiple NAT IPs, the
	// customer needs to configure NAT such that only one external IP maps to the
	// GMEC Anthos cluster. This is empty if NAT is not used.
	NatGatewayIp string `protobuf:"bytes,5,opt,name=nat_gateway_ip,json=natGatewayIp,proto3" json:"nat_gateway_ip,omitempty"`
	// Dynamic routing mode of the VPC network, `regional` or `global`.
	//
	// Deprecated: Do not use.
	BgpRoutingMode VpnConnection_BgpRoutingMode `` /* 171-byte string literal not displayed */
	// The canonical Cluster name to connect to. It is in the form of
	// projects/{project}/locations/{location}/clusters/{cluster}.
	Cluster string `protobuf:"bytes,7,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// The network ID of VPC to connect to.
	Vpc string `protobuf:"bytes,8,opt,name=vpc,proto3" json:"vpc,omitempty"`
	// Optional. Project detail of the VPC network. Required if VPC is in a
	// different project than the cluster project.
	VpcProject *VpnConnection_VpcProject `protobuf:"bytes,11,opt,name=vpc_project,json=vpcProject,proto3" json:"vpc_project,omitempty"`
	// Whether this VPN connection has HA enabled on cluster side. If enabled,
	// when creating VPN connection we will attempt to use 2 ANG floating IPs.
	EnableHighAvailability bool `` /* 130-byte string literal not displayed */
	// Optional. The VPN connection Cloud Router name.
	Router string `protobuf:"bytes,12,opt,name=router,proto3" json:"router,omitempty"`
	// Output only. The created connection details.
	Details *VpnConnection_Details `protobuf:"bytes,10,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

A VPN connection .

func (*VpnConnection) Descriptor deprecated

func (*VpnConnection) Descriptor() ([]byte, []int)

Deprecated: Use VpnConnection.ProtoReflect.Descriptor instead.

func (*VpnConnection) GetBgpRoutingMode deprecated

func (x *VpnConnection) GetBgpRoutingMode() VpnConnection_BgpRoutingMode

Deprecated: Do not use.

func (*VpnConnection) GetCluster

func (x *VpnConnection) GetCluster() string

func (*VpnConnection) GetCreateTime

func (x *VpnConnection) GetCreateTime() *timestamp.Timestamp

func (*VpnConnection) GetDetails

func (x *VpnConnection) GetDetails() *VpnConnection_Details

func (*VpnConnection) GetEnableHighAvailability

func (x *VpnConnection) GetEnableHighAvailability() bool

func (*VpnConnection) GetLabels

func (x *VpnConnection) GetLabels() map[string]string

func (*VpnConnection) GetName

func (x *VpnConnection) GetName() string

func (*VpnConnection) GetNatGatewayIp

func (x *VpnConnection) GetNatGatewayIp() string

func (*VpnConnection) GetRouter

func (x *VpnConnection) GetRouter() string

func (*VpnConnection) GetUpdateTime

func (x *VpnConnection) GetUpdateTime() *timestamp.Timestamp

func (*VpnConnection) GetVpc

func (x *VpnConnection) GetVpc() string

func (*VpnConnection) GetVpcProject

func (x *VpnConnection) GetVpcProject() *VpnConnection_VpcProject

func (*VpnConnection) ProtoMessage

func (*VpnConnection) ProtoMessage()

func (*VpnConnection) ProtoReflect

func (x *VpnConnection) ProtoReflect() protoreflect.Message

func (*VpnConnection) Reset

func (x *VpnConnection) Reset()

func (*VpnConnection) String

func (x *VpnConnection) String() string

type VpnConnection_BgpRoutingMode

type VpnConnection_BgpRoutingMode int32

Routing mode.

const (
	// Unknown.
	VpnConnection_BGP_ROUTING_MODE_UNSPECIFIED VpnConnection_BgpRoutingMode = 0
	// Regional mode.
	VpnConnection_REGIONAL VpnConnection_BgpRoutingMode = 1
	// Global mode.
	VpnConnection_GLOBAL VpnConnection_BgpRoutingMode = 2
)

func (VpnConnection_BgpRoutingMode) Descriptor

func (VpnConnection_BgpRoutingMode) Enum

func (VpnConnection_BgpRoutingMode) EnumDescriptor deprecated

func (VpnConnection_BgpRoutingMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use VpnConnection_BgpRoutingMode.Descriptor instead.

func (VpnConnection_BgpRoutingMode) Number

func (VpnConnection_BgpRoutingMode) String

func (VpnConnection_BgpRoutingMode) Type

type VpnConnection_Details

type VpnConnection_Details struct {

	// The state of this connection.
	State VpnConnection_Details_State `` /* 128-byte string literal not displayed */
	// The error message. This is only populated when state=ERROR.
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// The Cloud Router info.
	CloudRouter *VpnConnection_Details_CloudRouter `protobuf:"bytes,3,opt,name=cloud_router,json=cloudRouter,proto3" json:"cloud_router,omitempty"`
	// Each connection has multiple Cloud VPN gateways.
	CloudVpns []*VpnConnection_Details_CloudVpn `protobuf:"bytes,4,rep,name=cloud_vpns,json=cloudVpns,proto3" json:"cloud_vpns,omitempty"`
	// contains filtered or unexported fields
}

The created connection details.

func (*VpnConnection_Details) Descriptor deprecated

func (*VpnConnection_Details) Descriptor() ([]byte, []int)

Deprecated: Use VpnConnection_Details.ProtoReflect.Descriptor instead.

func (*VpnConnection_Details) GetCloudRouter

func (*VpnConnection_Details) GetCloudVpns

func (*VpnConnection_Details) GetError

func (x *VpnConnection_Details) GetError() string

func (*VpnConnection_Details) GetState

func (*VpnConnection_Details) ProtoMessage

func (*VpnConnection_Details) ProtoMessage()

func (*VpnConnection_Details) ProtoReflect

func (x *VpnConnection_Details) ProtoReflect() protoreflect.Message

func (*VpnConnection_Details) Reset

func (x *VpnConnection_Details) Reset()

func (*VpnConnection_Details) String

func (x *VpnConnection_Details) String() string

type VpnConnection_Details_CloudRouter

type VpnConnection_Details_CloudRouter struct {

	// The associated Cloud Router name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The Cloud Router info.

func (*VpnConnection_Details_CloudRouter) Descriptor deprecated

func (*VpnConnection_Details_CloudRouter) Descriptor() ([]byte, []int)

Deprecated: Use VpnConnection_Details_CloudRouter.ProtoReflect.Descriptor instead.

func (*VpnConnection_Details_CloudRouter) GetName

func (*VpnConnection_Details_CloudRouter) ProtoMessage

func (*VpnConnection_Details_CloudRouter) ProtoMessage()

func (*VpnConnection_Details_CloudRouter) ProtoReflect

func (*VpnConnection_Details_CloudRouter) Reset

func (*VpnConnection_Details_CloudRouter) String

type VpnConnection_Details_CloudVpn

type VpnConnection_Details_CloudVpn struct {

	// The created Cloud VPN gateway name.
	Gateway string `protobuf:"bytes,1,opt,name=gateway,proto3" json:"gateway,omitempty"`
	// contains filtered or unexported fields
}

The Cloud VPN info.

func (*VpnConnection_Details_CloudVpn) Descriptor deprecated

func (*VpnConnection_Details_CloudVpn) Descriptor() ([]byte, []int)

Deprecated: Use VpnConnection_Details_CloudVpn.ProtoReflect.Descriptor instead.

func (*VpnConnection_Details_CloudVpn) GetGateway

func (x *VpnConnection_Details_CloudVpn) GetGateway() string

func (*VpnConnection_Details_CloudVpn) ProtoMessage

func (*VpnConnection_Details_CloudVpn) ProtoMessage()

func (*VpnConnection_Details_CloudVpn) ProtoReflect

func (*VpnConnection_Details_CloudVpn) Reset

func (x *VpnConnection_Details_CloudVpn) Reset()

func (*VpnConnection_Details_CloudVpn) String

type VpnConnection_Details_State

type VpnConnection_Details_State int32

The current connection state.

const (
	// Unknown.
	VpnConnection_Details_STATE_UNSPECIFIED VpnConnection_Details_State = 0
	// Connected.
	VpnConnection_Details_STATE_CONNECTED VpnConnection_Details_State = 1
	// Still connecting.
	VpnConnection_Details_STATE_CONNECTING VpnConnection_Details_State = 2
	// Error occurred.
	VpnConnection_Details_STATE_ERROR VpnConnection_Details_State = 3
)

func (VpnConnection_Details_State) Descriptor

func (VpnConnection_Details_State) Enum

func (VpnConnection_Details_State) EnumDescriptor deprecated

func (VpnConnection_Details_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use VpnConnection_Details_State.Descriptor instead.

func (VpnConnection_Details_State) Number

func (VpnConnection_Details_State) String

func (VpnConnection_Details_State) Type

type VpnConnection_VpcProject

type VpnConnection_VpcProject struct {

	// The project of the VPC to connect to. If not specified, it is the same as
	// the cluster project.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Optional. The service account in the VPC project configured by user. It
	// is used to create/delete Cloud Router and Cloud HA VPNs for VPN
	// connection. If this SA is changed during/after a VPN connection is
	// created, you need to remove the Cloud Router and Cloud VPN resources in
	// |project_id|. It is in the form of
	// service-{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com.
	//
	// Deprecated: Do not use.
	ServiceAccount string `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// contains filtered or unexported fields
}

Project detail of the VPC network.

func (*VpnConnection_VpcProject) Descriptor deprecated

func (*VpnConnection_VpcProject) Descriptor() ([]byte, []int)

Deprecated: Use VpnConnection_VpcProject.ProtoReflect.Descriptor instead.

func (*VpnConnection_VpcProject) GetProjectId

func (x *VpnConnection_VpcProject) GetProjectId() string

func (*VpnConnection_VpcProject) GetServiceAccount deprecated

func (x *VpnConnection_VpcProject) GetServiceAccount() string

Deprecated: Do not use.

func (*VpnConnection_VpcProject) ProtoMessage

func (*VpnConnection_VpcProject) ProtoMessage()

func (*VpnConnection_VpcProject) ProtoReflect

func (x *VpnConnection_VpcProject) ProtoReflect() protoreflect.Message

func (*VpnConnection_VpcProject) Reset

func (x *VpnConnection_VpcProject) Reset()

func (*VpnConnection_VpcProject) String

func (x *VpnConnection_VpcProject) String() string

type ZoneMetadata

type ZoneMetadata struct {

	// Quota for resources in this zone.
	Quota []*Quota `protobuf:"bytes,1,rep,name=quota,proto3" json:"quota,omitempty"`
	// The map keyed by rack name and has value of RackType.
	RackTypes map[string]ZoneMetadata_RackType `` /* 235-byte string literal not displayed */
	// contains filtered or unexported fields
}

A Google Distributed Cloud Edge zone where edge machines are located.

func (*ZoneMetadata) Descriptor deprecated

func (*ZoneMetadata) Descriptor() ([]byte, []int)

Deprecated: Use ZoneMetadata.ProtoReflect.Descriptor instead.

func (*ZoneMetadata) GetQuota

func (x *ZoneMetadata) GetQuota() []*Quota

func (*ZoneMetadata) GetRackTypes

func (x *ZoneMetadata) GetRackTypes() map[string]ZoneMetadata_RackType

func (*ZoneMetadata) ProtoMessage

func (*ZoneMetadata) ProtoMessage()

func (*ZoneMetadata) ProtoReflect

func (x *ZoneMetadata) ProtoReflect() protoreflect.Message

func (*ZoneMetadata) Reset

func (x *ZoneMetadata) Reset()

func (*ZoneMetadata) String

func (x *ZoneMetadata) String() string

type ZoneMetadata_RackType

type ZoneMetadata_RackType int32

Type of the rack.

const (
	// Unspecified rack type, single rack also belongs to this type.
	ZoneMetadata_RACK_TYPE_UNSPECIFIED ZoneMetadata_RackType = 0
	// Base rack type, a pair of two modified Config-1 racks containing
	// Aggregation switches.
	ZoneMetadata_BASE ZoneMetadata_RackType = 1
	// Expansion rack type, also known as standalone racks,
	// added by customers on demand.
	ZoneMetadata_EXPANSION ZoneMetadata_RackType = 2
)

func (ZoneMetadata_RackType) Descriptor

func (ZoneMetadata_RackType) Enum

func (ZoneMetadata_RackType) EnumDescriptor deprecated

func (ZoneMetadata_RackType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ZoneMetadata_RackType.Descriptor instead.

func (ZoneMetadata_RackType) Number

func (ZoneMetadata_RackType) String

func (x ZoneMetadata_RackType) String() string

func (ZoneMetadata_RackType) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL