v1alpha1

package
v0.0.0-...-ca042ce Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=nsxtstaticroute.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "nsxtstaticroute.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 (
	StaticRoute_Kind             = "StaticRoute"
	StaticRoute_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: StaticRoute_Kind}.String()
	StaticRoute_KindAPIVersion   = StaticRoute_Kind + "." + CRDGroupVersion.String()
	StaticRoute_GroupVersionKind = CRDGroupVersion.WithKind(StaticRoute_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type NextHopObservation

type NextHopObservation struct {

	// Administrative Distance for the next hop IP
	AdministrativeDistance *float64 `json:"administrativeDistance,omitempty" tf:"administrative_distance,omitempty"`

	// Status of bfd for this next hop where bfdEnabled = true indicate bfd is enabled for this next hop and bfdEnabled = false indicate bfd peer is disabled or not configured for this next hop.
	BfdEnabled *bool `json:"bfdEnabled,omitempty" tf:"bfd_enabled,omitempty"`

	// Action to be taken on matching packets for NULL routes
	BlackholeAction *string `json:"blackholeAction,omitempty" tf:"blackhole_action,omitempty"`

	// Next Hop IP
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// Logical router port id
	LogicalRouterPortID *string `json:"logicalRouterPortId,omitempty" tf:"logical_router_port_id,omitempty"`
}

func (*NextHopObservation) DeepCopy

func (in *NextHopObservation) DeepCopy() *NextHopObservation

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

func (*NextHopObservation) DeepCopyInto

func (in *NextHopObservation) DeepCopyInto(out *NextHopObservation)

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

type NextHopParameters

type NextHopParameters struct {

	// Administrative Distance for the next hop IP
	// +kubebuilder:validation:Optional
	AdministrativeDistance *float64 `json:"administrativeDistance,omitempty" tf:"administrative_distance,omitempty"`

	// Next Hop IP
	// +kubebuilder:validation:Optional
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// Logical router port id
	// +kubebuilder:validation:Optional
	LogicalRouterPortID *string `json:"logicalRouterPortId,omitempty" tf:"logical_router_port_id,omitempty"`
}

func (*NextHopParameters) DeepCopy

func (in *NextHopParameters) DeepCopy() *NextHopParameters

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

func (*NextHopParameters) DeepCopyInto

func (in *NextHopParameters) DeepCopyInto(out *NextHopParameters)

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

type StaticRoute

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

StaticRoute is the Schema for the StaticRoutes 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,nsxt}

func (*StaticRoute) DeepCopy

func (in *StaticRoute) DeepCopy() *StaticRoute

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

func (*StaticRoute) DeepCopyInto

func (in *StaticRoute) DeepCopyInto(out *StaticRoute)

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

func (*StaticRoute) DeepCopyObject

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

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

func (*StaticRoute) GetCondition

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

GetCondition of this StaticRoute.

func (*StaticRoute) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this StaticRoute

func (*StaticRoute) GetDeletionPolicy

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

GetDeletionPolicy of this StaticRoute.

func (*StaticRoute) GetID

func (tr *StaticRoute) GetID() string

GetID returns ID of underlying Terraform resource of this StaticRoute

func (*StaticRoute) GetManagementPolicy

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

GetManagementPolicy of this StaticRoute.

func (*StaticRoute) GetObservation

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

GetObservation of this StaticRoute

func (*StaticRoute) GetParameters

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

GetParameters of this StaticRoute

func (*StaticRoute) GetProviderConfigReference

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

GetProviderConfigReference of this StaticRoute.

func (*StaticRoute) GetProviderReference

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

GetProviderReference of this StaticRoute. Deprecated: Use GetProviderConfigReference.

func (*StaticRoute) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this StaticRoute.

func (*StaticRoute) GetTerraformResourceType

func (mg *StaticRoute) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this StaticRoute

func (*StaticRoute) GetTerraformSchemaVersion

func (tr *StaticRoute) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*StaticRoute) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this StaticRoute.

func (*StaticRoute) LateInitialize

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

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

func (*StaticRoute) SetConditions

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

SetConditions of this StaticRoute.

func (*StaticRoute) SetDeletionPolicy

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

SetDeletionPolicy of this StaticRoute.

func (*StaticRoute) SetManagementPolicy

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

SetManagementPolicy of this StaticRoute.

