Documentation
¶
Overview ¶
+groupName=forward.alicloud.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 Entry
- func (in *Entry) DeepCopy() *Entry
- func (in *Entry) DeepCopyInto(out *Entry)
- func (in *Entry) DeepCopyObject() runtime.Object
- func (r *Entry) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Entry) ValidateCreate() error
- func (r *Entry) ValidateDelete() error
- func (r *Entry) ValidateUpdate(old runtime.Object) error
- type EntryList
- type EntrySpec
- type EntrySpecResource
- type EntryStatus
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: forward.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 Entry ¶
type Entry struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EntrySpec `json:"spec,omitempty"` Status EntryStatus `json:"status,omitempty"` }
func (*Entry) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Entry.
func (*Entry) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Entry) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Entry) SetupWebhookWithManager ¶
func (*Entry) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Entry) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type EntryList ¶
type EntryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Entry CRD objects Items []Entry `json:"items,omitempty"` }
EntryList is a list of Entrys
func (*EntryList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EntryList.
func (*EntryList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EntrySpec ¶
type EntrySpec struct { State *EntrySpecResource `json:"state,omitempty" tf:"-"` Resource EntrySpecResource `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 (*EntrySpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EntrySpec.
type EntrySpecResource ¶
type EntrySpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` ExternalIP *string `json:"externalIP" tf:"external_ip"` ExternalPort *string `json:"externalPort" tf:"external_port"` // +optional ForwardEntryID *string `json:"forwardEntryID,omitempty" tf:"forward_entry_id"` // +optional ForwardEntryName *string `json:"forwardEntryName,omitempty" tf:"forward_entry_name"` ForwardTableID *string `json:"forwardTableID" tf:"forward_table_id"` InternalIP *string `json:"internalIP" tf:"internal_ip"` InternalPort *string `json:"internalPort" tf:"internal_port"` IpProtocol *string `json:"ipProtocol" tf:"ip_protocol"` // +optional // Deprecated Name *string `json:"name,omitempty" tf:"name"` // +optional PortBreak *bool `json:"portBreak,omitempty" tf:"port_break"` // +optional Status *string `json:"status,omitempty" tf:"status"` }
func (*EntrySpecResource) DeepCopy ¶
func (in *EntrySpecResource) DeepCopy() *EntrySpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EntrySpecResource.
func (*EntrySpecResource) DeepCopyInto ¶
func (in *EntrySpecResource) DeepCopyInto(out *EntrySpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EntryStatus ¶
type EntryStatus 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 (*EntryStatus) DeepCopy ¶
func (in *EntryStatus) DeepCopy() *EntryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EntryStatus.
func (*EntryStatus) DeepCopyInto ¶
func (in *EntryStatus) DeepCopyInto(out *EntryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.