Documentation ¶
Overview ¶
+groupName=bastion.azurerm.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Host
- func (in *Host) DeepCopy() *Host
- func (in *Host) DeepCopyInto(out *Host)
- func (in *Host) DeepCopyObject() runtime.Object
- func (r *Host) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Host) ValidateCreate() error
- func (r *Host) ValidateDelete() error
- func (r *Host) ValidateUpdate(old runtime.Object) error
- type HostList
- type HostSpec
- type HostSpecIpConfiguration
- type HostSpecIpConfigurationCodec
- type HostSpecResource
- type HostStatus
Constants ¶
This section is empty.
Variables ¶
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 )
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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Host.
func (*Host) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Host) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Host) SetupWebhookWithManager ¶
func (*Host) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Host) ValidateDelete ¶
ValidateDelete 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostList.
func (*HostList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostSpec.
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 ¶
func (in *HostSpecIpConfiguration) DeepCopy() *HostSpecIpConfiguration
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (HostSpecIpConfigurationCodec) Encode ¶
func (HostSpecIpConfigurationCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (HostSpecIpConfigurationCodec) IsEmpty ¶
func (HostSpecIpConfigurationCodec) IsEmpty(ptr unsafe.Pointer) bool
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"` 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.