...

Package gkehub

import "google.golang.org/genproto/googleapis/cloud/gkehub/v1"
Overview
Index

Overview ▾

Index ▾

Variables
func RegisterGkeHubServer(s *grpc.Server, srv GkeHubServer)
type Authority
    func (*Authority) Descriptor() ([]byte, []int)
    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 CommonFeatureSpec
    func (*CommonFeatureSpec) Descriptor() ([]byte, []int)
    func (m *CommonFeatureSpec) GetFeatureSpec() isCommonFeatureSpec_FeatureSpec
    func (x *CommonFeatureSpec) GetMulticlusteringress() *v1.FeatureSpec
    func (*CommonFeatureSpec) ProtoMessage()
    func (x *CommonFeatureSpec) ProtoReflect() protoreflect.Message
    func (x *CommonFeatureSpec) Reset()
    func (x *CommonFeatureSpec) String() string
type CommonFeatureSpec_Multiclusteringress
type CommonFeatureState
    func (*CommonFeatureState) Descriptor() ([]byte, []int)
    func (x *CommonFeatureState) GetState() *FeatureState
    func (*CommonFeatureState) ProtoMessage()
    func (x *CommonFeatureState) ProtoReflect() protoreflect.Message
    func (x *CommonFeatureState) Reset()
    func (x *CommonFeatureState) String() string
type ConnectAgentResource
    func (*ConnectAgentResource) Descriptor() ([]byte, []int)
    func (x *ConnectAgentResource) GetManifest() string
    func (x *ConnectAgentResource) GetType() *TypeMeta
    func (*ConnectAgentResource) ProtoMessage()
    func (x *ConnectAgentResource) ProtoReflect() protoreflect.Message
    func (x *ConnectAgentResource) Reset()
    func (x *ConnectAgentResource) String() string
type CreateFeatureRequest
    func (*CreateFeatureRequest) Descriptor() ([]byte, []int)
    func (x *CreateFeatureRequest) GetFeatureId() string
    func (x *CreateFeatureRequest) GetParent() string
    func (x *CreateFeatureRequest) GetRequestId() string
    func (x *CreateFeatureRequest) GetResource() *Feature
    func (*CreateFeatureRequest) ProtoMessage()
    func (x *CreateFeatureRequest) ProtoReflect() protoreflect.Message
    func (x *CreateFeatureRequest) Reset()
    func (x *CreateFeatureRequest) String() string
type CreateMembershipRequest
    func (*CreateMembershipRequest) Descriptor() ([]byte, []int)
    func (x *CreateMembershipRequest) GetMembershipId() string
    func (x *CreateMembershipRequest) GetParent() string
    func (x *CreateMembershipRequest) GetRequestId() string
    func (x *CreateMembershipRequest) GetResource() *Membership
    func (*CreateMembershipRequest) ProtoMessage()
    func (x *CreateMembershipRequest) ProtoReflect() protoreflect.Message
    func (x *CreateMembershipRequest) Reset()
    func (x *CreateMembershipRequest) String() string
type DeleteFeatureRequest
    func (*DeleteFeatureRequest) Descriptor() ([]byte, []int)
    func (x *DeleteFeatureRequest) GetForce() bool
    func (x *DeleteFeatureRequest) GetName() string
    func (x *DeleteFeatureRequest) GetRequestId() string
    func (*DeleteFeatureRequest) ProtoMessage()
    func (x *DeleteFeatureRequest) ProtoReflect() protoreflect.Message
    func (x *DeleteFeatureRequest) Reset()
    func (x *DeleteFeatureRequest) String() string
type DeleteMembershipRequest
    func (*DeleteMembershipRequest) Descriptor() ([]byte, []int)
    func (x *DeleteMembershipRequest) GetName() string
    func (x *DeleteMembershipRequest) GetRequestId() string
    func (*DeleteMembershipRequest) ProtoMessage()
    func (x *DeleteMembershipRequest) ProtoReflect() protoreflect.Message
    func (x *DeleteMembershipRequest) Reset()
    func (x *DeleteMembershipRequest) String() string
type Feature
    func (*Feature) Descriptor() ([]byte, []int)
    func (x *Feature) GetCreateTime() *timestamppb.Timestamp
    func (x *Feature) GetDeleteTime() *timestamppb.Timestamp
    func (x *Feature) GetLabels() map[string]string
    func (x *Feature) GetMembershipSpecs() map[string]*MembershipFeatureSpec
    func (x *Feature) GetMembershipStates() map[string]*MembershipFeatureState
    func (x *Feature) GetName() string
    func (x *Feature) GetResourceState() *FeatureResourceState
    func (x *Feature) GetSpec() *CommonFeatureSpec
    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 FeatureResourceState
    func (*FeatureResourceState) Descriptor() ([]byte, []int)
    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)
    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)
    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)
    func (x FeatureState_Code) Number() protoreflect.EnumNumber
    func (x FeatureState_Code) String() string
    func (FeatureState_Code) Type() protoreflect.EnumType
type GenerateConnectManifestRequest
    func (*GenerateConnectManifestRequest) Descriptor() ([]byte, []int)
    func (x *GenerateConnectManifestRequest) GetImagePullSecretContent() []byte
    func (x *GenerateConnectManifestRequest) GetIsUpgrade() bool
    func (x *GenerateConnectManifestRequest) GetName() string
    func (x *GenerateConnectManifestRequest) GetNamespace() string
    func (x *GenerateConnectManifestRequest) GetProxy() []byte
    func (x *GenerateConnectManifestRequest) GetRegistry() string
    func (x *GenerateConnectManifestRequest) GetVersion() string
    func (*GenerateConnectManifestRequest) ProtoMessage()
    func (x *GenerateConnectManifestRequest) ProtoReflect() protoreflect.Message
    func (x *GenerateConnectManifestRequest) Reset()
    func (x *GenerateConnectManifestRequest) String() string
type GenerateConnectManifestResponse
    func (*GenerateConnectManifestResponse) Descriptor() ([]byte, []int)
    func (x *GenerateConnectManifestResponse) GetManifest() []*ConnectAgentResource
    func (*GenerateConnectManifestResponse) ProtoMessage()
    func (x *GenerateConnectManifestResponse) ProtoReflect() protoreflect.Message
    func (x *GenerateConnectManifestResponse) Reset()
    func (x *GenerateConnectManifestResponse) String() string
type GetFeatureRequest
    func (*GetFeatureRequest) Descriptor() ([]byte, []int)
    func (x *GetFeatureRequest) GetName() string
    func (*GetFeatureRequest) ProtoMessage()
    func (x *GetFeatureRequest) ProtoReflect() protoreflect.Message
    func (x *GetFeatureRequest) Reset()
    func (x *GetFeatureRequest) String() string
type GetMembershipRequest
    func (*GetMembershipRequest) Descriptor() ([]byte, []int)
    func (x *GetMembershipRequest) GetName() string
    func (*GetMembershipRequest) ProtoMessage()
    func (x *GetMembershipRequest) ProtoReflect() protoreflect.Message
    func (x *GetMembershipRequest) Reset()
    func (x *GetMembershipRequest) String() string
type GkeCluster
    func (*GkeCluster) Descriptor() ([]byte, []int)
    func (x *GkeCluster) GetResourceLink() string
    func (*GkeCluster) ProtoMessage()
    func (x *GkeCluster) ProtoReflect() protoreflect.Message
    func (x *GkeCluster) Reset()
    func (x *GkeCluster) String() string
type GkeHubClient
    func NewGkeHubClient(cc grpc.ClientConnInterface) GkeHubClient
