Documentation
¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=kubelink.mandelsoft.org
Index ¶
Constants ¶
const ( Version = "v1alpha1" GroupName = kubelink.GroupName )
const STATE_ERROR = "Error"
const STATE_INVALID = "Invalid"
const STATE_UP = "Up"
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var KUBELINK = resources.NewGroupKind(GroupName, "KubeLink")
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resources and returns a Group qualified GroupResource
Types ¶
type KubeLink ¶
type KubeLink struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KubeLinkSpec `json:"spec"` // +optional Status KubeLinkStatus `json:"status,omitempty"` }
func (*KubeLink) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeLink.
func (*KubeLink) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KubeLink) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KubeLinkDNS ¶
type KubeLinkDNS struct { // +optional OmitDNSPropagation *bool `json:"omitDNSPropagation,omitempty"` // +optional DNSIP string `json:"dnsIP,omitempty"` // +optional BaseDomain string `json:"baseDomain,omitempty"` }
func (*KubeLinkDNS) DeepCopy ¶
func (in *KubeLinkDNS) DeepCopy() *KubeLinkDNS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeLinkDNS.
func (*KubeLinkDNS) DeepCopyInto ¶
func (in *KubeLinkDNS) DeepCopyInto(out *KubeLinkDNS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeLinkList ¶
type KubeLinkList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata metav1.ListMeta `json:"metadata,omitempty"` Items []KubeLink `json:"items"` }
func (*KubeLinkList) DeepCopy ¶
func (in *KubeLinkList) DeepCopy() *KubeLinkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeLinkList.
func (*KubeLinkList) DeepCopyInto ¶
func (in *KubeLinkList) DeepCopyInto(out *KubeLinkList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KubeLinkList) DeepCopyObject ¶
func (in *KubeLinkList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KubeLinkSpec ¶
type KubeLinkSpec struct { // +optional CIDR string `json:"cidr"` // +optional Ingress []string `json:"ingress,omitempty"` // +optional Egress []string `json:"egress,omitempty"` ClusterAddress string `json:"clusterAddress"` Endpoint string `json:"endpoint"` // +optional APIAccess *core.SecretReference `json:"apiAccess,omitempty"` // +optional DNS *KubeLinkDNS `json:"dns,omitempty"` }
func (*KubeLinkSpec) DeepCopy ¶
func (in *KubeLinkSpec) DeepCopy() *KubeLinkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeLinkSpec.
func (*KubeLinkSpec) DeepCopyInto ¶
func (in *KubeLinkSpec) DeepCopyInto(out *KubeLinkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeLinkStatus ¶
type KubeLinkStatus struct { // +optional State string `json:"state,omitempty"` // +optional Message string `json:"message,omitempty"` // +optional Gateway string `json:"gateway,omitempty"` }
func (*KubeLinkStatus) DeepCopy ¶
func (in *KubeLinkStatus) DeepCopy() *KubeLinkStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeLinkStatus.
func (*KubeLinkStatus) DeepCopyInto ¶
func (in *KubeLinkStatus) DeepCopyInto(out *KubeLinkStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.