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=iploadbalancingrefresh.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "iploadbalancingrefresh.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 (
	Refresh_Kind             = "Refresh"
	Refresh_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Refresh_Kind}.String()
	Refresh_KindAPIVersion   = Refresh_Kind + "." + CRDGroupVersion.String()
	Refresh_GroupVersionKind = CRDGroupVersion.WithKind(Refresh_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Refresh

type Refresh 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.keepers) || (has(self.initProvider) && has(self.initProvider.keepers))",message="spec.forProvider.keepers 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   RefreshSpec   `json:"spec"`
	Status RefreshStatus `json:"status,omitempty"`
}

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

func (in *Refresh) DeepCopy() *Refresh

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

func (*Refresh) DeepCopyInto

func (in *Refresh) DeepCopyInto(out *Refresh)

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

func (*Refresh) DeepCopyObject

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

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

func (*Refresh) GetCondition

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

GetCondition of this Refresh.

func (*Refresh) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Refresh

func (*Refresh) GetDeletionPolicy

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

GetDeletionPolicy of this Refresh.

func (*Refresh) GetID

func (tr *Refresh) GetID() string

GetID returns ID of underlying Terraform resource of this Refresh

func (*Refresh) GetInitParameters

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

GetInitParameters of this Refresh

func (*Refresh) GetManagementPolicies

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

GetManagementPolicies of this Refresh.

func (*Refresh) GetObservation

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

GetObservation of this Refresh

func (*Refresh) GetParameters

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

GetParameters of this Refresh

func (*Refresh) GetProviderConfigReference

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

GetProviderConfigReference of this Refresh.

func (*Refresh) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Refresh.

func (*Refresh) GetTerraformResourceType

func (mg *Refresh) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Refresh

func (*Refresh) GetTerraformSchemaVersion

func (tr *Refresh) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Refresh) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Refresh.

func (*Refresh) LateInitialize

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

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

func (*Refresh) SetConditions

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

SetConditions of this Refresh.

func (*Refresh) SetDeletionPolicy

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

SetDeletionPolicy of this Refresh.

func (*Refresh) SetManagementPolicies

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

SetManagementPolicies of this Refresh.

func (*Refresh) SetObservation

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

SetObservation for this Refresh

func (*Refresh) SetParameters

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

SetParameters for this Refresh

func (*Refresh) SetProviderConfigReference

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

SetProviderConfigReference of this Refresh.

func (*Refresh) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Refresh.

func (*Refresh) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Refresh.

type RefreshInitParameters

type RefreshInitParameters struct {
	Keepers []*string `json:"keepers,omitempty" tf:"keepers,omitempty"`

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

func (*RefreshInitParameters) DeepCopy

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

func (*RefreshInitParameters) DeepCopyInto

func (in *RefreshInitParameters) DeepCopyInto(out *RefreshInitParameters)

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

type RefreshList

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

RefreshList contains a list of Refreshs

func (*RefreshList) DeepCopy

func (in *RefreshList) DeepCopy() *RefreshList

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

func (*RefreshList) DeepCopyInto

func (in *RefreshList) DeepCopyInto(out *RefreshList)

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

func (*RefreshList) DeepCopyObject

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

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

func (*RefreshList) GetItems

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

GetItems of this RefreshList.

type RefreshObservation

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

	Keepers []*string `json:"keepers,omitempty" tf:"keepers,omitempty"`

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

func (*RefreshObservation) DeepCopy

func (in *RefreshObservation) DeepCopy() *RefreshObservation

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

func (*RefreshObservation) DeepCopyInto

func (in *RefreshObservation) DeepCopyInto(out *RefreshObservation)

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

type RefreshParameters

type RefreshParameters struct {

	// +kubebuilder:validation:Optional
	Keepers []*string `json:"keepers,omitempty" tf:"keepers,omitempty"`

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

func (*RefreshParameters) DeepCopy

func (in *RefreshParameters) DeepCopy() *RefreshParameters

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

func (*RefreshParameters) DeepCopyInto

func (in *RefreshParameters) DeepCopyInto(out *RefreshParameters)

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

type RefreshSpec

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

RefreshSpec defines the desired state of Refresh

func (*RefreshSpec) DeepCopy

func (in *RefreshSpec) DeepCopy() *RefreshSpec

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

func (*RefreshSpec) DeepCopyInto

func (in *RefreshSpec) DeepCopyInto(out *RefreshSpec)

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

type RefreshStatus

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

RefreshStatus defines the observed state of Refresh.

func (*RefreshStatus) DeepCopy

func (in *RefreshStatus) DeepCopy() *RefreshStatus

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

func (*RefreshStatus) DeepCopyInto

func (in *RefreshStatus) DeepCopyInto(out *RefreshStatus)

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