Documentation ¶
Overview ¶
Generate deepcopy object for gkehub/v1beta1 API group
Package v1beta1 contains API Schema definitions for the gkehub v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/apis/gkehub +k8s:defaulter-gen=TypeMeta +groupName=gkehub.cnrm.cloud.google.com
Index ¶
- Variables
- type FeatureMulticlusteringress
- type FeatureResourceStateStatus
- type FeatureSpec
- type FeatureStateStatus
- type GKEHubFeature
- type GKEHubFeatureList
- type GKEHubFeatureSpec
- type GKEHubFeatureStatus
- type GKEHubMembership
- type GKEHubMembershipList
- type GKEHubMembershipSpec
- type GKEHubMembershipStatus
- type MembershipAuthority
- type MembershipAuthorityStatus
- type MembershipConnectResourcesStatus
- type MembershipEndpoint
- type MembershipEndpointStatus
- type MembershipGkeCluster
- type MembershipKubernetesMetadataStatus
- type MembershipKubernetesResource
- type MembershipKubernetesResourceStatus
- type MembershipMembershipResourcesStatus
- type MembershipResourceOptions
- type MembershipStateStatus
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "gkehub.cnrm.cloud.google.com", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme GKEHubFeatureGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(GKEHubFeature{}).Name(), } GKEHubMembershipGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(GKEHubMembership{}).Name(), } )
Functions ¶
This section is empty.
Types ¶
type FeatureMulticlusteringress ¶ added in v1.54.0
type FeatureMulticlusteringress struct { /* */ ConfigMembershipRef v1alpha1.ResourceRef `json:"configMembershipRef"` }
func (*FeatureMulticlusteringress) DeepCopy ¶ added in v1.54.0
func (in *FeatureMulticlusteringress) DeepCopy() *FeatureMulticlusteringress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureMulticlusteringress.
func (*FeatureMulticlusteringress) DeepCopyInto ¶ added in v1.54.0
func (in *FeatureMulticlusteringress) DeepCopyInto(out *FeatureMulticlusteringress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FeatureResourceStateStatus ¶ added in v1.54.0
type FeatureResourceStateStatus struct { /* Whether this Feature has outstanding resources that need to be cleaned up before it can be disabled. */ HasResources bool `json:"hasResources,omitempty"` /* The current state of the Feature resource in the Hub API. Possible values: STATE_UNSPECIFIED, ENABLING, ACTIVE, DISABLING, UPDATING, SERVICE_UPDATING */ State string `json:"state,omitempty"` }
func (*FeatureResourceStateStatus) DeepCopy ¶ added in v1.54.0
func (in *FeatureResourceStateStatus) DeepCopy() *FeatureResourceStateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureResourceStateStatus.
func (*FeatureResourceStateStatus) DeepCopyInto ¶ added in v1.54.0
func (in *FeatureResourceStateStatus) DeepCopyInto(out *FeatureResourceStateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FeatureSpec ¶ added in v1.54.0
type FeatureSpec struct { /* Multicluster Ingress-specific spec. */ // +optional Multiclusteringress *FeatureMulticlusteringress `json:"multiclusteringress,omitempty"` }
func (*FeatureSpec) DeepCopy ¶ added in v1.54.0
func (in *FeatureSpec) DeepCopy() *FeatureSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureSpec.
func (*FeatureSpec) DeepCopyInto ¶ added in v1.54.0
func (in *FeatureSpec) DeepCopyInto(out *FeatureSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FeatureStateStatus ¶ added in v1.54.0
type FeatureStateStatus struct { /* The high-level, machine-readable status of this Feature. Possible values: CODE_UNSPECIFIED, OK, WARNING, ERROR */ Code string `json:"code,omitempty"` /* A human-readable description of the current status. */ Description string `json:"description,omitempty"` /* The time this status and any related Feature-specific details were updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z" */ UpdateTime string `json:"updateTime,omitempty"` }
func (*FeatureStateStatus) DeepCopy ¶ added in v1.54.0
func (in *FeatureStateStatus) DeepCopy() *FeatureStateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureStateStatus.
func (*FeatureStateStatus) DeepCopyInto ¶ added in v1.54.0
func (in *FeatureStateStatus) DeepCopyInto(out *FeatureStateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GKEHubFeature ¶ added in v1.54.0
type GKEHubFeature struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GKEHubFeatureSpec `json:"spec,omitempty"` Status GKEHubFeatureStatus `json:"status,omitempty"` }
GKEHubFeature is the Schema for the gkehub API +k8s:openapi-gen=true
func (*GKEHubFeature) DeepCopy ¶ added in v1.54.0
func (in *GKEHubFeature) DeepCopy() *GKEHubFeature
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEHubFeature.
func (*GKEHubFeature) DeepCopyInto ¶ added in v1.54.0
func (in *GKEHubFeature) DeepCopyInto(out *GKEHubFeature)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GKEHubFeature) DeepCopyObject ¶ added in v1.54.0
func (in *GKEHubFeature) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GKEHubFeatureList ¶ added in v1.54.0
type GKEHubFeatureList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []GKEHubFeature `json:"items"` }
GKEHubFeatureList contains a list of GKEHubFeature
func (*GKEHubFeatureList) DeepCopy ¶ added in v1.54.0
func (in *GKEHubFeatureList) DeepCopy() *GKEHubFeatureList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEHubFeatureList.
func (*GKEHubFeatureList) DeepCopyInto ¶ added in v1.54.0
func (in *GKEHubFeatureList) DeepCopyInto(out *GKEHubFeatureList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GKEHubFeatureList) DeepCopyObject ¶ added in v1.54.0
func (in *GKEHubFeatureList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GKEHubFeatureSpec ¶ added in v1.54.0
type GKEHubFeatureSpec struct { /* The location for the resource */ Location string `json:"location"` /* The Project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` /* Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused. */ // +optional Spec *FeatureSpec `json:"spec,omitempty"` }
func (*GKEHubFeatureSpec) DeepCopy ¶ added in v1.54.0
func (in *GKEHubFeatureSpec) DeepCopy() *GKEHubFeatureSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEHubFeatureSpec.
func (*GKEHubFeatureSpec) DeepCopyInto ¶ added in v1.54.0
func (in *GKEHubFeatureSpec) DeepCopyInto(out *GKEHubFeatureSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GKEHubFeatureStatus ¶ added in v1.54.0
type GKEHubFeatureStatus struct { /* Conditions represent the latest available observations of the GKEHubFeature's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* Output only. When the Feature resource was created. */ CreateTime string `json:"createTime,omitempty"` /* Output only. When the Feature resource was deleted. */ DeleteTime string `json:"deleteTime,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ ObservedGeneration int `json:"observedGeneration,omitempty"` /* State of the Feature resource itself. */ ResourceState FeatureResourceStateStatus `json:"resourceState,omitempty"` /* Output only. The Hub-wide Feature state */ State FeatureStateStatus `json:"state,omitempty"` /* Output only. When the Feature resource was last updated. */ UpdateTime string `json:"updateTime,omitempty"` }
func (*GKEHubFeatureStatus) DeepCopy ¶ added in v1.54.0
func (in *GKEHubFeatureStatus) DeepCopy() *GKEHubFeatureStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEHubFeatureStatus.
func (*GKEHubFeatureStatus) DeepCopyInto ¶ added in v1.54.0
func (in *GKEHubFeatureStatus) DeepCopyInto(out *GKEHubFeatureStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GKEHubMembership ¶
type GKEHubMembership struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GKEHubMembershipSpec `json:"spec,omitempty"` Status GKEHubMembershipStatus `json:"status,omitempty"` }
GKEHubMembership is the Schema for the gkehub API +k8s:openapi-gen=true
func (*GKEHubMembership) DeepCopy ¶
func (in *GKEHubMembership) DeepCopy() *GKEHubMembership
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEHubMembership.
func (*GKEHubMembership) DeepCopyInto ¶
func (in *GKEHubMembership) DeepCopyInto(out *GKEHubMembership)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GKEHubMembership) DeepCopyObject ¶
func (in *GKEHubMembership) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GKEHubMembershipList ¶
type GKEHubMembershipList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []GKEHubMembership `json:"items"` }
GKEHubMembershipList contains a list of GKEHubMembership
func (*GKEHubMembershipList) DeepCopy ¶
func (in *GKEHubMembershipList) DeepCopy() *GKEHubMembershipList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEHubMembershipList.
func (*GKEHubMembershipList) DeepCopyInto ¶
func (in *GKEHubMembershipList) DeepCopyInto(out *GKEHubMembershipList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GKEHubMembershipList) DeepCopyObject ¶
func (in *GKEHubMembershipList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GKEHubMembershipSpec ¶
type GKEHubMembershipSpec struct { /* 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 */ // +optional Authority *MembershipAuthority `json:"authority,omitempty"` /* Description of this membership, limited to 63 characters. Must match the regex: `*` This field is present for legacy purposes. */ // +optional Description *string `json:"description,omitempty"` /* Optional. Endpoint information to reach this member. */ // +optional Endpoint *MembershipEndpoint `json:"endpoint,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: `*` If this Membership represents a Kubernetes cluster, this value should be set to the UID of the `kube-system` namespace object. */ // +optional ExternalId *string `json:"externalId,omitempty"` /* Optional. The infrastructure type this Membership is running on. Possible values: INFRASTRUCTURE_TYPE_UNSPECIFIED, ON_PREM, MULTI_CLOUD */ // +optional InfrastructureType *string `json:"infrastructureType,omitempty"` /* The location for the resource */ Location string `json:"location"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` }
func (*GKEHubMembershipSpec) DeepCopy ¶
func (in *GKEHubMembershipSpec) DeepCopy() *GKEHubMembershipSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEHubMembershipSpec.
func (*GKEHubMembershipSpec) DeepCopyInto ¶
func (in *GKEHubMembershipSpec) DeepCopyInto(out *GKEHubMembershipSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GKEHubMembershipStatus ¶
type GKEHubMembershipStatus struct { /* Conditions represent the latest available observations of the GKEHubMembership's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* */ Authority MembershipAuthorityStatus `json:"authority,omitempty"` /* Output only. When the Membership was created. */ CreateTime string `json:"createTime,omitempty"` /* Output only. When the Membership was deleted. */ DeleteTime string `json:"deleteTime,omitempty"` /* */ Endpoint MembershipEndpointStatus `json:"endpoint,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 string `json:"lastConnectionTime,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ ObservedGeneration int `json:"observedGeneration,omitempty"` /* Output only. State of the Membership resource. */ State MembershipStateStatus `json:"state,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 `json:"uniqueId,omitempty"` /* Output only. When the Membership was last updated. */ UpdateTime string `json:"updateTime,omitempty"` }
func (*GKEHubMembershipStatus) DeepCopy ¶
func (in *GKEHubMembershipStatus) DeepCopy() *GKEHubMembershipStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEHubMembershipStatus.
func (*GKEHubMembershipStatus) DeepCopyInto ¶
func (in *GKEHubMembershipStatus) DeepCopyInto(out *GKEHubMembershipStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipAuthority ¶
type MembershipAuthority 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). */ // +optional Issuer *string `json:"issuer,omitempty"` }
func (*MembershipAuthority) DeepCopy ¶
func (in *MembershipAuthority) DeepCopy() *MembershipAuthority
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipAuthority.
func (*MembershipAuthority) DeepCopyInto ¶
func (in *MembershipAuthority) DeepCopyInto(out *MembershipAuthority)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipAuthorityStatus ¶
type MembershipAuthorityStatus struct { /* Output only. An identity provider that reflects the `issuer` in the workload identity pool. */ IdentityProvider string `json:"identityProvider,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 `json:"workloadIdentityPool,omitempty"` }
func (*MembershipAuthorityStatus) DeepCopy ¶
func (in *MembershipAuthorityStatus) DeepCopy() *MembershipAuthorityStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipAuthorityStatus.
func (*MembershipAuthorityStatus) DeepCopyInto ¶
func (in *MembershipAuthorityStatus) DeepCopyInto(out *MembershipAuthorityStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipConnectResourcesStatus ¶
type MembershipConnectResourcesStatus struct { /* 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 `json:"clusterScoped,omitempty"` /* YAML manifest of the resource. */ Manifest string `json:"manifest,omitempty"` }
func (*MembershipConnectResourcesStatus) DeepCopy ¶
func (in *MembershipConnectResourcesStatus) DeepCopy() *MembershipConnectResourcesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipConnectResourcesStatus.
func (*MembershipConnectResourcesStatus) DeepCopyInto ¶
func (in *MembershipConnectResourcesStatus) DeepCopyInto(out *MembershipConnectResourcesStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipEndpoint ¶
type MembershipEndpoint struct { /* Optional. GKE-specific information. Only present if this Membership is a GKE cluster. */ // +optional GkeCluster *MembershipGkeCluster `json:"gkeCluster,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. */ // +optional KubernetesResource *MembershipKubernetesResource `json:"kubernetesResource,omitempty"` }
func (*MembershipEndpoint) DeepCopy ¶
func (in *MembershipEndpoint) DeepCopy() *MembershipEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipEndpoint.
func (*MembershipEndpoint) DeepCopyInto ¶
func (in *MembershipEndpoint) DeepCopyInto(out *MembershipEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipEndpointStatus ¶
type MembershipEndpointStatus struct { /* Output only. Useful Kubernetes-specific metadata. */ KubernetesMetadata MembershipKubernetesMetadataStatus `json:"kubernetesMetadata,omitempty"` /* */ KubernetesResource MembershipKubernetesResourceStatus `json:"kubernetesResource,omitempty"` }
func (*MembershipEndpointStatus) DeepCopy ¶
func (in *MembershipEndpointStatus) DeepCopy() *MembershipEndpointStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipEndpointStatus.
func (*MembershipEndpointStatus) DeepCopyInto ¶
func (in *MembershipEndpointStatus) DeepCopyInto(out *MembershipEndpointStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipGkeCluster ¶
type MembershipGkeCluster struct { /* */ // +optional ResourceRef *v1alpha1.ResourceRef `json:"resourceRef,omitempty"` }
func (*MembershipGkeCluster) DeepCopy ¶
func (in *MembershipGkeCluster) DeepCopy() *MembershipGkeCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipGkeCluster.
func (*MembershipGkeCluster) DeepCopyInto ¶
func (in *MembershipGkeCluster) DeepCopyInto(out *MembershipGkeCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipKubernetesMetadataStatus ¶
type MembershipKubernetesMetadataStatus struct { /* Output only. Kubernetes API server version string as reported by `/version`. */ KubernetesApiServerVersion string `json:"kubernetesApiServerVersion,omitempty"` /* Output only. The total memory capacity as reported by the sum of all Kubernetes nodes resources, defined in MB. */ MemoryMb int `json:"memoryMb,omitempty"` /* Output only. Node count as reported by Kubernetes nodes resources. */ NodeCount int `json:"nodeCount,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 `json:"nodeProviderId,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 string `json:"updateTime,omitempty"` /* Output only. vCPU count as reported by Kubernetes nodes resources. */ VcpuCount int `json:"vcpuCount,omitempty"` }
func (*MembershipKubernetesMetadataStatus) DeepCopy ¶
func (in *MembershipKubernetesMetadataStatus) DeepCopy() *MembershipKubernetesMetadataStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipKubernetesMetadataStatus.
func (*MembershipKubernetesMetadataStatus) DeepCopyInto ¶
func (in *MembershipKubernetesMetadataStatus) DeepCopyInto(out *MembershipKubernetesMetadataStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipKubernetesResource ¶
type MembershipKubernetesResource 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. */ // +optional MembershipCrManifest *string `json:"membershipCrManifest,omitempty"` /* Optional. Options for Kubernetes resource generation. */ // +optional ResourceOptions *MembershipResourceOptions `json:"resourceOptions,omitempty"` }
func (*MembershipKubernetesResource) DeepCopy ¶
func (in *MembershipKubernetesResource) DeepCopy() *MembershipKubernetesResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipKubernetesResource.
func (*MembershipKubernetesResource) DeepCopyInto ¶
func (in *MembershipKubernetesResource) DeepCopyInto(out *MembershipKubernetesResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipKubernetesResourceStatus ¶
type MembershipKubernetesResourceStatus struct { /* 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 []MembershipConnectResourcesStatus `json:"connectResources,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 []MembershipMembershipResourcesStatus `json:"membershipResources,omitempty"` }
func (*MembershipKubernetesResourceStatus) DeepCopy ¶
func (in *MembershipKubernetesResourceStatus) DeepCopy() *MembershipKubernetesResourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipKubernetesResourceStatus.
func (*MembershipKubernetesResourceStatus) DeepCopyInto ¶
func (in *MembershipKubernetesResourceStatus) DeepCopyInto(out *MembershipKubernetesResourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipMembershipResourcesStatus ¶
type MembershipMembershipResourcesStatus struct { /* 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 `json:"clusterScoped,omitempty"` /* YAML manifest of the resource. */ Manifest string `json:"manifest,omitempty"` }
func (*MembershipMembershipResourcesStatus) DeepCopy ¶
func (in *MembershipMembershipResourcesStatus) DeepCopy() *MembershipMembershipResourcesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipMembershipResourcesStatus.
func (*MembershipMembershipResourcesStatus) DeepCopyInto ¶
func (in *MembershipMembershipResourcesStatus) DeepCopyInto(out *MembershipMembershipResourcesStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipResourceOptions ¶
type MembershipResourceOptions 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. */ // +optional ConnectVersion *string `json:"connectVersion,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. */ // +optional V1beta1Crd *bool `json:"v1beta1Crd,omitempty"` }
func (*MembershipResourceOptions) DeepCopy ¶
func (in *MembershipResourceOptions) DeepCopy() *MembershipResourceOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipResourceOptions.
func (*MembershipResourceOptions) DeepCopyInto ¶
func (in *MembershipResourceOptions) DeepCopyInto(out *MembershipResourceOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipStateStatus ¶
type MembershipStateStatus struct { /* Output only. The current state of the Membership resource. Possible values: CODE_UNSPECIFIED, CREATING, READY, DELETING, UPDATING, SERVICE_UPDATING */ Code string `json:"code,omitempty"` }
func (*MembershipStateStatus) DeepCopy ¶
func (in *MembershipStateStatus) DeepCopy() *MembershipStateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipStateStatus.
func (*MembershipStateStatus) DeepCopyInto ¶
func (in *MembershipStateStatus) DeepCopyInto(out *MembershipStateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.