v1alpha1

package
v0.0.0-...-eb03b9d Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

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: topologycontroller.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 NUMANodeResource

type NUMANodeResource struct {
	NUMAID    int
	Resources v1.ResourceList
}

NUMANodeResource is the spec for a NodeResourceTopology resource

func (*NUMANodeResource) DeepCopy

func (in *NUMANodeResource) DeepCopy() *NUMANodeResource

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

func (*NUMANodeResource) DeepCopyInto

func (in *NUMANodeResource) DeepCopyInto(out *NUMANodeResource)

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

type NodeResourceTopology

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

	Nodes []NUMANodeResource `json:"nodes"`
}

NodeResourceTopology is a specification for a Foo resource

func (*NodeResourceTopology) DeepCopy

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

func (*NodeResourceTopology) DeepCopyInto

func (in *NodeResourceTopology) DeepCopyInto(out *NodeResourceTopology)

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

func (*NodeResourceTopology) DeepCopyObject

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

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

type NodeResourceTopologyList

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

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

NodeResourceTopologyList is a list of NodeResourceTopology resources

func (*NodeResourceTopologyList) DeepCopy

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

func (*NodeResourceTopologyList) DeepCopyInto

func (in *NodeResourceTopologyList) DeepCopyInto(out *NodeResourceTopologyList)

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

func (*NodeResourceTopologyList) DeepCopyObject

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

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

Jump to

Keyboard shortcuts

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