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 ¶
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 )
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Module.
func (*Module) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Node ¶
func (*Node) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node.
func (*Node) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapPackage ¶ added in v0.0.2
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 ¶
func (in *UbuntuMachineConfiguration) DeepCopy() *UbuntuMachineConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UbuntuMachineConfiguration.
func (*UbuntuMachineConfiguration) DeepCopyInto ¶
func (in *UbuntuMachineConfiguration) DeepCopyInto(out *UbuntuMachineConfiguration)
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 ¶
func (in *UbuntuMachineConfigurationList) DeepCopy() *UbuntuMachineConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UbuntuMachineConfigurationList.
func (*UbuntuMachineConfigurationList) DeepCopyInto ¶
func (in *UbuntuMachineConfigurationList) DeepCopyInto(out *UbuntuMachineConfigurationList)
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.