v1beta1

package
v1.62.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
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(),
	}

	GKEHubFeatureMembershipGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(GKEHubFeatureMembership{}).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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureMulticlusteringress.

func (*FeatureMulticlusteringress) DeepCopyInto added in v1.54.0

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureResourceStateStatus.

func (*FeatureResourceStateStatus) DeepCopyInto added in v1.54.0

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 FeaturemembershipBinauthz added in v1.57.0

type FeaturemembershipBinauthz struct {
	/* Whether binauthz is enabled in this cluster. */
	// +optional
	Enabled *bool `json:"enabled,omitempty"`
}

func (*FeaturemembershipBinauthz) DeepCopy added in v1.57.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeaturemembershipBinauthz.

func (*FeaturemembershipBinauthz) DeepCopyInto added in v1.57.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FeaturemembershipConfigSync added in v1.57.0

type FeaturemembershipConfigSync struct {
	/*  */
	// +optional
	Git *FeaturemembershipGit `json:"git,omitempty"`

	/* Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode. */
	// +optional
	SourceFormat *string `json:"sourceFormat,omitempty"`
}

func (*FeaturemembershipConfigSync) DeepCopy added in v1.57.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeaturemembershipConfigSync.

func (*FeaturemembershipConfigSync) DeepCopyInto added in v1.57.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FeaturemembershipConfigmanagement added in v1.57.0

type FeaturemembershipConfigmanagement struct {
	/* Binauthz conifguration for the cluster. */
	// +optional
	Binauthz *FeaturemembershipBinauthz `json:"binauthz,omitempty"`

	/* Config Sync configuration for the cluster. */
	// +optional
	ConfigSync *FeaturemembershipConfigSync `json:"configSync,omitempty"`

	/* Hierarchy Controller configuration for the cluster. */
	// +optional
	HierarchyController *FeaturemembershipHierarchyController `json:"hierarchyController,omitempty"`

	/* Policy Controller configuration for the cluster. */
	// +optional
	PolicyController *FeaturemembershipPolicyController `json:"policyController,omitempty"`

	/* Version of ACM installed. */
	// +optional
	Version *string `json:"version,omitempty"`
}

func (*FeaturemembershipConfigmanagement) DeepCopy added in v1.57.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeaturemembershipConfigmanagement.

func (*FeaturemembershipConfigmanagement) DeepCopyInto added in v1.57.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FeaturemembershipGit added in v1.57.0

type FeaturemembershipGit struct {
	/* URL for the HTTPS proxy to be used when communicating with the Git repo. */
	// +optional
	HttpsProxy *string `json:"httpsProxy,omitempty"`

	/* The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository. */
	// +optional
	PolicyDir *string `json:"policyDir,omitempty"`

	/* Type of secret configured for access to the Git repo. */
	// +optional
	SecretType *string `json:"secretType,omitempty"`

	/* The branch of the repository to sync from. Default: master. */
	// +optional
	SyncBranch *string `json:"syncBranch,omitempty"`

	/* The URL of the Git repository to use as the source of truth. */
	// +optional
	SyncRepo *string `json:"syncRepo,omitempty"`

	/* Git revision (tag or hash) to check out. Default HEAD. */
	// +optional
	SyncRev *string `json:"syncRev,omitempty"`

	/* Period in seconds between consecutive syncs. Default: 15. */
	// +optional
	SyncWaitSecs *string `json:"syncWaitSecs,omitempty"`
}

func (*FeaturemembershipGit) DeepCopy added in v1.57.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeaturemembershipGit.

func (*FeaturemembershipGit) DeepCopyInto added in v1.57.0

func (in *FeaturemembershipGit) DeepCopyInto(out *FeaturemembershipGit)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FeaturemembershipHierarchyController added in v1.57.0

type FeaturemembershipHierarchyController struct {
	/* Whether hierarchical resource quota is enabled in this cluster. */
	// +optional
	EnableHierarchicalResourceQuota *bool `json:"enableHierarchicalResourceQuota,omitempty"`

	/* Whether pod tree labels are enabled in this cluster. */
	// +optional
	EnablePodTreeLabels *bool `json:"enablePodTreeLabels,omitempty"`

	/* Whether Hierarchy Controller is enabled in this cluster. */
	// +optional
	Enabled *bool `json:"enabled,omitempty"`
}

func (*FeaturemembershipHierarchyController) DeepCopy added in v1.57.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeaturemembershipHierarchyController.

