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=bastion.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: bastion.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 Host

type Host struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              HostSpec   `json:"spec,omitempty"`
	Status            HostStatus `json:"status,omitempty"`
}

func (*Host) DeepCopy

func (in *Host) DeepCopy() *Host

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

func (*Host) DeepCopyInto

func (in *Host) DeepCopyInto(out *Host)

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

func (*Host) DeepCopyObject

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

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

func (*Host) SetupWebhookWithManager

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

func (*Host) ValidateCreate

func (r *Host) ValidateCreate() error

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

func (*Host) ValidateDelete

func (r *Host) ValidateDelete() error

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

func (*Host) ValidateUpdate

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

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

type HostList

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

HostList is a list of Hosts

func (*HostList) DeepCopy

func (in *HostList) DeepCopy() *HostList

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

func (*HostList) DeepCopyInto

func (in *HostList) DeepCopyInto(out *HostList)

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

func (*HostList) DeepCopyObject

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

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

type HostSpec

type HostSpec struct {
	State *HostSpecResource `json:"state,omitempty" tf:"-"`

	Resource HostSpecResource `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 (*HostSpec) DeepCopy

func (in *HostSpec) DeepCopy() *HostSpec

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

func (*HostSpec) DeepCopyInto

func (in *HostSpec) DeepCopyInto(out *HostSpec)

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

type HostSpecIpConfiguration

type HostSpecIpConfiguration struct {
	Name              *string `json:"name" tf:"name"`
	PublicIPAddressID *string `json:"publicIPAddressID" tf:"public_ip_address_id"`
	SubnetID          *string `json:"subnetID" tf:"subnet_id"`
}

func (*HostSpecIpConfiguration) DeepCopy

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

func (*HostSpecIpConfiguration) DeepCopyInto

func (in *HostSpecIpConfiguration) DeepCopyInto(out *HostSpecIpConfiguration)

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

type HostSpecIpConfigurationCodec

type HostSpecIpConfigurationCodec struct {
}

+k8s:deepcopy-gen=false

func (HostSpecIpConfigurationCodec) Decode

func (HostSpecIpConfigurationCodec) Encode

func (HostSpecIpConfigurationCodec) IsEmpty

type HostSpecResource

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

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

	// +optional
	CopyPasteEnabled *bool `json:"copyPasteEnabled,omitempty" tf:"copy_paste_enabled"`
	// +optional
	DnsName *string `json:"dnsName,omitempty" tf:"dns_name"`
	// +optional
	FileCopyEnabled *bool `json:"fileCopyEnabled,omitempty" tf:"file_copy_enabled"`
	// +optional
	IpConfiguration *HostSpecIpConfiguration `json:"ipConfiguration,omitempty" tf:"ip_configuration"`
	// +optional
	IpConnectEnabled  *bool   `json:"ipConnectEnabled,omitempty" tf:"ip_connect_enabled"`
	Location          *string `json:"location" tf:"location"`
	Name              *string `json:"name" tf:"name"`
	ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name"`
	// +optional
	ScaleUnits *int64 `json:"scaleUnits,omitempty" tf:"scale_units"`
	// +optional
	ShareableLinkEnabled *bool `json:"shareableLinkEnabled,omitempty" tf:"shareable_link_enabled"`
	// +optional
	Sku *string `json:"sku,omitempty" tf:"sku"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TunnelingEnabled *bool `json:"tunnelingEnabled,omitempty" tf:"tunneling_enabled"`
}

func (*HostSpecResource) DeepCopy

func (in *HostSpecResource) DeepCopy() *HostSpecResource

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

func (*HostSpecResource) DeepCopyInto

func (in *HostSpecResource) DeepCopyInto(out *HostSpecResource)

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

type HostStatus

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

func (in *HostStatus) DeepCopy() *HostStatus

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

func (*HostStatus) DeepCopyInto

func (in *HostStatus) DeepCopyInto(out *HostStatus)

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