v1alpha1

package
v0.0.0-...-73c97c3 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=cloudprojectcontainerregistryoidc.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "cloudprojectcontainerregistryoidc.crossplane.io"
	CRDVersion = "v1alpha1"
)

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 (
	ProjectContainerregistryOidc_Kind             = "ProjectContainerregistryOidc"
	ProjectContainerregistryOidc_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ProjectContainerregistryOidc_Kind}.String()
	ProjectContainerregistryOidc_KindAPIVersion   = ProjectContainerregistryOidc_Kind + "." + CRDGroupVersion.String()
	ProjectContainerregistryOidc_GroupVersionKind = CRDGroupVersion.WithKind(ProjectContainerregistryOidc_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ProjectContainerregistryOidc

type ProjectContainerregistryOidc 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.oidcClientId) || (has(self.initProvider) && has(self.initProvider.oidcClientId))",message="spec.forProvider.oidcClientId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.oidcClientSecretSecretRef)",message="spec.forProvider.oidcClientSecretSecretRef is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.oidcEndpoint) || (has(self.initProvider) && has(self.initProvider.oidcEndpoint))",message="spec.forProvider.oidcEndpoint is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.oidcName) || (has(self.initProvider) && has(self.initProvider.oidcName))",message="spec.forProvider.oidcName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.oidcScope) || (has(self.initProvider) && has(self.initProvider.oidcScope))",message="spec.forProvider.oidcScope is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceName) || (has(self.initProvider) && has(self.initProvider.serviceName))",message="spec.forProvider.serviceName is a required parameter"
	Spec   ProjectContainerregistryOidcSpec   `json:"spec"`
	Status ProjectContainerregistryOidcStatus `json:"status,omitempty"`
}

ProjectContainerregistryOidc is the Schema for the ProjectContainerregistryOidcs API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,ovh}

func (*ProjectContainerregistryOidc) DeepCopy

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

func (*ProjectContainerregistryOidc) DeepCopyInto

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

func (*ProjectContainerregistryOidc) DeepCopyObject

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

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

func (*ProjectContainerregistryOidc) GetCondition

GetCondition of this ProjectContainerregistryOidc.

func (*ProjectContainerregistryOidc) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ProjectContainerregistryOidc

func (*ProjectContainerregistryOidc) GetDeletionPolicy

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

GetDeletionPolicy of this ProjectContainerregistryOidc.

func (*ProjectContainerregistryOidc) GetID

GetID returns ID of underlying Terraform resource of this ProjectContainerregistryOidc

func (*ProjectContainerregistryOidc) GetInitParameters

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

GetInitParameters of this ProjectContainerregistryOidc

func (*ProjectContainerregistryOidc) GetManagementPolicies

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

GetManagementPolicies of this ProjectContainerregistryOidc.

func (*ProjectContainerregistryOidc) GetObservation

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

GetObservation of this ProjectContainerregistryOidc

func (*ProjectContainerregistryOidc) GetParameters

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

GetParameters of this ProjectContainerregistryOidc

func (*ProjectContainerregistryOidc) GetProviderConfigReference

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

GetProviderConfigReference of this ProjectContainerregistryOidc.

func (*ProjectContainerregistryOidc) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ProjectContainerregistryOidc.

func (*ProjectContainerregistryOidc) GetTerraformResourceType

func (mg *ProjectContainerregistryOidc) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ProjectContainerregistryOidc

func (*ProjectContainerregistryOidc) GetTerraformSchemaVersion

func (tr *ProjectContainerregistryOidc) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ProjectContainerregistryOidc) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ProjectContainerregistryOidc.

func (*ProjectContainerregistryOidc) LateInitialize

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

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

func (*ProjectContainerregistryOidc) SetConditions

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

SetConditions of this ProjectContainerregistryOidc.

func (*ProjectContainerregistryOidc) SetDeletionPolicy

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

SetDeletionPolicy of this ProjectContainerregistryOidc.

func (*ProjectContainerregistryOidc) SetManagementPolicies

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

SetManagementPolicies of this ProjectContainerregistryOidc.

func (*ProjectContainerregistryOidc) SetObservation

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

SetObservation for this ProjectContainerregistryOidc

func (*ProjectContainerregistryOidc) SetParameters

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

SetParameters for this ProjectContainerregistryOidc

func (*ProjectContainerregistryOidc) SetProviderConfigReference

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

SetProviderConfigReference of this ProjectContainerregistryOidc.

func (*ProjectContainerregistryOidc) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ProjectContainerregistryOidc.

func (*ProjectContainerregistryOidc) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ProjectContainerregistryOidc.

type ProjectContainerregistryOidcInitParameters

