Documentation ¶
Overview ¶
Package edge is the internal version of the API.
Index ¶
Constants ¶
const ( EdgeDeviceStatusUp = EdgeDeviceStatus("up") EdgeDeviceStatusDegraded = EdgeDeviceStatus("degraded") EdgeDeviceStatusDown = EdgeDeviceStatus("down") )
const ( EdgeNodeStatusOnline = EdgeNodeStatus("online") EdgeNodeStatusOffline = EdgeNodeStatus("offline") )
const GroupName = "org.redhat.edgeapi"
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 EdgeDevice ¶
type EdgeDevice struct { metav1.TypeMeta metav1.ObjectMeta Spec EdgeDeviceSpec Status EdgeDeviceStatus }
func (*EdgeDevice) DeepCopy ¶
func (in *EdgeDevice) DeepCopy() *EdgeDevice
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDevice.
func (*EdgeDevice) DeepCopyInto ¶
func (in *EdgeDevice) DeepCopyInto(out *EdgeDevice)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EdgeDevice) DeepCopyObject ¶
func (in *EdgeDevice) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EdgeDeviceList ¶
type EdgeDeviceList struct { metav1.TypeMeta metav1.ListMeta Items []EdgeDevice }
func (*EdgeDeviceList) DeepCopy ¶
func (in *EdgeDeviceList) DeepCopy() *EdgeDeviceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeviceList.
func (*EdgeDeviceList) DeepCopyInto ¶
func (in *EdgeDeviceList) DeepCopyInto(out *EdgeDeviceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EdgeDeviceList) DeepCopyObject ¶
func (in *EdgeDeviceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EdgeDeviceSpec ¶
func (*EdgeDeviceSpec) DeepCopy ¶
func (in *EdgeDeviceSpec) DeepCopy() *EdgeDeviceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeviceSpec.
func (*EdgeDeviceSpec) DeepCopyInto ¶
func (in *EdgeDeviceSpec) DeepCopyInto(out *EdgeDeviceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EdgeDeviceStatus ¶
type EdgeDeviceStatus string
type EdgeNode ¶
type EdgeNode struct { Name string Status EdgeNodeStatus LastSeenTimestamp string Workloads []Workload }
func (*EdgeNode) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeNode.
func (*EdgeNode) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EdgeNodeStatus ¶
type EdgeNodeStatus string
type EdgeNodes ¶
type EdgeNodes []EdgeNode
func (EdgeNodes) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeNodes.
func (EdgeNodes) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.