func (*StaticRoute) SetObservation

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

SetObservation for this StaticRoute

func (*StaticRoute) SetParameters

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

SetParameters for this StaticRoute

func (*StaticRoute) SetProviderConfigReference

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

SetProviderConfigReference of this StaticRoute.

func (*StaticRoute) SetProviderReference

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

SetProviderReference of this StaticRoute. Deprecated: Use SetProviderConfigReference.

func (*StaticRoute) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this StaticRoute.

func (*StaticRoute) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this StaticRoute.

type StaticRouteList

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

StaticRouteList contains a list of StaticRoutes

func (*StaticRouteList) DeepCopy

func (in *StaticRouteList) DeepCopy() *StaticRouteList

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

func (*StaticRouteList) DeepCopyInto

func (in *StaticRouteList) DeepCopyInto(out *StaticRouteList)

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

func (*StaticRouteList) DeepCopyObject

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

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

func (*StaticRouteList) GetItems

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

GetItems of this StaticRouteList.

type StaticRouteObservation

type StaticRouteObservation struct {

	// Description of this resource
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Defaults to ID if not set
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

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

	// Logical router id
	LogicalRouterID *string `json:"logicalRouterId,omitempty" tf:"logical_router_id,omitempty"`

	// CIDR
	Network *string `json:"network,omitempty" tf:"network,omitempty"`

	NextHop []NextHopObservation `json:"nextHop,omitempty" tf:"next_hop,omitempty"`

	// The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected
	Revision *float64 `json:"revision,omitempty" tf:"revision,omitempty"`

	// Set of opaque identifiers meaningful to the user
	Tag []TagObservation `json:"tag,omitempty" tf:"tag,omitempty"`
}

func (*StaticRouteObservation) DeepCopy

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

func (*StaticRouteObservation) DeepCopyInto

func (in *StaticRouteObservation) DeepCopyInto(out *StaticRouteObservation)

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

type StaticRouteParameters

type StaticRouteParameters struct {

	// Description of this resource
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Defaults to ID if not set
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Logical router id
	// +kubebuilder:validation:Optional
	LogicalRouterID *string `json:"logicalRouterId,omitempty" tf:"logical_router_id,omitempty"`

	// CIDR
	// +kubebuilder:validation:Optional
	Network *string `json:"network,omitempty" tf:"network,omitempty"`

	// +kubebuilder:validation:Optional
	NextHop []NextHopParameters `json:"nextHop,omitempty" tf:"next_hop,omitempty"`

	// Set of opaque identifiers meaningful to the user
	// +kubebuilder:validation:Optional
	Tag []TagParameters `json:"tag,omitempty" tf:"tag,omitempty"`
}

func (*StaticRouteParameters) DeepCopy

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

func (*StaticRouteParameters) DeepCopyInto

func (in *StaticRouteParameters) DeepCopyInto(out *StaticRouteParameters)

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

type StaticRouteSpec

type StaticRouteSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     StaticRouteParameters `json:"forProvider"`
}

StaticRouteSpec defines the desired state of StaticRoute

func (*StaticRouteSpec) DeepCopy

func (in *StaticRouteSpec) DeepCopy() *StaticRouteSpec

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

func (*StaticRouteSpec) DeepCopyInto

func (in *StaticRouteSpec) DeepCopyInto(out *StaticRouteSpec)

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

type StaticRouteStatus

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

StaticRouteStatus defines the observed state of StaticRoute.

func (*StaticRouteStatus) DeepCopy

func (in *StaticRouteStatus) DeepCopy() *StaticRouteStatus

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

func (*StaticRouteStatus) DeepCopyInto

func (in *StaticRouteStatus) DeepCopyInto(out *StaticRouteStatus)

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

type TagObservation

type TagObservation struct {
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

func (*TagObservation) DeepCopy

func (in *TagObservation) DeepCopy() *TagObservation

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

func (*TagObservation) DeepCopyInto

func (in *TagObservation) DeepCopyInto(out *TagObservation)

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

type TagParameters

type TagParameters struct {

	// +kubebuilder:validation:Optional
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	// +kubebuilder:validation:Optional
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

func (*TagParameters) DeepCopy

func (in *TagParameters) DeepCopy() *TagParameters

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

func (*TagParameters) DeepCopyInto

func (in *TagParameters) DeepCopyInto(out *TagParameters)

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