type GkeHubServer
type KubernetesMetadata
    func (*KubernetesMetadata) Descriptor() ([]byte, []int)
    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)
    func (x *KubernetesResource) GetConnectResources() []*ResourceManifest
    func (x *KubernetesResource) GetMembershipCrManifest() string
    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 ListFeaturesRequest
    func (*ListFeaturesRequest) Descriptor() ([]byte, []int)
    func (x *ListFeaturesRequest) GetFilter() string
    func (x *ListFeaturesRequest) GetOrderBy() string
    func (x *ListFeaturesRequest) GetPageSize() int32
    func (x *ListFeaturesRequest) GetPageToken() string
    func (x *ListFeaturesRequest) GetParent() string
    func (*ListFeaturesRequest) ProtoMessage()
    func (x *ListFeaturesRequest) ProtoReflect() protoreflect.Message
    func (x *ListFeaturesRequest) Reset()
    func (x *ListFeaturesRequest) String() string
type ListFeaturesResponse
    func (*ListFeaturesResponse) Descriptor() ([]byte, []int)
    func (x *ListFeaturesResponse) GetNextPageToken() string
    func (x *ListFeaturesResponse) GetResources() []*Feature
    func (*ListFeaturesResponse) ProtoMessage()
    func (x *ListFeaturesResponse) ProtoReflect() protoreflect.Message
    func (x *ListFeaturesResponse) Reset()
    func (x *ListFeaturesResponse) String() string
type ListMembershipsRequest
    func (*ListMembershipsRequest) Descriptor() ([]byte, []int)
    func (x *ListMembershipsRequest) GetFilter() string
    func (x *ListMembershipsRequest) GetOrderBy() string
    func (x *ListMembershipsRequest) GetPageSize() int32
    func (x *ListMembershipsRequest) GetPageToken() string
    func (x *ListMembershipsRequest) GetParent() string
    func (*ListMembershipsRequest) ProtoMessage()
    func (x *ListMembershipsRequest) ProtoReflect() protoreflect.Message
    func (x *ListMembershipsRequest) Reset()
    func (x *ListMembershipsRequest) String() string
type ListMembershipsResponse
    func (*ListMembershipsResponse) Descriptor() ([]byte, []int)
    func (x *ListMembershipsResponse) GetNextPageToken() string
    func (x *ListMembershipsResponse) GetResources() []*Membership
    func (x *ListMembershipsResponse) GetUnreachable() []string
    func (*ListMembershipsResponse) ProtoMessage()
    func (x *ListMembershipsResponse) ProtoReflect() protoreflect.Message
    func (x *ListMembershipsResponse) Reset()
    func (x *ListMembershipsResponse) String() string
type Membership
    func (*Membership) Descriptor() ([]byte, []int)
    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 MembershipEndpoint
    func (*MembershipEndpoint) Descriptor() ([]byte, []int)
    func (x *MembershipEndpoint) GetGkeCluster() *GkeCluster
    func (x *MembershipEndpoint) GetKubernetesMetadata() *KubernetesMetadata
    func (x *MembershipEndpoint) GetKubernetesResource() *KubernetesResource
    func (*MembershipEndpoint) ProtoMessage()
    func (x *MembershipEndpoint) ProtoReflect() protoreflect.Message
    func (x *MembershipEndpoint) Reset()
    func (x *MembershipEndpoint) String() string
type MembershipFeatureSpec
    func (*MembershipFeatureSpec) Descriptor() ([]byte, []int)
    func (x *MembershipFeatureSpec) GetConfigmanagement() *v11.MembershipSpec
    func (m *MembershipFeatureSpec) GetFeatureSpec() isMembershipFeatureSpec_FeatureSpec
    func (*MembershipFeatureSpec) ProtoMessage()
    func (x *MembershipFeatureSpec) ProtoReflect() protoreflect.Message
    func (x *MembershipFeatureSpec) Reset()
    func (x *MembershipFeatureSpec) String() string
type MembershipFeatureSpec_Configmanagement
type MembershipFeatureState
    func (*MembershipFeatureState) Descriptor() ([]byte, []int)
    func (x *MembershipFeatureState) GetConfigmanagement() *v11.MembershipState
    func (m *MembershipFeatureState) GetFeatureState() isMembershipFeatureState_FeatureState
    func (x *MembershipFeatureState) GetState() *FeatureState
    func (*MembershipFeatureState) ProtoMessage()
    func (x *MembershipFeatureState) ProtoReflect() protoreflect.Message
    func (x *MembershipFeatureState) Reset()
    func (x *MembershipFeatureState) String() string
type MembershipFeatureState_Configmanagement
type MembershipState
    func (*MembershipState) Descriptor() ([]byte, []int)
    func (x *MembershipState) GetCode() MembershipState_Code
    func (*MembershipState) ProtoMessage()
    func (x *MembershipState) ProtoReflect() protoreflect.Message
    func (x *MembershipState) Reset()
    func (x *MembershipState) String() string
type MembershipState_Code
    func (MembershipState_Code) Descriptor() protoreflect.EnumDescriptor
    func (x MembershipState_Code) Enum() *MembershipState_Code
    func (MembershipState_Code) EnumDescriptor() ([]byte, []int)
    func (x MembershipState_Code) Number() protoreflect.EnumNumber
    func (x MembershipState_Code) String() string
    func (MembershipState_Code) Type() protoreflect.EnumType
type Membership_Endpoint
type OperationMetadata
    func (*OperationMetadata) Descriptor() ([]byte, []int)
    func (x *OperationMetadata) GetApiVersion() string
    func (x *OperationMetadata) GetCancelRequested() bool
    func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
    func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
    func (x *OperationMetadata) GetStatusDetail() string
    func (x *OperationMetadata) GetTarget() string
    func (x *OperationMetadata) GetVerb() string
    func (*OperationMetadata) ProtoMessage()
    func (x *OperationMetadata) ProtoReflect() protoreflect.Message
    func (x *OperationMetadata) Reset()
    func (x *OperationMetadata) String() string
type ResourceManifest
    func (*ResourceManifest) Descriptor() ([]byte, []int)
    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)
    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 TypeMeta
    func (*TypeMeta) Descriptor() ([]byte, []int)
    func (x *TypeMeta) GetApiVersion() string
    func (x *TypeMeta) GetKind() string
    func (*TypeMeta) ProtoMessage()
    func (x *TypeMeta) ProtoReflect() protoreflect.Message
    func (x *TypeMeta) Reset()
    func (x *TypeMeta) String() string
type UnimplementedGkeHubServer
    func (*UnimplementedGkeHubServer) CreateFeature(context.Context, *CreateFeatureRequest) (*longrunning.Operation, error)
    func (*UnimplementedGkeHubServer) CreateMembership(context.Context, *CreateMembershipRequest) (*longrunning.Operation, error)
    func (*UnimplementedGkeHubServer) DeleteFeature(context.Context, *DeleteFeatureRequest) (*longrunning.Operation, error)
    func (*UnimplementedGkeHubServer) DeleteMembership(context.Context, *DeleteMembershipRequest) (*longrunning.Operation, error)
    func (*UnimplementedGkeHubServer) GenerateConnectManifest(context.Context, *GenerateConnectManifestRequest) (*GenerateConnectManifestResponse, error)
    func (*UnimplementedGkeHubServer) GetFeature(context.Context, *GetFeatureRequest) (*Feature, error)
    func (*UnimplementedGkeHubServer) GetMembership(context.Context, *GetMembershipRequest) (*Membership, error)
    func (*UnimplementedGkeHubServer) ListFeatures(context.Context, *ListFeaturesRequest) (*ListFeaturesResponse, error)
    func (*UnimplementedGkeHubServer) ListMemberships(context.Context, *ListMembershipsRequest) (*ListMembershipsResponse, error)
    func (*UnimplementedGkeHubServer) UpdateFeature(context.Context, *UpdateFeatureRequest) (*longrunning.Operation, error)
    func (*UnimplementedGkeHubServer) UpdateMembership(context.Context, *UpdateMembershipRequest) (*longrunning.Operation, error)
