v1alpha1

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=byoip.cloudflare.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "byoip.cloudflare.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 (
	IPPrefix_Kind             = "IPPrefix"
	IPPrefix_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: IPPrefix_Kind}.String()
	IPPrefix_KindAPIVersion   = IPPrefix_Kind + "." + CRDGroupVersion.String()
	IPPrefix_GroupVersionKind = CRDGroupVersion.WithKind(IPPrefix_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type IPPrefix

type IPPrefix struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              IPPrefixSpec   `json:"spec"`
	Status            IPPrefixStatus `json:"status,omitempty"`
}

IPPrefix is the Schema for the IPPrefixs 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,cloudflare}

func (*IPPrefix) DeepCopy

func (in *IPPrefix) DeepCopy() *IPPrefix

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

func (*IPPrefix) DeepCopyInto

func (in *IPPrefix) DeepCopyInto(out *IPPrefix)

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

func (*IPPrefix) DeepCopyObject

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

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

func (*IPPrefix) GetCondition

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

GetCondition of this IPPrefix.

func (*IPPrefix) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this IPPrefix

func (*IPPrefix) GetDeletionPolicy

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

GetDeletionPolicy of this IPPrefix.

func (*IPPrefix) GetID

func (tr *IPPrefix) GetID() string

GetID returns ID of underlying Terraform resource of this IPPrefix

func (*IPPrefix) GetObservation

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

GetObservation of this IPPrefix

func (*IPPrefix) GetParameters

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

GetParameters of this IPPrefix

func (*IPPrefix) GetProviderConfigReference

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

GetProviderConfigReference of this IPPrefix.

func (*IPPrefix) GetProviderReference

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

GetProviderReference of this IPPrefix. Deprecated: Use GetProviderConfigReference.

func (*IPPrefix) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this IPPrefix.

func (*IPPrefix) GetTerraformResourceType

func (mg *IPPrefix) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this IPPrefix

func (*IPPrefix) GetTerraformSchemaVersion

func (tr *IPPrefix) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*IPPrefix) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this IPPrefix.

func (*IPPrefix) LateInitialize

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

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

func (*IPPrefix) ResolveReferences

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

ResolveReferences of this IPPrefix.

func (*IPPrefix) SetConditions

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

SetConditions of this IPPrefix.

func (*IPPrefix) SetDeletionPolicy

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

SetDeletionPolicy of this IPPrefix.

func (*IPPrefix) SetObservation

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

SetObservation for this IPPrefix

func (*IPPrefix) SetParameters

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

SetParameters for this IPPrefix

func (*IPPrefix) SetProviderConfigReference

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

SetProviderConfigReference of this IPPrefix.

func (*IPPrefix) SetProviderReference

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

SetProviderReference of this IPPrefix. Deprecated: Use SetProviderConfigReference.

func (*IPPrefix) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this IPPrefix.

func (*IPPrefix) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this IPPrefix.

type IPPrefixList

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

IPPrefixList contains a list of IPPrefixs

func (*IPPrefixList) DeepCopy

func (in *IPPrefixList) DeepCopy() *IPPrefixList

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

func (*IPPrefixList) DeepCopyInto

func (in *IPPrefixList) DeepCopyInto(out *IPPrefixList)

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

func (*IPPrefixList) DeepCopyObject

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

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

func (*IPPrefixList) GetItems

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

GetItems of this IPPrefixList.

type IPPrefixObservation

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

func (*IPPrefixObservation) DeepCopy

func (in *IPPrefixObservation) DeepCopy() *IPPrefixObservation

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

func (*IPPrefixObservation) DeepCopyInto

func (in *IPPrefixObservation) DeepCopyInto(out *IPPrefixObservation)

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

type IPPrefixParameters

type IPPrefixParameters struct {

	// The account identifier to target for the resource.
	// +crossplane:generate:reference:type=github.com/cdloh/provider-cloudflare/apis/account/v1alpha1.Account
	// +kubebuilder:validation:Optional
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// Reference to a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"`

	// Selector for a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDSelector *v1.Selector `json:"accountIdSelector,omitempty" tf:"-"`

	// Whether or not the prefix shall be announced. A prefix can be activated or deactivated once every 15 minutes (attempting more regular updates will trigger rate limiting). Available values: `on`, `off`.
	// +kubebuilder:validation:Optional
	Advertisement *string `json:"advertisement,omitempty" tf:"advertisement,omitempty"`

	// Description of the BYO IP prefix.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The assigned Bring-Your-Own-IP prefix ID. **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Required
	PrefixID *string `json:"prefixId" tf:"prefix_id,omitempty"`
}

func (*IPPrefixParameters) DeepCopy

func (in *IPPrefixParameters) DeepCopy() *IPPrefixParameters

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

func (*IPPrefixParameters) DeepCopyInto

func (in *IPPrefixParameters) DeepCopyInto(out *IPPrefixParameters)

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

type IPPrefixSpec

type IPPrefixSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     IPPrefixParameters `json:"forProvider"`
}

IPPrefixSpec defines the desired state of IPPrefix

func (*IPPrefixSpec) DeepCopy

func (in *IPPrefixSpec) DeepCopy() *IPPrefixSpec

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

func (*IPPrefixSpec) DeepCopyInto

func (in *IPPrefixSpec) DeepCopyInto(out *IPPrefixSpec)

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

type IPPrefixStatus

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

IPPrefixStatus defines the observed state of IPPrefix.

func (*IPPrefixStatus) DeepCopy

func (in *IPPrefixStatus) DeepCopy() *IPPrefixStatus

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

func (*IPPrefixStatus) DeepCopyInto

func (in *IPPrefixStatus) DeepCopyInto(out *IPPrefixStatus)

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