v1beta1

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Overview

+kubebuilder:object:generate=true +groupName=gkehub.gcp.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "gkehub.gcp.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Membership_Kind             = "Membership"
	Membership_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Membership_Kind}.String()
	Membership_KindAPIVersion   = Membership_Kind + "." + CRDGroupVersion.String()
	Membership_GroupVersionKind = CRDGroupVersion.WithKind(Membership_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AuthorityObservation

type AuthorityObservation struct {
}

func (*AuthorityObservation) DeepCopy

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

func (*AuthorityObservation) DeepCopyInto

func (in *AuthorityObservation) DeepCopyInto(out *AuthorityObservation)

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

type AuthorityParameters

type AuthorityParameters 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).googleapis.com/v1/${google_container_cluster.my-cluster.id}".
	// +kubebuilder:validation:Required
	Issuer *string `json:"issuer" tf:"issuer,omitempty"`
}

func (*AuthorityParameters) DeepCopy

func (in *AuthorityParameters) DeepCopy() *AuthorityParameters

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

func (*AuthorityParameters) DeepCopyInto

func (in *AuthorityParameters) DeepCopyInto(out *AuthorityParameters)

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

type EndpointObservation

type EndpointObservation struct {
}

func (*EndpointObservation) DeepCopy

func (in *EndpointObservation) DeepCopy() *EndpointObservation

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

func (*EndpointObservation) DeepCopyInto

func (in *EndpointObservation) DeepCopyInto(out *EndpointObservation)

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

type EndpointParameters

type EndpointParameters struct {

	// If this Membership is a Kubernetes API server hosted on GKE, this is a self link to its GCP resource.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	GkeCluster []GkeClusterParameters `json:"gkeCluster,omitempty" tf:"gke_cluster,omitempty"`
}

func (*EndpointParameters) DeepCopy

func (in *EndpointParameters) DeepCopy() *EndpointParameters

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

func (*EndpointParameters) DeepCopyInto

func (in *EndpointParameters) DeepCopyInto(out *EndpointParameters)

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

type GkeClusterObservation

type GkeClusterObservation struct {
}

func (*GkeClusterObservation) DeepCopy

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

func (*GkeClusterObservation) DeepCopyInto

func (in *GkeClusterObservation) DeepCopyInto(out *GkeClusterObservation)

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

type GkeClusterParameters

type GkeClusterParameters 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.googleapis.com/${google_container_cluster.my-cluster.id}" or
	// google_container_cluster.my-cluster.id.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/container/v1beta1.Cluster
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ResourceLink *string `json:"resourceLink,omitempty" tf:"resource_link,omitempty"`

	// Reference to a Cluster in container to populate resourceLink.
	// +kubebuilder:validation:Optional
	ResourceLinkRef *v1.Reference `json:"resourceLinkRef,omitempty" tf:"-"`

	// Selector for a Cluster in container to populate resourceLink.
	// +kubebuilder:validation:Optional
	ResourceLinkSelector *v1.Selector `json:"resourceLinkSelector,omitempty" tf:"-"`
}

func (*GkeClusterParameters) DeepCopy

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

func (*GkeClusterParameters) DeepCopyInto

func (in *GkeClusterParameters) DeepCopyInto(out *GkeClusterParameters)

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

type Membership

type Membership struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MembershipSpec   `json:"spec"`
	Status            MembershipStatus `json:"status,omitempty"`
}

Membership is the Schema for the Memberships API. Membership contains information about a member cluster. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*Membership) DeepCopy

func (in *Membership) DeepCopy() *Membership

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

func (*Membership) DeepCopyInto

func (in *Membership) DeepCopyInto(out *Membership)

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

func (*Membership) DeepCopyObject

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

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

func (*Membership) GetCondition

func (mg *Membership) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Membership.

func (*Membership) GetConnectionDetailsMapping

func (tr *Membership) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Membership

func (*Membership) GetDeletionPolicy

func (mg *Membership) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Membership.

func (*Membership) GetID

func (tr *Membership) GetID() string

GetID returns ID of underlying Terraform resource of this Membership

