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=nsxtlogicaltier1router.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "nsxtlogicaltier1router.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 (
	LogicalTier1Router_Kind             = "LogicalTier1Router"
	LogicalTier1Router_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LogicalTier1Router_Kind}.String()
	LogicalTier1Router_KindAPIVersion   = LogicalTier1Router_Kind + "." + CRDGroupVersion.String()
	LogicalTier1Router_GroupVersionKind = CRDGroupVersion.WithKind(LogicalTier1Router_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type FirewallSectionsObservation

type FirewallSectionsObservation struct {

	// A boolean flag which will be set to false if the referenced NSX resource has been deleted
	IsValid *bool `json:"isValid,omitempty" tf:"is_valid,omitempty"`

	// Display name of the NSX resource
	TargetDisplayName *string `json:"targetDisplayName,omitempty" tf:"target_display_name,omitempty"`

	// Identifier of the NSX resource
	TargetID *string `json:"targetId,omitempty" tf:"target_id,omitempty"`

	// Type of the NSX resource
	TargetType *string `json:"targetType,omitempty" tf:"target_type,omitempty"`
}

func (*FirewallSectionsObservation) DeepCopy

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

func (*FirewallSectionsObservation) DeepCopyInto

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

type FirewallSectionsParameters

type FirewallSectionsParameters struct {

	// Identifier of the NSX resource
	// +kubebuilder:validation:Optional
	TargetID *string `json:"targetId,omitempty" tf:"target_id,omitempty"`

	// Type of the NSX resource
	// +kubebuilder:validation:Optional
	TargetType *string `json:"targetType,omitempty" tf:"target_type,omitempty"`
}

func (*FirewallSectionsParameters) DeepCopy

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

func (*FirewallSectionsParameters) DeepCopyInto

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

type LogicalTier1Router

type LogicalTier1Router struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LogicalTier1RouterSpec   `json:"spec"`
	Status            LogicalTier1RouterStatus `json:"status,omitempty"`
}

LogicalTier1Router is the Schema for the LogicalTier1Routers 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 (*LogicalTier1Router) DeepCopy

func (in *LogicalTier1Router) DeepCopy() *LogicalTier1Router

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

func (*LogicalTier1Router) DeepCopyInto

func (in *LogicalTier1Router) DeepCopyInto(out *LogicalTier1Router)

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

func (*LogicalTier1Router) DeepCopyObject

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

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

func (*LogicalTier1Router) GetCondition

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

GetCondition of this LogicalTier1Router.

func (*LogicalTier1Router) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this LogicalTier1Router

func (*LogicalTier1Router) GetDeletionPolicy

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

GetDeletionPolicy of this LogicalTier1Router.

func (*LogicalTier1Router) GetID

func (tr *LogicalTier1Router) GetID() string

GetID returns ID of underlying Terraform resource of this LogicalTier1Router

func (*LogicalTier1Router) GetManagementPolicy

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

GetManagementPolicy of this LogicalTier1Router.

func (*LogicalTier1Router) GetObservation

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

GetObservation of this LogicalTier1Router

func (*LogicalTier1Router) GetParameters

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

GetParameters of this LogicalTier1Router

func (*LogicalTier1Router) GetProviderConfigReference

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

GetProviderConfigReference of this LogicalTier1Router.

func (*LogicalTier1Router) GetProviderReference

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

GetProviderReference of this LogicalTier1Router. Deprecated: Use GetProviderConfigReference.

func (*LogicalTier1Router) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this LogicalTier1Router.

func (*LogicalTier1Router) GetTerraformResourceType

func (mg *LogicalTier1Router) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LogicalTier1Router

func (*LogicalTier1Router) GetTerraformSchemaVersion

func (tr *LogicalTier1Router) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LogicalTier1Router) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LogicalTier1Router.

func (*LogicalTier1Router) LateInitialize

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

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

func (*LogicalTier1Router) SetConditions

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

SetConditions of this LogicalTier1Router.

func (*LogicalTier1Router) SetDeletionPolicy

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

SetDeletionPolicy of this LogicalTier1Router.

func (*LogicalTier1Router) SetManagementPolicy

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

SetManagementPolicy of this LogicalTier1Router.

func (*LogicalTier1Router) SetObservation

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

SetObservation for this LogicalTier1Router

func (*LogicalTier1Router) SetParameters

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

SetParameters for this LogicalTier1Router

func (*LogicalTier1Router) SetProviderConfigReference

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

SetProviderConfigReference of this LogicalTier1Router.

func (*LogicalTier1Router) SetProviderReference

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

SetProviderReference of this LogicalTier1Router. Deprecated: Use SetProviderConfigReference.

func (*LogicalTier1Router) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this LogicalTier1Router.

func (*LogicalTier1Router) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LogicalTier1Router.

type LogicalTier1RouterList

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

LogicalTier1RouterList contains a list of LogicalTier1Routers

func (*LogicalTier1RouterList) DeepCopy

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

func (*LogicalTier1RouterList) DeepCopyInto

func (in *LogicalTier1RouterList) DeepCopyInto(out *LogicalTier1RouterList)

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

func (*LogicalTier1RouterList) DeepCopyObject

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

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

func (*LogicalTier1RouterList) GetItems

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

GetItems of this LogicalTier1RouterList.

