v1alpha1

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=container.yandex-cloud.upjet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "container.yandex-cloud.upjet.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 (
	Registry_Kind             = "Registry"
	Registry_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Registry_Kind}.String()
	Registry_KindAPIVersion   = Registry_Kind + "." + CRDGroupVersion.String()
	Registry_GroupVersionKind = CRDGroupVersion.WithKind(Registry_Kind)
)

Repository type metadata.

View Source
var (
	RegistryIAMBinding_Kind             = "RegistryIAMBinding"
	RegistryIAMBinding_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RegistryIAMBinding_Kind}.String()
	RegistryIAMBinding_KindAPIVersion   = RegistryIAMBinding_Kind + "." + CRDGroupVersion.String()
	RegistryIAMBinding_GroupVersionKind = CRDGroupVersion.WithKind(RegistryIAMBinding_Kind)
)

Repository type metadata.

View Source
var (
	RegistryIPPermission_Kind             = "RegistryIPPermission"
	RegistryIPPermission_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RegistryIPPermission_Kind}.String()
	RegistryIPPermission_KindAPIVersion   = RegistryIPPermission_Kind + "." + CRDGroupVersion.String()
	RegistryIPPermission_GroupVersionKind = CRDGroupVersion.WithKind(RegistryIPPermission_Kind)
)

Repository type metadata.

View Source
var (
	Repository_Kind             = "Repository"
	Repository_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Repository_Kind}.String()
	Repository_KindAPIVersion   = Repository_Kind + "." + CRDGroupVersion.String()
	Repository_GroupVersionKind = CRDGroupVersion.WithKind(Repository_Kind)
)

Repository type metadata.

View Source
var (
	RepositoryIAMBinding_Kind             = "RepositoryIAMBinding"
	RepositoryIAMBinding_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RepositoryIAMBinding_Kind}.String()
	RepositoryIAMBinding_KindAPIVersion   = RepositoryIAMBinding_Kind + "." + CRDGroupVersion.String()
	RepositoryIAMBinding_GroupVersionKind = CRDGroupVersion.WithKind(RepositoryIAMBinding_Kind)
)

Repository type metadata.

View Source
var (
	RepositoryLifecyclePolicy_Kind             = "RepositoryLifecyclePolicy"
	RepositoryLifecyclePolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RepositoryLifecyclePolicy_Kind}.String()
	RepositoryLifecyclePolicy_KindAPIVersion   = RepositoryLifecyclePolicy_Kind + "." + CRDGroupVersion.String()
	RepositoryLifecyclePolicy_GroupVersionKind = CRDGroupVersion.WithKind(RepositoryLifecyclePolicy_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Registry

type Registry struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RegistrySpec   `json:"spec"`
	Status            RegistryStatus `json:"status,omitempty"`
}

Registry is the Schema for the Registrys API. Creates a new container registry. +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,yandex-cloud}

func (*Registry) DeepCopy

func (in *Registry) DeepCopy() *Registry

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

func (*Registry) DeepCopyInto

func (in *Registry) DeepCopyInto(out *Registry)

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

func (*Registry) DeepCopyObject

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

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

func (*Registry) GetCondition

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

GetCondition of this Registry.

func (*Registry) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Registry

func (*Registry) GetDeletionPolicy

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

GetDeletionPolicy of this Registry.

func (*Registry) GetID

func (tr *Registry) GetID() string

GetID returns ID of underlying Terraform resource of this Registry

func (*Registry) GetInitParameters

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

GetInitParameters of this Registry

func (*Registry) GetManagementPolicies

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

GetManagementPolicies of this Registry.

func (*Registry) GetMergedParameters added in v0.1.3

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

GetInitParameters of this Registry

func (*Registry) GetObservation

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

GetObservation of this Registry

func (*Registry) GetParameters

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

GetParameters of this Registry

func (*Registry) GetProviderConfigReference

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

GetProviderConfigReference of this Registry.

func (*Registry) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Registry.

func (*Registry) GetTerraformResourceType

func (mg *Registry) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Registry

func (*Registry) GetTerraformSchemaVersion

func (tr *Registry) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Registry) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Registry.

func (*Registry) Hub added in v0.2.0

func (tr *Registry) Hub()

Hub marks this type as a conversion hub.

func (*Registry) LateInitialize

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

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

func (*Registry) ResolveReferences

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

ResolveReferences of this Registry.

func (*Registry) SetConditions

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

SetConditions of this Registry.

func (*Registry) SetDeletionPolicy

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

SetDeletionPolicy of this Registry.

func (*Registry) SetManagementPolicies

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

SetManagementPolicies of this Registry.

func (*Registry) SetObservation

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

SetObservation for this Registry

func (*Registry) SetParameters

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

SetParameters for this Registry

func (*Registry) SetProviderConfigReference

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

SetProviderConfigReference of this Registry.

func (*Registry) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Registry.

func (*Registry) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Registry.

type RegistryIAMBinding

type RegistryIAMBinding 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.role) || (has(self.initProvider) && has(self.initProvider.role))",message="spec.forProvider.role is a required parameter"
	Spec   RegistryIAMBindingSpec   `json:"spec"`
	Status RegistryIAMBindingStatus `json:"status,omitempty"`
}

RegistryIAMBinding is the Schema for the RegistryIAMBindings API. Allows management of a single IAM binding for a +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,yandex-cloud}

func (*RegistryIAMBinding) DeepCopy

func (in *RegistryIAMBinding) DeepCopy() *RegistryIAMBinding

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

func (*RegistryIAMBinding) DeepCopyInto

func (in *RegistryIAMBinding) DeepCopyInto(out *RegistryIAMBinding)

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

func (*RegistryIAMBinding) DeepCopyObject

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

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

func (*RegistryIAMBinding) GetCondition

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

GetCondition of this RegistryIAMBinding.

func (*RegistryIAMBinding) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RegistryIAMBinding

func (*RegistryIAMBinding) GetDeletionPolicy

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

GetDeletionPolicy of this RegistryIAMBinding.

func (*RegistryIAMBinding) GetID

func (tr *RegistryIAMBinding) GetID() string

GetID returns ID of underlying Terraform resource of this RegistryIAMBinding

func (*RegistryIAMBinding) GetInitParameters

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

GetInitParameters of this RegistryIAMBinding

func (*RegistryIAMBinding) GetManagementPolicies

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

GetManagementPolicies of this RegistryIAMBinding.

func (*RegistryIAMBinding) GetMergedParameters added in v0.1.3

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

GetInitParameters of this RegistryIAMBinding

func (*RegistryIAMBinding) GetObservation

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

GetObservation of this RegistryIAMBinding

func (*RegistryIAMBinding) GetParameters

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

GetParameters of this RegistryIAMBinding

func (*RegistryIAMBinding) GetProviderConfigReference

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

GetProviderConfigReference of this RegistryIAMBinding.

func (*RegistryIAMBinding) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RegistryIAMBinding.

func (*RegistryIAMBinding) GetTerraformResourceType

func (mg *RegistryIAMBinding) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RegistryIAMBinding

func (*RegistryIAMBinding) GetTerraformSchemaVersion

func (tr *RegistryIAMBinding) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RegistryIAMBinding) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RegistryIAMBinding.

func (*RegistryIAMBinding) Hub added in v0.2.0

func (tr *RegistryIAMBinding) Hub()

Hub marks this type as a conversion hub.

func (*RegistryIAMBinding) LateInitialize

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

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

func (*RegistryIAMBinding) ResolveReferences

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

ResolveReferences of this RegistryIAMBinding.

func (*RegistryIAMBinding) SetConditions

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

SetConditions of this RegistryIAMBinding.

func (*RegistryIAMBinding) SetDeletionPolicy

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

SetDeletionPolicy of this RegistryIAMBinding.

func (*RegistryIAMBinding) SetManagementPolicies

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

SetManagementPolicies of this RegistryIAMBinding.

func (*RegistryIAMBinding) SetObservation

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

SetObservation for this RegistryIAMBinding

func (*RegistryIAMBinding) SetParameters

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

SetParameters for this RegistryIAMBinding

func (*RegistryIAMBinding) SetProviderConfigReference

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

SetProviderConfigReference of this RegistryIAMBinding.

func (*RegistryIAMBinding) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RegistryIAMBinding.

func (*RegistryIAMBinding) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RegistryIAMBinding.

type RegistryIAMBindingInitParameters

type RegistryIAMBindingInitParameters struct {

	// Identities that will be granted the privilege in role.
	// Each entry can have one of the following values:
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/iam/v1alpha1.ServiceAccount
	// +crossplane:generate:reference:extractor=github.com/tagesjump/provider-upjet-yc/config/iam.ServiceAccountRefValue()
	// +crossplane:generate:reference:refFieldName=ServiceAccountRef
	// +crossplane:generate:reference:selectorFieldName=ServiceAccountSelector
	// +listType=set
	Members []*string `json:"members,omitempty" tf:"members,omitempty"`

	// The Yandex Container Registry ID to apply a binding to.
	// +crossplane:generate:reference:type=Registry
	RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"`

	// Reference to a Registry to populate registryId.
	// +kubebuilder:validation:Optional
	RegistryIDRef *v1.Reference `json:"registryIdRef,omitempty" tf:"-"`

	// Selector for a Registry to populate registryId.
	// +kubebuilder:validation:Optional
	RegistryIDSelector *v1.Selector `json:"registryIdSelector,omitempty" tf:"-"`

	// The role that should be applied. See roles.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// References to ServiceAccount in iam to populate members.
	// +kubebuilder:validation:Optional
	ServiceAccountRef []v1.Reference `json:"serviceAccountRef,omitempty" tf:"-"`

	// Selector for a list of ServiceAccount in iam to populate members.
	// +kubebuilder:validation:Optional
	ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"`

	SleepAfter *float64 `json:"sleepAfter,omitempty" tf:"sleep_after,omitempty"`
}

func (*RegistryIAMBindingInitParameters) DeepCopy

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

func (*RegistryIAMBindingInitParameters) DeepCopyInto

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

type RegistryIAMBindingList

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

RegistryIAMBindingList contains a list of RegistryIAMBindings

func (*RegistryIAMBindingList) DeepCopy

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

func (*RegistryIAMBindingList) DeepCopyInto

func (in *RegistryIAMBindingList) DeepCopyInto(out *RegistryIAMBindingList)

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

func (*RegistryIAMBindingList) DeepCopyObject

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

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

func (*RegistryIAMBindingList) GetItems

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

GetItems of this RegistryIAMBindingList.

type RegistryIAMBindingObservation

type RegistryIAMBindingObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Identities that will be granted the privilege in role.
	// Each entry can have one of the following values:
	// +listType=set
	Members []*string `json:"members,omitempty" tf:"members,omitempty"`

	// The Yandex Container Registry ID to apply a binding to.
	RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"`

	// The role that should be applied. See roles.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	SleepAfter *float64 `json:"sleepAfter,omitempty" tf:"sleep_after,omitempty"`
}

func (*RegistryIAMBindingObservation) DeepCopy

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

func (*RegistryIAMBindingObservation) DeepCopyInto

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

type RegistryIAMBindingParameters

type RegistryIAMBindingParameters struct {

	// Identities that will be granted the privilege in role.
	// Each entry can have one of the following values:
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/iam/v1alpha1.ServiceAccount
	// +crossplane:generate:reference:extractor=github.com/tagesjump/provider-upjet-yc/config/iam.ServiceAccountRefValue()
	// +crossplane:generate:reference:refFieldName=ServiceAccountRef
	// +crossplane:generate:reference:selectorFieldName=ServiceAccountSelector
	// +kubebuilder:validation:Optional
	// +listType=set
	Members []*string `json:"members,omitempty" tf:"members,omitempty"`

	// The Yandex Container Registry ID to apply a binding to.
	// +crossplane:generate:reference:type=Registry
	// +kubebuilder:validation:Optional
	RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"`

	// Reference to a Registry to populate registryId.
	// +kubebuilder:validation:Optional
	RegistryIDRef *v1.Reference `json:"registryIdRef,omitempty" tf:"-"`

	// Selector for a Registry to populate registryId.
	// +kubebuilder:validation:Optional
	RegistryIDSelector *v1.Selector `json:"registryIdSelector,omitempty" tf:"-"`

	// The role that should be applied. See roles.
	// +kubebuilder:validation:Optional
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// References to ServiceAccount in iam to populate members.
	// +kubebuilder:validation:Optional
	ServiceAccountRef []v1.Reference `json:"serviceAccountRef,omitempty" tf:"-"`

	// Selector for a list of ServiceAccount in iam to populate members.
	// +kubebuilder:validation:Optional
	ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SleepAfter *float64 `json:"sleepAfter,omitempty" tf:"sleep_after,omitempty"`
}

func (*RegistryIAMBindingParameters) DeepCopy

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

func (*RegistryIAMBindingParameters) DeepCopyInto

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

type RegistryIAMBindingSpec

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

RegistryIAMBindingSpec defines the desired state of RegistryIAMBinding

func (*RegistryIAMBindingSpec) DeepCopy

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

func (*RegistryIAMBindingSpec) DeepCopyInto

func (in *RegistryIAMBindingSpec) DeepCopyInto(out *RegistryIAMBindingSpec)

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

type RegistryIAMBindingStatus

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

RegistryIAMBindingStatus defines the observed state of RegistryIAMBinding.

func (*RegistryIAMBindingStatus) DeepCopy

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

func (*RegistryIAMBindingStatus) DeepCopyInto

func (in *RegistryIAMBindingStatus) DeepCopyInto(out *RegistryIAMBindingStatus)

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

type RegistryIPPermission

type RegistryIPPermission struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RegistryIPPermissionSpec   `json:"spec"`
	Status            RegistryIPPermissionStatus `json:"status,omitempty"`
}

RegistryIPPermission is the Schema for the RegistryIPPermissions API. Creates a new Container Registry IP Permission. +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,yandex-cloud}

func (*RegistryIPPermission) DeepCopy

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

func (*RegistryIPPermission) DeepCopyInto

func (in *RegistryIPPermission) DeepCopyInto(out *RegistryIPPermission)

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

func (*RegistryIPPermission) DeepCopyObject

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

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

func (*RegistryIPPermission) GetCondition

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

GetCondition of this RegistryIPPermission.

func (*RegistryIPPermission) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RegistryIPPermission

func (*RegistryIPPermission) GetDeletionPolicy

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

GetDeletionPolicy of this RegistryIPPermission.

func (*RegistryIPPermission) GetID

func (tr *RegistryIPPermission) GetID() string

GetID returns ID of underlying Terraform resource of this RegistryIPPermission

func (*RegistryIPPermission) GetInitParameters

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

GetInitParameters of this RegistryIPPermission

func (*RegistryIPPermission) GetManagementPolicies

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

GetManagementPolicies of this RegistryIPPermission.

func (*RegistryIPPermission) GetMergedParameters added in v0.1.3

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

GetInitParameters of this RegistryIPPermission

func (*RegistryIPPermission) GetObservation

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

GetObservation of this RegistryIPPermission

func (*RegistryIPPermission) GetParameters

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

GetParameters of this RegistryIPPermission

func (*RegistryIPPermission) GetProviderConfigReference

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

GetProviderConfigReference of this RegistryIPPermission.

func (*RegistryIPPermission) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RegistryIPPermission.

func (*RegistryIPPermission) GetTerraformResourceType

func (mg *RegistryIPPermission) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RegistryIPPermission

func (*RegistryIPPermission) GetTerraformSchemaVersion

func (tr *RegistryIPPermission) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RegistryIPPermission) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RegistryIPPermission.

func (*RegistryIPPermission) Hub added in v0.2.0

func (tr *RegistryIPPermission) Hub()

Hub marks this type as a conversion hub.

func (*RegistryIPPermission) LateInitialize

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

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

func (*RegistryIPPermission) ResolveReferences

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

ResolveReferences of this RegistryIPPermission.

func (*RegistryIPPermission) SetConditions

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

SetConditions of this RegistryIPPermission.

func (*RegistryIPPermission) SetDeletionPolicy

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

SetDeletionPolicy of this RegistryIPPermission.

func (*RegistryIPPermission) SetManagementPolicies

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

SetManagementPolicies of this RegistryIPPermission.

func (*RegistryIPPermission) SetObservation

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

SetObservation for this RegistryIPPermission

func (*RegistryIPPermission) SetParameters

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

SetParameters for this RegistryIPPermission

func (*RegistryIPPermission) SetProviderConfigReference

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

SetProviderConfigReference of this RegistryIPPermission.

func (*RegistryIPPermission) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RegistryIPPermission.

func (*RegistryIPPermission) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RegistryIPPermission.

type RegistryIPPermissionInitParameters

type RegistryIPPermissionInitParameters struct {

	// List of configured CIDRs, from which pull is allowed.
	// +listType=set
	Pull []*string `json:"pull,omitempty" tf:"pull,omitempty"`

	// List of configured CIDRs, from which push is allowed.
	// +listType=set
	Push []*string `json:"push,omitempty" tf:"push,omitempty"`

	// The ID of the registry that ip restrictions applied to.
	// +crossplane:generate:reference:type=Registry
	RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"`

	// Reference to a Registry to populate registryId.
	// +kubebuilder:validation:Optional
	RegistryIDRef *v1.Reference `json:"registryIdRef,omitempty" tf:"-"`

	// Selector for a Registry to populate registryId.
	// +kubebuilder:validation:Optional
	RegistryIDSelector *v1.Selector `json:"registryIdSelector,omitempty" tf:"-"`
}

func (*RegistryIPPermissionInitParameters) DeepCopy

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

func (*RegistryIPPermissionInitParameters) DeepCopyInto

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

type RegistryIPPermissionList

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

RegistryIPPermissionList contains a list of RegistryIPPermissions

func (*RegistryIPPermissionList) DeepCopy

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

func (*RegistryIPPermissionList) DeepCopyInto

func (in *RegistryIPPermissionList) DeepCopyInto(out *RegistryIPPermissionList)

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

func (*RegistryIPPermissionList) DeepCopyObject

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

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

func (*RegistryIPPermissionList) GetItems

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

GetItems of this RegistryIPPermissionList.

type RegistryIPPermissionObservation

type RegistryIPPermissionObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// List of configured CIDRs, from which pull is allowed.
	// +listType=set
	Pull []*string `json:"pull,omitempty" tf:"pull,omitempty"`

	// List of configured CIDRs, from which push is allowed.
	// +listType=set
	Push []*string `json:"push,omitempty" tf:"push,omitempty"`

	// The ID of the registry that ip restrictions applied to.
	RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"`
}

func (*RegistryIPPermissionObservation) DeepCopy

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

func (*RegistryIPPermissionObservation) DeepCopyInto

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

type RegistryIPPermissionParameters

type RegistryIPPermissionParameters struct {

	// List of configured CIDRs, from which pull is allowed.
	// +kubebuilder:validation:Optional
	// +listType=set
	Pull []*string `json:"pull,omitempty" tf:"pull,omitempty"`

	// List of configured CIDRs, from which push is allowed.
	// +kubebuilder:validation:Optional
	// +listType=set
	Push []*string `json:"push,omitempty" tf:"push,omitempty"`

	// The ID of the registry that ip restrictions applied to.
	// +crossplane:generate:reference:type=Registry
	// +kubebuilder:validation:Optional
	RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"`

	// Reference to a Registry to populate registryId.
	// +kubebuilder:validation:Optional
	RegistryIDRef *v1.Reference `json:"registryIdRef,omitempty" tf:"-"`

	// Selector for a Registry to populate registryId.
	// +kubebuilder:validation:Optional
	RegistryIDSelector *v1.Selector `json:"registryIdSelector,omitempty" tf:"-"`
}

func (*RegistryIPPermissionParameters) DeepCopy

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

func (*RegistryIPPermissionParameters) DeepCopyInto

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

type RegistryIPPermissionSpec

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

RegistryIPPermissionSpec defines the desired state of RegistryIPPermission

func (*RegistryIPPermissionSpec) DeepCopy

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

func (*RegistryIPPermissionSpec) DeepCopyInto

func (in *RegistryIPPermissionSpec) DeepCopyInto(out *RegistryIPPermissionSpec)

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

type RegistryIPPermissionStatus

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

RegistryIPPermissionStatus defines the observed state of RegistryIPPermission.

func (*RegistryIPPermissionStatus) DeepCopy

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

func (*RegistryIPPermissionStatus) DeepCopyInto

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

type RegistryInitParameters

type RegistryInitParameters struct {

	// Folder that the resource belongs to. If value is omitted, the default provider folder is used.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/resourcemanager/v1alpha1.Folder
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// A set of key/value label pairs to assign to the registry.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// A name of the registry.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*RegistryInitParameters) DeepCopy

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

func (*RegistryInitParameters) DeepCopyInto

func (in *RegistryInitParameters) DeepCopyInto(out *RegistryInitParameters)

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

type RegistryList

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

RegistryList contains a list of Registrys

func (*RegistryList) DeepCopy

func (in *RegistryList) DeepCopy() *RegistryList

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

func (*RegistryList) DeepCopyInto

func (in *RegistryList) DeepCopyInto(out *RegistryList)

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

func (*RegistryList) DeepCopyObject

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

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

func (*RegistryList) GetItems

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

GetItems of this RegistryList.

type RegistryObservation

type RegistryObservation struct {

	// Creation timestamp of the registry.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Folder that the resource belongs to. If value is omitted, the default provider folder is used.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

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

	// A set of key/value label pairs to assign to the registry.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// A name of the registry.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Status of the registry.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*RegistryObservation) DeepCopy

func (in *RegistryObservation) DeepCopy() *RegistryObservation

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

func (*RegistryObservation) DeepCopyInto

func (in *RegistryObservation) DeepCopyInto(out *RegistryObservation)

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

type RegistryParameters

type RegistryParameters struct {

	// Folder that the resource belongs to. If value is omitted, the default provider folder is used.
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// A set of key/value label pairs to assign to the registry.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// A name of the registry.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*RegistryParameters) DeepCopy

func (in *RegistryParameters) DeepCopy() *RegistryParameters

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

func (*RegistryParameters) DeepCopyInto

func (in *RegistryParameters) DeepCopyInto(out *RegistryParameters)

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

type RegistrySpec

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

RegistrySpec defines the desired state of Registry

func (*RegistrySpec) DeepCopy

func (in *RegistrySpec) DeepCopy() *RegistrySpec

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

func (*RegistrySpec) DeepCopyInto

func (in *RegistrySpec) DeepCopyInto(out *RegistrySpec)

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

type RegistryStatus

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

RegistryStatus defines the observed state of Registry.

func (*RegistryStatus) DeepCopy

func (in *RegistryStatus) DeepCopy() *RegistryStatus

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

func (*RegistryStatus) DeepCopyInto

func (in *RegistryStatus) DeepCopyInto(out *RegistryStatus)

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

type Repository

type Repository 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.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   RepositorySpec   `json:"spec"`
	Status RepositoryStatus `json:"status,omitempty"`
}

Repository is the Schema for the Repositorys API. Creates a new container repository. +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,yandex-cloud}

func (*Repository) DeepCopy

func (in *Repository) DeepCopy() *Repository

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

func (*Repository) DeepCopyInto

func (in *Repository) DeepCopyInto(out *Repository)

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

func (*Repository) DeepCopyObject

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

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

func (*Repository) GetCondition

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

GetCondition of this Repository.

func (*Repository) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Repository

func (*Repository) GetDeletionPolicy

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

GetDeletionPolicy of this Repository.

func (*Repository) GetID

func (tr *Repository) GetID() string

GetID returns ID of underlying Terraform resource of this Repository

func (*Repository) GetInitParameters

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

GetInitParameters of this Repository

func (*Repository) GetManagementPolicies

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

GetManagementPolicies of this Repository.

func (*Repository) GetMergedParameters added in v0.1.3

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

GetInitParameters of this Repository

func (*Repository) GetObservation

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

GetObservation of this Repository

func (*Repository) GetParameters

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

GetParameters of this Repository

func (*Repository) GetProviderConfigReference

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

GetProviderConfigReference of this Repository.

func (*Repository) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Repository.

func (*Repository) GetTerraformResourceType

func (mg *Repository) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Repository

func (*Repository) GetTerraformSchemaVersion

func (tr *Repository) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Repository) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Repository.

func (*Repository) Hub added in v0.2.0

func (tr *Repository) Hub()

Hub marks this type as a conversion hub.

func (*Repository) LateInitialize

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

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

func (*Repository) SetConditions

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

SetConditions of this Repository.

func (*Repository) SetDeletionPolicy

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

SetDeletionPolicy of this Repository.

func (*Repository) SetManagementPolicies

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

SetManagementPolicies of this Repository.

func (*Repository) SetObservation

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

SetObservation for this Repository

func (*Repository) SetParameters

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

SetParameters for this Repository

func (*Repository) SetProviderConfigReference

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

SetProviderConfigReference of this Repository.

func (*Repository) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Repository.

func (*Repository) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Repository.

type RepositoryIAMBinding

type RepositoryIAMBinding 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.role) || (has(self.initProvider) && has(self.initProvider.role))",message="spec.forProvider.role is a required parameter"
	Spec   RepositoryIAMBindingSpec   `json:"spec"`
	Status RepositoryIAMBindingStatus `json:"status,omitempty"`
}

RepositoryIAMBinding is the Schema for the RepositoryIAMBindings API. Allows management of a single IAM binding for a +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,yandex-cloud}

func (*RepositoryIAMBinding) DeepCopy

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

func (*RepositoryIAMBinding) DeepCopyInto

func (in *RepositoryIAMBinding) DeepCopyInto(out *RepositoryIAMBinding)

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

func (*RepositoryIAMBinding) DeepCopyObject

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

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

func (*RepositoryIAMBinding) GetCondition

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

GetCondition of this RepositoryIAMBinding.

func (*RepositoryIAMBinding) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RepositoryIAMBinding

func (*RepositoryIAMBinding) GetDeletionPolicy

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

GetDeletionPolicy of this RepositoryIAMBinding.

func (*RepositoryIAMBinding) GetID

func (tr *RepositoryIAMBinding) GetID() string

GetID returns ID of underlying Terraform resource of this RepositoryIAMBinding

func (*RepositoryIAMBinding) GetInitParameters

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

GetInitParameters of this RepositoryIAMBinding

func (*RepositoryIAMBinding) GetManagementPolicies

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

GetManagementPolicies of this RepositoryIAMBinding.

func (*RepositoryIAMBinding) GetMergedParameters added in v0.1.3

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

GetInitParameters of this RepositoryIAMBinding

func (*RepositoryIAMBinding) GetObservation

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

GetObservation of this RepositoryIAMBinding

func (*RepositoryIAMBinding) GetParameters

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

GetParameters of this RepositoryIAMBinding

func (*RepositoryIAMBinding) GetProviderConfigReference

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

GetProviderConfigReference of this RepositoryIAMBinding.

func (*RepositoryIAMBinding) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RepositoryIAMBinding.

func (*RepositoryIAMBinding) GetTerraformResourceType

func (mg *RepositoryIAMBinding) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RepositoryIAMBinding

func (*RepositoryIAMBinding) GetTerraformSchemaVersion

func (tr *RepositoryIAMBinding) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RepositoryIAMBinding) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RepositoryIAMBinding.

func (*RepositoryIAMBinding) Hub added in v0.2.0

func (tr *RepositoryIAMBinding) Hub()

Hub marks this type as a conversion hub.

func (*RepositoryIAMBinding) LateInitialize

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

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

func (*RepositoryIAMBinding) ResolveReferences

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

ResolveReferences of this RepositoryIAMBinding.

func (*RepositoryIAMBinding) SetConditions

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

SetConditions of this RepositoryIAMBinding.

func (*RepositoryIAMBinding) SetDeletionPolicy

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

SetDeletionPolicy of this RepositoryIAMBinding.

func (*RepositoryIAMBinding) SetManagementPolicies

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

SetManagementPolicies of this RepositoryIAMBinding.

func (*RepositoryIAMBinding) SetObservation

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

SetObservation for this RepositoryIAMBinding

func (*RepositoryIAMBinding) SetParameters

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

SetParameters for this RepositoryIAMBinding

func (*RepositoryIAMBinding) SetProviderConfigReference

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

SetProviderConfigReference of this RepositoryIAMBinding.

func (*RepositoryIAMBinding) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RepositoryIAMBinding.

func (*RepositoryIAMBinding) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RepositoryIAMBinding.

type RepositoryIAMBindingInitParameters

type RepositoryIAMBindingInitParameters struct {

	// Identities that will be granted the privilege in role.
	// Each entry can have one of the following values:
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/iam/v1alpha1.ServiceAccount
	// +crossplane:generate:reference:extractor=github.com/tagesjump/provider-upjet-yc/config/iam.ServiceAccountRefValue()
	// +crossplane:generate:reference:refFieldName=ServiceAccountRef
	// +crossplane:generate:reference:selectorFieldName=ServiceAccountSelector
	// +listType=set
	Members []*string `json:"members,omitempty" tf:"members,omitempty"`

	// The Yandex Container Repository ID to apply a binding to.
	// +crossplane:generate:reference:type=Repository
	RepositoryID *string `json:"repositoryId,omitempty" tf:"repository_id,omitempty"`

	// Reference to a Repository to populate repositoryId.
	// +kubebuilder:validation:Optional
	RepositoryIDRef *v1.Reference `json:"repositoryIdRef,omitempty" tf:"-"`

	// Selector for a Repository to populate repositoryId.
	// +kubebuilder:validation:Optional
	RepositoryIDSelector *v1.Selector `json:"repositoryIdSelector,omitempty" tf:"-"`

	// The role that should be applied. See roles.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// References to ServiceAccount in iam to populate members.
	// +kubebuilder:validation:Optional
	ServiceAccountRef []v1.Reference `json:"serviceAccountRef,omitempty" tf:"-"`

	// Selector for a list of ServiceAccount in iam to populate members.
	// +kubebuilder:validation:Optional
	ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"`

	SleepAfter *float64 `json:"sleepAfter,omitempty" tf:"sleep_after,omitempty"`
}

func (*RepositoryIAMBindingInitParameters) DeepCopy

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

func (*RepositoryIAMBindingInitParameters) DeepCopyInto

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

type RepositoryIAMBindingList

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

RepositoryIAMBindingList contains a list of RepositoryIAMBindings

func (*RepositoryIAMBindingList) DeepCopy

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

func (*RepositoryIAMBindingList) DeepCopyInto

func (in *RepositoryIAMBindingList) DeepCopyInto(out *RepositoryIAMBindingList)

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

func (*RepositoryIAMBindingList) DeepCopyObject

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

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

func (*RepositoryIAMBindingList) GetItems

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

GetItems of this RepositoryIAMBindingList.

type RepositoryIAMBindingObservation

type RepositoryIAMBindingObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Identities that will be granted the privilege in role.
	// Each entry can have one of the following values:
	// +listType=set
	Members []*string `json:"members,omitempty" tf:"members,omitempty"`

	// The Yandex Container Repository ID to apply a binding to.
	RepositoryID *string `json:"repositoryId,omitempty" tf:"repository_id,omitempty"`

	// The role that should be applied. See roles.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	SleepAfter *float64 `json:"sleepAfter,omitempty" tf:"sleep_after,omitempty"`
}

func (*RepositoryIAMBindingObservation) DeepCopy

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

func (*RepositoryIAMBindingObservation) DeepCopyInto

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

type RepositoryIAMBindingParameters

type RepositoryIAMBindingParameters struct {

	// Identities that will be granted the privilege in role.
	// Each entry can have one of the following values:
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/iam/v1alpha1.ServiceAccount
	// +crossplane:generate:reference:extractor=github.com/tagesjump/provider-upjet-yc/config/iam.ServiceAccountRefValue()
	// +crossplane:generate:reference:refFieldName=ServiceAccountRef
	// +crossplane:generate:reference:selectorFieldName=ServiceAccountSelector
	// +kubebuilder:validation:Optional
	// +listType=set
	Members []*string `json:"members,omitempty" tf:"members,omitempty"`

	// The Yandex Container Repository ID to apply a binding to.
	// +crossplane:generate:reference:type=Repository
	// +kubebuilder:validation:Optional
	RepositoryID *string `json:"repositoryId,omitempty" tf:"repository_id,omitempty"`

	// Reference to a Repository to populate repositoryId.
	// +kubebuilder:validation:Optional
	RepositoryIDRef *v1.Reference `json:"repositoryIdRef,omitempty" tf:"-"`

	// Selector for a Repository to populate repositoryId.
	// +kubebuilder:validation:Optional
	RepositoryIDSelector *v1.Selector `json:"repositoryIdSelector,omitempty" tf:"-"`

	// The role that should be applied. See roles.
	// +kubebuilder:validation:Optional
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// References to ServiceAccount in iam to populate members.
	// +kubebuilder:validation:Optional
	ServiceAccountRef []v1.Reference `json:"serviceAccountRef,omitempty" tf:"-"`

	// Selector for a list of ServiceAccount in iam to populate members.
	// +kubebuilder:validation:Optional
	ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SleepAfter *float64 `json:"sleepAfter,omitempty" tf:"sleep_after,omitempty"`
}

func (*RepositoryIAMBindingParameters) DeepCopy

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

func (*RepositoryIAMBindingParameters) DeepCopyInto

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

type RepositoryIAMBindingSpec

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

RepositoryIAMBindingSpec defines the desired state of RepositoryIAMBinding

func (*RepositoryIAMBindingSpec) DeepCopy

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

func (*RepositoryIAMBindingSpec) DeepCopyInto

func (in *RepositoryIAMBindingSpec) DeepCopyInto(out *RepositoryIAMBindingSpec)

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

type RepositoryIAMBindingStatus

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

RepositoryIAMBindingStatus defines the observed state of RepositoryIAMBinding.

func (*RepositoryIAMBindingStatus) DeepCopy

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

func (*RepositoryIAMBindingStatus) DeepCopyInto

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

type RepositoryInitParameters

type RepositoryInitParameters struct {

	// A name of the repository. The name of the repository should start with id of a container registry and match the name of the images that will be pushed in the repository.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*RepositoryInitParameters) DeepCopy

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

func (*RepositoryInitParameters) DeepCopyInto

func (in *RepositoryInitParameters) DeepCopyInto(out *RepositoryInitParameters)

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

type RepositoryLifecyclePolicy

type RepositoryLifecyclePolicy 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.status) || (has(self.initProvider) && has(self.initProvider.status))",message="spec.forProvider.status is a required parameter"
	Spec   RepositoryLifecyclePolicySpec   `json:"spec"`
	Status RepositoryLifecyclePolicyStatus `json:"status,omitempty"`
}

RepositoryLifecyclePolicy is the Schema for the RepositoryLifecyclePolicys API. Creates a new container repository lifecycle policy. +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,yandex-cloud}

func (*RepositoryLifecyclePolicy) DeepCopy

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

func (*RepositoryLifecyclePolicy) DeepCopyInto

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

func (*RepositoryLifecyclePolicy) DeepCopyObject

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

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

func (*RepositoryLifecyclePolicy) GetCondition

GetCondition of this RepositoryLifecyclePolicy.

func (*RepositoryLifecyclePolicy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RepositoryLifecyclePolicy

func (*RepositoryLifecyclePolicy) GetDeletionPolicy

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

GetDeletionPolicy of this RepositoryLifecyclePolicy.

func (*RepositoryLifecyclePolicy) GetID

func (tr *RepositoryLifecyclePolicy) GetID() string

GetID returns ID of underlying Terraform resource of this RepositoryLifecyclePolicy

func (*RepositoryLifecyclePolicy) GetInitParameters

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

GetInitParameters of this RepositoryLifecyclePolicy

func (*RepositoryLifecyclePolicy) GetManagementPolicies

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

GetManagementPolicies of this RepositoryLifecyclePolicy.

func (*RepositoryLifecyclePolicy) GetMergedParameters added in v0.1.3

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

GetInitParameters of this RepositoryLifecyclePolicy

func (*RepositoryLifecyclePolicy) GetObservation

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

GetObservation of this RepositoryLifecyclePolicy

func (*RepositoryLifecyclePolicy) GetParameters

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

GetParameters of this RepositoryLifecyclePolicy

func (*RepositoryLifecyclePolicy) GetProviderConfigReference

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

GetProviderConfigReference of this RepositoryLifecyclePolicy.

func (*RepositoryLifecyclePolicy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RepositoryLifecyclePolicy.

func (*RepositoryLifecyclePolicy) GetTerraformResourceType

func (mg *RepositoryLifecyclePolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RepositoryLifecyclePolicy

func (*RepositoryLifecyclePolicy) GetTerraformSchemaVersion

func (tr *RepositoryLifecyclePolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RepositoryLifecyclePolicy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RepositoryLifecyclePolicy.

func (*RepositoryLifecyclePolicy) Hub added in v0.2.0

func (tr *RepositoryLifecyclePolicy) Hub()

Hub marks this type as a conversion hub.

func (*RepositoryLifecyclePolicy) LateInitialize

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

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

func (*RepositoryLifecyclePolicy) ResolveReferences

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

ResolveReferences of this RepositoryLifecyclePolicy.

func (*RepositoryLifecyclePolicy) SetConditions

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

SetConditions of this RepositoryLifecyclePolicy.

func (*RepositoryLifecyclePolicy) SetDeletionPolicy

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

SetDeletionPolicy of this RepositoryLifecyclePolicy.

func (*RepositoryLifecyclePolicy) SetManagementPolicies

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

SetManagementPolicies of this RepositoryLifecyclePolicy.

func (*RepositoryLifecyclePolicy) SetObservation

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

SetObservation for this RepositoryLifecyclePolicy

func (*RepositoryLifecyclePolicy) SetParameters

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

SetParameters for this RepositoryLifecyclePolicy

func (*RepositoryLifecyclePolicy) SetProviderConfigReference

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

SetProviderConfigReference of this RepositoryLifecyclePolicy.

func (*RepositoryLifecyclePolicy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RepositoryLifecyclePolicy.

func (*RepositoryLifecyclePolicy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RepositoryLifecyclePolicy.

type RepositoryLifecyclePolicyInitParameters

type RepositoryLifecyclePolicyInitParameters struct {

	// Description of the lifecycle policy.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Lifecycle policy name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the repository that the resource belongs to.
	// +crossplane:generate:reference:type=Repository
	RepositoryID *string `json:"repositoryId,omitempty" tf:"repository_id,omitempty"`

	// Reference to a Repository to populate repositoryId.
	// +kubebuilder:validation:Optional
	RepositoryIDRef *v1.Reference `json:"repositoryIdRef,omitempty" tf:"-"`

	// Selector for a Repository to populate repositoryId.
	// +kubebuilder:validation:Optional
	RepositoryIDSelector *v1.Selector `json:"repositoryIdSelector,omitempty" tf:"-"`

	Rule []RuleInitParameters `json:"rule,omitempty" tf:"rule,omitempty"`

	// The status of lifecycle policy. Must be active or disabled.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*RepositoryLifecyclePolicyInitParameters) DeepCopy

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

func (*RepositoryLifecyclePolicyInitParameters) DeepCopyInto

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

type RepositoryLifecyclePolicyList

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

RepositoryLifecyclePolicyList contains a list of RepositoryLifecyclePolicys

func (*RepositoryLifecyclePolicyList) DeepCopy

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

func (*RepositoryLifecyclePolicyList) DeepCopyInto

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

func (*RepositoryLifecyclePolicyList) DeepCopyObject

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

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

func (*RepositoryLifecyclePolicyList) GetItems

GetItems of this RepositoryLifecyclePolicyList.

type RepositoryLifecyclePolicyObservation

type RepositoryLifecyclePolicyObservation struct {

	// Creation timestamp of the instance.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Description of the lifecycle policy.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

	// Lifecycle policy name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the repository that the resource belongs to.
	RepositoryID *string `json:"repositoryId,omitempty" tf:"repository_id,omitempty"`

	Rule []RuleObservation `json:"rule,omitempty" tf:"rule,omitempty"`

	// The status of lifecycle policy. Must be active or disabled.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*RepositoryLifecyclePolicyObservation) DeepCopy

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

func (*RepositoryLifecyclePolicyObservation) DeepCopyInto

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

type RepositoryLifecyclePolicyParameters

type RepositoryLifecyclePolicyParameters struct {

	// Description of the lifecycle policy.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Lifecycle policy name.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the repository that the resource belongs to.
	// +crossplane:generate:reference:type=Repository
	// +kubebuilder:validation:Optional
	RepositoryID *string `json:"repositoryId,omitempty" tf:"repository_id,omitempty"`

	// Reference to a Repository to populate repositoryId.
	// +kubebuilder:validation:Optional
	RepositoryIDRef *v1.Reference `json:"repositoryIdRef,omitempty" tf:"-"`

	// Selector for a Repository to populate repositoryId.
	// +kubebuilder:validation:Optional
	RepositoryIDSelector *v1.Selector `json:"repositoryIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	Rule []RuleParameters `json:"rule,omitempty" tf:"rule,omitempty"`

	// The status of lifecycle policy. Must be active or disabled.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*RepositoryLifecyclePolicyParameters) DeepCopy

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

func (*RepositoryLifecyclePolicyParameters) DeepCopyInto

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

type RepositoryLifecyclePolicySpec

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

RepositoryLifecyclePolicySpec defines the desired state of RepositoryLifecyclePolicy

func (*RepositoryLifecyclePolicySpec) DeepCopy

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

func (*RepositoryLifecyclePolicySpec) DeepCopyInto

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

type RepositoryLifecyclePolicyStatus

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

RepositoryLifecyclePolicyStatus defines the observed state of RepositoryLifecyclePolicy.

func (*RepositoryLifecyclePolicyStatus) DeepCopy

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

func (*RepositoryLifecyclePolicyStatus) DeepCopyInto

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

type RepositoryList

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

RepositoryList contains a list of Repositorys

func (*RepositoryList) DeepCopy

func (in *RepositoryList) DeepCopy() *RepositoryList

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

func (*RepositoryList) DeepCopyInto

func (in *RepositoryList) DeepCopyInto(out *RepositoryList)

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

func (*RepositoryList) DeepCopyObject

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

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

func (*RepositoryList) GetItems

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

GetItems of this RepositoryList.

type RepositoryObservation

type RepositoryObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A name of the repository. The name of the repository should start with id of a container registry and match the name of the images that will be pushed in the repository.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*RepositoryObservation) DeepCopy

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

func (*RepositoryObservation) DeepCopyInto

func (in *RepositoryObservation) DeepCopyInto(out *RepositoryObservation)

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

type RepositoryParameters

type RepositoryParameters struct {

	// A name of the repository. The name of the repository should start with id of a container registry and match the name of the images that will be pushed in the repository.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*RepositoryParameters) DeepCopy

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

func (*RepositoryParameters) DeepCopyInto

func (in *RepositoryParameters) DeepCopyInto(out *RepositoryParameters)

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

type RepositorySpec

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

RepositorySpec defines the desired state of Repository

func (*RepositorySpec) DeepCopy

func (in *RepositorySpec) DeepCopy() *RepositorySpec

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

func (*RepositorySpec) DeepCopyInto

func (in *RepositorySpec) DeepCopyInto(out *RepositorySpec)

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

type RepositoryStatus

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

RepositoryStatus defines the observed state of Repository.

func (*RepositoryStatus) DeepCopy

func (in *RepositoryStatus) DeepCopy() *RepositoryStatus

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

func (*RepositoryStatus) DeepCopyInto

func (in *RepositoryStatus) DeepCopyInto(out *RepositoryStatus)

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

type RuleInitParameters

type RuleInitParameters struct {

	// Description of the lifecycle policy.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The period of time that must pass after creating a image for it to suit the automatic deletion criteria. It must be a multiple of 24 hours.
	ExpirePeriod *string `json:"expirePeriod,omitempty" tf:"expire_period,omitempty"`

	// The number of images to be retained even if the expire_period already expired.
	RetainedTop *float64 `json:"retainedTop,omitempty" tf:"retained_top,omitempty"`

	// Tag to specify a filter as a regular expression. For example .* - all images with tags.
	TagRegexp *string `json:"tagRegexp,omitempty" tf:"tag_regexp,omitempty"`

	// If enabled, rules apply to untagged Docker images.
	Untagged *bool `json:"untagged,omitempty" tf:"untagged,omitempty"`
}

func (*RuleInitParameters) DeepCopy

func (in *RuleInitParameters) DeepCopy() *RuleInitParameters

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

func (*RuleInitParameters) DeepCopyInto

func (in *RuleInitParameters) DeepCopyInto(out *RuleInitParameters)

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

type RuleObservation

type RuleObservation struct {

	// Description of the lifecycle policy.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The period of time that must pass after creating a image for it to suit the automatic deletion criteria. It must be a multiple of 24 hours.
	ExpirePeriod *string `json:"expirePeriod,omitempty" tf:"expire_period,omitempty"`

	// The number of images to be retained even if the expire_period already expired.
	RetainedTop *float64 `json:"retainedTop,omitempty" tf:"retained_top,omitempty"`

	// Tag to specify a filter as a regular expression. For example .* - all images with tags.
	TagRegexp *string `json:"tagRegexp,omitempty" tf:"tag_regexp,omitempty"`

	// If enabled, rules apply to untagged Docker images.
	Untagged *bool `json:"untagged,omitempty" tf:"untagged,omitempty"`
}

func (*RuleObservation) DeepCopy

func (in *RuleObservation) DeepCopy() *RuleObservation

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

func (*RuleObservation) DeepCopyInto

func (in *RuleObservation) DeepCopyInto(out *RuleObservation)

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

type RuleParameters

type RuleParameters struct {

	// Description of the lifecycle policy.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The period of time that must pass after creating a image for it to suit the automatic deletion criteria. It must be a multiple of 24 hours.
	// +kubebuilder:validation:Optional
	ExpirePeriod *string `json:"expirePeriod,omitempty" tf:"expire_period,omitempty"`

	// The number of images to be retained even if the expire_period already expired.
	// +kubebuilder:validation:Optional
	RetainedTop *float64 `json:"retainedTop,omitempty" tf:"retained_top,omitempty"`

	// Tag to specify a filter as a regular expression. For example .* - all images with tags.
	// +kubebuilder:validation:Optional
	TagRegexp *string `json:"tagRegexp,omitempty" tf:"tag_regexp,omitempty"`

	// If enabled, rules apply to untagged Docker images.
	// +kubebuilder:validation:Optional
	Untagged *bool `json:"untagged,omitempty" tf:"untagged,omitempty"`
}

func (*RuleParameters) DeepCopy

func (in *RuleParameters) DeepCopy() *RuleParameters

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

func (*RuleParameters) DeepCopyInto

func (in *RuleParameters) DeepCopyInto(out *RuleParameters)

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