v1alpha1

package
v0.0.0-...-15274c1 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains the v1alpha1 group Sample resources of the VyOS provider. +kubebuilder:object:generate=true +groupName=router.vyos.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "router.vyos.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	StaticRouteKind             = reflect.TypeOf(StaticRoute{}).Name()
	StaticRouteGroupKind        = schema.GroupKind{Group: Group, Kind: StaticRouteKind}.String()
	StaticRouteKindAPIVersion   = StaticRouteKind + "." + SchemeGroupVersion.String()
	StaticRouteGroupVersionKind = SchemeGroupVersion.WithKind(StaticRouteKind)
)

StaticRoute type metadata.

Functions

This section is empty.

Types

type RouteParameters

type RouteParameters struct {
	To               string `json:"to"`
	NextHopInterface string `json:"next-hop-interface"`
}

func (*RouteParameters) DeepCopy

func (in *RouteParameters) DeepCopy() *RouteParameters

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

func (*RouteParameters) DeepCopyInto

func (in *RouteParameters) DeepCopyInto(out *RouteParameters)

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

type StateParameters

type StateParameters struct {
	//+optional
	FollowedRoute string `json:"followedRoute"`
}

func (*StateParameters) DeepCopy

func (in *StateParameters) DeepCopy() *StateParameters

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

func (*StateParameters) DeepCopyInto

func (in *StateParameters) DeepCopyInto(out *StateParameters)

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

	Spec   StaticRouteSpec   `json:"spec"`
	Status StaticRouteStatus `json:"status,omitempty"`
}

A StaticRoute is an example API type. +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,vyos}

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) GetDeletionPolicy

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

GetDeletionPolicy of this StaticRoute.

func (*StaticRoute) GetManagementPolicies

func (mg *StaticRoute) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies 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) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this StaticRoute.

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) SetManagementPolicies

func (mg *StaticRoute) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of 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 StaticRoute

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 {
	State StateParameters `json:"state"`
}

StaticRouteObservation are the observable fields of a StaticRoute.

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 {
	VyosUrl string          `json:"vyosUrl"`
	Route   RouteParameters `json:"route"`
}

StaticRouteParameters are the configurable fields of a StaticRoute.

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 {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       StaticRouteParameters `json:"forProvider"`
}

A StaticRouteSpec defines the desired state of a 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 {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          StaticRouteObservation `json:"atProvider,omitempty"`
}

A StaticRouteStatus represents the observed state of a 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.

Jump to

Keyboard shortcuts

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