Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Index ¶
- Constants
- Variables
- func Convert_bluechi_BlueChiNode_To_v1alpha1_BlueChiNode(in *bluechi.BlueChiNode, out *BlueChiNode, s conversion.Scope) error
- func Convert_bluechi_BlueChiSystemList_To_v1alpha1_BlueChiSystemList(in *bluechi.BlueChiSystemList, out *BlueChiSystemList, s conversion.Scope) error
- func Convert_bluechi_BlueChiSystemSpec_To_v1alpha1_BlueChiSystemSpec(in *bluechi.BlueChiSystemSpec, out *BlueChiSystemSpec, s conversion.Scope) error
- func Convert_bluechi_BlueChiSystem_To_v1alpha1_BlueChiSystem(in *bluechi.BlueChiSystem, out *BlueChiSystem, s conversion.Scope) error
- func Convert_v1alpha1_BlueChiNode_To_bluechi_BlueChiNode(in *BlueChiNode, out *bluechi.BlueChiNode, s conversion.Scope) error
- func Convert_v1alpha1_BlueChiSystemList_To_bluechi_BlueChiSystemList(in *BlueChiSystemList, out *bluechi.BlueChiSystemList, s conversion.Scope) error
- func Convert_v1alpha1_BlueChiSystemSpec_To_bluechi_BlueChiSystemSpec(in *BlueChiSystemSpec, out *bluechi.BlueChiSystemSpec, s conversion.Scope) error
- func Convert_v1alpha1_BlueChiSystem_To_bluechi_BlueChiSystem(in *BlueChiSystem, out *bluechi.BlueChiSystem, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetDefaults_BlueChiSystemSpec(obj *BlueChiSystemSpec)
- func SetObjectDefaults_BlueChiSystem(in *BlueChiSystem)
- func SetObjectDefaults_BlueChiSystemList(in *BlueChiSystemList)
- type BlueChiNode
- type BlueChiNodes
- type BlueChiSystem
- type BlueChiSystemList
- type BlueChiSystemSpec
- type BlueChiSystemStatus
- type NodeStatus
Constants ¶
const ( SystemStatusUp = BlueChiSystemStatus("up") SystemStatusDegraded = BlueChiSystemStatus("degraded") SystemStatusDown = BlueChiSystemStatus("down") )
const ( NodeStatusOnline = NodeStatus("online") NodeStatusOffline = NodeStatus("offline") )
const GroupName = "org.eclipse.bluechi"
GroupName is the group name used in this package
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. // SchemeBuilder is the scheme builder with scheme init functions to run for this API package SchemeBuilder runtime.SchemeBuilder // AddToScheme is a common registration function for mapping packaged scoped group & version keys to a scheme AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_bluechi_BlueChiNode_To_v1alpha1_BlueChiNode ¶
func Convert_bluechi_BlueChiNode_To_v1alpha1_BlueChiNode(in *bluechi.BlueChiNode, out *BlueChiNode, s conversion.Scope) error
Convert_bluechi_BlueChiNode_To_v1alpha1_BlueChiNode is an autogenerated conversion function.
func Convert_bluechi_BlueChiSystemList_To_v1alpha1_BlueChiSystemList ¶
func Convert_bluechi_BlueChiSystemList_To_v1alpha1_BlueChiSystemList(in *bluechi.BlueChiSystemList, out *BlueChiSystemList, s conversion.Scope) error
Convert_bluechi_BlueChiSystemList_To_v1alpha1_BlueChiSystemList is an autogenerated conversion function.
func Convert_bluechi_BlueChiSystemSpec_To_v1alpha1_BlueChiSystemSpec ¶
func Convert_bluechi_BlueChiSystemSpec_To_v1alpha1_BlueChiSystemSpec(in *bluechi.BlueChiSystemSpec, out *BlueChiSystemSpec, s conversion.Scope) error
Convert_bluechi_BlueChiSystemSpec_To_v1alpha1_BlueChiSystemSpec is an autogenerated conversion function.
func Convert_bluechi_BlueChiSystem_To_v1alpha1_BlueChiSystem ¶
func Convert_bluechi_BlueChiSystem_To_v1alpha1_BlueChiSystem(in *bluechi.BlueChiSystem, out *BlueChiSystem, s conversion.Scope) error
Convert_bluechi_BlueChiSystem_To_v1alpha1_BlueChiSystem is an autogenerated conversion function.
func Convert_v1alpha1_BlueChiNode_To_bluechi_BlueChiNode ¶
func Convert_v1alpha1_BlueChiNode_To_bluechi_BlueChiNode(in *BlueChiNode, out *bluechi.BlueChiNode, s conversion.Scope) error
Convert_v1alpha1_BlueChiNode_To_bluechi_BlueChiNode is an autogenerated conversion function.
func Convert_v1alpha1_BlueChiSystemList_To_bluechi_BlueChiSystemList ¶
func Convert_v1alpha1_BlueChiSystemList_To_bluechi_BlueChiSystemList(in *BlueChiSystemList, out *bluechi.BlueChiSystemList, s conversion.Scope) error
Convert_v1alpha1_BlueChiSystemList_To_bluechi_BlueChiSystemList is an autogenerated conversion function.
func Convert_v1alpha1_BlueChiSystemSpec_To_bluechi_BlueChiSystemSpec ¶
func Convert_v1alpha1_BlueChiSystemSpec_To_bluechi_BlueChiSystemSpec(in *BlueChiSystemSpec, out *bluechi.BlueChiSystemSpec, s conversion.Scope) error
Convert_v1alpha1_BlueChiSystemSpec_To_bluechi_BlueChiSystemSpec is an autogenerated conversion function.
func Convert_v1alpha1_BlueChiSystem_To_bluechi_BlueChiSystem ¶
func Convert_v1alpha1_BlueChiSystem_To_bluechi_BlueChiSystem(in *BlueChiSystem, out *bluechi.BlueChiSystem, s conversion.Scope) error
Convert_v1alpha1_BlueChiSystem_To_bluechi_BlueChiSystem is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
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 resource and returns a Group qualified GroupResource
func SetDefaults_BlueChiSystemSpec ¶
func SetDefaults_BlueChiSystemSpec(obj *BlueChiSystemSpec)
SetDefaults_BlueChiSystemSpec sets defaults for BlueChiSystem spec
func SetObjectDefaults_BlueChiSystem ¶
func SetObjectDefaults_BlueChiSystem(in *BlueChiSystem)
func SetObjectDefaults_BlueChiSystemList ¶
func SetObjectDefaults_BlueChiSystemList(in *BlueChiSystemList)
Types ¶
type BlueChiNode ¶
type BlueChiNode struct { Name string `json:"name,omitempty"` Status NodeStatus `json:"status,omitempty"` LastSeenTimestamp string `json:"lastSeenTimestamp,omitempty"` }
func (*BlueChiNode) DeepCopy ¶
func (in *BlueChiNode) DeepCopy() *BlueChiNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlueChiNode.
func (*BlueChiNode) DeepCopyInto ¶
func (in *BlueChiNode) DeepCopyInto(out *BlueChiNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BlueChiNodes ¶
type BlueChiNodes []BlueChiNode
func (BlueChiNodes) DeepCopy ¶
func (in BlueChiNodes) DeepCopy() BlueChiNodes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlueChiNodes.
func (BlueChiNodes) DeepCopyInto ¶
func (in BlueChiNodes) DeepCopyInto(out *BlueChiNodes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BlueChiSystem ¶
type BlueChiSystem struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BlueChiSystemSpec `json:"spec,omitempty"` Status BlueChiSystemStatus `json:"status,omitempty"` }
func (*BlueChiSystem) DeepCopy ¶
func (in *BlueChiSystem) DeepCopy() *BlueChiSystem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlueChiSystem.
func (*BlueChiSystem) DeepCopyInto ¶
func (in *BlueChiSystem) DeepCopyInto(out *BlueChiSystem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BlueChiSystem) DeepCopyObject ¶
func (in *BlueChiSystem) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BlueChiSystemList ¶
type BlueChiSystemList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BlueChiSystem `json:"items"` }
func (*BlueChiSystemList) DeepCopy ¶
func (in *BlueChiSystemList) DeepCopy() *BlueChiSystemList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlueChiSystemList.
func (*BlueChiSystemList) DeepCopyInto ¶
func (in *BlueChiSystemList) DeepCopyInto(out *BlueChiSystemList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BlueChiSystemList) DeepCopyObject ¶
func (in *BlueChiSystemList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BlueChiSystemSpec ¶
type BlueChiSystemSpec struct {
Nodes BlueChiNodes `json:"nodes,omitempty"`
}
func (*BlueChiSystemSpec) DeepCopy ¶
func (in *BlueChiSystemSpec) DeepCopy() *BlueChiSystemSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlueChiSystemSpec.
func (*BlueChiSystemSpec) DeepCopyInto ¶
func (in *BlueChiSystemSpec) DeepCopyInto(out *BlueChiSystemSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BlueChiSystemStatus ¶
type BlueChiSystemStatus string
type NodeStatus ¶
type NodeStatus string