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=local.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: local.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 NetworkGateway

type NetworkGateway struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NetworkGatewaySpec   `json:"spec,omitempty"`
	Status            NetworkGatewayStatus `json:"status,omitempty"`
}

func (*NetworkGateway) DeepCopy

func (in *NetworkGateway) DeepCopy() *NetworkGateway

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

func (*NetworkGateway) DeepCopyInto

func (in *NetworkGateway) DeepCopyInto(out *NetworkGateway)

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

func (*NetworkGateway) DeepCopyObject

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

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

func (*NetworkGateway) SetupWebhookWithManager

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

func (*NetworkGateway) ValidateCreate

func (r *NetworkGateway) ValidateCreate() error

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

func (*NetworkGateway) ValidateDelete

func (r *NetworkGateway) ValidateDelete() error

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

func (*NetworkGateway) ValidateUpdate

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

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

type NetworkGatewayList

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

NetworkGatewayList is a list of NetworkGateways

func (*NetworkGatewayList) DeepCopy

func (in *NetworkGatewayList) DeepCopy() *NetworkGatewayList

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

func (*NetworkGatewayList) DeepCopyInto

func (in *NetworkGatewayList) DeepCopyInto(out *NetworkGatewayList)

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

func (*NetworkGatewayList) DeepCopyObject

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

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

type NetworkGatewaySpec

type NetworkGatewaySpec struct {
	State *NetworkGatewaySpecResource `json:"state,omitempty" tf:"-"`

	Resource NetworkGatewaySpecResource `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 (*NetworkGatewaySpec) DeepCopy

func (in *NetworkGatewaySpec) DeepCopy() *NetworkGatewaySpec

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

func (*NetworkGatewaySpec) DeepCopyInto

func (in *NetworkGatewaySpec) DeepCopyInto(out *NetworkGatewaySpec)

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

type NetworkGatewaySpecBgpSettings

type NetworkGatewaySpecBgpSettings struct {
	Asn               *int64  `json:"asn" tf:"asn"`
	BgpPeeringAddress *string `json:"bgpPeeringAddress" tf:"bgp_peering_address"`
	// +optional
	PeerWeight *int64 `json:"peerWeight,omitempty" tf:"peer_weight"`
}

func (*NetworkGatewaySpecBgpSettings) DeepCopy

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

func (*NetworkGatewaySpecBgpSettings) DeepCopyInto

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

type NetworkGatewaySpecBgpSettingsCodec

type NetworkGatewaySpecBgpSettingsCodec struct {
}

+k8s:deepcopy-gen=false

func (NetworkGatewaySpecBgpSettingsCodec) Decode

func (NetworkGatewaySpecBgpSettingsCodec) Encode

func (NetworkGatewaySpecBgpSettingsCodec) IsEmpty

type NetworkGatewaySpecResource

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

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

	// +optional
	AddressSpace []string `json:"addressSpace,omitempty" tf:"address_space"`
	// +optional
	BgpSettings *NetworkGatewaySpecBgpSettings `json:"bgpSettings,omitempty" tf:"bgp_settings"`
	// +optional
	GatewayAddress *string `json:"gatewayAddress,omitempty" tf:"gateway_address"`
	// +optional
	GatewayFqdn       *string `json:"gatewayFqdn,omitempty" tf:"gateway_fqdn"`
	Location          *string `json:"location" tf:"location"`
	Name              *string `json:"name" tf:"name"`
	ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
}

func (*NetworkGatewaySpecResource) DeepCopy

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

func (*NetworkGatewaySpecResource) DeepCopyInto

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

type NetworkGatewayStatus

type NetworkGatewayStatus 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 (*NetworkGatewayStatus) DeepCopy

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

func (*NetworkGatewayStatus) DeepCopyInto

func (in *NetworkGatewayStatus) DeepCopyInto(out *NetworkGatewayStatus)

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