v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=gke.google.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: gke.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type HubMembership

type HubMembership struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              HubMembershipSpec   `json:"spec,omitempty"`
	Status            HubMembershipStatus `json:"status,omitempty"`
}

func (*HubMembership) DeepCopy

func (in *HubMembership) DeepCopy() *HubMembership

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

func (*HubMembership) DeepCopyInto

func (in *HubMembership) DeepCopyInto(out *HubMembership)

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

func (*HubMembership) DeepCopyObject

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

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

func (*HubMembership) SetupWebhookWithManager

func (r *HubMembership) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*HubMembership) ValidateCreate

func (r *HubMembership) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*HubMembership) ValidateDelete

func (r *HubMembership) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*HubMembership) ValidateUpdate

func (r *HubMembership) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type HubMembershipList

type HubMembershipList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of HubMembership CRD objects
	Items []HubMembership `json:"items,omitempty"`
}

HubMembershipList is a list of HubMemberships

func (*HubMembershipList) DeepCopy

func (in *HubMembershipList) DeepCopy() *HubMembershipList

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

func (*HubMembershipList) DeepCopyInto

func (in *HubMembershipList) DeepCopyInto(out *HubMembershipList)

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

func (*HubMembershipList) DeepCopyObject

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

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

type HubMembershipSpec

type HubMembershipSpec struct {
	State *HubMembershipSpecResource `json:"state,omitempty" tf:"-"`

	Resource HubMembershipSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*HubMembershipSpec) DeepCopy

func (in *HubMembershipSpec) DeepCopy() *HubMembershipSpec

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

func (*HubMembershipSpec) DeepCopyInto

func (in *HubMembershipSpec) DeepCopyInto(out *HubMembershipSpec)

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

type HubMembershipSpecAuthority

type HubMembershipSpecAuthority struct {
	// A JSON Web Token (JWT) issuer URI. 'issuer' must start with 'https://' and // be a valid
	// with length <2000 characters. For example: 'https://container.googleapis.com/v1/projects/my-project/locations/us-west1/clusters/my-cluster' (must be 'locations' rather than 'zones'). If the cluster is provisioned with Terraform, this is '"https://container.googleapis.com/v1/${google_container_cluster.my-cluster.id}"'.
	Issuer *string `json:"issuer" tf:"issuer"`
}

func (*HubMembershipSpecAuthority) DeepCopy

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

func (*HubMembershipSpecAuthority) DeepCopyInto

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

type HubMembershipSpecAuthorityCodec

type HubMembershipSpecAuthorityCodec struct {
}

+k8s:deepcopy-gen=false

func (HubMembershipSpecAuthorityCodec) Decode

func (HubMembershipSpecAuthorityCodec) Encode

func (HubMembershipSpecAuthorityCodec) IsEmpty

type HubMembershipSpecEndpoint

type HubMembershipSpecEndpoint struct {
	// If this Membership is a Kubernetes API server hosted on GKE, this is a self link to its GCP resource.
	// +optional
	GkeCluster *HubMembershipSpecEndpointGkeCluster `json:"gkeCluster,omitempty" tf:"gke_cluster"`
}

func (*HubMembershipSpecEndpoint) DeepCopy

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

func (*HubMembershipSpecEndpoint) DeepCopyInto

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

type HubMembershipSpecEndpointCodec

type HubMembershipSpecEndpointCodec struct {
}

+k8s:deepcopy-gen=false

func (HubMembershipSpecEndpointCodec) Decode

func (HubMembershipSpecEndpointCodec) Encode

func (HubMembershipSpecEndpointCodec) IsEmpty

type HubMembershipSpecEndpointGkeCluster

type HubMembershipSpecEndpointGkeCluster struct {
	// Self-link of the GCP resource for the GKE cluster.
	// For example: '//container.googleapis.com/projects/my-project/zones/us-west1-a/clusters/my-cluster'.
	// It can be at the most 1000 characters in length. If the cluster is provisioned with Terraform,
	// this can be '"//container.googleapis.com/${google_container_cluster.my-cluster.id}"' or
	// 'google_container_cluster.my-cluster.id'.
	ResourceLink *string `json:"resourceLink" tf:"resource_link"`
}

func (*HubMembershipSpecEndpointGkeCluster) DeepCopy

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

func (*HubMembershipSpecEndpointGkeCluster) DeepCopyInto

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

type HubMembershipSpecEndpointGkeClusterCodec

type HubMembershipSpecEndpointGkeClusterCodec struct {
}

+k8s:deepcopy-gen=false

func (HubMembershipSpecEndpointGkeClusterCodec) Decode

func (HubMembershipSpecEndpointGkeClusterCodec) Encode

func (HubMembershipSpecEndpointGkeClusterCodec) IsEmpty

type HubMembershipSpecResource

type HubMembershipSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// 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
	// +optional
	Authority *HubMembershipSpecAuthority `json:"authority,omitempty" tf:"authority"`
	// If this Membership is a Kubernetes API server hosted on GKE, this is a self link to its GCP resource.
	// +optional
	Endpoint *HubMembershipSpecEndpoint `json:"endpoint,omitempty" tf:"endpoint"`
	// Labels to apply to this membership.
	// +optional
	Labels *map[string]string `json:"labels,omitempty" tf:"labels"`
	// The client-provided identifier of the membership.
	MembershipID *string `json:"membershipID" tf:"membership_id"`
	// The unique identifier of the membership.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
}

func (*HubMembershipSpecResource) DeepCopy

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

func (*HubMembershipSpecResource) DeepCopyInto

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

type HubMembershipStatus

type HubMembershipStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*HubMembershipStatus) DeepCopy

func (in *HubMembershipStatus) DeepCopy() *HubMembershipStatus

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

func (*HubMembershipStatus) DeepCopyInto

func (in *HubMembershipStatus) DeepCopyInto(out *HubMembershipStatus)

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