Documentation ¶
Overview ¶
Package gkehubdata provides GKE Hub type definitions for CloudEvent data payloads.
Supported CloudEvent Types ¶
- google.cloud.gkehub.membership.v1.created
- google.cloud.gkehub.feature.v1.created
- google.cloud.gkehub.membership.v1.deleted
- google.cloud.gkehub.feature.v1.deleted
- google.cloud.gkehub.membership.v1.updated
- google.cloud.gkehub.feature.v1.updated
- google.cloud.gkehub.scope.v1.created
- google.cloud.gkehub.scope.v1.deleted
- google.cloud.gkehub.membershipBinding.v1.created
- google.cloud.gkehub.membershipBinding.v1.updated
- google.cloud.gkehub.membershipBinding.v1.deleted
Index ¶
- Variables
- type ApplianceCluster
- type Authority
- func (*Authority) Descriptor() ([]byte, []int)deprecated
- func (x *Authority) GetIdentityProvider() string
- func (x *Authority) GetIssuer() string
- func (x *Authority) GetOidcJwks() []byte
- func (x *Authority) GetWorkloadIdentityPool() string
- func (*Authority) ProtoMessage()
- func (x *Authority) ProtoReflect() protoreflect.Message
- func (x *Authority) Reset()
- func (x *Authority) String() string
- type CommonFeatureState
- func (*CommonFeatureState) Descriptor() ([]byte, []int)deprecated
- func (x *CommonFeatureState) GetState() *FeatureState
- func (*CommonFeatureState) ProtoMessage()
- func (x *CommonFeatureState) ProtoReflect() protoreflect.Message
- func (x *CommonFeatureState) Reset()
- func (x *CommonFeatureState) String() string
- type EdgeCluster
- type Feature
- func (*Feature) Descriptor() ([]byte, []int)deprecated
- func (x *Feature) GetCreateTime() *timestamppb.Timestamp
- func (x *Feature) GetDeleteTime() *timestamppb.Timestamp
- func (x *Feature) GetLabels() map[string]string
- func (x *Feature) GetMembershipStates() map[string]*MembershipFeatureState
- func (x *Feature) GetName() string
- func (x *Feature) GetResourceState() *FeatureResourceState
- func (x *Feature) GetScopeStates() map[string]*ScopeFeatureState
- func (x *Feature) GetState() *CommonFeatureState
- func (x *Feature) GetUpdateTime() *timestamppb.Timestamp
- func (*Feature) ProtoMessage()
- func (x *Feature) ProtoReflect() protoreflect.Message
- func (x *Feature) Reset()
- func (x *Feature) String() string
- type FeatureEventData
- type FeatureResourceState
- func (*FeatureResourceState) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureResourceState) GetState() FeatureResourceState_State
- func (*FeatureResourceState) ProtoMessage()
- func (x *FeatureResourceState) ProtoReflect() protoreflect.Message
- func (x *FeatureResourceState) Reset()
- func (x *FeatureResourceState) String() string
- type FeatureResourceState_State
- func (FeatureResourceState_State) Descriptor() protoreflect.EnumDescriptor
- func (x FeatureResourceState_State) Enum() *FeatureResourceState_State
- func (FeatureResourceState_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x FeatureResourceState_State) Number() protoreflect.EnumNumber
- func (x FeatureResourceState_State) String() string
- func (FeatureResourceState_State) Type() protoreflect.EnumType
- type FeatureState
- func (*FeatureState) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureState) GetCode() FeatureState_Code
- func (x *FeatureState) GetDescription() string
- func (x *FeatureState) GetUpdateTime() *timestamppb.Timestamp
- func (*FeatureState) ProtoMessage()
- func (x *FeatureState) ProtoReflect() protoreflect.Message
- func (x *FeatureState) Reset()
- func (x *FeatureState) String() string
- type FeatureState_Code
- func (FeatureState_Code) Descriptor() protoreflect.EnumDescriptor
- func (x FeatureState_Code) Enum() *FeatureState_Code
- func (FeatureState_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x FeatureState_Code) Number() protoreflect.EnumNumber
- func (x FeatureState_Code) String() string
- func (FeatureState_Code) Type() protoreflect.EnumType
- type GkeCluster
- func (*GkeCluster) Descriptor() ([]byte, []int)deprecated
- func (x *GkeCluster) GetClusterMissing() bool
- func (x *GkeCluster) GetResourceLink() string
- func (*GkeCluster) ProtoMessage()
- func (x *GkeCluster) ProtoReflect() protoreflect.Message
- func (x *GkeCluster) Reset()
- func (x *GkeCluster) String() string
- type KubernetesMetadata
- func (*KubernetesMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *KubernetesMetadata) GetKubernetesApiServerVersion() string
- func (x *KubernetesMetadata) GetMemoryMb() int32
- func (x *KubernetesMetadata) GetNodeCount() int32
- func (x *KubernetesMetadata) GetNodeProviderId() string
- func (x *KubernetesMetadata) GetUpdateTime() *timestamppb.Timestamp
- func (x *KubernetesMetadata) GetVcpuCount() int32
- func (*KubernetesMetadata) ProtoMessage()
- func (x *KubernetesMetadata) ProtoReflect() protoreflect.Message
- func (x *KubernetesMetadata) Reset()
- func (x *KubernetesMetadata) String() string
- type KubernetesResource
- func (*KubernetesResource) Descriptor() ([]byte, []int)deprecated
- func (x *KubernetesResource) GetConnectResources() []*ResourceManifest
- func (x *KubernetesResource) GetMembershipResources() []*ResourceManifest
- func (x *KubernetesResource) GetResourceOptions() *ResourceOptions
- func (*KubernetesResource) ProtoMessage()
- func (x *KubernetesResource) ProtoReflect() protoreflect.Message
- func (x *KubernetesResource) Reset()
- func (x *KubernetesResource) String() string
- type Membership
- func (*Membership) Descriptor() ([]byte, []int)deprecated
- func (x *Membership) GetAuthority() *Authority
- func (x *Membership) GetCreateTime() *timestamppb.Timestamp
- func (x *Membership) GetDeleteTime() *timestamppb.Timestamp
- func (x *Membership) GetDescription() string
- func (x *Membership) GetEndpoint() *MembershipEndpoint
- func (x *Membership) GetExternalId() string
- func (x *Membership) GetLabels() map[string]string
- func (x *Membership) GetLastConnectionTime() *timestamppb.Timestamp
- func (x *Membership) GetName() string
- func (x *Membership) GetState() *MembershipState
- func (m *Membership) GetType() isMembership_Type
- func (x *Membership) GetUniqueId() string
- func (x *Membership) GetUpdateTime() *timestamppb.Timestamp
- func (*Membership) ProtoMessage()
- func (x *Membership) ProtoReflect() protoreflect.Message
- func (x *Membership) Reset()
- func (x *Membership) String() string
- type MembershipBinding
- func (*MembershipBinding) Descriptor() ([]byte, []int)deprecated
- func (x *MembershipBinding) GetCreateTime() *timestamppb.Timestamp
- func (x *MembershipBinding) GetDeleteTime() *timestamppb.Timestamp
- func (x *MembershipBinding) GetFleet() bool
- func (x *MembershipBinding) GetName() string
- func (x *MembershipBinding) GetScope() string
- func (x *MembershipBinding) GetState() *MembershipBindingLifecycleState
- func (m *MembershipBinding) GetTarget() isMembershipBinding_Target
- func (x *MembershipBinding) GetUid() string
- func (x *MembershipBinding) GetUpdateTime() *timestamppb.Timestamp
- func (*MembershipBinding) ProtoMessage()
- func (x *MembershipBinding) ProtoReflect() protoreflect.Message
- func (x *MembershipBinding) Reset()
- func (x *MembershipBinding) String() string
- type MembershipBindingEventData
- func (*MembershipBindingEventData) Descriptor() ([]byte, []int)deprecated
- func (x *MembershipBindingEventData) GetPayload() *MembershipBinding
- func (*MembershipBindingEventData) ProtoMessage()
- func (x *MembershipBindingEventData) ProtoReflect() protoreflect.Message
- func (x *MembershipBindingEventData) Reset()
- func (x *MembershipBindingEventData) String() string
- type MembershipBindingLifecycleState
- func (*MembershipBindingLifecycleState) Descriptor() ([]byte, []int)deprecated
- func (x *MembershipBindingLifecycleState) GetCode() MembershipBindingLifecycleState_Code
- func (*MembershipBindingLifecycleState) ProtoMessage()
- func (x *MembershipBindingLifecycleState) ProtoReflect() protoreflect.Message
- func (x *MembershipBindingLifecycleState) Reset()
- func (x *MembershipBindingLifecycleState) String() string
- type MembershipBindingLifecycleState_Code
- func (MembershipBindingLifecycleState_Code) Descriptor() protoreflect.EnumDescriptor
- func (x MembershipBindingLifecycleState_Code) Enum() *MembershipBindingLifecycleState_Code
- func (MembershipBindingLifecycleState_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x MembershipBindingLifecycleState_Code) Number() protoreflect.EnumNumber
- func (x MembershipBindingLifecycleState_Code) String() string
- func (MembershipBindingLifecycleState_Code) Type() protoreflect.EnumType
- type MembershipBinding_Fleet
- type MembershipBinding_Scope
- type MembershipEndpoint
- func (*MembershipEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *MembershipEndpoint) GetApplianceCluster() *ApplianceCluster
- func (x *MembershipEndpoint) GetEdgeCluster() *EdgeCluster
- func (x *MembershipEndpoint) GetGkeCluster() *GkeCluster
- func (x *MembershipEndpoint) GetGoogleManaged() bool
- func (x *MembershipEndpoint) GetKubernetesMetadata() *KubernetesMetadata
- func (x *MembershipEndpoint) GetKubernetesResource() *KubernetesResource
- func (x *MembershipEndpoint) GetMultiCloudCluster() *MultiCloudCluster
- func (x *MembershipEndpoint) GetOnPremCluster() *OnPremCluster
- func (m *MembershipEndpoint) GetType() isMembershipEndpoint_Type
- func (*MembershipEndpoint) ProtoMessage()
- func (x *MembershipEndpoint) ProtoReflect() protoreflect.Message
- func (x *MembershipEndpoint) Reset()
- func (x *MembershipEndpoint) String() string
- type MembershipEndpoint_ApplianceCluster
- type MembershipEndpoint_EdgeCluster
- type MembershipEndpoint_GkeCluster
- type MembershipEndpoint_MultiCloudCluster
- type MembershipEndpoint_OnPremCluster
- type MembershipEventData
- func (*MembershipEventData) Descriptor() ([]byte, []int)deprecated
- func (x *MembershipEventData) GetPayload() *Membership
- func (*MembershipEventData) ProtoMessage()
- func (x *MembershipEventData) ProtoReflect() protoreflect.Message
- func (x *MembershipEventData) Reset()
- func (x *MembershipEventData) String() string
- type MembershipFeatureState
- func (*MembershipFeatureState) Descriptor() ([]byte, []int)deprecated
- func (x *MembershipFeatureState) GetState() *FeatureState
- func (*MembershipFeatureState) ProtoMessage()
- func (x *MembershipFeatureState) ProtoReflect() protoreflect.Message
- func (x *MembershipFeatureState) Reset()
- func (x *MembershipFeatureState) String() string
- type MembershipState
- type MembershipState_Code
- func (MembershipState_Code) Descriptor() protoreflect.EnumDescriptor
- func (x MembershipState_Code) Enum() *MembershipState_Code
- func (MembershipState_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x MembershipState_Code) Number() protoreflect.EnumNumber
- func (x MembershipState_Code) String() string
- func (MembershipState_Code) Type() protoreflect.EnumType
- type Membership_Endpoint
- type MultiCloudCluster
- func (*MultiCloudCluster) Descriptor() ([]byte, []int)deprecated
- func (x *MultiCloudCluster) GetClusterMissing() bool
- func (x *MultiCloudCluster) GetResourceLink() string
- func (*MultiCloudCluster) ProtoMessage()
- func (x *MultiCloudCluster) ProtoReflect() protoreflect.Message
- func (x *MultiCloudCluster) Reset()
- func (x *MultiCloudCluster) String() string
- type OnPremCluster
- func (*OnPremCluster) Descriptor() ([]byte, []int)deprecated
- func (x *OnPremCluster) GetAdminCluster() bool
- func (x *OnPremCluster) GetClusterMissing() bool
- func (x *OnPremCluster) GetClusterType() OnPremCluster_ClusterType
- func (x *OnPremCluster) GetResourceLink() string
- func (*OnPremCluster) ProtoMessage()
- func (x *OnPremCluster) ProtoReflect() protoreflect.Message
- func (x *OnPremCluster) Reset()
- func (x *OnPremCluster) String() string
- type OnPremCluster_ClusterType
- func (OnPremCluster_ClusterType) Descriptor() protoreflect.EnumDescriptor
- func (x OnPremCluster_ClusterType) Enum() *OnPremCluster_ClusterType
- func (OnPremCluster_ClusterType) EnumDescriptor() ([]byte, []int)deprecated
- func (x OnPremCluster_ClusterType) Number() protoreflect.EnumNumber
- func (x OnPremCluster_ClusterType) String() string
- func (OnPremCluster_ClusterType) Type() protoreflect.EnumType
- type ResourceManifest
- func (*ResourceManifest) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceManifest) GetClusterScoped() bool
- func (x *ResourceManifest) GetManifest() string
- func (*ResourceManifest) ProtoMessage()
- func (x *ResourceManifest) ProtoReflect() protoreflect.Message
- func (x *ResourceManifest) Reset()
- func (x *ResourceManifest) String() string
- type ResourceOptions
- func (*ResourceOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceOptions) GetConnectVersion() string
- func (x *ResourceOptions) GetK8SVersion() string
- func (x *ResourceOptions) GetV1Beta1Crd() bool
- func (*ResourceOptions) ProtoMessage()
- func (x *ResourceOptions) ProtoReflect() protoreflect.Message
- func (x *ResourceOptions) Reset()
- func (x *ResourceOptions) String() string
- type Scope
- func (*Scope) Descriptor() ([]byte, []int)deprecated
- func (x *Scope) GetCreateTime() *timestamppb.Timestamp
- func (x *Scope) GetDeleteTime() *timestamppb.Timestamp
- func (x *Scope) GetName() string
- func (x *Scope) GetState() *ScopeLifecycleState
- func (x *Scope) GetUid() string
- func (x *Scope) GetUpdateTime() *timestamppb.Timestamp
- func (*Scope) ProtoMessage()
- func (x *Scope) ProtoReflect() protoreflect.Message
- func (x *Scope) Reset()
- func (x *Scope) String() string
- type ScopeEventData
- type ScopeFeatureState
- func (*ScopeFeatureState) Descriptor() ([]byte, []int)deprecated
- func (x *ScopeFeatureState) GetState() *FeatureState
- func (*ScopeFeatureState) ProtoMessage()
- func (x *ScopeFeatureState) ProtoReflect() protoreflect.Message
- func (x *ScopeFeatureState) Reset()
- func (x *ScopeFeatureState) String() string
- type ScopeLifecycleState
- func (*ScopeLifecycleState) Descriptor() ([]byte, []int)deprecated
- func (x *ScopeLifecycleState) GetCode() ScopeLifecycleState_Code
- func (*ScopeLifecycleState) ProtoMessage()
- func (x *ScopeLifecycleState) ProtoReflect() protoreflect.Message
- func (x *ScopeLifecycleState) Reset()
- func (x *ScopeLifecycleState) String() string
- type ScopeLifecycleState_Code
- func (ScopeLifecycleState_Code) Descriptor() protoreflect.EnumDescriptor
- func (x ScopeLifecycleState_Code) Enum() *ScopeLifecycleState_Code
- func (ScopeLifecycleState_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x ScopeLifecycleState_Code) Number() protoreflect.EnumNumber
- func (x ScopeLifecycleState_Code) String() string
- func (ScopeLifecycleState_Code) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( FeatureResourceState_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "ENABLING", 2: "ACTIVE", 3: "DISABLING", 4: "UPDATING", 5: "SERVICE_UPDATING", } FeatureResourceState_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "ENABLING": 1, "ACTIVE": 2, "DISABLING": 3, "UPDATING": 4, "SERVICE_UPDATING": 5, } )
Enum value maps for FeatureResourceState_State.
var ( FeatureState_Code_name = map[int32]string{ 0: "CODE_UNSPECIFIED", 1: "OK", 2: "WARNING", 3: "ERROR", } FeatureState_Code_value = map[string]int32{ "CODE_UNSPECIFIED": 0, "OK": 1, "WARNING": 2, "ERROR": 3, } )
Enum value maps for FeatureState_Code.
var ( ScopeLifecycleState_Code_name = map[int32]string{ 0: "CODE_UNSPECIFIED", 1: "CREATING", 2: "READY", 3: "DELETING", 4: "UPDATING", } ScopeLifecycleState_Code_value = map[string]int32{ "CODE_UNSPECIFIED": 0, "CREATING": 1, "READY": 2, "DELETING": 3, "UPDATING": 4, } )
Enum value maps for ScopeLifecycleState_Code.
var ( MembershipBindingLifecycleState_Code_name = map[int32]string{ 0: "CODE_UNSPECIFIED", 1: "CREATING", 2: "READY", 3: "DELETING", 4: "UPDATING", } MembershipBindingLifecycleState_Code_value = map[string]int32{ "CODE_UNSPECIFIED": 0, "CREATING": 1, "READY": 2, "DELETING": 3, "UPDATING": 4, } )
Enum value maps for MembershipBindingLifecycleState_Code.
var ( OnPremCluster_ClusterType_name = map[int32]string{ 0: "CLUSTERTYPE_UNSPECIFIED", 1: "BOOTSTRAP", 2: "HYBRID", 3: "STANDALONE", 4: "USER", } OnPremCluster_ClusterType_value = map[string]int32{ "CLUSTERTYPE_UNSPECIFIED": 0, "BOOTSTRAP": 1, "HYBRID": 2, "STANDALONE": 3, "USER": 4, } )
Enum value maps for OnPremCluster_ClusterType.
var ( MembershipState_Code_name = map[int32]string{ 0: "CODE_UNSPECIFIED", 1: "CREATING", 2: "READY", 3: "DELETING", 4: "UPDATING", 5: "SERVICE_UPDATING", } MembershipState_Code_value = map[string]int32{ "CODE_UNSPECIFIED": 0, "CREATING": 1, "READY": 2, "DELETING": 3, "UPDATING": 4, "SERVICE_UPDATING": 5, } )
Enum value maps for MembershipState_Code.
var File_cloud_gkehub_v1_data_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ApplianceCluster ¶
type ApplianceCluster struct { // Immutable. Self-link of the GCP resource for the Appliance Cluster. For // example: // // //transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance ResourceLink string `protobuf:"bytes,1,opt,name=resource_link,json=resourceLink,proto3" json:"resource_link,omitempty"` // contains filtered or unexported fields }
ApplianceCluster contains information specific to GDC Edge Appliance Clusters.
func (*ApplianceCluster) Descriptor
deprecated
func (*ApplianceCluster) Descriptor() ([]byte, []int)
Deprecated: Use ApplianceCluster.ProtoReflect.Descriptor instead.
func (*ApplianceCluster) GetResourceLink ¶
func (x *ApplianceCluster) GetResourceLink() string
func (*ApplianceCluster) ProtoMessage ¶
func (*ApplianceCluster) ProtoMessage()
func (*ApplianceCluster) ProtoReflect ¶
func (x *ApplianceCluster) ProtoReflect() protoreflect.Message
func (*ApplianceCluster) Reset ¶
func (x *ApplianceCluster) Reset()
func (*ApplianceCluster) String ¶
func (x *ApplianceCluster) String() string
type Authority ¶
type Authority struct { // Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with // `https://` and be a valid URL with length <2000 characters. // // If set, then Google will allow valid OIDC tokens from this issuer to // authenticate within the workload_identity_pool. OIDC discovery will be // performed on this URI to validate tokens from the issuer. // // Clearing `issuer` disables Workload Identity. `issuer` cannot be directly // modified; it must be cleared (and Workload Identity disabled) before using // a new issuer (and re-enabling Workload Identity). Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` // Output only. The name of the workload identity pool in which `issuer` will // be recognized. // // There is a single Workload Identity Pool per Hub that is shared // between all Memberships that belong to that Hub. For a Hub hosted in // {PROJECT_ID}, the workload pool format is `{PROJECT_ID}.hub.id.goog`, // although this is subject to change in newer versions of this API. WorkloadIdentityPool string `protobuf:"bytes,2,opt,name=workload_identity_pool,json=workloadIdentityPool,proto3" json:"workload_identity_pool,omitempty"` // Output only. An identity provider that reflects the `issuer` in the // workload identity pool. IdentityProvider string `protobuf:"bytes,3,opt,name=identity_provider,json=identityProvider,proto3" json:"identity_provider,omitempty"` // Optional. OIDC verification keys for this Membership in JWKS format (RFC // 7517). // // When this field is set, OIDC discovery will NOT be performed on `issuer`, // and instead OIDC tokens will be validated using this field. OidcJwks []byte `protobuf:"bytes,4,opt,name=oidc_jwks,json=oidcJwks,proto3" json:"oidc_jwks,omitempty"` // contains filtered or unexported fields }
Authority encodes how Google will recognize identities from this Membership. See the workload identity documentation for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
func (*Authority) Descriptor
deprecated
func (*Authority) GetIdentityProvider ¶
func (*Authority) GetOidcJwks ¶
func (*Authority) GetWorkloadIdentityPool ¶
func (*Authority) ProtoMessage ¶
func (*Authority) ProtoMessage()
func (*Authority) ProtoReflect ¶
func (x *Authority) ProtoReflect() protoreflect.Message
type CommonFeatureState ¶
type CommonFeatureState struct { // Output only. The "running state" of the Feature in this Hub. State *FeatureState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
CommonFeatureState contains Hub-wide Feature status information.
func (*CommonFeatureState) Descriptor
deprecated
func (*CommonFeatureState) Descriptor() ([]byte, []int)
Deprecated: Use CommonFeatureState.ProtoReflect.Descriptor instead.
func (*CommonFeatureState) GetState ¶
func (x *CommonFeatureState) GetState() *FeatureState
func (*CommonFeatureState) ProtoMessage ¶
func (*CommonFeatureState) ProtoMessage()
func (*CommonFeatureState) ProtoReflect ¶
func (x *CommonFeatureState) ProtoReflect() protoreflect.Message
func (*CommonFeatureState) Reset ¶
func (x *CommonFeatureState) Reset()
func (*CommonFeatureState) String ¶
func (x *CommonFeatureState) String() string
type EdgeCluster ¶
type EdgeCluster struct { // Immutable. Self-link of the GCP resource for the Edge Cluster. For // example: // // //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster ResourceLink string `protobuf:"bytes,1,opt,name=resource_link,json=resourceLink,proto3" json:"resource_link,omitempty"` // contains filtered or unexported fields }
EdgeCluster contains information specific to Google Edge Clusters.
func (*EdgeCluster) Descriptor
deprecated
func (*EdgeCluster) Descriptor() ([]byte, []int)
Deprecated: Use EdgeCluster.ProtoReflect.Descriptor instead.
func (*EdgeCluster) GetResourceLink ¶
func (x *EdgeCluster) GetResourceLink() string
func (*EdgeCluster) ProtoMessage ¶
func (*EdgeCluster) ProtoMessage()
func (*EdgeCluster) ProtoReflect ¶
func (x *EdgeCluster) ProtoReflect() protoreflect.Message
func (*EdgeCluster) Reset ¶
func (x *EdgeCluster) Reset()
func (*EdgeCluster) String ¶
func (x *EdgeCluster) String() string
type Feature ¶
type Feature struct { // Output only. The full, unique name of this Feature resource in the format // `projects/*/locations/*/features/*`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // GCP labels for this Feature. Labels map[string]string `` /* 153-byte string literal not displayed */ // Output only. State of the Feature resource itself. ResourceState *FeatureResourceState `protobuf:"bytes,3,opt,name=resource_state,json=resourceState,proto3" json:"resource_state,omitempty"` // Output only. The Hub-wide Feature state. State *CommonFeatureState `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"` // Output only. Membership-specific Feature status. If this Feature does // report any per-Membership status, this field may be unused. // // The keys indicate which Membership the state is for, in the form: // // `projects/{p}/locations/{l}/memberships/{m}` // // Where {p} is the project number, {l} is a valid location and {m} is a valid // Membership in this project at that location. {p} MUST match the Feature's // project number. MembershipStates map[string]*MembershipFeatureState `` /* 197-byte string literal not displayed */ // Output only. When the Feature resource was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. When the Feature resource was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. When the Feature resource was deleted. DeleteTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` // Output only. Scope-specific Feature status. If this Feature does // report any per-Scope status, this field may be unused. // // The keys indicate which Scope the state is for, in the form: // // `projects/{p}/locations/global/scopes/{s}` // // Where {p} is the project, {s} is a valid Scope in this project. // {p} WILL match the Feature's project. ScopeStates map[string]*ScopeFeatureState `` /* 183-byte string literal not displayed */ // contains filtered or unexported fields }
Feature represents the settings and status of any Hub Feature.
func (*Feature) Descriptor
deprecated
func (*Feature) GetCreateTime ¶
func (x *Feature) GetCreateTime() *timestamppb.Timestamp
func (*Feature) GetDeleteTime ¶
func (x *Feature) GetDeleteTime() *timestamppb.Timestamp
func (*Feature) GetMembershipStates ¶
func (x *Feature) GetMembershipStates() map[string]*MembershipFeatureState
func (*Feature) GetResourceState ¶
func (x *Feature) GetResourceState() *FeatureResourceState
func (*Feature) GetScopeStates ¶
func (x *Feature) GetScopeStates() map[string]*ScopeFeatureState
func (*Feature) GetState ¶
func (x *Feature) GetState() *CommonFeatureState
func (*Feature) GetUpdateTime ¶
func (x *Feature) GetUpdateTime() *timestamppb.Timestamp
func (*Feature) ProtoMessage ¶
func (*Feature) ProtoMessage()
func (*Feature) ProtoReflect ¶
func (x *Feature) ProtoReflect() protoreflect.Message
type FeatureEventData ¶
type FeatureEventData struct { // Optional. The Feature event payload. Unset for deletion events. Payload *Feature `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"` // contains filtered or unexported fields }
The data within all Feature events.
func (*FeatureEventData) Descriptor
deprecated
func (*FeatureEventData) Descriptor() ([]byte, []int)
Deprecated: Use FeatureEventData.ProtoReflect.Descriptor instead.
func (*FeatureEventData) GetPayload ¶
func (x *FeatureEventData) GetPayload() *Feature
func (*FeatureEventData) ProtoMessage ¶
func (*FeatureEventData) ProtoMessage()
func (*FeatureEventData) ProtoReflect ¶
func (x *FeatureEventData) ProtoReflect() protoreflect.Message
func (*FeatureEventData) Reset ¶
func (x *FeatureEventData) Reset()
func (*FeatureEventData) String ¶
func (x *FeatureEventData) String() string
type FeatureResourceState ¶
type FeatureResourceState struct { // The current state of the Feature resource in the Hub API. State FeatureResourceState_State `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
FeatureResourceState describes the state of a Feature *resource* in the GkeHub API. See `FeatureState` for the "running state" of the Feature in the Hub and across Memberships.
func (*FeatureResourceState) Descriptor
deprecated
func (*FeatureResourceState) Descriptor() ([]byte, []int)
Deprecated: Use FeatureResourceState.ProtoReflect.Descriptor instead.
func (*FeatureResourceState) GetState ¶
func (x *FeatureResourceState) GetState() FeatureResourceState_State
func (*FeatureResourceState) ProtoMessage ¶
func (*FeatureResourceState) ProtoMessage()
func (*FeatureResourceState) ProtoReflect ¶
func (x *FeatureResourceState) ProtoReflect() protoreflect.Message
func (*FeatureResourceState) Reset ¶
func (x *FeatureResourceState) Reset()
func (*FeatureResourceState) String ¶
func (x *FeatureResourceState) String() string
type FeatureResourceState_State ¶
type FeatureResourceState_State int32
State describes the lifecycle status of a Feature.
const ( // State is unknown or not set. FeatureResourceState_STATE_UNSPECIFIED FeatureResourceState_State = 0 // The Feature is being enabled, and the Feature resource is being created. // Once complete, the corresponding Feature will be enabled in this Hub. FeatureResourceState_ENABLING FeatureResourceState_State = 1 // The Feature is enabled in this Hub, and the Feature resource is fully // available. FeatureResourceState_ACTIVE FeatureResourceState_State = 2 // The Feature is being disabled in this Hub, and the Feature resource // is being deleted. FeatureResourceState_DISABLING FeatureResourceState_State = 3 // The Feature resource is being updated. FeatureResourceState_UPDATING FeatureResourceState_State = 4 // The Feature resource is being updated by the Hub Service. FeatureResourceState_SERVICE_UPDATING FeatureResourceState_State = 5 )
func (FeatureResourceState_State) Descriptor ¶
func (FeatureResourceState_State) Descriptor() protoreflect.EnumDescriptor
func (FeatureResourceState_State) Enum ¶
func (x FeatureResourceState_State) Enum() *FeatureResourceState_State
func (FeatureResourceState_State) EnumDescriptor
deprecated
func (FeatureResourceState_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use FeatureResourceState_State.Descriptor instead.
func (FeatureResourceState_State) Number ¶
func (x FeatureResourceState_State) Number() protoreflect.EnumNumber
func (FeatureResourceState_State) String ¶
func (x FeatureResourceState_State) String() string
func (FeatureResourceState_State) Type ¶
func (FeatureResourceState_State) Type() protoreflect.EnumType
type FeatureState ¶
type FeatureState struct { // The high-level, machine-readable status of this Feature. Code FeatureState_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.events.cloud.gkehub.v1.FeatureState_Code" json:"code,omitempty"` // A human-readable description of the current status. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // The time this status and any related Feature-specific details were updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
FeatureState describes the high-level state of a Feature. It may be used to describe a Feature's state at the environ-level, or per-membershop, depending on the context.
func (*FeatureState) Descriptor
deprecated
func (*FeatureState) Descriptor() ([]byte, []int)
Deprecated: Use FeatureState.ProtoReflect.Descriptor instead.
func (*FeatureState) GetCode ¶
func (x *FeatureState) GetCode() FeatureState_Code
func (*FeatureState) GetDescription ¶
func (x *FeatureState) GetDescription() string
func (*FeatureState) GetUpdateTime ¶
func (x *FeatureState) GetUpdateTime() *timestamppb.Timestamp
func (*FeatureState) ProtoMessage ¶
func (*FeatureState) ProtoMessage()
func (*FeatureState) ProtoReflect ¶
func (x *FeatureState) ProtoReflect() protoreflect.Message
func (*FeatureState) Reset ¶
func (x *FeatureState) Reset()
func (*FeatureState) String ¶
func (x *FeatureState) String() string
type FeatureState_Code ¶
type FeatureState_Code int32
Code represents a machine-readable, high-level status of the Feature.
const ( // Unknown or not set. FeatureState_CODE_UNSPECIFIED FeatureState_Code = 0 // The Feature is operating normally. FeatureState_OK FeatureState_Code = 1 // The Feature has encountered an issue, and is operating in a degraded // state. The Feature may need intervention to return to normal operation. // See the description and any associated Feature-specific details for more // information. FeatureState_WARNING FeatureState_Code = 2 // The Feature is not operating or is in a severely degraded state. // The Feature may need intervention to return to normal operation. // See the description and any associated Feature-specific details for more // information. FeatureState_ERROR FeatureState_Code = 3 )
func (FeatureState_Code) Descriptor ¶
func (FeatureState_Code) Descriptor() protoreflect.EnumDescriptor
func (FeatureState_Code) Enum ¶
func (x FeatureState_Code) Enum() *FeatureState_Code
func (FeatureState_Code) EnumDescriptor
deprecated
func (FeatureState_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use FeatureState_Code.Descriptor instead.
func (FeatureState_Code) Number ¶
func (x FeatureState_Code) Number() protoreflect.EnumNumber
func (FeatureState_Code) String ¶
func (x FeatureState_Code) String() string
func (FeatureState_Code) Type ¶
func (FeatureState_Code) Type() protoreflect.EnumType
type GkeCluster ¶
type GkeCluster struct { // Immutable. Self-link of the GCP resource for the GKE cluster. For example: // // //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster // // Zonal clusters are also supported. ResourceLink string `protobuf:"bytes,1,opt,name=resource_link,json=resourceLink,proto3" json:"resource_link,omitempty"` // Output only. If cluster_missing is set then it denotes that the GKE cluster // no longer exists in the GKE Control Plane. ClusterMissing bool `protobuf:"varint,2,opt,name=cluster_missing,json=clusterMissing,proto3" json:"cluster_missing,omitempty"` // contains filtered or unexported fields }
GkeCluster contains information specific to GKE clusters.
func (*GkeCluster) Descriptor
deprecated
func (*GkeCluster) Descriptor() ([]byte, []int)
Deprecated: Use GkeCluster.ProtoReflect.Descriptor instead.
func (*GkeCluster) GetClusterMissing ¶
func (x *GkeCluster) GetClusterMissing() bool
func (*GkeCluster) GetResourceLink ¶
func (x *GkeCluster) GetResourceLink() string
func (*GkeCluster) ProtoMessage ¶
func (*GkeCluster) ProtoMessage()
func (*GkeCluster) ProtoReflect ¶
func (x *GkeCluster) ProtoReflect() protoreflect.Message
func (*GkeCluster) Reset ¶
func (x *GkeCluster) Reset()
func (*GkeCluster) String ¶
func (x *GkeCluster) String() string
type KubernetesMetadata ¶
type KubernetesMetadata struct { // Output only. Kubernetes API server version string as reported by // `/version`. KubernetesApiServerVersion string `` /* 143-byte string literal not displayed */ // Output only. Node providerID as reported by the first node in the list of // nodes on the Kubernetes endpoint. On Kubernetes platforms that support // zero-node clusters (like GKE-on-GCP), the node_count will be zero and the // node_provider_id will be empty. NodeProviderId string `protobuf:"bytes,2,opt,name=node_provider_id,json=nodeProviderId,proto3" json:"node_provider_id,omitempty"` // Output only. Node count as reported by Kubernetes nodes resources. NodeCount int32 `protobuf:"varint,3,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"` // Output only. vCPU count as reported by Kubernetes nodes resources. VcpuCount int32 `protobuf:"varint,4,opt,name=vcpu_count,json=vcpuCount,proto3" json:"vcpu_count,omitempty"` // Output only. The total memory capacity as reported by the sum of all // Kubernetes nodes resources, defined in MB. MemoryMb int32 `protobuf:"varint,5,opt,name=memory_mb,json=memoryMb,proto3" json:"memory_mb,omitempty"` // Output only. The time at which these details were last updated. This // update_time is different from the Membership-level update_time since // EndpointDetails are updated internally for API consumers. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,100,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
KubernetesMetadata provides informational metadata for Memberships representing Kubernetes clusters.
func (*KubernetesMetadata) Descriptor
deprecated
func (*KubernetesMetadata) Descriptor() ([]byte, []int)
Deprecated: Use KubernetesMetadata.ProtoReflect.Descriptor instead.
func (*KubernetesMetadata) GetKubernetesApiServerVersion ¶
func (x *KubernetesMetadata) GetKubernetesApiServerVersion() string
func (*KubernetesMetadata) GetMemoryMb ¶
func (x *KubernetesMetadata) GetMemoryMb() int32
func (*KubernetesMetadata) GetNodeCount ¶
func (x *KubernetesMetadata) GetNodeCount() int32
func (*KubernetesMetadata) GetNodeProviderId ¶
func (x *KubernetesMetadata) GetNodeProviderId() string
func (*KubernetesMetadata) GetUpdateTime ¶
func (x *KubernetesMetadata) GetUpdateTime() *timestamppb.Timestamp
func (*KubernetesMetadata) GetVcpuCount ¶
func (x *KubernetesMetadata) GetVcpuCount() int32
func (*KubernetesMetadata) ProtoMessage ¶
func (*KubernetesMetadata) ProtoMessage()
func (*KubernetesMetadata) ProtoReflect ¶
func (x *KubernetesMetadata) ProtoReflect() protoreflect.Message
func (*KubernetesMetadata) Reset ¶
func (x *KubernetesMetadata) Reset()
func (*KubernetesMetadata) String ¶
func (x *KubernetesMetadata) String() string
type KubernetesResource ¶
type KubernetesResource struct { // Output only. Additional Kubernetes resources that need to be applied to the // cluster after Membership creation, and after every update. // // This field is only populated in the Membership returned from a successful // long-running operation from CreateMembership or UpdateMembership. It is not // populated during normal GetMembership or ListMemberships requests. To get // the resource manifest after the initial registration, the caller should // make a UpdateMembership call with an empty field mask. MembershipResources []*ResourceManifest `protobuf:"bytes,2,rep,name=membership_resources,json=membershipResources,proto3" json:"membership_resources,omitempty"` // Output only. The Kubernetes resources for installing the GKE Connect agent // // This field is only populated in the Membership returned from a successful // long-running operation from CreateMembership or UpdateMembership. It is not // populated during normal GetMembership or ListMemberships requests. To get // the resource manifest after the initial registration, the caller should // make a UpdateMembership call with an empty field mask. ConnectResources []*ResourceManifest `protobuf:"bytes,3,rep,name=connect_resources,json=connectResources,proto3" json:"connect_resources,omitempty"` // Optional. Options for Kubernetes resource generation. ResourceOptions *ResourceOptions `protobuf:"bytes,4,opt,name=resource_options,json=resourceOptions,proto3" json:"resource_options,omitempty"` // contains filtered or unexported fields }
KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster. After CreateMembership or UpdateMembership, these resources should be re-applied in the cluster.
func (*KubernetesResource) Descriptor
deprecated
func (*KubernetesResource) Descriptor() ([]byte, []int)
Deprecated: Use KubernetesResource.ProtoReflect.Descriptor instead.
func (*KubernetesResource) GetConnectResources ¶
func (x *KubernetesResource) GetConnectResources() []*ResourceManifest
func (*KubernetesResource) GetMembershipResources ¶
func (x *KubernetesResource) GetMembershipResources() []*ResourceManifest
func (*KubernetesResource) GetResourceOptions ¶
func (x *KubernetesResource) GetResourceOptions() *ResourceOptions
func (*KubernetesResource) ProtoMessage ¶
func (*KubernetesResource) ProtoMessage()
func (*KubernetesResource) ProtoReflect ¶
func (x *KubernetesResource) ProtoReflect() protoreflect.Message
func (*KubernetesResource) Reset ¶
func (x *KubernetesResource) Reset()
func (*KubernetesResource) String ¶
func (x *KubernetesResource) String() string
type Membership ¶
type Membership struct { // Type of resource represented by this Membership // // Types that are assignable to Type: // // *Membership_Endpoint Type isMembership_Type `protobuf_oneof:"type"` // Output only. The full, unique name of this Membership resource in the // format `projects/*/locations/*/memberships/{membership_id}`, set during // creation. // // `membership_id` must be a valid RFC 1123 compliant DNS label: // // 1. At most 63 characters in length // 2. It must consist of lower case alphanumeric characters or `-` // 3. It must start and end with an alphanumeric character // // Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, // with a maximum length of 63 characters. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. GCP labels for this membership. Labels map[string]string `` /* 153-byte string literal not displayed */ // Output only. Description of this membership, limited to 63 characters. // Must match the regex: `[a-zA-Z0-9][a-zA-Z0-9_\-\.\ ]*` // // This field is present for legacy purposes. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Output only. State of the Membership resource. State *MembershipState `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` // Output only. When the Membership was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. When the Membership was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. When the Membership was deleted. DeleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` // Optional. An externally-generated and managed ID for this Membership. This // ID may be modified after creation, but this is not recommended. // // The ID must match the regex: `[a-zA-Z0-9][a-zA-Z0-9_\-\.]*` // // If this Membership represents a Kubernetes cluster, this value should be // set to the UID of the `kube-system` namespace object. ExternalId string `protobuf:"bytes,9,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` // Output only. For clusters using Connect, the timestamp of the most recent // connection established with Google Cloud. This time is updated every // several minutes, not continuously. For clusters that do not use GKE // Connect, or that have never connected successfully, this field will be // unset. LastConnectionTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_connection_time,json=lastConnectionTime,proto3" json:"last_connection_time,omitempty"` // Output only. Google-generated UUID for this resource. This is unique across // all Membership resources. If a Membership resource is deleted and another // resource with the same name is created, it gets a different unique_id. UniqueId string `protobuf:"bytes,11,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"` // Optional. How to identify workloads from this Membership. // See the documentation on Workload Identity for more details: // https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity Authority *Authority `protobuf:"bytes,12,opt,name=authority,proto3" json:"authority,omitempty"` // contains filtered or unexported fields }
Membership contains information about a member cluster.
func (*Membership) Descriptor
deprecated
func (*Membership) Descriptor() ([]byte, []int)
Deprecated: Use Membership.ProtoReflect.Descriptor instead.
func (*Membership) GetAuthority ¶
func (x *Membership) GetAuthority() *Authority
func (*Membership) GetCreateTime ¶
func (x *Membership) GetCreateTime() *timestamppb.Timestamp
func (*Membership) GetDeleteTime ¶
func (x *Membership) GetDeleteTime() *timestamppb.Timestamp
func (*Membership) GetDescription ¶
func (x *Membership) GetDescription() string
func (*Membership) GetEndpoint ¶
func (x *Membership) GetEndpoint() *MembershipEndpoint
func (*Membership) GetExternalId ¶
func (x *Membership) GetExternalId() string
func (*Membership) GetLabels ¶
func (x *Membership) GetLabels() map[string]string
func (*Membership) GetLastConnectionTime ¶
func (x *Membership) GetLastConnectionTime() *timestamppb.Timestamp
func (*Membership) GetName ¶
func (x *Membership) GetName() string
func (*Membership) GetState ¶
func (x *Membership) GetState() *MembershipState
func (*Membership) GetType ¶
func (m *Membership) GetType() isMembership_Type
func (*Membership) GetUniqueId ¶
func (x *Membership) GetUniqueId() string
func (*Membership) GetUpdateTime ¶
func (x *Membership) GetUpdateTime() *timestamppb.Timestamp
func (*Membership) ProtoMessage ¶
func (*Membership) ProtoMessage()
func (*Membership) ProtoReflect ¶
func (x *Membership) ProtoReflect() protoreflect.Message
func (*Membership) Reset ¶
func (x *Membership) Reset()
func (*Membership) String ¶
func (x *Membership) String() string
type MembershipBinding ¶
type MembershipBinding struct { // What type of membershipbinding this is. // // Types that are assignable to Target: // // *MembershipBinding_Scope // *MembershipBinding_Fleet Target isMembershipBinding_Target `protobuf_oneof:"target"` // The resource name for the membershipbinding itself // `projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Google-generated UUID for this resource. This is unique across // all membershipbinding resources. If a membershipbinding resource is deleted // and another resource with the same name is created, it gets a different // uid. Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` // Output only. When the membership binding was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. When the membership binding was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. When the membership binding was deleted. DeleteTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` // Output only. State of the membership binding resource. State *MembershipBindingLifecycleState `protobuf:"bytes,8,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
MembershipBinding is a subresource of a Membership, representing what Fleet Scopes (or other, future Fleet resources) a Membership is bound to.
func (*MembershipBinding) Descriptor
deprecated
func (*MembershipBinding) Descriptor() ([]byte, []int)
Deprecated: Use MembershipBinding.ProtoReflect.Descriptor instead.
func (*MembershipBinding) GetCreateTime ¶
func (x *MembershipBinding) GetCreateTime() *timestamppb.Timestamp
func (*MembershipBinding) GetDeleteTime ¶
func (x *MembershipBinding) GetDeleteTime() *timestamppb.Timestamp
func (*MembershipBinding) GetFleet ¶
func (x *MembershipBinding) GetFleet() bool
func (*MembershipBinding) GetName ¶
func (x *MembershipBinding) GetName() string
func (*MembershipBinding) GetScope ¶
func (x *MembershipBinding) GetScope() string
func (*MembershipBinding) GetState ¶
func (x *MembershipBinding) GetState() *MembershipBindingLifecycleState
func (*MembershipBinding) GetTarget ¶
func (m *MembershipBinding) GetTarget() isMembershipBinding_Target
func (*MembershipBinding) GetUid ¶
func (x *MembershipBinding) GetUid() string
func (*MembershipBinding) GetUpdateTime ¶
func (x *MembershipBinding) GetUpdateTime() *timestamppb.Timestamp
func (*MembershipBinding) ProtoMessage ¶
func (*MembershipBinding) ProtoMessage()
func (*MembershipBinding) ProtoReflect ¶
func (x *MembershipBinding) ProtoReflect() protoreflect.Message
func (*MembershipBinding) Reset ¶
func (x *MembershipBinding) Reset()
func (*MembershipBinding) String ¶
func (x *MembershipBinding) String() string
type MembershipBindingEventData ¶
type MembershipBindingEventData struct { // Optional. The MembershipBinding event payload. Unset for deletion events. Payload *MembershipBinding `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"` // contains filtered or unexported fields }
The data within all MembershipBinding events.
func (*MembershipBindingEventData) Descriptor
deprecated
func (*MembershipBindingEventData) Descriptor() ([]byte, []int)
Deprecated: Use MembershipBindingEventData.ProtoReflect.Descriptor instead.
func (*MembershipBindingEventData) GetPayload ¶
func (x *MembershipBindingEventData) GetPayload() *MembershipBinding
func (*MembershipBindingEventData) ProtoMessage ¶
func (*MembershipBindingEventData) ProtoMessage()
func (*MembershipBindingEventData) ProtoReflect ¶
func (x *MembershipBindingEventData) ProtoReflect() protoreflect.Message
func (*MembershipBindingEventData) Reset ¶
func (x *MembershipBindingEventData) Reset()
func (*MembershipBindingEventData) String ¶
func (x *MembershipBindingEventData) String() string
type MembershipBindingLifecycleState ¶
type MembershipBindingLifecycleState struct { // Output only. The current state of the MembershipBinding resource. Code MembershipBindingLifecycleState_Code `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
MembershipBindingLifecycleState describes the state of a Binding resource.
func (*MembershipBindingLifecycleState) Descriptor
deprecated
func (*MembershipBindingLifecycleState) Descriptor() ([]byte, []int)
Deprecated: Use MembershipBindingLifecycleState.ProtoReflect.Descriptor instead.
func (*MembershipBindingLifecycleState) GetCode ¶
func (x *MembershipBindingLifecycleState) GetCode() MembershipBindingLifecycleState_Code
func (*MembershipBindingLifecycleState) ProtoMessage ¶
func (*MembershipBindingLifecycleState) ProtoMessage()
func (*MembershipBindingLifecycleState) ProtoReflect ¶
func (x *MembershipBindingLifecycleState) ProtoReflect() protoreflect.Message
func (*MembershipBindingLifecycleState) Reset ¶
func (x *MembershipBindingLifecycleState) Reset()
func (*MembershipBindingLifecycleState) String ¶
func (x *MembershipBindingLifecycleState) String() string
type MembershipBindingLifecycleState_Code ¶
type MembershipBindingLifecycleState_Code int32
Code describes the state of a MembershipBinding resource.
const ( // The code is not set. MembershipBindingLifecycleState_CODE_UNSPECIFIED MembershipBindingLifecycleState_Code = 0 // The membershipbinding is being created. MembershipBindingLifecycleState_CREATING MembershipBindingLifecycleState_Code = 1 // The membershipbinding active. MembershipBindingLifecycleState_READY MembershipBindingLifecycleState_Code = 2 // The membershipbinding is being deleted. MembershipBindingLifecycleState_DELETING MembershipBindingLifecycleState_Code = 3 // The membershipbinding is being updated. MembershipBindingLifecycleState_UPDATING MembershipBindingLifecycleState_Code = 4 )
func (MembershipBindingLifecycleState_Code) Descriptor ¶
func (MembershipBindingLifecycleState_Code) Descriptor() protoreflect.EnumDescriptor
func (MembershipBindingLifecycleState_Code) Enum ¶
func (x MembershipBindingLifecycleState_Code) Enum() *MembershipBindingLifecycleState_Code
func (MembershipBindingLifecycleState_Code) EnumDescriptor
deprecated
func (MembershipBindingLifecycleState_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use MembershipBindingLifecycleState_Code.Descriptor instead.
func (MembershipBindingLifecycleState_Code) Number ¶
func (x MembershipBindingLifecycleState_Code) Number() protoreflect.EnumNumber
func (MembershipBindingLifecycleState_Code) String ¶
func (x MembershipBindingLifecycleState_Code) String() string
func (MembershipBindingLifecycleState_Code) Type ¶
func (MembershipBindingLifecycleState_Code) Type() protoreflect.EnumType
type MembershipBinding_Fleet ¶
type MembershipBinding_Fleet struct { // Whether the membershipbinding is Fleet-wide; true means that this // Membership should be bound to all Namespaces in this entire Fleet. Fleet bool `protobuf:"varint,4,opt,name=fleet,proto3,oneof"` }
type MembershipBinding_Scope ¶
type MembershipBinding_Scope struct { // A Workspace resource name in the format // `projects/*/locations/*/scopes/*`. Scope string `protobuf:"bytes,3,opt,name=scope,proto3,oneof"` }
type MembershipEndpoint ¶
type MembershipEndpoint struct { // Cluster information of the registered cluster. // // Types that are assignable to Type: // // *MembershipEndpoint_GkeCluster // *MembershipEndpoint_OnPremCluster // *MembershipEndpoint_MultiCloudCluster // *MembershipEndpoint_EdgeCluster // *MembershipEndpoint_ApplianceCluster Type isMembershipEndpoint_Type `protobuf_oneof:"type"` // Output only. Useful Kubernetes-specific metadata. KubernetesMetadata *KubernetesMetadata `protobuf:"bytes,2,opt,name=kubernetes_metadata,json=kubernetesMetadata,proto3" json:"kubernetes_metadata,omitempty"` // Optional. The in-cluster Kubernetes Resources that should be applied for a // correctly registered cluster, in the steady state. These resources: // // - Ensure that the cluster is exclusively registered to one and only one // Hub Membership. // - Propagate Workload Pool Information available in the Membership // Authority field. // - Ensure proper initial configuration of default Hub Features. KubernetesResource *KubernetesResource `protobuf:"bytes,3,opt,name=kubernetes_resource,json=kubernetesResource,proto3" json:"kubernetes_resource,omitempty"` // Output only. Whether the lifecycle of this membership is managed by a // google cluster platform service. GoogleManaged bool `protobuf:"varint,8,opt,name=google_managed,json=googleManaged,proto3" json:"google_managed,omitempty"` // contains filtered or unexported fields }
MembershipEndpoint contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata.
func (*MembershipEndpoint) Descriptor
deprecated
func (*MembershipEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use MembershipEndpoint.ProtoReflect.Descriptor instead.
func (*MembershipEndpoint) GetApplianceCluster ¶
func (x *MembershipEndpoint) GetApplianceCluster() *ApplianceCluster
func (*MembershipEndpoint) GetEdgeCluster ¶
func (x *MembershipEndpoint) GetEdgeCluster() *EdgeCluster
func (*MembershipEndpoint) GetGkeCluster ¶
func (x *MembershipEndpoint) GetGkeCluster() *GkeCluster
func (*MembershipEndpoint) GetGoogleManaged ¶
func (x *MembershipEndpoint) GetGoogleManaged() bool
func (*MembershipEndpoint) GetKubernetesMetadata ¶
func (x *MembershipEndpoint) GetKubernetesMetadata() *KubernetesMetadata
func (*MembershipEndpoint) GetKubernetesResource ¶
func (x *MembershipEndpoint) GetKubernetesResource() *KubernetesResource
func (*MembershipEndpoint) GetMultiCloudCluster ¶
func (x *MembershipEndpoint) GetMultiCloudCluster() *MultiCloudCluster
func (*MembershipEndpoint) GetOnPremCluster ¶
func (x *MembershipEndpoint) GetOnPremCluster() *OnPremCluster
func (*MembershipEndpoint) GetType ¶
func (m *MembershipEndpoint) GetType() isMembershipEndpoint_Type
func (*MembershipEndpoint) ProtoMessage ¶
func (*MembershipEndpoint) ProtoMessage()
func (*MembershipEndpoint) ProtoReflect ¶
func (x *MembershipEndpoint) ProtoReflect() protoreflect.Message
func (*MembershipEndpoint) Reset ¶
func (x *MembershipEndpoint) Reset()
func (*MembershipEndpoint) String ¶
func (x *MembershipEndpoint) String() string
type MembershipEndpoint_ApplianceCluster ¶
type MembershipEndpoint_ApplianceCluster struct { // Optional. Specific information for a GDC Edge Appliance cluster. ApplianceCluster *ApplianceCluster `protobuf:"bytes,7,opt,name=appliance_cluster,json=applianceCluster,proto3,oneof"` }
type MembershipEndpoint_EdgeCluster ¶
type MembershipEndpoint_EdgeCluster struct { // Optional. Specific information for a Google Edge cluster. EdgeCluster *EdgeCluster `protobuf:"bytes,6,opt,name=edge_cluster,json=edgeCluster,proto3,oneof"` }
type MembershipEndpoint_GkeCluster ¶
type MembershipEndpoint_GkeCluster struct { // Optional. Specific information for a GKE-on-GCP cluster. GkeCluster *GkeCluster `protobuf:"bytes,1,opt,name=gke_cluster,json=gkeCluster,proto3,oneof"` }
type MembershipEndpoint_MultiCloudCluster ¶
type MembershipEndpoint_MultiCloudCluster struct { // Optional. Specific information for a GKE Multi-Cloud cluster. MultiCloudCluster *MultiCloudCluster `protobuf:"bytes,5,opt,name=multi_cloud_cluster,json=multiCloudCluster,proto3,oneof"` }
type MembershipEndpoint_OnPremCluster ¶
type MembershipEndpoint_OnPremCluster struct { // Optional. Specific information for a GKE On-Prem cluster. An onprem // user-cluster who has no resourceLink is not allowed to use this field, it // should have a nil "type" instead. OnPremCluster *OnPremCluster `protobuf:"bytes,4,opt,name=on_prem_cluster,json=onPremCluster,proto3,oneof"` }
type MembershipEventData ¶
type MembershipEventData struct { // Optional. The Membership event payload. Unset for deletion events. Payload *Membership `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"` // contains filtered or unexported fields }
The data within all Membership events.
func (*MembershipEventData) Descriptor
deprecated
func (*MembershipEventData) Descriptor() ([]byte, []int)
Deprecated: Use MembershipEventData.ProtoReflect.Descriptor instead.
func (*MembershipEventData) GetPayload ¶
func (x *MembershipEventData) GetPayload() *Membership
func (*MembershipEventData) ProtoMessage ¶
func (*MembershipEventData) ProtoMessage()
func (*MembershipEventData) ProtoReflect ¶
func (x *MembershipEventData) ProtoReflect() protoreflect.Message
func (*MembershipEventData) Reset ¶
func (x *MembershipEventData) Reset()
func (*MembershipEventData) String ¶
func (x *MembershipEventData) String() string
type MembershipFeatureState ¶
type MembershipFeatureState struct { // The high-level state of this Feature for a single membership. State *FeatureState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
MembershipFeatureState contains Feature status information for a single Membership.
func (*MembershipFeatureState) Descriptor
deprecated
func (*MembershipFeatureState) Descriptor() ([]byte, []int)
Deprecated: Use MembershipFeatureState.ProtoReflect.Descriptor instead.
func (*MembershipFeatureState) GetState ¶
func (x *MembershipFeatureState) GetState() *FeatureState
func (*MembershipFeatureState) ProtoMessage ¶
func (*MembershipFeatureState) ProtoMessage()
func (*MembershipFeatureState) ProtoReflect ¶
func (x *MembershipFeatureState) ProtoReflect() protoreflect.Message
func (*MembershipFeatureState) Reset ¶
func (x *MembershipFeatureState) Reset()
func (*MembershipFeatureState) String ¶
func (x *MembershipFeatureState) String() string
type MembershipState ¶
type MembershipState struct { // Output only. The current state of the Membership resource. Code MembershipState_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.events.cloud.gkehub.v1.MembershipState_Code" json:"code,omitempty"` // contains filtered or unexported fields }
MembershipState describes the state of a Membership resource.
func (*MembershipState) Descriptor
deprecated
func (*MembershipState) Descriptor() ([]byte, []int)
Deprecated: Use MembershipState.ProtoReflect.Descriptor instead.
func (*MembershipState) GetCode ¶
func (x *MembershipState) GetCode() MembershipState_Code
func (*MembershipState) ProtoMessage ¶
func (*MembershipState) ProtoMessage()
func (*MembershipState) ProtoReflect ¶
func (x *MembershipState) ProtoReflect() protoreflect.Message
func (*MembershipState) Reset ¶
func (x *MembershipState) Reset()
func (*MembershipState) String ¶
func (x *MembershipState) String() string
type MembershipState_Code ¶
type MembershipState_Code int32
Code describes the state of a Membership resource.
const ( // The code is not set. MembershipState_CODE_UNSPECIFIED MembershipState_Code = 0 // The cluster is being registered. MembershipState_CREATING MembershipState_Code = 1 // The cluster is registered. MembershipState_READY MembershipState_Code = 2 // The cluster is being unregistered. MembershipState_DELETING MembershipState_Code = 3 // The Membership is being updated. MembershipState_UPDATING MembershipState_Code = 4 // The Membership is being updated by the Hub Service. MembershipState_SERVICE_UPDATING MembershipState_Code = 5 )
func (MembershipState_Code) Descriptor ¶
func (MembershipState_Code) Descriptor() protoreflect.EnumDescriptor
func (MembershipState_Code) Enum ¶
func (x MembershipState_Code) Enum() *MembershipState_Code
func (MembershipState_Code) EnumDescriptor
deprecated
func (MembershipState_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use MembershipState_Code.Descriptor instead.
func (MembershipState_Code) Number ¶
func (x MembershipState_Code) Number() protoreflect.EnumNumber
func (MembershipState_Code) String ¶
func (x MembershipState_Code) String() string
func (MembershipState_Code) Type ¶
func (MembershipState_Code) Type() protoreflect.EnumType
type Membership_Endpoint ¶
type Membership_Endpoint struct { // Optional. Endpoint information to reach this member. Endpoint *MembershipEndpoint `protobuf:"bytes,4,opt,name=endpoint,proto3,oneof"` }
type MultiCloudCluster ¶
type MultiCloudCluster struct { // Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. // For example: // // //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster // //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster // //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster ResourceLink string `protobuf:"bytes,1,opt,name=resource_link,json=resourceLink,proto3" json:"resource_link,omitempty"` // Output only. If cluster_missing is set then it denotes that // API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster // no longer exists. ClusterMissing bool `protobuf:"varint,2,opt,name=cluster_missing,json=clusterMissing,proto3" json:"cluster_missing,omitempty"` // contains filtered or unexported fields }
MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
func (*MultiCloudCluster) Descriptor
deprecated
func (*MultiCloudCluster) Descriptor() ([]byte, []int)
Deprecated: Use MultiCloudCluster.ProtoReflect.Descriptor instead.
func (*MultiCloudCluster) GetClusterMissing ¶
func (x *MultiCloudCluster) GetClusterMissing() bool
func (*MultiCloudCluster) GetResourceLink ¶
func (x *MultiCloudCluster) GetResourceLink() string
func (*MultiCloudCluster) ProtoMessage ¶
func (*MultiCloudCluster) ProtoMessage()
func (*MultiCloudCluster) ProtoReflect ¶
func (x *MultiCloudCluster) ProtoReflect() protoreflect.Message
func (*MultiCloudCluster) Reset ¶
func (x *MultiCloudCluster) Reset()
func (*MultiCloudCluster) String ¶
func (x *MultiCloudCluster) String() string
type OnPremCluster ¶
type OnPremCluster struct { // Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For // example: // // //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster // //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster ResourceLink string `protobuf:"bytes,1,opt,name=resource_link,json=resourceLink,proto3" json:"resource_link,omitempty"` // Output only. If cluster_missing is set then it denotes that // API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no // longer exists. ClusterMissing bool `protobuf:"varint,2,opt,name=cluster_missing,json=clusterMissing,proto3" json:"cluster_missing,omitempty"` // Immutable. Whether the cluster is an admin cluster. AdminCluster bool `protobuf:"varint,3,opt,name=admin_cluster,json=adminCluster,proto3" json:"admin_cluster,omitempty"` // Immutable. The on prem cluster's type. ClusterType OnPremCluster_ClusterType `` /* 156-byte string literal not displayed */ // contains filtered or unexported fields }
OnPremCluster contains information specific to GKE On-Prem clusters.
func (*OnPremCluster) Descriptor
deprecated
func (*OnPremCluster) Descriptor() ([]byte, []int)
Deprecated: Use OnPremCluster.ProtoReflect.Descriptor instead.
func (*OnPremCluster) GetAdminCluster ¶
func (x *OnPremCluster) GetAdminCluster() bool
func (*OnPremCluster) GetClusterMissing ¶
func (x *OnPremCluster) GetClusterMissing() bool
func (*OnPremCluster) GetClusterType ¶
func (x *OnPremCluster) GetClusterType() OnPremCluster_ClusterType
func (*OnPremCluster) GetResourceLink ¶
func (x *OnPremCluster) GetResourceLink() string
func (*OnPremCluster) ProtoMessage ¶
func (*OnPremCluster) ProtoMessage()
func (*OnPremCluster) ProtoReflect ¶
func (x *OnPremCluster) ProtoReflect() protoreflect.Message
func (*OnPremCluster) Reset ¶
func (x *OnPremCluster) Reset()
func (*OnPremCluster) String ¶
func (x *OnPremCluster) String() string
type OnPremCluster_ClusterType ¶
type OnPremCluster_ClusterType int32
ClusterType describes on prem cluster's type.
const ( // The ClusterType is not set. OnPremCluster_CLUSTERTYPE_UNSPECIFIED OnPremCluster_ClusterType = 0 // The ClusterType is bootstrap cluster. OnPremCluster_BOOTSTRAP OnPremCluster_ClusterType = 1 // The ClusterType is baremetal hybrid cluster. OnPremCluster_HYBRID OnPremCluster_ClusterType = 2 // The ClusterType is baremetal standalone cluster. OnPremCluster_STANDALONE OnPremCluster_ClusterType = 3 // The ClusterType is user cluster. OnPremCluster_USER OnPremCluster_ClusterType = 4 )
func (OnPremCluster_ClusterType) Descriptor ¶
func (OnPremCluster_ClusterType) Descriptor() protoreflect.EnumDescriptor
func (OnPremCluster_ClusterType) Enum ¶
func (x OnPremCluster_ClusterType) Enum() *OnPremCluster_ClusterType
func (OnPremCluster_ClusterType) EnumDescriptor
deprecated
func (OnPremCluster_ClusterType) EnumDescriptor() ([]byte, []int)
Deprecated: Use OnPremCluster_ClusterType.Descriptor instead.
func (OnPremCluster_ClusterType) Number ¶
func (x OnPremCluster_ClusterType) Number() protoreflect.EnumNumber
func (OnPremCluster_ClusterType) String ¶
func (x OnPremCluster_ClusterType) String() string
func (OnPremCluster_ClusterType) Type ¶
func (OnPremCluster_ClusterType) Type() protoreflect.EnumType
type ResourceManifest ¶
type ResourceManifest struct { // YAML manifest of the resource. Manifest string `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"` // Whether the resource provided in the manifest is `cluster_scoped`. // If unset, the manifest is assumed to be namespace scoped. // // This field is used for REST mapping when applying the resource in a // cluster. ClusterScoped bool `protobuf:"varint,2,opt,name=cluster_scoped,json=clusterScoped,proto3" json:"cluster_scoped,omitempty"` // contains filtered or unexported fields }
ResourceManifest represents a single Kubernetes resource to be applied to the cluster.
func (*ResourceManifest) Descriptor
deprecated
func (*ResourceManifest) Descriptor() ([]byte, []int)
Deprecated: Use ResourceManifest.ProtoReflect.Descriptor instead.
func (*ResourceManifest) GetClusterScoped ¶
func (x *ResourceManifest) GetClusterScoped() bool
func (*ResourceManifest) GetManifest ¶
func (x *ResourceManifest) GetManifest() string
func (*ResourceManifest) ProtoMessage ¶
func (*ResourceManifest) ProtoMessage()
func (*ResourceManifest) ProtoReflect ¶
func (x *ResourceManifest) ProtoReflect() protoreflect.Message
func (*ResourceManifest) Reset ¶
func (x *ResourceManifest) Reset()
func (*ResourceManifest) String ¶
func (x *ResourceManifest) String() string
type ResourceOptions ¶
type ResourceOptions struct { // Optional. The Connect agent version to use for connect_resources. Defaults // to the latest GKE Connect version. The version must be a currently // supported version, obsolete versions will be rejected. ConnectVersion string `protobuf:"bytes,1,opt,name=connect_version,json=connectVersion,proto3" json:"connect_version,omitempty"` // Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for // CustomResourceDefinition resources. // This option should be set for clusters with Kubernetes apiserver versions // <1.16. V1Beta1Crd bool `protobuf:"varint,2,opt,name=v1beta1_crd,json=v1beta1Crd,proto3" json:"v1beta1_crd,omitempty"` // Optional. Major version of the Kubernetes cluster. This is only used to // determine which version to use for the CustomResourceDefinition resources, // `apiextensions/v1beta1` or`apiextensions/v1`. K8SVersion string `protobuf:"bytes,3,opt,name=k8s_version,json=k8sVersion,proto3" json:"k8s_version,omitempty"` // contains filtered or unexported fields }
ResourceOptions represent options for Kubernetes resource generation.
func (*ResourceOptions) Descriptor
deprecated
func (*ResourceOptions) Descriptor() ([]byte, []int)
Deprecated: Use ResourceOptions.ProtoReflect.Descriptor instead.
func (*ResourceOptions) GetConnectVersion ¶
func (x *ResourceOptions) GetConnectVersion() string
func (*ResourceOptions) GetK8SVersion ¶
func (x *ResourceOptions) GetK8SVersion() string
func (*ResourceOptions) GetV1Beta1Crd ¶
func (x *ResourceOptions) GetV1Beta1Crd() bool
func (*ResourceOptions) ProtoMessage ¶
func (*ResourceOptions) ProtoMessage()
func (*ResourceOptions) ProtoReflect ¶
func (x *ResourceOptions) ProtoReflect() protoreflect.Message
func (*ResourceOptions) Reset ¶
func (x *ResourceOptions) Reset()
func (*ResourceOptions) String ¶
func (x *ResourceOptions) String() string
type Scope ¶
type Scope struct { // The resource name for the scope // `projects/{project}/locations/{location}/scopes/{scope}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Google-generated UUID for this resource. This is unique across // all scope resources. If a scope resource is deleted and another resource // with the same name is created, it gets a different uid. Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` // Output only. When the scope was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. When the scope was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. When the scope was deleted. DeleteTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` // Output only. State of the scope resource. State *ScopeLifecycleState `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
Scope represents a Scope in a Fleet.
func (*Scope) Descriptor
deprecated
func (*Scope) GetCreateTime ¶
func (x *Scope) GetCreateTime() *timestamppb.Timestamp
func (*Scope) GetDeleteTime ¶
func (x *Scope) GetDeleteTime() *timestamppb.Timestamp
func (*Scope) GetState ¶
func (x *Scope) GetState() *ScopeLifecycleState
func (*Scope) GetUpdateTime ¶
func (x *Scope) GetUpdateTime() *timestamppb.Timestamp
func (*Scope) ProtoMessage ¶
func (*Scope) ProtoMessage()
func (*Scope) ProtoReflect ¶
func (x *Scope) ProtoReflect() protoreflect.Message
type ScopeEventData ¶
type ScopeEventData struct { // Optional. The Scope event payload. Unset for deletion events. Payload *Scope `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"` // contains filtered or unexported fields }
The data within all Scope events.
func (*ScopeEventData) Descriptor
deprecated
func (*ScopeEventData) Descriptor() ([]byte, []int)
Deprecated: Use ScopeEventData.ProtoReflect.Descriptor instead.
func (*ScopeEventData) GetPayload ¶
func (x *ScopeEventData) GetPayload() *Scope
func (*ScopeEventData) ProtoMessage ¶
func (*ScopeEventData) ProtoMessage()
func (*ScopeEventData) ProtoReflect ¶
func (x *ScopeEventData) ProtoReflect() protoreflect.Message
func (*ScopeEventData) Reset ¶
func (x *ScopeEventData) Reset()
func (*ScopeEventData) String ¶
func (x *ScopeEventData) String() string
type ScopeFeatureState ¶
type ScopeFeatureState struct { // Output only. The "running state" of the Feature in this Scope. State *FeatureState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
ScopeFeatureState contains Scope-wide Feature status information.
func (*ScopeFeatureState) Descriptor
deprecated
func (*ScopeFeatureState) Descriptor() ([]byte, []int)
Deprecated: Use ScopeFeatureState.ProtoReflect.Descriptor instead.
func (*ScopeFeatureState) GetState ¶
func (x *ScopeFeatureState) GetState() *FeatureState
func (*ScopeFeatureState) ProtoMessage ¶
func (*ScopeFeatureState) ProtoMessage()
func (*ScopeFeatureState) ProtoReflect ¶
func (x *ScopeFeatureState) ProtoReflect() protoreflect.Message
func (*ScopeFeatureState) Reset ¶
func (x *ScopeFeatureState) Reset()
func (*ScopeFeatureState) String ¶
func (x *ScopeFeatureState) String() string
type ScopeLifecycleState ¶
type ScopeLifecycleState struct { // Output only. The current state of the scope resource. Code ScopeLifecycleState_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.events.cloud.gkehub.v1.ScopeLifecycleState_Code" json:"code,omitempty"` // contains filtered or unexported fields }
ScopeLifecycleState describes the state of a Scope resource.
func (*ScopeLifecycleState) Descriptor
deprecated
func (*ScopeLifecycleState) Descriptor() ([]byte, []int)
Deprecated: Use ScopeLifecycleState.ProtoReflect.Descriptor instead.
func (*ScopeLifecycleState) GetCode ¶
func (x *ScopeLifecycleState) GetCode() ScopeLifecycleState_Code
func (*ScopeLifecycleState) ProtoMessage ¶
func (*ScopeLifecycleState) ProtoMessage()
func (*ScopeLifecycleState) ProtoReflect ¶
func (x *ScopeLifecycleState) ProtoReflect() protoreflect.Message
func (*ScopeLifecycleState) Reset ¶
func (x *ScopeLifecycleState) Reset()
func (*ScopeLifecycleState) String ¶
func (x *ScopeLifecycleState) String() string
type ScopeLifecycleState_Code ¶
type ScopeLifecycleState_Code int32
Code describes the state of a Scope resource.
const ( // The code is not set. ScopeLifecycleState_CODE_UNSPECIFIED ScopeLifecycleState_Code = 0 // The scope is being created. ScopeLifecycleState_CREATING ScopeLifecycleState_Code = 1 // The scope active. ScopeLifecycleState_READY ScopeLifecycleState_Code = 2 // The scope is being deleted. ScopeLifecycleState_DELETING ScopeLifecycleState_Code = 3 // The scope is being updated. ScopeLifecycleState_UPDATING ScopeLifecycleState_Code = 4 )
func (ScopeLifecycleState_Code) Descriptor ¶
func (ScopeLifecycleState_Code) Descriptor() protoreflect.EnumDescriptor
func (ScopeLifecycleState_Code) Enum ¶
func (x ScopeLifecycleState_Code) Enum() *ScopeLifecycleState_Code
func (ScopeLifecycleState_Code) EnumDescriptor
deprecated
func (ScopeLifecycleState_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use ScopeLifecycleState_Code.Descriptor instead.
func (ScopeLifecycleState_Code) Number ¶
func (x ScopeLifecycleState_Code) Number() protoreflect.EnumNumber
func (ScopeLifecycleState_Code) String ¶
func (x ScopeLifecycleState_Code) String() string
func (ScopeLifecycleState_Code) Type ¶
func (ScopeLifecycleState_Code) Type() protoreflect.EnumType