Documentation ¶
Overview ¶
+groupName=bgp.equinixmetal.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 Session
- func (in *Session) DeepCopy() *Session
- func (in *Session) DeepCopyInto(out *Session)
- func (in *Session) DeepCopyObject() runtime.Object
- func (r *Session) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Session) ValidateCreate() error
- func (r *Session) ValidateDelete() error
- func (r *Session) ValidateUpdate(old runtime.Object) error
- type SessionList
- type SessionSpec
- type SessionSpecResource
- type SessionStatus
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: bgp.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Session ¶
type Session struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SessionSpec `json:"spec,omitempty"` Status SessionStatus `json:"status,omitempty"` }
func (*Session) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Session.
func (*Session) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Session) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Session) SetupWebhookWithManager ¶
func (*Session) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Session) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type SessionList ¶
type SessionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Session CRD objects Items []Session `json:"items,omitempty"` }
SessionList is a list of Sessions
func (*SessionList) DeepCopy ¶
func (in *SessionList) DeepCopy() *SessionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionList.
func (*SessionList) DeepCopyInto ¶
func (in *SessionList) DeepCopyInto(out *SessionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SessionList) DeepCopyObject ¶
func (in *SessionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SessionSpec ¶
type SessionSpec struct { State *SessionSpecResource `json:"state,omitempty" tf:"-"` Resource SessionSpecResource `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 (*SessionSpec) DeepCopy ¶
func (in *SessionSpec) DeepCopy() *SessionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionSpec.
func (*SessionSpec) DeepCopyInto ¶
func (in *SessionSpec) DeepCopyInto(out *SessionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SessionSpecResource ¶
type SessionSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // ipv4 or ipv6 AddressFamily *string `json:"addressFamily" tf:"address_family"` // Boolean flag to set the default route policy. False by default // +optional DefaultRoute *bool `json:"defaultRoute,omitempty" tf:"default_route"` // ID of device DeviceID *string `json:"deviceID" tf:"device_id"` // Status of the session - up or down // +optional Status *string `json:"status,omitempty" tf:"status"` }
func (*SessionSpecResource) DeepCopy ¶
func (in *SessionSpecResource) DeepCopy() *SessionSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionSpecResource.
func (*SessionSpecResource) DeepCopyInto ¶
func (in *SessionSpecResource) DeepCopyInto(out *SessionSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SessionStatus ¶
type SessionStatus 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 (*SessionStatus) DeepCopy ¶
func (in *SessionStatus) DeepCopy() *SessionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionStatus.
func (*SessionStatus) DeepCopyInto ¶
func (in *SessionStatus) DeepCopyInto(out *SessionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.