v1beta2

package
v1.9.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

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.

View Source
var (
	MembershipIAMMember_Kind             = "MembershipIAMMember"
	MembershipIAMMember_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MembershipIAMMember_Kind}.String()
	MembershipIAMMember_KindAPIVersion   = MembershipIAMMember_Kind + "." + CRDGroupVersion.String()
	MembershipIAMMember_GroupVersionKind = CRDGroupVersion.WithKind(MembershipIAMMember_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AuthorityInitParameters

type AuthorityInitParameters 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}".
	Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`
}

func (*AuthorityInitParameters) DeepCopy

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

func (*AuthorityInitParameters) DeepCopyInto

func (in *AuthorityInitParameters) DeepCopyInto(out *AuthorityInitParameters)

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

type AuthorityObservation

type AuthorityObservation 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}".
	Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`
}

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:Optional
	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 ConditionInitParameters

type ConditionInitParameters struct {
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	Expression *string `json:"expression,omitempty" tf:"expression,omitempty"`

	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*ConditionInitParameters) DeepCopy

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

func (*ConditionInitParameters) DeepCopyInto

func (in *ConditionInitParameters) DeepCopyInto(out *ConditionInitParameters)

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

type ConditionObservation

type ConditionObservation struct {
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	Expression *string `json:"expression,omitempty" tf:"expression,omitempty"`

	Title *string `json:"title,omitempty" tf:"title,omitempty"`
}

func (*ConditionObservation) DeepCopy

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

func (*ConditionObservation) DeepCopyInto

func (in *ConditionObservation) DeepCopyInto(out *ConditionObservation)

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

type ConditionParameters

type ConditionParameters struct {

	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +kubebuilder:validation:Optional
	Expression *string `json:"expression" tf:"expression,omitempty"`

	// +kubebuilder:validation:Optional
	Title *string `json:"title" tf:"title,omitempty"`
}

func (*ConditionParameters) DeepCopy

func (in *ConditionParameters) DeepCopy() *ConditionParameters

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

func (*ConditionParameters) DeepCopyInto

func (in *ConditionParameters) DeepCopyInto(out *ConditionParameters)

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

type EndpointInitParameters

type EndpointInitParameters 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.
	GkeCluster *GkeClusterInitParameters `json:"gkeCluster,omitempty" tf:"gke_cluster,omitempty"`
}

func (*EndpointInitParameters) DeepCopy

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

func (*EndpointInitParameters) DeepCopyInto

func (in *EndpointInitParameters) DeepCopyInto(out *EndpointInitParameters)

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

type EndpointObservation

type EndpointObservation 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.
	GkeCluster *GkeClusterObservation `json:"gkeCluster,omitempty" tf:"gke_cluster,omitempty"`
}

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 GkeClusterInitParameters

type GkeClusterInitParameters 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/v1beta2.Cluster
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	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 (*GkeClusterInitParameters) DeepCopy

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

func (*GkeClusterInitParameters) DeepCopyInto

func (in *GkeClusterInitParameters) DeepCopyInto(out *GkeClusterInitParameters)

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

type GkeClusterObservation

type GkeClusterObservation 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.
	ResourceLink *string `json:"resourceLink,omitempty" tf:"resource_link,omitempty"`
}

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/v1beta2.Cluster
	// +crossplane:generate:reference:extractor=github.com/crossplane/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="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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: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) GetInitParameters

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

GetInitParameters of this Membership

func (*Membership) GetManagementPolicies

func (mg *Membership) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Membership.

func (*Membership) GetMergedParameters

func (tr *Membership) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters 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) 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) Hub

func (tr *Membership) Hub()

Hub marks this type as a conversion hub.

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

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) SetManagementPolicies

func (mg *Membership) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies 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) 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 MembershipIAMMember

type MembershipIAMMember struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.member) || (has(self.initProvider) && has(self.initProvider.member))",message="spec.forProvider.member is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.role) || (has(self.initProvider) && has(self.initProvider.role))",message="spec.forProvider.role is a required parameter"
	Spec   MembershipIAMMemberSpec   `json:"spec"`
	Status MembershipIAMMemberStatus `json:"status,omitempty"`
}

MembershipIAMMember is the Schema for the MembershipIAMMembers API. <no value> +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*MembershipIAMMember) DeepCopy

