Documentation ¶
Overview ¶
Package bluechi is the internal version of the API.
Index ¶
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 ( // SchemeBuilder is the scheme builder with scheme init functions to run for this API package SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a common registration function for mapping packaged scoped group & version keys to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns back a Group qualified GroupResource
Types ¶
type BlueChiNode ¶
type BlueChiNode struct { Name string Status NodeStatus LastSeenTimestamp string }
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 metav1.ObjectMeta Spec BlueChiSystemSpec Status BlueChiSystemStatus }
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 metav1.ListMeta Items []BlueChiSystem }
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
}
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
Directories ¶
Path | Synopsis |
---|---|
Package v1alpha1 is the v1alpha1 version of the API.
|
Package v1alpha1 is the v1alpha1 version of the API. |