v1beta1

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: Apache-2.0 Imports: 16 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.

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 added in v0.35.0

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 added in v0.35.0

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

func (*AuthorityInitParameters) DeepCopyInto added in v0.35.0

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 added in v0.35.0

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 added in v0.35.0

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

func (*ConditionInitParameters) DeepCopyInto added in v0.35.0

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 added in v0.28.0

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 added in v0.28.0

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

func (*ConditionObservation) DeepCopyInto added in v0.28.0

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 added in v0.28.0

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 added in v0.28.0

func (in *ConditionParameters) DeepCopy() *ConditionParameters

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

func (*ConditionParameters) DeepCopyInto added in v0.28.0

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 added in v0.35.0

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 added in v0.35.0

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

func (*EndpointInitParameters) DeepCopyInto added in v0.35.0

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 added in v0.35.0

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/v1beta1.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 added in v0.35.0

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

func (*GkeClusterInitParameters) DeepCopyInto added in v0.35.0

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/v1beta1.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) ConvertFrom added in v1.2.0

func (tr *Membership) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the hub type to the Membership type.

func (*Membership) ConvertTo added in v1.2.0

func (tr *Membership) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this Membership to the hub type.

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 added in v0.35.0

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

GetInitParameters of this Membership

func (*Membership) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this Membership.

func (*Membership) GetMergedParameters added in v0.40.0

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) 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 added in v0.35.0

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 added in v0.28.0

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) ConvertFrom added in v1.2.0

func (tr *MembershipIAMMember) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the hub type to the MembershipIAMMember type.

func (*MembershipIAMMember) ConvertTo added in v1.2.0

func (tr *MembershipIAMMember) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this MembershipIAMMember to the hub type.

func (*MembershipIAMMember) DeepCopy added in v0.28.0

func (in *MembershipIAMMember) DeepCopy() *MembershipIAMMember

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

func (*MembershipIAMMember) DeepCopyInto added in v0.28.0

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 added in v0.28.0

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

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

func (*MembershipIAMMember) GetCondition added in v0.28.0

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

GetCondition of this MembershipIAMMember.

func (*MembershipIAMMember) GetConnectionDetailsMapping added in v0.28.0

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

GetConnectionDetailsMapping for this MembershipIAMMember

func (*MembershipIAMMember) GetDeletionPolicy added in v0.28.0

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

GetDeletionPolicy of this MembershipIAMMember.

func (*MembershipIAMMember) GetID added in v0.28.0

func (tr *MembershipIAMMember) GetID() string

GetID returns ID of underlying Terraform resource of this MembershipIAMMember

func (*MembershipIAMMember) GetInitParameters added in v0.35.0

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

GetInitParameters of this MembershipIAMMember

func (*MembershipIAMMember) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this MembershipIAMMember.

func (*MembershipIAMMember) GetMergedParameters added in v0.40.0

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

GetInitParameters of this MembershipIAMMember

func (*MembershipIAMMember) GetObservation added in v0.28.0

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

GetObservation of this MembershipIAMMember

func (*MembershipIAMMember) GetParameters added in v0.28.0

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

GetParameters of this MembershipIAMMember

func (*MembershipIAMMember) GetProviderConfigReference added in v0.28.0

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

GetProviderConfigReference of this MembershipIAMMember.

func (*MembershipIAMMember) GetPublishConnectionDetailsTo added in v0.28.0

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

GetPublishConnectionDetailsTo of this MembershipIAMMember.

func (*MembershipIAMMember) GetTerraformResourceType added in v0.28.0

func (mg *MembershipIAMMember) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MembershipIAMMember

func (*MembershipIAMMember) GetTerraformSchemaVersion added in v0.28.0

func (tr *MembershipIAMMember) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MembershipIAMMember) GetWriteConnectionSecretToReference added in v0.28.0

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

GetWriteConnectionSecretToReference of this MembershipIAMMember.

func (*MembershipIAMMember) LateInitialize added in v0.28.0

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 added in v0.28.0

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

ResolveReferences of this MembershipIAMMember.

func (*MembershipIAMMember) SetConditions added in v0.28.0

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

SetConditions of this MembershipIAMMember.

func (*MembershipIAMMember) SetDeletionPolicy added in v0.28.0

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

SetDeletionPolicy of this MembershipIAMMember.

func (*MembershipIAMMember) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this MembershipIAMMember.

func (*MembershipIAMMember) SetObservation added in v0.28.0

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

SetObservation for this MembershipIAMMember

func (*MembershipIAMMember) SetParameters added in v0.28.0

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

SetParameters for this MembershipIAMMember

func (*MembershipIAMMember) SetProviderConfigReference added in v0.28.0

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

SetProviderConfigReference of this MembershipIAMMember.

func (*MembershipIAMMember) SetPublishConnectionDetailsTo added in v0.28.0

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

SetPublishConnectionDetailsTo of this MembershipIAMMember.

func (*MembershipIAMMember) SetWriteConnectionSecretToReference added in v0.28.0

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

SetWriteConnectionSecretToReference of this MembershipIAMMember.

type MembershipIAMMemberInitParameters added in v0.35.0

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/v1beta1.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 added in v0.35.0

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

func (*MembershipIAMMemberInitParameters) DeepCopyInto added in v0.35.0

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

type MembershipIAMMemberList added in v0.28.0

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 added in v0.28.0

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

func (*MembershipIAMMemberList) DeepCopyInto added in v0.28.0

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 added in v0.28.0

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

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

func (*MembershipIAMMemberList) GetItems added in v0.28.0

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

GetItems of this MembershipIAMMemberList.

type MembershipIAMMemberObservation added in v0.28.0

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 added in v0.28.0

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

func (*MembershipIAMMemberObservation) DeepCopyInto added in v0.28.0

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

type MembershipIAMMemberParameters added in v0.28.0

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/v1beta1.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 added in v0.28.0

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

func (*MembershipIAMMemberParameters) DeepCopyInto added in v0.28.0

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

type MembershipIAMMemberSpec added in v0.28.0

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 added in v0.28.0

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

func (*MembershipIAMMemberSpec) DeepCopyInto added in v0.28.0

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 added in v0.28.0

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

MembershipIAMMemberStatus defines the observed state of MembershipIAMMember.

func (*MembershipIAMMemberStatus) DeepCopy added in v0.28.0

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

func (*MembershipIAMMemberStatus) DeepCopyInto added in v0.28.0

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

type MembershipInitParameters added in v0.35.0

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 added in v0.35.0

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

func (*MembershipInitParameters) DeepCopyInto added in v0.35.0

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