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: 14 Imported by: 0

Documentation

Overview

+groupName=multi.ibm.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: multi.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 VlanFirewall

type VlanFirewall struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VlanFirewallSpec   `json:"spec,omitempty"`
	Status            VlanFirewallStatus `json:"status,omitempty"`
}

func (*VlanFirewall) DeepCopy

func (in *VlanFirewall) DeepCopy() *VlanFirewall

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

func (*VlanFirewall) DeepCopyInto

func (in *VlanFirewall) DeepCopyInto(out *VlanFirewall)

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

func (*VlanFirewall) DeepCopyObject

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

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

func (*VlanFirewall) SetupWebhookWithManager

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

func (*VlanFirewall) ValidateCreate

func (r *VlanFirewall) ValidateCreate() error

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

func (*VlanFirewall) ValidateDelete

func (r *VlanFirewall) ValidateDelete() error

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

func (*VlanFirewall) ValidateUpdate

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

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

type VlanFirewallList

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

VlanFirewallList is a list of VlanFirewalls

func (*VlanFirewallList) DeepCopy

func (in *VlanFirewallList) DeepCopy() *VlanFirewallList

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

func (*VlanFirewallList) DeepCopyInto

func (in *VlanFirewallList) DeepCopyInto(out *VlanFirewallList)

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

func (*VlanFirewallList) DeepCopyObject

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

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

type VlanFirewallSpec

type VlanFirewallSpec struct {
	State *VlanFirewallSpecResource `json:"state,omitempty" tf:"-"`

	Resource VlanFirewallSpecResource `json:"resource" tf:"resource"`

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

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

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

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

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

func (*VlanFirewallSpec) DeepCopy

func (in *VlanFirewallSpec) DeepCopy() *VlanFirewallSpec

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

func (*VlanFirewallSpec) DeepCopyInto

func (in *VlanFirewallSpec) DeepCopyInto(out *VlanFirewallSpec)

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

type VlanFirewallSpecResource

type VlanFirewallSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// High Availability - [Web Filtering Add-on, NGFW Add-on, AV Add-on] or [Web Filtering Add-on, NGFW Add-on, AV Add-on]
	// +optional
	AddonConfiguration []string `json:"addonConfiguration,omitempty" tf:"addon_configuration"`
	// Datacenter name
	Datacenter *string `json:"datacenter" tf:"datacenter"`
	// Firewall type
	FirewallType *string `json:"firewallType" tf:"firewall_type"`
	// name
	Name *string `json:"name" tf:"name"`
	// Password
	// +optional
	Password *string `json:"-" sensitive:"true" tf:"password"`
	// POD name
	Pod *string `json:"pod" tf:"pod"`
	// Private IP Address
	// +optional
	PrivateIP *string `json:"privateIP,omitempty" tf:"private_ip"`
	// Private VLAN id
	// +optional
	PrivateVLANID *int64 `json:"privateVLANID,omitempty" tf:"private_vlan_id"`
	// Public IP Address
	// +optional
	PublicIP *string `json:"publicIP,omitempty" tf:"public_ip"`
	// Public IPV6 IP
	// +optional
	PublicIpv6 *string `json:"publicIpv6,omitempty" tf:"public_ipv6"`
	// Public VLAN id
	// +optional
	PublicVLANID *int64 `json:"publicVLANID,omitempty" tf:"public_vlan_id"`
	// User name
	// +optional
	Username *string `json:"username,omitempty" tf:"username"`
}

func (*VlanFirewallSpecResource) DeepCopy

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

func (*VlanFirewallSpecResource) DeepCopyInto

func (in *VlanFirewallSpecResource) DeepCopyInto(out *VlanFirewallSpecResource)

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

type VlanFirewallStatus

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

func (in *VlanFirewallStatus) DeepCopy() *VlanFirewallStatus

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

func (*VlanFirewallStatus) DeepCopyInto

func (in *VlanFirewallStatus) DeepCopyInto(out *VlanFirewallStatus)

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