package
0.1.0
Repository: https://github.com/atlarge-research/apate.git
Documentation: pkg.go.dev

# Functions

Resource takes an unqualified resource and returns a Group qualified GroupResource.
UpdateInKubernetes registers or deletes the generated CRD YAML to Kubernetes.

# Constants

EmulatedLabel is used by taints and node labels.
EmulatedLabelValue is the value associated with the EmulatedLabel.
NodeConfigurationLabel defines the label which can used to find out to which node configuration crd a node belongs by external tools.
NodeConfigurationLabelNamespace defines the namespace of the above label.
NodeIDLabel defines the label which can be used to get the uuid of the node.
Enum variants for PodResponse.
Enum variants for PodResponse.
Enum variants for PodResponse.
Enum variants for PodResponse.

# Variables

AddToScheme is a global function that registers this API group & version to a scheme.
SchemeBuilder initialises a scheme builder.
SchemeGroupVersion is group version used to register these objects.

# Structs

NodeConfiguration is a definition of a NodeConfiguration resource +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:resource:path=nodeconfigurations,shortName=nc,singular=nodeconfiguration.
NodeConfigurationCustomState is the state of the node, used for determining how to respond to request from kubernetes.
NodeConfigurationList is a list of NodeConfiguration +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
NodeConfigurationSpec is the spec which belongs to NodeConfiguration.
NodeConfigurationState is the state of the node, used for determining how to respond to request from kubernetes.
NodeConfigurationTask is a single task which modifies the node state on the given timestamp.
NodeResources specifies the resources the node has available.

# Type aliases

NodeResponse can be NORMAL, TIMEOUT, ERROR or UNSET, and describes how a node should respond to a pod related request +kubebuilder:validation:Enum=NORMAL;TIMEOUT;ERROR;UNSET.