v1alpha1

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

+groupName=ubuntu.machinery.io.canonical.com

Package v1alpha1 contains API Schema definitions for the ubuntu.machinery.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=ubuntu.machinery.io.canonical.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "ubuntu.machinery.io.canonical.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = GroupVersion

SchemeGroupVersion is group version used to register these objects.

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type AptPackage added in v0.0.2

type AptPackage struct {
	Name string `json:"name"`
}

func (*AptPackage) DeepCopy added in v0.0.2

func (in *AptPackage) DeepCopy() *AptPackage

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

func (*AptPackage) DeepCopyInto added in v0.0.2

func (in *AptPackage) DeepCopyInto(out *AptPackage)

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

type DesiredPackages added in v0.0.2

type DesiredPackages struct {
	Apt  []AptPackage  `json:"apt"`
	Snap []SnapPackage `json:"snap"`
}

func (*DesiredPackages) DeepCopy added in v0.0.2

func (in *DesiredPackages) DeepCopy() *DesiredPackages

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

func (*DesiredPackages) DeepCopyInto added in v0.0.2

func (in *DesiredPackages) DeepCopyInto(out *DesiredPackages)

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

type Module

type Module struct {
	Name   string `json:"name,omitempty"`
	Flags  string `json:"flags,omitempty"`
	UsedBy string `json:"usedBy,omitempty"`
	Size   string `json:"size,omitempty"`
}

func (*Module) DeepCopy

func (in *Module) DeepCopy() *Module

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

func (*Module) DeepCopyInto

func (in *Module) DeepCopyInto(out *Module)

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

type Node

type Node struct {
	Name    string   `json:"name"`
	Modules []Module `json:"modules"`
}

func (*Node) DeepCopy

func (in *Node) DeepCopy() *Node

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

func (*Node) DeepCopyInto

func (in *Node) DeepCopyInto(out *Node)

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

type SnapPackage added in v0.0.2

type SnapPackage struct {
	Name        string `json:"name"`
	Confinement string `json:"confinement"`
}

func (*SnapPackage) DeepCopy added in v0.0.2

func (in *SnapPackage) DeepCopy() *SnapPackage

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

func (*SnapPackage) DeepCopyInto added in v0.0.2

func (in *SnapPackage) DeepCopyInto(out *SnapPackage)

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

type UbuntuMachineConfiguration

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

	Spec   UbuntuMachineSpec   `json:"spec,omitempty"`
	Status UbuntuMachineStatus `json:"status,omitempty"`
}

+kubebuilder:subresource:status UbuntuMachineConfiguration is the Schema for the ubuntumachines API

func (*UbuntuMachineConfiguration) DeepCopy

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

func (*UbuntuMachineConfiguration) DeepCopyInto

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

func (*UbuntuMachineConfiguration) DeepCopyObject

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

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

type UbuntuMachineConfigurationList

type UbuntuMachineConfigurationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []UbuntuMachineConfiguration `json:"items"`
}

UbuntuMachineConfigurationList contains a list of UbuntuMachineConfiguration

func (*UbuntuMachineConfigurationList) DeepCopy

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

func (*UbuntuMachineConfigurationList) DeepCopyInto

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

func (*UbuntuMachineConfigurationList) DeepCopyObject

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

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

type UbuntuMachineSpec

type UbuntuMachineSpec struct {
	DesiredModules  []Module        `json:"desiredModules"`
	DesiredPackages DesiredPackages `json:"desiredPackages"`
}

func (*UbuntuMachineSpec) DeepCopy

func (in *UbuntuMachineSpec) DeepCopy() *UbuntuMachineSpec

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

func (*UbuntuMachineSpec) DeepCopyInto

func (in *UbuntuMachineSpec) DeepCopyInto(out *UbuntuMachineSpec)

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

type UbuntuMachineStatus

type UbuntuMachineStatus struct {
	Nodes []Node `json:"nodes"`
}

UbuntuMachineStatus defines the observed state of UbuntuMachine

func (*UbuntuMachineStatus) DeepCopy

func (in *UbuntuMachineStatus) DeepCopy() *UbuntuMachineStatus

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

func (*UbuntuMachineStatus) DeepCopyInto

func (in *UbuntuMachineStatus) DeepCopyInto(out *UbuntuMachineStatus)

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