v1alpha1

package
v0.0.0-...-fbb2b6f Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2022 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder initializes a scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: acti.GroupName, Version: "v1alpha1"}

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 a Group qualified GroupResource

Types

type ActiNode

type ActiNode struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ActiNodeSpec   `json:"spec"`
	Status ActiNodeStatus `json:"status"`
}

ActiNode is a specification for an ActiNode resource.

func (*ActiNode) DeepCopy

func (in *ActiNode) DeepCopy() *ActiNode

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiNode.

func (*ActiNode) DeepCopyInto

func (in *ActiNode) DeepCopyInto(out *ActiNode)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ActiNode) DeepCopyObject

func (in *ActiNode) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ActiNodeList

type ActiNodeList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ActiNode `json:"items"`
}

ActiNodeList is a list of ActiNode resources.

func (*ActiNodeList) DeepCopy

func (in *ActiNodeList) DeepCopy() *ActiNodeList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiNodeList.

func (*ActiNodeList) DeepCopyInto

func (in *ActiNodeList) DeepCopyInto(out *ActiNodeList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ActiNodeList) DeepCopyObject

func (in *ActiNodeList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ActiNodeSpec

type ActiNodeSpec struct {
	// Assignments include the Pods that are executed on the Node related to an ActiNode, along
	// with the OS indices of the cores where each of them is pinned.
	Assignments map[string][]uint32 `json:"assignments"`
}

ActiNodeSpec defines the desired state of an ActiNode.

func (*ActiNodeSpec) DeepCopy

func (in *ActiNodeSpec) DeepCopy() *ActiNodeSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiNodeSpec.

func (*ActiNodeSpec) DeepCopyInto

func (in *ActiNodeSpec) DeepCopyInto(out *ActiNodeSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActiNodeStatus

type ActiNodeStatus struct {
	// Pinnings include the actual assignments of Pods to physical cores, as observed (and
	// enforced) by ActiK8s' `internal` controller.
	Pinnings map[string][]uint32 `json:"pinnings"`
}

ActiNodeStatus describes the observed state of an ActiNode.

func (*ActiNodeStatus) DeepCopy

func (in *ActiNodeStatus) DeepCopy() *ActiNodeStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiNodeStatus.

func (*ActiNodeStatus) DeepCopyInto

func (in *ActiNodeStatus) DeepCopyInto(out *ActiNodeStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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