func (*Membership) GetObservation

func (tr *Membership) GetObservation() (map[string]any, error)

GetObservation of this Membership

func (*Membership) GetParameters

func (tr *Membership) GetParameters() (map[string]any, error)

GetParameters of this Membership

func (*Membership) GetProviderConfigReference

func (mg *Membership) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Membership.

func (*Membership) GetProviderReference

func (mg *Membership) GetProviderReference() *xpv1.Reference

GetProviderReference of this Membership. Deprecated: Use GetProviderConfigReference.

func (*Membership) GetPublishConnectionDetailsTo

func (mg *Membership) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Membership.

func (*Membership) GetTerraformResourceType

func (mg *Membership) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Membership

func (*Membership) GetTerraformSchemaVersion

func (tr *Membership) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Membership) GetWriteConnectionSecretToReference

func (mg *Membership) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Membership.

func (*Membership) LateInitialize

func (tr *Membership) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Membership using its observed tfState. returns True if there are any spec changes for the resource.

func (*Membership) ResolveReferences

func (mg *Membership) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Membership.

func (*Membership) SetConditions

func (mg *Membership) SetConditions(c ...xpv1.Condition)

SetConditions of this Membership.

func (*Membership) SetDeletionPolicy

func (mg *Membership) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Membership.

func (*Membership) SetObservation

func (tr *Membership) SetObservation(obs map[string]any) error

SetObservation for this Membership

func (*Membership) SetParameters

func (tr *Membership) SetParameters(params map[string]any) error

SetParameters for this Membership

func (*Membership) SetProviderConfigReference

func (mg *Membership) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Membership.

func (*Membership) SetProviderReference

func (mg *Membership) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Membership. Deprecated: Use SetProviderConfigReference.

func (*Membership) SetPublishConnectionDetailsTo

func (mg *Membership) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Membership.

func (*Membership) SetWriteConnectionSecretToReference

func (mg *Membership) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Membership.

type MembershipList

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

MembershipList contains a list of Memberships

func (*MembershipList) DeepCopy

func (in *MembershipList) DeepCopy() *MembershipList

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

func (*MembershipList) DeepCopyInto

func (in *MembershipList) DeepCopyInto(out *MembershipList)

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

func (*MembershipList) DeepCopyObject

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

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

func (*MembershipList) GetItems

func (l *MembershipList) GetItems() []resource.Managed

GetItems of this MembershipList.

type MembershipObservation

type MembershipObservation struct {

	// an identifier for the resource with format {{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The unique identifier of the membership.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*MembershipObservation) DeepCopy

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

func (*MembershipObservation) DeepCopyInto

func (in *MembershipObservation) DeepCopyInto(out *MembershipObservation)

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

type MembershipParameters

type MembershipParameters struct {

	// 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
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Authority []AuthorityParameters `json:"authority,omitempty" tf:"authority,omitempty"`

	// If this Membership is a Kubernetes API server hosted on GKE, this is a self link to its GCP resource.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Endpoint []EndpointParameters `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// Labels to apply to this membership.
	// +kubebuilder:validation:Optional
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`
}

func (*MembershipParameters) DeepCopy

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

func (*MembershipParameters) DeepCopyInto

func (in *MembershipParameters) DeepCopyInto(out *MembershipParameters)

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

type MembershipSpec

type MembershipSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MembershipParameters `json:"forProvider"`
}

MembershipSpec defines the desired state of Membership

func (*MembershipSpec) DeepCopy

func (in *MembershipSpec) DeepCopy() *MembershipSpec

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

func (*MembershipSpec) DeepCopyInto

func (in *MembershipSpec) DeepCopyInto(out *MembershipSpec)

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

type MembershipStatus

type MembershipStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        MembershipObservation `json:"atProvider,omitempty"`
}

MembershipStatus defines the observed state of Membership.

func (*MembershipStatus) DeepCopy

func (in *MembershipStatus) DeepCopy() *MembershipStatus

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

func (*MembershipStatus) DeepCopyInto

func (in *MembershipStatus) DeepCopyInto(out *MembershipStatus)

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