type LogicalTier1RouterObservation

type LogicalTier1RouterObservation struct {

	// 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
	AdvertiseConfigRevision *float64 `json:"advertiseConfigRevision,omitempty" tf:"advertise_config_revision,omitempty"`

	// Enable connected NSX routes advertisement
	AdvertiseConnectedRoutes *bool `json:"advertiseConnectedRoutes,omitempty" tf:"advertise_connected_routes,omitempty"`

	// Enable LB SNAT IP routes advertisement
	AdvertiseLBSnatIPRoutes *bool `json:"advertiseLbSnatIpRoutes,omitempty" tf:"advertise_lb_snat_ip_routes,omitempty"`

	// Enable LB VIP routes advertisement
	AdvertiseLBVipRoutes *bool `json:"advertiseLbVipRoutes,omitempty" tf:"advertise_lb_vip_routes,omitempty"`

	// Enable NAT routes advertisement
	AdvertiseNATRoutes *bool `json:"advertiseNatRoutes,omitempty" tf:"advertise_nat_routes,omitempty"`

	// Enable static routes advertisement
	AdvertiseStaticRoutes *bool `json:"advertiseStaticRoutes,omitempty" tf:"advertise_static_routes,omitempty"`

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

	// The display name of this resource. Defaults to ID if not set
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Edge Cluster Id
	EdgeClusterID *string `json:"edgeClusterId,omitempty" tf:"edge_cluster_id,omitempty"`

	// Enable router advertisement
	EnableRouterAdvertisement *bool `json:"enableRouterAdvertisement,omitempty" tf:"enable_router_advertisement,omitempty"`

	// Failover mode which determines whether the preferred service router instance for given logical router will preempt the peer
	FailoverMode *string `json:"failoverMode,omitempty" tf:"failover_mode,omitempty"`

	// List of Firewall sections related to the logical router
	FirewallSections []FirewallSectionsObservation `json:"firewallSections,omitempty" tf:"firewall_sections,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,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 (*LogicalTier1RouterObservation) DeepCopy

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

func (*LogicalTier1RouterObservation) DeepCopyInto

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

type LogicalTier1RouterParameters

type LogicalTier1RouterParameters struct {

	// Enable connected NSX routes advertisement
	// +kubebuilder:validation:Optional
	AdvertiseConnectedRoutes *bool `json:"advertiseConnectedRoutes,omitempty" tf:"advertise_connected_routes,omitempty"`

	// Enable LB SNAT IP routes advertisement
	// +kubebuilder:validation:Optional
	AdvertiseLBSnatIPRoutes *bool `json:"advertiseLbSnatIpRoutes,omitempty" tf:"advertise_lb_snat_ip_routes,omitempty"`

	// Enable LB VIP routes advertisement
	// +kubebuilder:validation:Optional
	AdvertiseLBVipRoutes *bool `json:"advertiseLbVipRoutes,omitempty" tf:"advertise_lb_vip_routes,omitempty"`

	// Enable NAT routes advertisement
	// +kubebuilder:validation:Optional
	AdvertiseNATRoutes *bool `json:"advertiseNatRoutes,omitempty" tf:"advertise_nat_routes,omitempty"`

	// Enable static routes advertisement
	// +kubebuilder:validation:Optional
	AdvertiseStaticRoutes *bool `json:"advertiseStaticRoutes,omitempty" tf:"advertise_static_routes,omitempty"`

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

	// The display name of this resource. Defaults to ID if not set
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Edge Cluster Id
	// +kubebuilder:validation:Optional
	EdgeClusterID *string `json:"edgeClusterId,omitempty" tf:"edge_cluster_id,omitempty"`

	// Enable router advertisement
	// +kubebuilder:validation:Optional
	EnableRouterAdvertisement *bool `json:"enableRouterAdvertisement,omitempty" tf:"enable_router_advertisement,omitempty"`

	// Failover mode which determines whether the preferred service router instance for given logical router will preempt the peer
	// +kubebuilder:validation:Optional
	FailoverMode *string `json:"failoverMode,omitempty" tf:"failover_mode,omitempty"`

	// List of Firewall sections related to the logical router
	// +kubebuilder:validation:Optional
	FirewallSections []FirewallSectionsParameters `json:"firewallSections,omitempty" tf:"firewall_sections,omitempty"`

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

func (*LogicalTier1RouterParameters) DeepCopy

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

func (*LogicalTier1RouterParameters) DeepCopyInto

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

type LogicalTier1RouterSpec

type LogicalTier1RouterSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LogicalTier1RouterParameters `json:"forProvider"`
}

LogicalTier1RouterSpec defines the desired state of LogicalTier1Router

func (*LogicalTier1RouterSpec) DeepCopy

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

func (*LogicalTier1RouterSpec) DeepCopyInto

func (in *LogicalTier1RouterSpec) DeepCopyInto(out *LogicalTier1RouterSpec)

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

type LogicalTier1RouterStatus

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

LogicalTier1RouterStatus defines the observed state of LogicalTier1Router.

func (*LogicalTier1RouterStatus) DeepCopy

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

func (*LogicalTier1RouterStatus) DeepCopyInto

func (in *LogicalTier1RouterStatus) DeepCopyInto(out *LogicalTier1RouterStatus)

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