type UpdateFeatureRequest
    func (*UpdateFeatureRequest) Descriptor() ([]byte, []int)
    func (x *UpdateFeatureRequest) GetName() string
    func (x *UpdateFeatureRequest) GetRequestId() string
    func (x *UpdateFeatureRequest) GetResource() *Feature
    func (x *UpdateFeatureRequest) GetUpdateMask() *fieldmaskpb.FieldMask
    func (*UpdateFeatureRequest) ProtoMessage()
    func (x *UpdateFeatureRequest) ProtoReflect() protoreflect.Message
    func (x *UpdateFeatureRequest) Reset()
    func (x *UpdateFeatureRequest) String() string
type UpdateMembershipRequest
    func (*UpdateMembershipRequest) Descriptor() ([]byte, []int)
    func (x *UpdateMembershipRequest) GetName() string
    func (x *UpdateMembershipRequest) GetRequestId() string
    func (x *UpdateMembershipRequest) GetResource() *Membership
    func (x *UpdateMembershipRequest) GetUpdateMask() *fieldmaskpb.FieldMask
    func (*UpdateMembershipRequest) ProtoMessage()
    func (x *UpdateMembershipRequest) ProtoReflect() protoreflect.Message
    func (x *UpdateMembershipRequest) Reset()
    func (x *UpdateMembershipRequest) String() string

Package files

feature.pb.go membership.pb.go service.pb.go

Variables

Enum value maps for FeatureResourceState_State.

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 FeatureState_Code.

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 MembershipState_Code.

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,
    }
)
var File_google_cloud_gkehub_v1_feature_proto protoreflect.FileDescriptor
var File_google_cloud_gkehub_v1_membership_proto protoreflect.FileDescriptor
var File_google_cloud_gkehub_v1_service_proto protoreflect.FileDescriptor

func RegisterGkeHubServer

func RegisterGkeHubServer(s *grpc.Server, srv GkeHubServer)

type Authority

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

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
}

func (*Authority) Descriptor

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

Deprecated: Use Authority.ProtoReflect.Descriptor instead.

func (*Authority) GetIdentityProvider

func (x *Authority) GetIdentityProvider() string

func (*Authority) GetIssuer

func (x *Authority) GetIssuer() string

func (*Authority) GetOidcJwks

func (x *Authority) GetOidcJwks() []byte

func (*Authority) GetWorkloadIdentityPool

func (x *Authority) GetWorkloadIdentityPool() string

func (*Authority) ProtoMessage

func (*Authority) ProtoMessage()

func (*Authority) ProtoReflect

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

func (*Authority) Reset

func (x *Authority) Reset()

func (*Authority) String

func (x *Authority) String() string

type CommonFeatureSpec

CommonFeatureSpec contains Hub-wide configuration information

type CommonFeatureSpec struct {

    // Types that are assignable to FeatureSpec:
    //	*CommonFeatureSpec_Multiclusteringress
    FeatureSpec isCommonFeatureSpec_FeatureSpec `protobuf_oneof:"feature_spec"`
    // contains filtered or unexported fields
}

func (*CommonFeatureSpec) Descriptor

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

Deprecated: Use CommonFeatureSpec.ProtoReflect.Descriptor instead.

func (*CommonFeatureSpec) GetFeatureSpec

func (m *CommonFeatureSpec) GetFeatureSpec() isCommonFeatureSpec_FeatureSpec

func (*CommonFeatureSpec) GetMulticlusteringress

func (x *CommonFeatureSpec) GetMulticlusteringress() *v1.FeatureSpec

func (*CommonFeatureSpec) ProtoMessage

func (*CommonFeatureSpec) ProtoMessage()

func (*CommonFeatureSpec) ProtoReflect

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

func (*CommonFeatureSpec) Reset

func (x *CommonFeatureSpec) Reset()

func (*CommonFeatureSpec) String

func (x *CommonFeatureSpec) String() string

type CommonFeatureSpec_Multiclusteringress

type CommonFeatureSpec_Multiclusteringress struct {
    // Multicluster Ingress-specific spec.
    Multiclusteringress *v1.FeatureSpec `protobuf:"bytes,102,opt,name=multiclusteringress,proto3,oneof"`
}

type CommonFeatureState

CommonFeatureState contains Hub-wide Feature status information.

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
}

func (*CommonFeatureState) Descriptor

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 ConnectAgentResource

ConnectAgentResource represents a Kubernetes resource manifest for Connect Agent deployment.

type ConnectAgentResource struct {

    // Kubernetes type of the resource.
    Type *TypeMeta `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
    // YAML manifest of the resource.
    Manifest string `protobuf:"bytes,2,opt,name=manifest,proto3" json:"manifest,omitempty"`
    // contains filtered or unexported fields
}

func (*ConnectAgentResource) Descriptor

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

Deprecated: Use ConnectAgentResource.ProtoReflect.Descriptor instead.

func (*ConnectAgentResource) GetManifest

func (x *ConnectAgentResource) GetManifest() string

func (*ConnectAgentResource) GetType

func (x *ConnectAgentResource) GetType() *TypeMeta

func (*ConnectAgentResource) ProtoMessage

func (*ConnectAgentResource) ProtoMessage()

func (*ConnectAgentResource) ProtoReflect

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

func (*ConnectAgentResource) Reset

func (x *ConnectAgentResource) Reset()

func (*ConnectAgentResource) String

func (x *ConnectAgentResource) String() string

type CreateFeatureRequest

Request message for the `GkeHub.CreateFeature` method.

type CreateFeatureRequest struct {

    // Required. The parent (project and location) where the Feature will be created.
    // Specified in the format `projects/*/locations/*`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // The ID of the feature to create.
    FeatureId string `protobuf:"bytes,2,opt,name=feature_id,json=featureId,proto3" json:"feature_id,omitempty"`
    // The Feature resource to create.
    Resource *Feature `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
    // Optional. A request ID to identify requests. Specify a unique request ID
    // so that if you must retry your request, the server will know to ignore
    // the request if it has already been completed. The server will guarantee
    // that for at least 60 minutes after the first request.
    //
    // For example, consider a situation where you make an initial request and
    // the request times out. If you make the request again with the same request
    // ID, the server can check if original operation with the same request ID
    // was received, and if so, will ignore the second request. This prevents
    // clients from accidentally creating duplicate commitments.
    //
    // The request ID must be a valid UUID with the exception that zero UUID is
    // not supported (00000000-0000-0000-0000-000000000000).
    RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
    // contains filtered or unexported fields
}

func (*CreateFeatureRequest) Descriptor

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

Deprecated: Use CreateFeatureRequest.ProtoReflect.Descriptor instead.

func (*CreateFeatureRequest) GetFeatureId

func (x *CreateFeatureRequest) GetFeatureId() string

func (*CreateFeatureRequest) GetParent

func (x *CreateFeatureRequest) GetParent() string

func (*CreateFeatureRequest) GetRequestId

func (x *CreateFeatureRequest) GetRequestId() string

func (*CreateFeatureRequest) GetResource

func (x *CreateFeatureRequest) GetResource() *Feature

func (*CreateFeatureRequest) ProtoMessage

func (*CreateFeatureRequest) ProtoMessage()

func (*CreateFeatureRequest) ProtoReflect

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

func (*CreateFeatureRequest) Reset

func (x *CreateFeatureRequest) Reset()

func (*CreateFeatureRequest) String

func (x *CreateFeatureRequest) String() string

type CreateMembershipRequest

Request message for the `GkeHub.CreateMembership` method.

type CreateMembershipRequest struct {

    // Required. The parent (project and location) where the Memberships will be created.
    // Specified in the format `projects/*/locations/*`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. Client chosen ID for the membership. `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.
    MembershipId string `protobuf:"bytes,2,opt,name=membership_id,json=membershipId,proto3" json:"membership_id,omitempty"`
    // Required. The membership to create.
    Resource *Membership `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
    // Optional. A request ID to identify requests. Specify a unique request ID
    // so that if you must retry your request, the server will know to ignore
    // the request if it has already been completed. The server will guarantee
    // that for at least 60 minutes after the first request.
    //
    // For example, consider a situation where you make an initial request and
    // the request times out. If you make the request again with the same request
    // ID, the server can check if original operation with the same request ID
    // was received, and if so, will ignore the second request. This prevents
    // clients from accidentally creating duplicate commitments.
    //
    // The request ID must be a valid UUID with the exception that zero UUID is
    // not supported (00000000-0000-0000-0000-000000000000).
    RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
    // contains filtered or unexported fields
}

func (*CreateMembershipRequest) Descriptor

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

Deprecated: Use CreateMembershipRequest.ProtoReflect.Descriptor instead.

func (*CreateMembershipRequest) GetMembershipId

func (x *CreateMembershipRequest) GetMembershipId() string

func (*CreateMembershipRequest) GetParent

func (x *CreateMembershipRequest) GetParent() string

func (*CreateMembershipRequest) GetRequestId

func (x *CreateMembershipRequest) GetRequestId() string

func (*CreateMembershipRequest) GetResource

func (x *CreateMembershipRequest) GetResource() *Membership

func (*CreateMembershipRequest) ProtoMessage

func (*CreateMembershipRequest) ProtoMessage()

func (*CreateMembershipRequest) ProtoReflect

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

func (*CreateMembershipRequest) Reset

func (x *CreateMembershipRequest) Reset()

func (*CreateMembershipRequest) String

func (x *CreateMembershipRequest) String() string

type DeleteFeatureRequest

Request message for `GkeHub.DeleteFeature` method.

type DeleteFeatureRequest struct {

    // Required. The Feature resource name in the format
    // `projects/*/locations/*/features/*`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // If set to true, the delete will ignore any outstanding resources for
    // this Feature (that is, `FeatureState.has_resources` is set to true). These
    // resources will NOT be cleaned up or modified in any way.
    Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
    // Optional. A request ID to identify requests. Specify a unique request ID
    // so that if you must retry your request, the server will know to ignore
    // the request if it has already been completed. The server will guarantee
    // that for at least 60 minutes after the first request.
    //
    // For example, consider a situation where you make an initial request and
    // the request times out. If you make the request again with the same request
    // ID, the server can check if original operation with the same request ID
    // was received, and if so, will ignore the second request. This prevents
    // clients from accidentally creating duplicate commitments.
    //
    // The request ID must be a valid UUID with the exception that zero UUID is
    // not supported (00000000-0000-0000-0000-000000000000).
    RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
    // contains filtered or unexported fields
}

func (*DeleteFeatureRequest) Descriptor

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

Deprecated: Use DeleteFeatureRequest.ProtoReflect.Descriptor instead.

func (*DeleteFeatureRequest) GetForce

func (x *DeleteFeatureRequest) GetForce() bool

func (*DeleteFeatureRequest) GetName

func (x *DeleteFeatureRequest) GetName() string

func (*DeleteFeatureRequest) GetRequestId

func (x *DeleteFeatureRequest) GetRequestId() string

func (*DeleteFeatureRequest) ProtoMessage

func (*DeleteFeatureRequest) ProtoMessage()

func (*DeleteFeatureRequest) ProtoReflect

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

func (*DeleteFeatureRequest) Reset

func (x *DeleteFeatureRequest) Reset()

func (*DeleteFeatureRequest) String

func (x *DeleteFeatureRequest) String() string

type DeleteMembershipRequest

Request message for `GkeHub.DeleteMembership` method.

type DeleteMembershipRequest struct {

    // Required. The Membership resource name in the format
    // `projects/*/locations/*/memberships/*`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Optional. A request ID to identify requests. Specify a unique request ID
    // so that if you must retry your request, the server will know to ignore
    // the request if it has already been completed. The server will guarantee
    // that for at least 60 minutes after the first request.
    //
    // For example, consider a situation where you make an initial request and
    // the request times out. If you make the request again with the same request
    // ID, the server can check if original operation with the same request ID
    // was received, and if so, will ignore the second request. This prevents
    // clients from accidentally creating duplicate commitments.
    //
    // The request ID must be a valid UUID with the exception that zero UUID is
    // not supported (00000000-0000-0000-0000-000000000000).
    RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
    // contains filtered or unexported fields
}

func (*DeleteMembershipRequest) Descriptor

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

Deprecated: Use DeleteMembershipRequest.ProtoReflect.Descriptor instead.

func (*DeleteMembershipRequest) GetName

func (x *DeleteMembershipRequest) GetName() string

func (*DeleteMembershipRequest) GetRequestId

func (x *DeleteMembershipRequest) GetRequestId() string

func (*DeleteMembershipRequest) ProtoMessage

func (*DeleteMembershipRequest) ProtoMessage()

func (*DeleteMembershipRequest) ProtoReflect

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

func (*DeleteMembershipRequest) Reset

func (x *DeleteMembershipRequest) Reset()

func (*DeleteMembershipRequest) String

func (x *DeleteMembershipRequest) String() string

type Feature

Feature represents the settings and status of any Hub 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 `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Output only. State of the Feature resource itself.
    ResourceState *FeatureResourceState `protobuf:"bytes,3,opt,name=resource_state,json=resourceState,proto3" json:"resource_state,omitempty"`
    // Optional. Hub-wide Feature configuration. If this Feature does not support any
    // Hub-wide configuration, this field may be unused.
    Spec *CommonFeatureSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
    // Optional. Membership-specific configuration for this Feature. If this Feature does
    // not support any per-Membership configuration, this field may be unused.
    //
    // The keys indicate which Membership the configuration is for, in the form:
    //
    //     projects/{p}/locations/{l}/memberships/{m}
    //
    // Where {p} is the project, {l} is a valid location and {m} is a valid
    // Membership in this project at that location. {p} WILL match the Feature's
    // project.
    //
    // {p} will always be returned as the project number, but the project ID is
    // also accepted during input. If the same Membership is specified in the map
    // twice (using the project ID form, and the project number form), exactly
    // ONE of the entries will be saved, with no guarantees as to which. For this
    // reason, it is recommended the same format be used for all entries when
    // mutating a Feature.
    MembershipSpecs map[string]*MembershipFeatureSpec `protobuf:"bytes,5,rep,name=membership_specs,json=membershipSpecs,proto3" json:"membership_specs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // 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 `protobuf:"bytes,7,rep,name=membership_states,json=membershipStates,proto3" json:"membership_states,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // 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"`
    // contains filtered or unexported fields
}

func (*Feature) Descriptor

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

Deprecated: Use Feature.ProtoReflect.Descriptor instead.

func (*Feature) GetCreateTime

func (x *Feature) GetCreateTime() *timestamppb.Timestamp

func (*Feature) GetDeleteTime

func (x *Feature) GetDeleteTime() *timestamppb.Timestamp

func (*Feature) GetLabels

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

func (*Feature) GetMembershipSpecs

func (x *Feature) GetMembershipSpecs() map[string]*MembershipFeatureSpec

func (*Feature) GetMembershipStates

func (x *Feature) GetMembershipStates() map[string]*MembershipFeatureState

func (*Feature) GetName

func (x *Feature) GetName() string

func (*Feature) GetResourceState

func (x *Feature) GetResourceState() *FeatureResourceState

func (*Feature) GetSpec

func (x *Feature) GetSpec() *CommonFeatureSpec

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

func (*Feature) Reset

func (x *Feature) Reset()

func (*Feature) String

func (x *Feature) String() string

type FeatureResourceState

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.

type FeatureResourceState struct {

    // The current state of the Feature resource in the Hub API.
    State FeatureResourceState_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.gkehub.v1.FeatureResourceState_State" json:"state,omitempty"`
    // contains filtered or unexported fields
}

func (*FeatureResourceState) Descriptor

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

State describes the lifecycle status of a Feature.

type FeatureResourceState_State int32
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

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

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.

type FeatureState struct {

    // The high-level, machine-readable status of this Feature.
    Code FeatureState_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.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
}

func (*FeatureState) Descriptor

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

Code represents a machine-readable, high-level status of the Feature.

type FeatureState_Code int32
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

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 GenerateConnectManifestRequest

Request message for `GkeHub.GenerateConnectManifest` method. .

type GenerateConnectManifestRequest struct {

    // Required. The Membership resource name the Agent will associate with, in the format
    // `projects/*/locations/*/memberships/*`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Optional. Namespace for GKE Connect agent resources. Defaults to `gke-connect`.
    //
    // The Connect Agent is authorized automatically when run in the default
    // namespace. Otherwise, explicit authorization must be granted with an
    // additional IAM binding.
    Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
    // Optional. URI of a proxy if connectivity from the agent to gkeconnect.googleapis.com
    // requires the use of a proxy. Format must be in the form
    // `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol
    // supported by the proxy. This will direct the connect agent's outbound
    // traffic through a HTTP(S) proxy.
    Proxy []byte `protobuf:"bytes,3,opt,name=proxy,proto3" json:"proxy,omitempty"`
    // Optional. The Connect agent version to use. Defaults to the most current version.
    Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
    // Optional. If true, generate the resources for upgrade only. Some resources
    // generated only for installation (e.g. secrets) will be excluded.
    IsUpgrade bool `protobuf:"varint,5,opt,name=is_upgrade,json=isUpgrade,proto3" json:"is_upgrade,omitempty"`
    // Optional. The registry to fetch the connect agent image from. Defaults to
    // gcr.io/gkeconnect.
    Registry string `protobuf:"bytes,6,opt,name=registry,proto3" json:"registry,omitempty"`
    // Optional. The image pull secret content for the registry, if not public.
    ImagePullSecretContent []byte `protobuf:"bytes,7,opt,name=image_pull_secret_content,json=imagePullSecretContent,proto3" json:"image_pull_secret_content,omitempty"`
    // contains filtered or unexported fields
}

func (*GenerateConnectManifestRequest) Descriptor

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

Deprecated: Use GenerateConnectManifestRequest.ProtoReflect.Descriptor instead.

func (*GenerateConnectManifestRequest) GetImagePullSecretContent

func (x *GenerateConnectManifestRequest) GetImagePullSecretContent() []byte

func (*GenerateConnectManifestRequest) GetIsUpgrade

func (x *GenerateConnectManifestRequest) GetIsUpgrade() bool

func (*GenerateConnectManifestRequest) GetName

func (x *GenerateConnectManifestRequest) GetName() string

func (*GenerateConnectManifestRequest) GetNamespace

func (x *GenerateConnectManifestRequest) GetNamespace() string

func (*GenerateConnectManifestRequest) GetProxy

func (x *GenerateConnectManifestRequest) GetProxy() []byte

func (*GenerateConnectManifestRequest) GetRegistry

func (x *GenerateConnectManifestRequest) GetRegistry() string

func (*GenerateConnectManifestRequest) GetVersion

func (x *GenerateConnectManifestRequest) GetVersion() string

func (*GenerateConnectManifestRequest) ProtoMessage

func (*GenerateConnectManifestRequest) ProtoMessage()

func (*GenerateConnectManifestRequest) ProtoReflect

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

func (*GenerateConnectManifestRequest) Reset

func (x *GenerateConnectManifestRequest) Reset()

func (*GenerateConnectManifestRequest) String

func (x *GenerateConnectManifestRequest) String() string

type GenerateConnectManifestResponse

GenerateConnectManifestResponse contains manifest information for installing/upgrading a Connect agent.

type GenerateConnectManifestResponse struct {

    // The ordered list of Kubernetes resources that need to be applied to the
    // cluster for GKE Connect agent installation/upgrade.
    Manifest []*ConnectAgentResource `protobuf:"bytes,1,rep,name=manifest,proto3" json:"manifest,omitempty"`
    // contains filtered or unexported fields
}

func (*GenerateConnectManifestResponse) Descriptor

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

Deprecated: Use GenerateConnectManifestResponse.ProtoReflect.Descriptor instead.

func (*GenerateConnectManifestResponse) GetManifest

func (x *GenerateConnectManifestResponse) GetManifest() []*ConnectAgentResource

func (*GenerateConnectManifestResponse) ProtoMessage

func (*GenerateConnectManifestResponse) ProtoMessage()

func (*GenerateConnectManifestResponse) ProtoReflect

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

func (*GenerateConnectManifestResponse) Reset

func (x *GenerateConnectManifestResponse) Reset()

func (*GenerateConnectManifestResponse) String

func (x *GenerateConnectManifestResponse) String() string

type GetFeatureRequest

Request message for `GkeHub.GetFeature` method.

type GetFeatureRequest struct {

    // Required. The Feature resource name in the format
    // `projects/*/locations/*/features/*`
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

func (*GetFeatureRequest) Descriptor

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

Deprecated: Use GetFeatureRequest.ProtoReflect.Descriptor instead.

func (*GetFeatureRequest) GetName

func (x *GetFeatureRequest) GetName() string

func (*GetFeatureRequest) ProtoMessage

func (*GetFeatureRequest) ProtoMessage()

func (*GetFeatureRequest) ProtoReflect

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

func (*GetFeatureRequest) Reset

func (x *GetFeatureRequest) Reset()

func (*GetFeatureRequest) String

func (x *GetFeatureRequest) String() string

type GetMembershipRequest

Request message for `GkeHub.GetMembership` method.

type GetMembershipRequest struct {

    // Required. The Membership resource name in the format
    // `projects/*/locations/*/memberships/*`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

func (*GetMembershipRequest) Descriptor

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

Deprecated: Use GetMembershipRequest.ProtoReflect.Descriptor instead.

func (*GetMembershipRequest) GetName

func (x *GetMembershipRequest) GetName() string

func (*GetMembershipRequest) ProtoMessage

func (*GetMembershipRequest) ProtoMessage()

func (*GetMembershipRequest) ProtoReflect

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

func (*GetMembershipRequest) Reset

func (x *GetMembershipRequest) Reset()

func (*GetMembershipRequest) String

func (x *GetMembershipRequest) String() string

type GkeCluster

GkeCluster contains information specific to GKE clusters.

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"`
    // contains filtered or unexported fields
}

func (*GkeCluster) Descriptor

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

Deprecated: Use GkeCluster.ProtoReflect.Descriptor instead.

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 GkeHubClient

GkeHubClient is the client API for GkeHub service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type GkeHubClient interface {
    // Lists Memberships in a given project and location.
    ListMemberships(ctx context.Context, in *ListMembershipsRequest, opts ...grpc.CallOption) (*ListMembershipsResponse, error)
    // Lists Features in a given project and location.
    ListFeatures(ctx context.Context, in *ListFeaturesRequest, opts ...grpc.CallOption) (*ListFeaturesResponse, error)
    // Gets the details of a Membership.
    GetMembership(ctx context.Context, in *GetMembershipRequest, opts ...grpc.CallOption) (*Membership, error)
    // Gets details of a single Feature.
    GetFeature(ctx context.Context, in *GetFeatureRequest, opts ...grpc.CallOption) (*Feature, error)
    // Creates a new Membership.
    //
    // **This is currently only supported for GKE clusters on Google Cloud**.
    // To register other clusters, follow the instructions at
    // https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.
    CreateMembership(ctx context.Context, in *CreateMembershipRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
    // Adds a new Feature.
    CreateFeature(ctx context.Context, in *CreateFeatureRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
    // Removes a Membership.
    //
    // **This is currently only supported for GKE clusters on Google Cloud**.
    // To unregister other clusters, follow the instructions at
    // https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.
    DeleteMembership(ctx context.Context, in *DeleteMembershipRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
    // Removes a Feature.
    DeleteFeature(ctx context.Context, in *DeleteFeatureRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
    // Updates an existing Membership.
    UpdateMembership(ctx context.Context, in *UpdateMembershipRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
    // Updates an existing Feature.
    UpdateFeature(ctx context.Context, in *UpdateFeatureRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
    // Generates the manifest for deployment of the GKE connect agent.
    //
    // **This method is used internally by Google-provided libraries.**
    // Most clients should not need to call this method directly.
    GenerateConnectManifest(ctx context.Context, in *GenerateConnectManifestRequest, opts ...grpc.CallOption) (*GenerateConnectManifestResponse, error)
}

func NewGkeHubClient

func NewGkeHubClient(cc grpc.ClientConnInterface) GkeHubClient

type GkeHubServer

GkeHubServer is the server API for GkeHub service.

type GkeHubServer interface {
    // Lists Memberships in a given project and location.
    ListMemberships(context.Context, *ListMembershipsRequest) (*ListMembershipsResponse, error)
    // Lists Features in a given project and location.
    ListFeatures(context.Context, *ListFeaturesRequest) (*ListFeaturesResponse, error)
    // Gets the details of a Membership.
    GetMembership(context.Context, *GetMembershipRequest) (*Membership, error)
    // Gets details of a single Feature.
    GetFeature(context.Context, *GetFeatureRequest) (*Feature, error)
    // Creates a new Membership.
    //
    // **This is currently only supported for GKE clusters on Google Cloud**.
    // To register other clusters, follow the instructions at
    // https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.
    CreateMembership(context.Context, *CreateMembershipRequest) (*longrunning.Operation, error)
    // Adds a new Feature.
    CreateFeature(context.Context, *CreateFeatureRequest) (*longrunning.Operation, error)
    // Removes a Membership.
    //
    // **This is currently only supported for GKE clusters on Google Cloud**.
    // To unregister other clusters, follow the instructions at
    // https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.
    DeleteMembership(context.Context, *DeleteMembershipRequest) (*longrunning.Operation, error)
    // Removes a Feature.
    DeleteFeature(context.Context, *DeleteFeatureRequest) (*longrunning.Operation, error)
    // Updates an existing Membership.
    UpdateMembership(context.Context, *UpdateMembershipRequest) (*longrunning.Operation, error)
    // Updates an existing Feature.
    UpdateFeature(context.Context, *UpdateFeatureRequest) (*longrunning.Operation, error)
    // Generates the manifest for deployment of the GKE connect agent.
    //
    // **This method is used internally by Google-provided libraries.**
    // Most clients should not need to call this method directly.
    GenerateConnectManifest(context.Context, *GenerateConnectManifestRequest) (*GenerateConnectManifestResponse, error)
}

type KubernetesMetadata

KubernetesMetadata provides informational metadata for Memberships representing Kubernetes clusters.

type KubernetesMetadata struct {

    // Output only. Kubernetes API server version string as reported by `/version`.
    KubernetesApiServerVersion string `protobuf:"bytes,1,opt,name=kubernetes_api_server_version,json=kubernetesApiServerVersion,proto3" json:"kubernetes_api_server_version,omitempty"`
    // 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
}

func (*KubernetesMetadata) Descriptor

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

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.

type KubernetesResource struct {

    // Input only. The YAML representation of the Membership CR. This field is ignored for GKE
    // clusters where Hub can read the CR directly.
    //
    // Callers should provide the CR that is currently present in the cluster
    // during CreateMembership or UpdateMembership, or leave this field empty if
    // none exists. The CR manifest is used to validate the cluster has not been
    // registered with another Membership.
    MembershipCrManifest string `protobuf:"bytes,1,opt,name=membership_cr_manifest,json=membershipCrManifest,proto3" json:"membership_cr_manifest,omitempty"`
    // 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
}

func (*KubernetesResource) Descriptor

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

Deprecated: Use KubernetesResource.ProtoReflect.Descriptor instead.

func (*KubernetesResource) GetConnectResources

func (x *KubernetesResource) GetConnectResources() []*ResourceManifest

func (*KubernetesResource) GetMembershipCrManifest

func (x *KubernetesResource) GetMembershipCrManifest() string

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 ListFeaturesRequest

Request message for `GkeHub.ListFeatures` method.

type ListFeaturesRequest struct {

    // Required. The parent (project and location) where the Features will be listed.
    // Specified in the format `projects/*/locations/*`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // When requesting a 'page' of resources, `page_size` specifies number of
    // resources to return. If unspecified or set to 0, all resources will
    // be returned.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Token returned by previous call to `ListFeatures` which
    // specifies the position in the list from where to continue listing the
    // resources.
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // Lists Features that match the filter expression, following the syntax
    // outlined in https://google.aip.dev/160.
    //
    // Examples:
    //
    //   - Feature with the name "servicemesh" in project "foo-proj":
    //
    //       name = "projects/foo-proj/locations/global/features/servicemesh"
    //
    //   - Features that have a label called `foo`:
    //
    //       labels.foo:*
    //
    //   - Features that have a label called `foo` whose value is `bar`:
    //
    //       labels.foo = bar
    Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
    // One or more fields to compare and use to sort the output.
    // See https://google.aip.dev/132#ordering.
    OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
    // contains filtered or unexported fields
}

func (*ListFeaturesRequest) Descriptor

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

Deprecated: Use ListFeaturesRequest.ProtoReflect.Descriptor instead.

func (*ListFeaturesRequest) GetFilter

func (x *ListFeaturesRequest) GetFilter() string

func (*ListFeaturesRequest) GetOrderBy

func (x *ListFeaturesRequest) GetOrderBy() string

func (*ListFeaturesRequest) GetPageSize

func (x *ListFeaturesRequest) GetPageSize() int32

func (*ListFeaturesRequest) GetPageToken

func (x *ListFeaturesRequest) GetPageToken() string

func (*ListFeaturesRequest) GetParent

func (x *ListFeaturesRequest) GetParent() string

func (*ListFeaturesRequest) ProtoMessage

func (*ListFeaturesRequest) ProtoMessage()

func (*ListFeaturesRequest) ProtoReflect

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

func (*ListFeaturesRequest) Reset

func (x *ListFeaturesRequest) Reset()

func (*ListFeaturesRequest) String

func (x *ListFeaturesRequest) String() string

type ListFeaturesResponse

Response message for the `GkeHub.ListFeatures` method.

type ListFeaturesResponse struct {

    // The list of matching Features
    Resources []*Feature `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
    // A token to request the next page of resources from the
    // `ListFeatures` method. The value of an empty string means
    // that there are no more resources to return.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

func (*ListFeaturesResponse) Descriptor

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

Deprecated: Use ListFeaturesResponse.ProtoReflect.Descriptor instead.

func (*ListFeaturesResponse) GetNextPageToken

func (x *ListFeaturesResponse) GetNextPageToken() string

func (*ListFeaturesResponse) GetResources

func (x *ListFeaturesResponse) GetResources() []*Feature

func (*ListFeaturesResponse) ProtoMessage

func (*ListFeaturesResponse) ProtoMessage()

func (*ListFeaturesResponse) ProtoReflect

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

func (*ListFeaturesResponse) Reset

func (x *ListFeaturesResponse) Reset()

func (*ListFeaturesResponse) String

func (x *ListFeaturesResponse) String() string

type ListMembershipsRequest

Request message for `GkeHub.ListMemberships` method.

type ListMembershipsRequest struct {

    // Required. The parent (project and location) where the Memberships will be listed.
    // Specified in the format `projects/*/locations/*`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Optional. When requesting a 'page' of resources, `page_size` specifies number of
    // resources to return. If unspecified or set to 0, all resources will
    // be returned.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Optional. Token returned by previous call to `ListMemberships` which
    // specifies the position in the list from where to continue listing the
    // resources.
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // Optional. Lists Memberships that match the filter expression, following the syntax
    // outlined in https://google.aip.dev/160.
    //
    // Examples:
    //
    //   - Name is `bar` in project `foo-proj` and location `global`:
    //
    //       name = "projects/foo-proj/locations/global/membership/bar"
    //
    //   - Memberships that have a label called `foo`:
    //
    //       labels.foo:*
    //
    //   - Memberships that have a label called `foo` whose value is `bar`:
    //
    //       labels.foo = bar
    //
    //   - Memberships in the CREATING state:
    //
    //       state = CREATING
    Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
    // Optional. One or more fields to compare and use to sort the output.
    // See https://google.aip.dev/132#ordering.
    OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
    // contains filtered or unexported fields
}

func (*ListMembershipsRequest) Descriptor

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

Deprecated: Use ListMembershipsRequest.ProtoReflect.Descriptor instead.

func (*ListMembershipsRequest) GetFilter

func (x *ListMembershipsRequest) GetFilter() string

func (*ListMembershipsRequest) GetOrderBy

func (x *ListMembershipsRequest) GetOrderBy() string

func (*ListMembershipsRequest) GetPageSize

func (x *ListMembershipsRequest) GetPageSize() int32

func (*ListMembershipsRequest) GetPageToken

func (x *ListMembershipsRequest) GetPageToken() string

func (*ListMembershipsRequest) GetParent

func (x *ListMembershipsRequest) GetParent() string

func (*ListMembershipsRequest) ProtoMessage

func (*ListMembershipsRequest) ProtoMessage()

func (*ListMembershipsRequest) ProtoReflect

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

func (*ListMembershipsRequest) Reset

func (x *ListMembershipsRequest) Reset()

func (*ListMembershipsRequest) String

func (x *ListMembershipsRequest) String() string

type ListMembershipsResponse

Response message for the `GkeHub.ListMemberships` method.

type ListMembershipsResponse struct {

    // The list of matching Memberships.
    Resources []*Membership `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
    // A token to request the next page of resources from the
    // `ListMemberships` method. The value of an empty string means that
    // there are no more resources to return.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // List of locations that could not be reached while fetching this list.
    Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
    // contains filtered or unexported fields
}

func (*ListMembershipsResponse) Descriptor

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

Deprecated: Use ListMembershipsResponse.ProtoReflect.Descriptor instead.

func (*ListMembershipsResponse) GetNextPageToken

func (x *ListMembershipsResponse) GetNextPageToken() string

func (*ListMembershipsResponse) GetResources

func (x *ListMembershipsResponse) GetResources() []*Membership

func (*ListMembershipsResponse) GetUnreachable

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

func (*ListMembershipsResponse) ProtoMessage

func (*ListMembershipsResponse) ProtoMessage()

func (*ListMembershipsResponse) ProtoReflect

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

func (*ListMembershipsResponse) Reset

func (x *ListMembershipsResponse) Reset()

func (*ListMembershipsResponse) String

func (x *ListMembershipsResponse) String() string

type Membership

Membership contains information about a member cluster.

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 `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // 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
}

func (*Membership) Descriptor

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 MembershipEndpoint

MembershipEndpoint contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata.

type MembershipEndpoint struct {

    // Optional. GKE-specific information. Only present if this Membership is a GKE cluster.
    GkeCluster *GkeCluster `protobuf:"bytes,1,opt,name=gke_cluster,json=gkeCluster,proto3" json:"gke_cluster,omitempty"`
    // 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"`
    // contains filtered or unexported fields
}

func (*MembershipEndpoint) Descriptor

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

Deprecated: Use MembershipEndpoint.ProtoReflect.Descriptor instead.

func (*MembershipEndpoint) GetGkeCluster

func (x *MembershipEndpoint) GetGkeCluster() *GkeCluster

func (*MembershipEndpoint) GetKubernetesMetadata

func (x *MembershipEndpoint) GetKubernetesMetadata() *KubernetesMetadata

func (*MembershipEndpoint) GetKubernetesResource

func (x *MembershipEndpoint) GetKubernetesResource() *KubernetesResource

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 MembershipFeatureSpec

MembershipFeatureSpec contains configuration information for a single Membership.

type MembershipFeatureSpec struct {

    // Types that are assignable to FeatureSpec:
    //	*MembershipFeatureSpec_Configmanagement
    FeatureSpec isMembershipFeatureSpec_FeatureSpec `protobuf_oneof:"feature_spec"`
    // contains filtered or unexported fields
}

func (*MembershipFeatureSpec) Descriptor

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

Deprecated: Use MembershipFeatureSpec.ProtoReflect.Descriptor instead.

func (*MembershipFeatureSpec) GetConfigmanagement

func (x *MembershipFeatureSpec) GetConfigmanagement() *v11.MembershipSpec

func (*MembershipFeatureSpec) GetFeatureSpec

func (m *MembershipFeatureSpec) GetFeatureSpec() isMembershipFeatureSpec_FeatureSpec

func (*MembershipFeatureSpec) ProtoMessage

func (*MembershipFeatureSpec) ProtoMessage()

func (*MembershipFeatureSpec) ProtoReflect

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

func (*MembershipFeatureSpec) Reset

func (x *MembershipFeatureSpec) Reset()

func (*MembershipFeatureSpec) String

func (x *MembershipFeatureSpec) String() string

type MembershipFeatureSpec_Configmanagement

type MembershipFeatureSpec_Configmanagement struct {
    // Config Management-specific spec.
    Configmanagement *v11.MembershipSpec `protobuf:"bytes,106,opt,name=configmanagement,proto3,oneof"`
}

type MembershipFeatureState

MembershipFeatureState contains Feature status information for a single Membership.

type MembershipFeatureState struct {

    // Types that are assignable to FeatureState:
    //	*MembershipFeatureState_Configmanagement
    FeatureState isMembershipFeatureState_FeatureState `protobuf_oneof:"feature_state"`
    // 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
}

func (*MembershipFeatureState) Descriptor

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

Deprecated: Use MembershipFeatureState.ProtoReflect.Descriptor instead.

func (*MembershipFeatureState) GetConfigmanagement

func (x *MembershipFeatureState) GetConfigmanagement() *v11.MembershipState

func (*MembershipFeatureState) GetFeatureState

func (m *MembershipFeatureState) GetFeatureState() isMembershipFeatureState_FeatureState

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 MembershipFeatureState_Configmanagement

type MembershipFeatureState_Configmanagement struct {
    // Config Management-specific state.
    Configmanagement *v11.MembershipState `protobuf:"bytes,106,opt,name=configmanagement,proto3,oneof"`
}

type MembershipState

MembershipState describes the state of a Membership resource.

type MembershipState struct {

    // Output only. The current state of the Membership resource.
    Code MembershipState_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.cloud.gkehub.v1.MembershipState_Code" json:"code,omitempty"`
    // contains filtered or unexported fields
}

func (*MembershipState) Descriptor

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

Code describes the state of a Membership resource.

type MembershipState_Code int32
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

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 OperationMetadata

Represents the metadata of the long-running operation.

type OperationMetadata struct {

    // Output only. The time the operation was created.
    CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // Output only. The time the operation finished running.
    EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
    // Output only. Server-defined resource path for the target of the operation.
    Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
    // Output only. Name of the verb executed by the operation.
    Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
    // Output only. Human-readable status of the operation, if any.
    StatusDetail string `protobuf:"bytes,5,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"`
    // Output only. 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`.
    CancelRequested bool `protobuf:"varint,6,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"`
    // Output only. API version used to start the operation.
    ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
    // contains filtered or unexported fields
}

func (*OperationMetadata) Descriptor

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

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCancelRequested

func (x *OperationMetadata) GetCancelRequested() bool

func (*OperationMetadata) GetCreateTime

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

func (*OperationMetadata) GetEndTime

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

func (*OperationMetadata) GetStatusDetail

func (x *OperationMetadata) GetStatusDetail() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() 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 ResourceManifest

ResourceManifest represents a single Kubernetes resource to be applied to the cluster.

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
}

func (*ResourceManifest) Descriptor

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

ResourceOptions represent options for Kubernetes resource generation.

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
}

func (*ResourceOptions) Descriptor

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 TypeMeta

TypeMeta is the type information needed for content unmarshalling of Kubernetes resources in the manifest.

type TypeMeta struct {

    // Kind of the resource (e.g. Deployment).
    Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
    // APIVersion of the resource (e.g. v1).
    ApiVersion string `protobuf:"bytes,2,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
    // contains filtered or unexported fields
}

func (*TypeMeta) Descriptor

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

Deprecated: Use TypeMeta.ProtoReflect.Descriptor instead.

func (*TypeMeta) GetApiVersion

func (x *TypeMeta) GetApiVersion() string

func (*TypeMeta) GetKind

func (x *TypeMeta) GetKind() string

func (*TypeMeta) ProtoMessage

func (*TypeMeta) ProtoMessage()

func (*TypeMeta) ProtoReflect

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

func (*TypeMeta) Reset

func (x *TypeMeta) Reset()

func (*TypeMeta) String

func (x *TypeMeta) String() string

type UnimplementedGkeHubServer

UnimplementedGkeHubServer can be embedded to have forward compatible implementations.

type UnimplementedGkeHubServer struct {
}

func (*UnimplementedGkeHubServer) CreateFeature

func (*UnimplementedGkeHubServer) CreateFeature(context.Context, *CreateFeatureRequest) (*longrunning.Operation, error)

func (*UnimplementedGkeHubServer) CreateMembership

func (*UnimplementedGkeHubServer) CreateMembership(context.Context, *CreateMembershipRequest) (*longrunning.Operation, error)

func (*UnimplementedGkeHubServer) DeleteFeature

func (*UnimplementedGkeHubServer) DeleteFeature(context.Context, *DeleteFeatureRequest) (*longrunning.Operation, error)

func (*UnimplementedGkeHubServer) DeleteMembership

func (*UnimplementedGkeHubServer) DeleteMembership(context.Context, *DeleteMembershipRequest) (*longrunning.Operation, error)

func (*UnimplementedGkeHubServer) GenerateConnectManifest

func (*UnimplementedGkeHubServer) GenerateConnectManifest(context.Context, *GenerateConnectManifestRequest) (*GenerateConnectManifestResponse, error)

func (*UnimplementedGkeHubServer) GetFeature

func (*UnimplementedGkeHubServer) GetFeature(context.Context, *GetFeatureRequest) (*Feature, error)

func (*UnimplementedGkeHubServer) GetMembership

func (*UnimplementedGkeHubServer) GetMembership(context.Context, *GetMembershipRequest) (*Membership, error)

func (*UnimplementedGkeHubServer) ListFeatures

func (*UnimplementedGkeHubServer) ListFeatures(context.Context, *ListFeaturesRequest) (*ListFeaturesResponse, error)

func (*UnimplementedGkeHubServer) ListMemberships

func (*UnimplementedGkeHubServer) ListMemberships(context.Context, *ListMembershipsRequest) (*ListMembershipsResponse, error)

func (*UnimplementedGkeHubServer) UpdateFeature

func (*UnimplementedGkeHubServer) UpdateFeature(context.Context, *UpdateFeatureRequest) (*longrunning.Operation, error)

func (*UnimplementedGkeHubServer) UpdateMembership

func (*UnimplementedGkeHubServer) UpdateMembership(context.Context, *UpdateMembershipRequest) (*longrunning.Operation, error)

type UpdateFeatureRequest

Request message for `GkeHub.UpdateFeature` method.

type UpdateFeatureRequest struct {

    // Required. The Feature resource name in the format
    // `projects/*/locations/*/features/*`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Mask of fields to update.
    UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // Only fields specified in update_mask are updated.
    // If you specify a field in the update_mask but don't specify its value here
    // that field will be deleted.
    // If you are updating a map field, set the value of a key to null or empty
    // string to delete the key from the map. It's not possible to update a key's
    // value to the empty string.
    // If you specify the update_mask to be a special path "*", fully replaces all
    // user-modifiable fields to match `resource`.
    Resource *Feature `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
    // Optional. A request ID to identify requests. Specify a unique request ID
    // so that if you must retry your request, the server will know to ignore
    // the request if it has already been completed. The server will guarantee
    // that for at least 60 minutes after the first request.
    //
    // For example, consider a situation where you make an initial request and
    // the request times out. If you make the request again with the same request
    // ID, the server can check if original operation with the same request ID
    // was received, and if so, will ignore the second request. This prevents
    // clients from accidentally creating duplicate commitments.
    //
    // The request ID must be a valid UUID with the exception that zero UUID is
    // not supported (00000000-0000-0000-0000-000000000000).
    RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
    // contains filtered or unexported fields
}

func (*UpdateFeatureRequest) Descriptor

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

Deprecated: Use UpdateFeatureRequest.ProtoReflect.Descriptor instead.

func (*UpdateFeatureRequest) GetName

func (x *UpdateFeatureRequest) GetName() string

func (*UpdateFeatureRequest) GetRequestId

func (x *UpdateFeatureRequest) GetRequestId() string

func (*UpdateFeatureRequest) GetResource

func (x *UpdateFeatureRequest) GetResource() *Feature

func (*UpdateFeatureRequest) GetUpdateMask

func (x *UpdateFeatureRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateFeatureRequest) ProtoMessage

func (*UpdateFeatureRequest) ProtoMessage()

func (*UpdateFeatureRequest) ProtoReflect

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

func (*UpdateFeatureRequest) Reset

func (x *UpdateFeatureRequest) Reset()

func (*UpdateFeatureRequest) String

func (x *UpdateFeatureRequest) String() string

type UpdateMembershipRequest

Request message for `GkeHub.UpdateMembership` method.

type UpdateMembershipRequest struct {

    // Required. The Membership resource name in the format
    // `projects/*/locations/*/memberships/*`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. Mask of fields to update.
    UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // Required. Only fields specified in update_mask are updated.
    // If you specify a field in the update_mask but don't specify its value here
    // that field will be deleted.
    // If you are updating a map field, set the value of a key to null or empty
    // string to delete the key from the map. It's not possible to update a key's
    // value to the empty string.
    // If you specify the update_mask to be a special path "*", fully replaces all
    // user-modifiable fields to match `resource`.
    Resource *Membership `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
    // Optional. A request ID to identify requests. Specify a unique request ID
    // so that if you must retry your request, the server will know to ignore
    // the request if it has already been completed. The server will guarantee
    // that for at least 60 minutes after the first request.
    //
    // For example, consider a situation where you make an initial request and
    // the request times out. If you make the request again with the same request
    // ID, the server can check if original operation with the same request ID
    // was received, and if so, will ignore the second request. This prevents
    // clients from accidentally creating duplicate commitments.
    //
    // The request ID must be a valid UUID with the exception that zero UUID is
    // not supported (00000000-0000-0000-0000-000000000000).
    RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
    // contains filtered or unexported fields
}

func (*UpdateMembershipRequest) Descriptor

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

Deprecated: Use UpdateMembershipRequest.ProtoReflect.Descriptor instead.

func (*UpdateMembershipRequest) GetName

func (x *UpdateMembershipRequest) GetName() string

func (*UpdateMembershipRequest) GetRequestId

func (x *UpdateMembershipRequest) GetRequestId() string

func (*UpdateMembershipRequest) GetResource

func (x *UpdateMembershipRequest) GetResource() *Membership

func (*UpdateMembershipRequest) GetUpdateMask

func (x *UpdateMembershipRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateMembershipRequest) ProtoMessage

func (*UpdateMembershipRequest) ProtoMessage()

func (*UpdateMembershipRequest) ProtoReflect

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

func (*UpdateMembershipRequest) Reset

func (x *UpdateMembershipRequest) Reset()

func (*UpdateMembershipRequest) String

func (x *UpdateMembershipRequest) String() string