v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=route.azurerm.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: route.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Filter

type Filter struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FilterSpec   `json:"spec,omitempty"`
	Status            FilterStatus `json:"status,omitempty"`
}

func (*Filter) DeepCopy

func (in *Filter) DeepCopy() *Filter

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

func (*Filter) DeepCopyInto

func (in *Filter) DeepCopyInto(out *Filter)

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

func (*Filter) DeepCopyObject

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

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

func (*Filter) SetupWebhookWithManager

func (r *Filter) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Filter) ValidateCreate

func (r *Filter) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Filter) ValidateDelete

func (r *Filter) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Filter) ValidateUpdate

func (r *Filter) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type FilterList

type FilterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Filter CRD objects
	Items []Filter `json:"items,omitempty"`
}

FilterList is a list of Filters

func (*FilterList) DeepCopy

func (in *FilterList) DeepCopy() *FilterList

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

func (*FilterList) DeepCopyInto

func (in *FilterList) DeepCopyInto(out *FilterList)

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

func (*FilterList) DeepCopyObject

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

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

type FilterSpec

type FilterSpec struct {
	State *FilterSpecResource `json:"state,omitempty" tf:"-"`

	Resource FilterSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*FilterSpec) DeepCopy

func (in *FilterSpec) DeepCopy() *FilterSpec

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

func (*FilterSpec) DeepCopyInto

func (in *FilterSpec) DeepCopyInto(out *FilterSpec)

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

type FilterSpecResource

type FilterSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	Location          *string `json:"location" tf:"location"`
	Name              *string `json:"name" tf:"name"`
	ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name"`
	// +optional
	Rule *FilterSpecRule `json:"rule,omitempty" tf:"rule"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
}

func (*FilterSpecResource) DeepCopy

func (in *FilterSpecResource) DeepCopy() *FilterSpecResource

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

func (*FilterSpecResource) DeepCopyInto

func (in *FilterSpecResource) DeepCopyInto(out *FilterSpecResource)

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

type FilterSpecRule

type FilterSpecRule struct {
	Access *string `json:"access" tf:"access"`
	// +kubebuilder:validation:MinItems=1
	Communities []string `json:"communities" tf:"communities"`
	Name        *string  `json:"name" tf:"name"`
	RuleType    *string  `json:"ruleType" tf:"rule_type"`
}

func (*FilterSpecRule) DeepCopy

func (in *FilterSpecRule) DeepCopy() *FilterSpecRule

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

func (*FilterSpecRule) DeepCopyInto

func (in *FilterSpecRule) DeepCopyInto(out *FilterSpecRule)

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

type FilterSpecRuleCodec

type FilterSpecRuleCodec struct {
}

+k8s:deepcopy-gen=false

func (FilterSpecRuleCodec) Decode

func (FilterSpecRuleCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)

func (FilterSpecRuleCodec) Encode

func (FilterSpecRuleCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)

func (FilterSpecRuleCodec) IsEmpty

func (FilterSpecRuleCodec) IsEmpty(ptr unsafe.Pointer) bool

type FilterStatus

type FilterStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*FilterStatus) DeepCopy

func (in *FilterStatus) DeepCopy() *FilterStatus

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

func (*FilterStatus) DeepCopyInto

func (in *FilterStatus) DeepCopyInto(out *FilterStatus)

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

type Route

type Route struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RouteSpec   `json:"spec,omitempty"`
	Status            RouteStatus `json:"status,omitempty"`
}

func (*Route) DeepCopy

func (in *Route) DeepCopy() *Route

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

func (*Route) DeepCopyInto

func (in *Route) DeepCopyInto(out *Route)

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

func (*Route) DeepCopyObject

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

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

func (*Route) SetupWebhookWithManager

func (r *Route) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Route) ValidateCreate

func (r *Route) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Route) ValidateDelete

func (r *Route) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Route) ValidateUpdate

func (r *Route) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type RouteList

type RouteList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Route CRD objects
	Items []Route `json:"items,omitempty"`
}

RouteList is a list of Routes

func (*RouteList) DeepCopy

func (in *RouteList) DeepCopy() *RouteList

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

func (*RouteList) DeepCopyInto

func (in *RouteList) DeepCopyInto(out *RouteList)

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

func (*RouteList) DeepCopyObject

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

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

type RouteSpec

type RouteSpec struct {
	State *RouteSpecResource `json:"state,omitempty" tf:"-"`

	Resource RouteSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*RouteSpec) DeepCopy

func (in *RouteSpec) DeepCopy() *RouteSpec

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

func (*RouteSpec) DeepCopyInto

func (in *RouteSpec) DeepCopyInto(out *RouteSpec)

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

type RouteSpecResource

type RouteSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	AddressPrefix *string `json:"addressPrefix" tf:"address_prefix"`
	Name          *string `json:"name" tf:"name"`
	// +optional
	NextHopInIPAddress *string `json:"nextHopInIPAddress,omitempty" tf:"next_hop_in_ip_address"`
	NextHopType        *string `json:"nextHopType" tf:"next_hop_type"`
	ResourceGroupName  *string `json:"resourceGroupName" tf:"resource_group_name"`
	RouteTableName     *string `json:"routeTableName" tf:"route_table_name"`
}

func (*RouteSpecResource) DeepCopy

func (in *RouteSpecResource) DeepCopy() *RouteSpecResource

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

func (*RouteSpecResource) DeepCopyInto

func (in *RouteSpecResource) DeepCopyInto(out *RouteSpecResource)

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

type RouteStatus

type RouteStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*RouteStatus) DeepCopy

func (in *RouteStatus) DeepCopy() *RouteStatus

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

func (*RouteStatus) DeepCopyInto

func (in *RouteStatus) DeepCopyInto(out *RouteStatus)

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

type Table

type Table struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TableSpec   `json:"spec,omitempty"`
	Status            TableStatus `json:"status,omitempty"`
}

func (*Table) DeepCopy

func (in *Table) DeepCopy() *Table

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

func (*Table) DeepCopyInto

func (in *Table) DeepCopyInto(out *Table)

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

func (*Table) DeepCopyObject

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

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

func (*Table) SetupWebhookWithManager

func (r *Table) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Table) ValidateCreate

func (r *Table) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Table) ValidateDelete

func (r *Table) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Table) ValidateUpdate

func (r *Table) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type TableList

type TableList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Table CRD objects
	Items []Table `json:"items,omitempty"`
}

TableList is a list of Tables

func (*TableList) DeepCopy

func (in *TableList) DeepCopy() *TableList

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

func (*TableList) DeepCopyInto

func (in *TableList) DeepCopyInto(out *TableList)

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

func (*TableList) DeepCopyObject

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

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

type TableSpec

type TableSpec struct {
	State *TableSpecResource `json:"state,omitempty" tf:"-"`

	Resource TableSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*TableSpec) DeepCopy

func (in *TableSpec) DeepCopy() *TableSpec

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

func (*TableSpec) DeepCopyInto

func (in *TableSpec) DeepCopyInto(out *TableSpec)

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

type TableSpecResource

type TableSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	// +optional
	DisableBGPRoutePropagation *bool   `json:"disableBGPRoutePropagation,omitempty" tf:"disable_bgp_route_propagation"`
	Location                   *string `json:"location" tf:"location"`
	Name                       *string `json:"name" tf:"name"`
	ResourceGroupName          *string `json:"resourceGroupName" tf:"resource_group_name"`
	// +optional
	Route []TableSpecRoute `json:"route,omitempty" tf:"route"`
	// +optional
	Subnets []string `json:"subnets,omitempty" tf:"subnets"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
}

func (*TableSpecResource) DeepCopy

func (in *TableSpecResource) DeepCopy() *TableSpecResource

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

func (*TableSpecResource) DeepCopyInto

func (in *TableSpecResource) DeepCopyInto(out *TableSpecResource)

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

type TableSpecRoute

type TableSpecRoute struct {
	AddressPrefix *string `json:"addressPrefix" tf:"address_prefix"`
	Name          *string `json:"name" tf:"name"`
	// +optional
	NextHopInIPAddress *string `json:"nextHopInIPAddress,omitempty" tf:"next_hop_in_ip_address"`
	NextHopType        *string `json:"nextHopType" tf:"next_hop_type"`
}

func (*TableSpecRoute) DeepCopy

func (in *TableSpecRoute) DeepCopy() *TableSpecRoute

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

func (*TableSpecRoute) DeepCopyInto

func (in *TableSpecRoute) DeepCopyInto(out *TableSpecRoute)

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

type TableStatus

type TableStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*TableStatus) DeepCopy

func (in *TableStatus) DeepCopy() *TableStatus

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

func (*TableStatus) DeepCopyInto

func (in *TableStatus) DeepCopyInto(out *TableStatus)

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