bluechi

package
v0.0.0-...-e4dcd5c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2024 License: LGPL-2.1 Imports: 3 Imported by: 0

Documentation

Overview

Package bluechi is the internal version of the API.

Index

Constants

View Source
const (
	SystemStatusUp       = BlueChiSystemStatus("up")
	SystemStatusDegraded = BlueChiSystemStatus("degraded")
	SystemStatusDown     = BlueChiSystemStatus("down")
)
View Source
const (
	NodeStatusOnline  = NodeStatus("online")
	NodeStatusOffline = NodeStatus("offline")
)
View Source
const GroupName = "org.eclipse.bluechi"

GroupName is the group name used in this package

Variables

View Source
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
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL