v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=nat.upjet-provider-outscale.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "nat.upjet-provider-outscale.upbound.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 (
	Nat_Kind             = "Nat"
	Nat_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Nat_Kind}.String()
	Nat_KindAPIVersion   = Nat_Kind + "." + CRDGroupVersion.String()
	Nat_GroupVersionKind = CRDGroupVersion.WithKind(Nat_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Nat

type Nat struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NatSpec   `json:"spec"`
	Status            NatStatus `json:"status,omitempty"`
}

Nat is the Schema for the Nats 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,upjet-provider-outscale}

func (*Nat) DeepCopy

func (in *Nat) DeepCopy() *Nat

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

func (*Nat) DeepCopyInto

func (in *Nat) DeepCopyInto(out *Nat)

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

func (*Nat) DeepCopyObject

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

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

func (*Nat) GetCondition

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

GetCondition of this Nat.

func (*Nat) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Nat

func (*Nat) GetDeletionPolicy

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

GetDeletionPolicy of this Nat.

func (*Nat) GetID

func (tr *Nat) GetID() string

GetID returns ID of underlying Terraform resource of this Nat

func (*Nat) GetObservation

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

GetObservation of this Nat

func (*Nat) GetParameters

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

GetParameters of this Nat

func (*Nat) GetProviderConfigReference

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

GetProviderConfigReference of this Nat.

func (*Nat) GetProviderReference

func (mg *Nat) GetProviderReference() *xpv1.Reference

GetProviderReference of this Nat. Deprecated: Use GetProviderConfigReference.

func (*Nat) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Nat.

func (*Nat) GetTerraformResourceType

func (mg *Nat) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Nat

func (*Nat) GetTerraformSchemaVersion

func (tr *Nat) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Nat) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Nat.

func (*Nat) LateInitialize

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

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

func (*Nat) ResolveReferences

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

ResolveReferences of this Nat.

func (*Nat) SetConditions

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

SetConditions of this Nat.

func (*Nat) SetDeletionPolicy

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

SetDeletionPolicy of this Nat.

func (*Nat) SetObservation

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

SetObservation for this Nat

func (*Nat) SetParameters

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

SetParameters for this Nat

func (*Nat) SetProviderConfigReference

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

SetProviderConfigReference of this Nat.

func (*Nat) SetProviderReference

func (mg *Nat) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Nat. Deprecated: Use SetProviderConfigReference.

func (*Nat) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Nat.

func (*Nat) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Nat.

type NatList

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

NatList contains a list of Nats

func (*NatList) DeepCopy

func (in *NatList) DeepCopy() *NatList

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

func (*NatList) DeepCopyInto

func (in *NatList) DeepCopyInto(out *NatList)

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

func (*NatList) DeepCopyObject

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

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

func (*NatList) GetItems

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

GetItems of this NatList.

type NatObservation

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

	NATServiceID *string `json:"natServiceId,omitempty" tf:"nat_service_id,omitempty"`

	NetID *string `json:"netId,omitempty" tf:"net_id,omitempty"`

	PublicIps []PublicIpsObservation `json:"publicIps,omitempty" tf:"public_ips,omitempty"`

	RequestID *string `json:"requestId,omitempty" tf:"request_id,omitempty"`

	State *string `json:"state,omitempty" tf:"state,omitempty"`
}

func (*NatObservation) DeepCopy

func (in *NatObservation) DeepCopy() *NatObservation

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

func (*NatObservation) DeepCopyInto

func (in *NatObservation) DeepCopyInto(out *NatObservation)

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

type NatParameters

type NatParameters struct {

	// +crossplane:generate:reference:type=github.com/outscale/upjet-provider-outscale/apis/publicip/v1alpha1.PublicIp
	// +kubebuilder:validation:Optional
	PublicIPID *string `json:"publicIpId,omitempty" tf:"public_ip_id,omitempty"`

	// Reference to a PublicIp in publicip to populate publicIpId.
	// +kubebuilder:validation:Optional
	PublicIPIDRef *v1.Reference `json:"publicIpIdRef,omitempty" tf:"-"`

	// Selector for a PublicIp in publicip to populate publicIpId.
	// +kubebuilder:validation:Optional
	PublicIPIDSelector *v1.Selector `json:"publicIpIdSelector,omitempty" tf:"-"`

	// +crossplane:generate:reference:type=github.com/outscale/upjet-provider-outscale/apis/subnet/v1alpha1.Subnet
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// Reference to a Subnet in subnet to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// Selector for a Subnet in subnet to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	Tags []TagsParameters `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*NatParameters) DeepCopy

func (in *NatParameters) DeepCopy() *NatParameters

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

func (*NatParameters) DeepCopyInto

func (in *NatParameters) DeepCopyInto(out *NatParameters)

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

type NatSpec

type NatSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     NatParameters `json:"forProvider"`
}

NatSpec defines the desired state of Nat

func (*NatSpec) DeepCopy

func (in *NatSpec) DeepCopy() *NatSpec

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

func (*NatSpec) DeepCopyInto

func (in *NatSpec) DeepCopyInto(out *NatSpec)

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

type NatStatus

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

NatStatus defines the observed state of Nat.

func (*NatStatus) DeepCopy

func (in *NatStatus) DeepCopy() *NatStatus

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

func (*NatStatus) DeepCopyInto

func (in *NatStatus) DeepCopyInto(out *NatStatus)

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

type PublicIpsObservation

type PublicIpsObservation struct {
	PublicIP *string `json:"publicIp,omitempty" tf:"public_ip,omitempty"`

	PublicIPID *string `json:"publicIpId,omitempty" tf:"public_ip_id,omitempty"`
}

func (*PublicIpsObservation) DeepCopy

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

func (*PublicIpsObservation) DeepCopyInto

func (in *PublicIpsObservation) DeepCopyInto(out *PublicIpsObservation)

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

type PublicIpsParameters

type PublicIpsParameters struct {
}

func (*PublicIpsParameters) DeepCopy

func (in *PublicIpsParameters) DeepCopy() *PublicIpsParameters

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

func (*PublicIpsParameters) DeepCopyInto

func (in *PublicIpsParameters) DeepCopyInto(out *PublicIpsParameters)

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

type TagsObservation

type TagsObservation struct {
}

func (*TagsObservation) DeepCopy

func (in *TagsObservation) DeepCopy() *TagsObservation

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

func (*TagsObservation) DeepCopyInto

func (in *TagsObservation) DeepCopyInto(out *TagsObservation)

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

type TagsParameters

type TagsParameters struct {

	// +kubebuilder:validation:Optional
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*TagsParameters) DeepCopy

func (in *TagsParameters) DeepCopy() *TagsParameters

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

func (*TagsParameters) DeepCopyInto

func (in *TagsParameters) DeepCopyInto(out *TagsParameters)

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