v1alpha1

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=ipv6.linode.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "ipv6.linode.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 (
	IPv6Range_Kind             = "IPv6Range"
	IPv6Range_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: IPv6Range_Kind}.String()
	IPv6Range_KindAPIVersion   = IPv6Range_Kind + "." + CRDGroupVersion.String()
	IPv6Range_GroupVersionKind = CRDGroupVersion.WithKind(IPv6Range_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type IPv6Range

type IPv6Range struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.prefixLength)",message="prefixLength is a required parameter"
	Spec   IPv6RangeSpec   `json:"spec"`
	Status IPv6RangeStatus `json:"status,omitempty"`
}

IPv6Range is the Schema for the IPv6Ranges API. Manages a Linode IPv6 range. +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,linode}

func (*IPv6Range) DeepCopy

func (in *IPv6Range) DeepCopy() *IPv6Range

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

func (*IPv6Range) DeepCopyInto

func (in *IPv6Range) DeepCopyInto(out *IPv6Range)

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

func (*IPv6Range) DeepCopyObject

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

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

func (*IPv6Range) GetCondition

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

GetCondition of this IPv6Range.

func (*IPv6Range) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this IPv6Range

func (*IPv6Range) GetDeletionPolicy

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

GetDeletionPolicy of this IPv6Range.

func (*IPv6Range) GetID

func (tr *IPv6Range) GetID() string

GetID returns ID of underlying Terraform resource of this IPv6Range

func (*IPv6Range) GetManagementPolicy added in v0.0.8

func (mg *IPv6Range) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this IPv6Range.

func (*IPv6Range) GetObservation

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

GetObservation of this IPv6Range

func (*IPv6Range) GetParameters

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

GetParameters of this IPv6Range

func (*IPv6Range) GetProviderConfigReference

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

GetProviderConfigReference of this IPv6Range.

func (*IPv6Range) GetProviderReference

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

GetProviderReference of this IPv6Range. Deprecated: Use GetProviderConfigReference.

func (*IPv6Range) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this IPv6Range.

func (*IPv6Range) GetTerraformResourceType

func (mg *IPv6Range) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this IPv6Range

func (*IPv6Range) GetTerraformSchemaVersion

func (tr *IPv6Range) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*IPv6Range) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this IPv6Range.

func (*IPv6Range) LateInitialize

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

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

func (*IPv6Range) ResolveReferences added in v0.0.1

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

ResolveReferences of this IPv6Range.

func (*IPv6Range) SetConditions

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

SetConditions of this IPv6Range.

func (*IPv6Range) SetDeletionPolicy

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

SetDeletionPolicy of this IPv6Range.

func (*IPv6Range) SetManagementPolicy added in v0.0.8

func (mg *IPv6Range) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this IPv6Range.

func (*IPv6Range) SetObservation

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

SetObservation for this IPv6Range

func (*IPv6Range) SetParameters

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

SetParameters for this IPv6Range

func (*IPv6Range) SetProviderConfigReference

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

SetProviderConfigReference of this IPv6Range.

func (*IPv6Range) SetProviderReference

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

SetProviderReference of this IPv6Range. Deprecated: Use SetProviderConfigReference.

func (*IPv6Range) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this IPv6Range.

func (*IPv6Range) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this IPv6Range.

type IPv6RangeList

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

IPv6RangeList contains a list of IPv6Ranges

func (*IPv6RangeList) DeepCopy

func (in *IPv6RangeList) DeepCopy() *IPv6RangeList

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

func (*IPv6RangeList) DeepCopyInto

func (in *IPv6RangeList) DeepCopyInto(out *IPv6RangeList)

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

func (*IPv6RangeList) DeepCopyObject

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

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

func (*IPv6RangeList) GetItems

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

GetItems of this IPv6RangeList.