func (in *MembershipIAMMember) DeepCopy() *MembershipIAMMember

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

func (*MembershipIAMMember) DeepCopyInto

func (in *MembershipIAMMember) DeepCopyInto(out *MembershipIAMMember)

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

func (*MembershipIAMMember) DeepCopyObject

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

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

func (*MembershipIAMMember) GetCondition

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

GetCondition of this MembershipIAMMember.

func (*MembershipIAMMember) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this MembershipIAMMember

func (*MembershipIAMMember) GetDeletionPolicy

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

GetDeletionPolicy of this MembershipIAMMember.

func (*MembershipIAMMember) GetID

func (tr *MembershipIAMMember) GetID() string

GetID returns ID of underlying Terraform resource of this MembershipIAMMember

func (*MembershipIAMMember) GetInitParameters

func (tr *MembershipIAMMember) GetInitParameters() (map[string]any, error)

GetInitParameters of this MembershipIAMMember

func (*MembershipIAMMember) GetManagementPolicies

func (mg *MembershipIAMMember) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this MembershipIAMMember.

func (*MembershipIAMMember) GetMergedParameters

func (tr *MembershipIAMMember) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this MembershipIAMMember

func (*MembershipIAMMember) GetObservation

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

GetObservation of this MembershipIAMMember

func (*MembershipIAMMember) GetParameters

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

GetParameters of this MembershipIAMMember

func (*MembershipIAMMember) GetProviderConfigReference

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

GetProviderConfigReference of this MembershipIAMMember.

func (*MembershipIAMMember) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MembershipIAMMember.

func (*MembershipIAMMember) GetTerraformResourceType

func (mg *MembershipIAMMember) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MembershipIAMMember

func (*MembershipIAMMember) GetTerraformSchemaVersion

func (tr *MembershipIAMMember) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MembershipIAMMember) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MembershipIAMMember.

func (*MembershipIAMMember) Hub

func (tr *MembershipIAMMember) Hub()

Hub marks this type as a conversion hub.

func (*MembershipIAMMember) LateInitialize

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

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

func (*MembershipIAMMember) ResolveReferences

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

ResolveReferences of this MembershipIAMMember.

func (*MembershipIAMMember) SetConditions

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

SetConditions of this MembershipIAMMember.

func (*MembershipIAMMember) SetDeletionPolicy

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

SetDeletionPolicy of this MembershipIAMMember.

func (*MembershipIAMMember) SetManagementPolicies

func (mg *MembershipIAMMember) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this MembershipIAMMember.

func (*MembershipIAMMember) SetObservation

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

SetObservation for this MembershipIAMMember

func (*MembershipIAMMember) SetParameters

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

SetParameters for this MembershipIAMMember

func (*MembershipIAMMember) SetProviderConfigReference

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

SetProviderConfigReference of this MembershipIAMMember.

func (*MembershipIAMMember) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MembershipIAMMember.

func (*MembershipIAMMember) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MembershipIAMMember.

type MembershipIAMMemberInitParameters

type MembershipIAMMemberInitParameters struct {
	Condition *ConditionInitParameters `json:"condition,omitempty" tf:"condition,omitempty"`

	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	Member *string `json:"member,omitempty" tf:"member,omitempty"`

	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/gkehub/v1beta2.Membership
	MembershipID *string `json:"membershipId,omitempty" tf:"membership_id,omitempty"`

	// Reference to a Membership in gkehub to populate membershipId.
	// +kubebuilder:validation:Optional
	MembershipIDRef *v1.Reference `json:"membershipIdRef,omitempty" tf:"-"`

	// Selector for a Membership in gkehub to populate membershipId.
	// +kubebuilder:validation:Optional
	MembershipIDSelector *v1.Selector `json:"membershipIdSelector,omitempty" tf:"-"`

	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	Role *string `json:"role,omitempty" tf:"role,omitempty"`
}

func (*MembershipIAMMemberInitParameters) DeepCopy

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

func (*MembershipIAMMemberInitParameters) DeepCopyInto

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

type MembershipIAMMemberList

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

MembershipIAMMemberList contains a list of MembershipIAMMembers

func (*MembershipIAMMemberList) DeepCopy

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