func (*FeaturemembershipHierarchyController) DeepCopyInto added in v1.57.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FeaturemembershipPolicyController added in v1.57.0

type FeaturemembershipPolicyController struct {
	/* Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether. */
	// +optional
	AuditIntervalSeconds *string `json:"auditIntervalSeconds,omitempty"`

	/* Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect. */
	// +optional
	Enabled *bool `json:"enabled,omitempty"`

	/* The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster. */
	// +optional
	ExemptableNamespaces []string `json:"exemptableNamespaces,omitempty"`

	/* Logs all denies and dry run failures. */
	// +optional
	LogDeniesEnabled *bool `json:"logDeniesEnabled,omitempty"`

	/* Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated. */
	// +optional
	ReferentialRulesEnabled *bool `json:"referentialRulesEnabled,omitempty"`

	/* Installs the default template library along with Policy Controller. */
	// +optional
	TemplateLibraryInstalled *bool `json:"templateLibraryInstalled,omitempty"`
}

func (*FeaturemembershipPolicyController) DeepCopy added in v1.57.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeaturemembershipPolicyController.

func (*FeaturemembershipPolicyController) DeepCopyInto added in v1.57.0

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 GKEHubFeatureMembership added in v1.57.0

type GKEHubFeatureMembership struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GKEHubFeatureMembershipSpec   `json:"spec,omitempty"`
	Status GKEHubFeatureMembershipStatus `json:"status,omitempty"`
}

GKEHubFeatureMembership is the Schema for the gkehub API +k8s:openapi-gen=true

func (*GKEHubFeatureMembership) DeepCopy added in v1.57.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEHubFeatureMembership.

func (*GKEHubFeatureMembership) DeepCopyInto added in v1.57.0

func (in *GKEHubFeatureMembership) DeepCopyInto(out *GKEHubFeatureMembership)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GKEHubFeatureMembership) DeepCopyObject added in v1.57.0

func (in *GKEHubFeatureMembership) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GKEHubFeatureMembershipList added in v1.57.0

type GKEHubFeatureMembershipList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GKEHubFeatureMembership `json:"items"`
}

GKEHubFeatureMembershipList contains a list of GKEHubFeatureMembership

func (*GKEHubFeatureMembershipList) DeepCopy added in v1.57.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEHubFeatureMembershipList.

func (*GKEHubFeatureMembershipList) DeepCopyInto added in v1.57.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GKEHubFeatureMembershipList) DeepCopyObject added in v1.57.0

func (in *GKEHubFeatureMembershipList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GKEHubFeatureMembershipSpec added in v1.57.0

type GKEHubFeatureMembershipSpec struct {
	/* Config Management-specific spec. */
	// +optional
	Configmanagement *FeaturemembershipConfigmanagement `json:"configmanagement,omitempty"`

	/*  */
	FeatureRef v1alpha1.ResourceRef `json:"featureRef"`

	/* The location of the feature */
	Location string `json:"location"`

	/*  */
	MembershipRef v1alpha1.ResourceRef `json:"membershipRef"`

	/* The Project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`
}

func (*GKEHubFeatureMembershipSpec) DeepCopy added in v1.57.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEHubFeatureMembershipSpec.

func (*GKEHubFeatureMembershipSpec) DeepCopyInto added in v1.57.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GKEHubFeatureMembershipStatus added in v1.57.0

type GKEHubFeatureMembershipStatus struct {
	/* Conditions represent the latest available observations of the
	   GKEHubFeatureMembership's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,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"`
}

func (*GKEHubFeatureMembershipStatus) DeepCopy added in v1.57.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEHubFeatureMembershipStatus.

func (*GKEHubFeatureMembershipStatus) DeepCopyInto added in v1.57.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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

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

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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipAuthorityStatus.

func (*MembershipAuthorityStatus) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipConnectResourcesStatus.

func (*MembershipConnectResourcesStatus) DeepCopyInto

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

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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipKubernetesMetadataStatus.

func (*MembershipKubernetesMetadataStatus) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipKubernetesResource.

func (*MembershipKubernetesResource) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipKubernetesResourceStatus.

func (*MembershipKubernetesResourceStatus) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipMembershipResourcesStatus.

func (*MembershipMembershipResourcesStatus) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipResourceOptions.

func (*MembershipResourceOptions) DeepCopyInto

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

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.

Jump to

Keyboard shortcuts

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