type ProjectContainerregistryOidcInitParameters struct {
	DeleteUsers *bool `json:"deleteUsers,omitempty" tf:"delete_users,omitempty"`

	OidcAdminGroup *string `json:"oidcAdminGroup,omitempty" tf:"oidc_admin_group,omitempty"`

	OidcAutoOnboard *bool `json:"oidcAutoOnboard,omitempty" tf:"oidc_auto_onboard,omitempty"`

	OidcClientID *string `json:"oidcClientId,omitempty" tf:"oidc_client_id,omitempty"`

	OidcEndpoint *string `json:"oidcEndpoint,omitempty" tf:"oidc_endpoint,omitempty"`

	OidcGroupsClaim *string `json:"oidcGroupsClaim,omitempty" tf:"oidc_groups_claim,omitempty"`

	OidcName *string `json:"oidcName,omitempty" tf:"oidc_name,omitempty"`

	OidcScope *string `json:"oidcScope,omitempty" tf:"oidc_scope,omitempty"`

	OidcUserClaim *string `json:"oidcUserClaim,omitempty" tf:"oidc_user_claim,omitempty"`

	OidcVerifyCert *bool `json:"oidcVerifyCert,omitempty" tf:"oidc_verify_cert,omitempty"`

	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`
}

func (*ProjectContainerregistryOidcInitParameters) DeepCopy

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

func (*ProjectContainerregistryOidcInitParameters) DeepCopyInto

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

type ProjectContainerregistryOidcList

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

ProjectContainerregistryOidcList contains a list of ProjectContainerregistryOidcs

func (*ProjectContainerregistryOidcList) DeepCopy

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

func (*ProjectContainerregistryOidcList) DeepCopyInto

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

func (*ProjectContainerregistryOidcList) DeepCopyObject

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

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

func (*ProjectContainerregistryOidcList) GetItems

GetItems of this ProjectContainerregistryOidcList.

type ProjectContainerregistryOidcObservation

type ProjectContainerregistryOidcObservation struct {
	DeleteUsers *bool `json:"deleteUsers,omitempty" tf:"delete_users,omitempty"`

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

	OidcAdminGroup *string `json:"oidcAdminGroup,omitempty" tf:"oidc_admin_group,omitempty"`

	OidcAutoOnboard *bool `json:"oidcAutoOnboard,omitempty" tf:"oidc_auto_onboard,omitempty"`

	OidcClientID *string `json:"oidcClientId,omitempty" tf:"oidc_client_id,omitempty"`

	OidcEndpoint *string `json:"oidcEndpoint,omitempty" tf:"oidc_endpoint,omitempty"`

	OidcGroupsClaim *string `json:"oidcGroupsClaim,omitempty" tf:"oidc_groups_claim,omitempty"`

	OidcName *string `json:"oidcName,omitempty" tf:"oidc_name,omitempty"`

	OidcScope *string `json:"oidcScope,omitempty" tf:"oidc_scope,omitempty"`

	OidcUserClaim *string `json:"oidcUserClaim,omitempty" tf:"oidc_user_claim,omitempty"`

	OidcVerifyCert *bool `json:"oidcVerifyCert,omitempty" tf:"oidc_verify_cert,omitempty"`

	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`
}

func (*ProjectContainerregistryOidcObservation) DeepCopy

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

func (*ProjectContainerregistryOidcObservation) DeepCopyInto

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

type ProjectContainerregistryOidcParameters

type ProjectContainerregistryOidcParameters struct {

	// +kubebuilder:validation:Optional
	DeleteUsers *bool `json:"deleteUsers,omitempty" tf:"delete_users,omitempty"`

	// +kubebuilder:validation:Optional
	OidcAdminGroup *string `json:"oidcAdminGroup,omitempty" tf:"oidc_admin_group,omitempty"`

	// +kubebuilder:validation:Optional
	OidcAutoOnboard *bool `json:"oidcAutoOnboard,omitempty" tf:"oidc_auto_onboard,omitempty"`

	// +kubebuilder:validation:Optional
	OidcClientID *string `json:"oidcClientId,omitempty" tf:"oidc_client_id,omitempty"`

	// +kubebuilder:validation:Optional
	OidcClientSecretSecretRef v1.SecretKeySelector `json:"oidcClientSecretSecretRef" tf:"-"`

	// +kubebuilder:validation:Optional
	OidcEndpoint *string `json:"oidcEndpoint,omitempty" tf:"oidc_endpoint,omitempty"`

	// +kubebuilder:validation:Optional
	OidcGroupsClaim *string `json:"oidcGroupsClaim,omitempty" tf:"oidc_groups_claim,omitempty"`

	// +kubebuilder:validation:Optional
	OidcName *string `json:"oidcName,omitempty" tf:"oidc_name,omitempty"`

	// +kubebuilder:validation:Optional
	OidcScope *string `json:"oidcScope,omitempty" tf:"oidc_scope,omitempty"`

	// +kubebuilder:validation:Optional
	OidcUserClaim *string `json:"oidcUserClaim,omitempty" tf:"oidc_user_claim,omitempty"`

	// +kubebuilder:validation:Optional
	OidcVerifyCert *bool `json:"oidcVerifyCert,omitempty" tf:"oidc_verify_cert,omitempty"`

	// +kubebuilder:validation:Optional
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`
}

func (*ProjectContainerregistryOidcParameters) DeepCopy

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

func (*ProjectContainerregistryOidcParameters) DeepCopyInto

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

type ProjectContainerregistryOidcSpec

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

ProjectContainerregistryOidcSpec defines the desired state of ProjectContainerregistryOidc

func (*ProjectContainerregistryOidcSpec) DeepCopy

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

func (*ProjectContainerregistryOidcSpec) DeepCopyInto

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

type ProjectContainerregistryOidcStatus

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

ProjectContainerregistryOidcStatus defines the observed state of ProjectContainerregistryOidc.

func (*ProjectContainerregistryOidcStatus) DeepCopy

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

func (*ProjectContainerregistryOidcStatus) 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