func (*MembershipIAMMemberList) DeepCopyInto

func (in *MembershipIAMMemberList) DeepCopyInto(out *MembershipIAMMemberList)

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

func (*MembershipIAMMemberList) DeepCopyObject

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

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

func (*MembershipIAMMemberList) GetItems

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

GetItems of this MembershipIAMMemberList.

type MembershipIAMMemberObservation

type MembershipIAMMemberObservation struct {
	Condition *ConditionObservation `json:"condition,omitempty" tf:"condition,omitempty"`

	Etag *string `json:"etag,omitempty" tf:"etag,omitempty"`

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

	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	Member *string `json:"member,omitempty" tf:"member,omitempty"`

	MembershipID *string `json:"membershipId,omitempty" tf:"membership_id,omitempty"`

	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	Role *string `json:"role,omitempty" tf:"role,omitempty"`
}

func (*MembershipIAMMemberObservation) DeepCopy

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

func (*MembershipIAMMemberObservation) DeepCopyInto

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

type MembershipIAMMemberParameters

type MembershipIAMMemberParameters struct {

	// +kubebuilder:validation:Optional
	Condition *ConditionParameters `json:"condition,omitempty" tf:"condition,omitempty"`

	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// +kubebuilder:validation:Optional
	Member *string `json:"member,omitempty" tf:"member,omitempty"`

	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/gkehub/v1beta2.Membership
	// +kubebuilder:validation:Optional
	MembershipID *string `json:"membershipId,omitempty" tf:"membership_id,omitempty"`

	// Reference to a Membership in gkehub to populate membershipId.
	// +kubebuilder:validation:Optional
	MembershipIDRef *v1.Reference `json:"membershipIdRef,omitempty" tf:"-"`

	// Selector for a Membership in gkehub to populate membershipId.
	// +kubebuilder:validation:Optional
	MembershipIDSelector *v1.Selector `json:"membershipIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// +kubebuilder:validation:Optional
	Role *string `json:"role,omitempty" tf:"role,omitempty"`
}

func (*MembershipIAMMemberParameters) DeepCopy

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

func (*MembershipIAMMemberParameters) DeepCopyInto

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

type MembershipIAMMemberSpec

type MembershipIAMMemberSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MembershipIAMMemberParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider MembershipIAMMemberInitParameters `json:"initProvider,omitempty"`
}

MembershipIAMMemberSpec defines the desired state of MembershipIAMMember

func (*MembershipIAMMemberSpec) DeepCopy

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

func (*MembershipIAMMemberSpec) DeepCopyInto

func (in *MembershipIAMMemberSpec) DeepCopyInto(out *MembershipIAMMemberSpec)

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

type MembershipIAMMemberStatus

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

MembershipIAMMemberStatus defines the observed state of MembershipIAMMember.

func (*MembershipIAMMemberStatus) DeepCopy

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

func (*MembershipIAMMemberStatus) DeepCopyInto

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

type MembershipInitParameters

type MembershipInitParameters 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.
	Authority *AuthorityInitParameters `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.
	Endpoint *EndpointInitParameters `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// Labels to apply to this membership.
	// +mapType=granular
	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.
	Project *string `json:"project,omitempty" tf:"project,omitempty"`
}

func (*MembershipInitParameters) DeepCopy

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

func (*MembershipInitParameters) DeepCopyInto

func (in *MembershipInitParameters) DeepCopyInto(out *MembershipInitParameters)

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

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 {

	// 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.
	Authority *AuthorityObservation `json:"authority,omitempty" tf:"authority,omitempty"`

	// for all of the labels present on the resource.
	// +mapType=granular
	EffectiveLabels map[string]*string `json:"effectiveLabels,omitempty" tf:"effective_labels,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.
	Endpoint *EndpointObservation `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// an identifier for the resource with format projects/{{project}}/locations/{{location}}/memberships/{{membership_id}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Labels to apply to this membership.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Location of the membership.
	// The default value is global.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

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

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

	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	// +mapType=granular
	TerraformLabels map[string]*string `json:"terraformLabels,omitempty" tf:"terraform_labels,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
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Location of the membership.
	// The default value is global.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider MembershipInitParameters `json:"initProvider,omitempty"`
}

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