type IPv6RangeObservation

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

	// Whether this IPv6 range is shared.
	// Whether this IPv6 range is shared.
	IsBGP *bool `json:"isBgp,omitempty" tf:"is_bgp,omitempty"`

	// The ID of the Linode to assign this range to. This field may be updated to reassign the IPv6 range.
	// The ID of the Linode to assign this range to.
	LinodeID *float64 `json:"linodeId,omitempty" tf:"linode_id,omitempty"`

	// A list of Linodes targeted by this IPv6 range. Includes Linodes with IP sharing.
	// A list of Linodes targeted by this IPv6 range.Includes Linodes with IP sharing.
	Linodes []*float64 `json:"linodes,omitempty" tf:"linodes,omitempty"`

	// The prefix length of the IPv6 range.
	// The prefix length of the IPv6 range.
	PrefixLength *float64 `json:"prefixLength,omitempty" tf:"prefix_length,omitempty"`

	// The IPv6 range of addresses in this pool.
	// The IPv6 range of addresses in this pool.
	Range *string `json:"range,omitempty" tf:"range,omitempty"`

	// The region for this range of IPv6 addresses.
	// The region for this range of IPv6 addresses.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The IPv6 SLAAC address to assign this range to.
	// The IPv6 SLAAC address to assign this range to.
	RouteTarget *string `json:"routeTarget,omitempty" tf:"route_target,omitempty"`
}

func (*IPv6RangeObservation) DeepCopy

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

func (*IPv6RangeObservation) DeepCopyInto

func (in *IPv6RangeObservation) DeepCopyInto(out *IPv6RangeObservation)

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

type IPv6RangeParameters

type IPv6RangeParameters struct {

	// The ID of the Linode to assign this range to. This field may be updated to reassign the IPv6 range.
	// The ID of the Linode to assign this range to.
	// +crossplane:generate:reference:type=github.com/linode/provider-linode/apis/instance/v1alpha1.Instance
	// +kubebuilder:validation:Optional
	LinodeID *float64 `json:"linodeId,omitempty" tf:"linode_id,omitempty"`

	// Reference to a Instance in instance to populate linodeId.
	// +kubebuilder:validation:Optional
	LinodeIDRef *v1.Reference `json:"linodeIdRef,omitempty" tf:"-"`

	// Selector for a Instance in instance to populate linodeId.
	// +kubebuilder:validation:Optional
	LinodeIDSelector *v1.Selector `json:"linodeIdSelector,omitempty" tf:"-"`

	// The prefix length of the IPv6 range.
	// The prefix length of the IPv6 range.
	// +kubebuilder:validation:Optional
	PrefixLength *float64 `json:"prefixLength,omitempty" tf:"prefix_length,omitempty"`

	// The IPv6 SLAAC address to assign this range to.
	// The IPv6 SLAAC address to assign this range to.
	// +kubebuilder:validation:Optional
	RouteTarget *string `json:"routeTarget,omitempty" tf:"route_target,omitempty"`
}

func (*IPv6RangeParameters) DeepCopy

func (in *IPv6RangeParameters) DeepCopy() *IPv6RangeParameters

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

func (*IPv6RangeParameters) DeepCopyInto

func (in *IPv6RangeParameters) DeepCopyInto(out *IPv6RangeParameters)

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

type IPv6RangeSpec

type IPv6RangeSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     IPv6RangeParameters `json:"forProvider"`
}

IPv6RangeSpec defines the desired state of IPv6Range

func (*IPv6RangeSpec) DeepCopy

func (in *IPv6RangeSpec) DeepCopy() *IPv6RangeSpec

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

func (*IPv6RangeSpec) DeepCopyInto

func (in *IPv6RangeSpec) DeepCopyInto(out *IPv6RangeSpec)

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

type IPv6RangeStatus

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

IPv6RangeStatus defines the observed state of IPv6Range.

func (*IPv6RangeStatus) DeepCopy

func (in *IPv6RangeStatus) DeepCopy() *IPv6RangeStatus

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

func (*IPv6RangeStatus) DeepCopyInto

func (in *IPv6RangeStatus) DeepCopyInto(out *IPv6RangeStatus)

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