v1alpha1

package
v0.0.0-...-4b4ec10 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "nsxt_static_route.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"`
}

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"`
}

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) 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) 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"`
}

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"`
}

type StaticRouteSpec

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

StaticRouteSpec defines the desired state of StaticRoute

type StaticRouteStatus

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

StaticRouteStatus defines the observed state of StaticRoute.

type TagObservation

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

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

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL