v1beta2

package
v1.10.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "sourcerepo.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 (
	RepositoryIAMMember_Kind             = "RepositoryIAMMember"
	RepositoryIAMMember_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RepositoryIAMMember_Kind}.String()
	RepositoryIAMMember_KindAPIVersion   = RepositoryIAMMember_Kind + "." + CRDGroupVersion.String()
	RepositoryIAMMember_GroupVersionKind = CRDGroupVersion.WithKind(RepositoryIAMMember_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

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 RepositoryIAMMember

type RepositoryIAMMember 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   RepositoryIAMMemberSpec   `json:"spec"`
	Status RepositoryIAMMemberStatus `json:"status,omitempty"`
}

RepositoryIAMMember is the Schema for the RepositoryIAMMembers 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 (*RepositoryIAMMember) DeepCopy

func (in *RepositoryIAMMember) DeepCopy() *RepositoryIAMMember

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

func (*RepositoryIAMMember) DeepCopyInto

func (in *RepositoryIAMMember) DeepCopyInto(out *RepositoryIAMMember)

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

func (*RepositoryIAMMember) DeepCopyObject

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

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

func (*RepositoryIAMMember) GetCondition

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

GetCondition of this RepositoryIAMMember.

func (*RepositoryIAMMember) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RepositoryIAMMember

func (*RepositoryIAMMember) GetDeletionPolicy

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

GetDeletionPolicy of this RepositoryIAMMember.

func (*RepositoryIAMMember) GetID

func (tr *RepositoryIAMMember) GetID() string

GetID returns ID of underlying Terraform resource of this RepositoryIAMMember

func (*RepositoryIAMMember) GetInitParameters

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

GetInitParameters of this RepositoryIAMMember

func (*RepositoryIAMMember) GetManagementPolicies

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

GetManagementPolicies of this RepositoryIAMMember.

func (*RepositoryIAMMember) GetMergedParameters

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

GetInitParameters of this RepositoryIAMMember

func (*RepositoryIAMMember) GetObservation

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

GetObservation of this RepositoryIAMMember

func (*RepositoryIAMMember) GetParameters

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

GetParameters of this RepositoryIAMMember

func (*RepositoryIAMMember) GetProviderConfigReference

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

GetProviderConfigReference of this RepositoryIAMMember.

func (*RepositoryIAMMember) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RepositoryIAMMember.

func (*RepositoryIAMMember) GetTerraformResourceType

func (mg *RepositoryIAMMember) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RepositoryIAMMember

func (*RepositoryIAMMember) GetTerraformSchemaVersion

func (tr *RepositoryIAMMember) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RepositoryIAMMember) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RepositoryIAMMember.

func (*RepositoryIAMMember) Hub

func (tr *RepositoryIAMMember) Hub()

Hub marks this type as a conversion hub.

func (*RepositoryIAMMember) LateInitialize

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

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

func (*RepositoryIAMMember) ResolveReferences

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

func (*RepositoryIAMMember) SetConditions

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

SetConditions of this RepositoryIAMMember.

func (*RepositoryIAMMember) SetDeletionPolicy

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

SetDeletionPolicy of this RepositoryIAMMember.

func (*RepositoryIAMMember) SetManagementPolicies

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

SetManagementPolicies of this RepositoryIAMMember.

func (*RepositoryIAMMember) SetObservation

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

SetObservation for this RepositoryIAMMember

func (*RepositoryIAMMember) SetParameters

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

SetParameters for this RepositoryIAMMember

func (*RepositoryIAMMember) SetProviderConfigReference

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

SetProviderConfigReference of this RepositoryIAMMember.

func (*RepositoryIAMMember) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RepositoryIAMMember.

func (*RepositoryIAMMember) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RepositoryIAMMember.

type RepositoryIAMMemberInitParameters

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

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

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

	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/sourcerepo/v1beta1.Repository
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// Reference to a Repository in sourcerepo to populate repository.
	// +kubebuilder:validation:Optional
	RepositoryRef *v1.Reference `json:"repositoryRef,omitempty" tf:"-"`

	// Selector for a Repository in sourcerepo to populate repository.
	// +kubebuilder:validation:Optional
	RepositorySelector *v1.Selector `json:"repositorySelector,omitempty" tf:"-"`

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

func (*RepositoryIAMMemberInitParameters) DeepCopy

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

func (*RepositoryIAMMemberInitParameters) DeepCopyInto

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

type RepositoryIAMMemberList

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

RepositoryIAMMemberList contains a list of RepositoryIAMMembers

func (*RepositoryIAMMemberList) DeepCopy

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

func (*RepositoryIAMMemberList) DeepCopyInto

func (in *RepositoryIAMMemberList) DeepCopyInto(out *RepositoryIAMMemberList)

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

func (*RepositoryIAMMemberList) DeepCopyObject

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

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

func (*RepositoryIAMMemberList) GetItems

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

GetItems of this RepositoryIAMMemberList.

type RepositoryIAMMemberObservation

type RepositoryIAMMemberObservation 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"`

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

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

	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

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

func (*RepositoryIAMMemberObservation) DeepCopy

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

func (*RepositoryIAMMemberObservation) DeepCopyInto

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

type RepositoryIAMMemberParameters

type RepositoryIAMMemberParameters struct {

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

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

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

	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/sourcerepo/v1beta1.Repository
	// +kubebuilder:validation:Optional
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// Reference to a Repository in sourcerepo to populate repository.
	// +kubebuilder:validation:Optional
	RepositoryRef *v1.Reference `json:"repositoryRef,omitempty" tf:"-"`

	// Selector for a Repository in sourcerepo to populate repository.
	// +kubebuilder:validation:Optional
	RepositorySelector *v1.Selector `json:"repositorySelector,omitempty" tf:"-"`

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

func (*RepositoryIAMMemberParameters) DeepCopy

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

func (*RepositoryIAMMemberParameters) DeepCopyInto

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

type RepositoryIAMMemberSpec

type RepositoryIAMMemberSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RepositoryIAMMemberParameters `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 RepositoryIAMMemberInitParameters `json:"initProvider,omitempty"`
}

RepositoryIAMMemberSpec defines the desired state of RepositoryIAMMember

func (*RepositoryIAMMemberSpec) DeepCopy

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

func (*RepositoryIAMMemberSpec) DeepCopyInto

func (in *RepositoryIAMMemberSpec) DeepCopyInto(out *RepositoryIAMMemberSpec)

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

type RepositoryIAMMemberStatus

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

RepositoryIAMMemberStatus defines the observed state of RepositoryIAMMember.

func (*RepositoryIAMMemberStatus) DeepCopy

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

func (*RepositoryIAMMemberStatus) DeepCopyInto

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