v1

package
v0.0.1-test01 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=rancheros.cattle.io

+k8s:deepcopy-gen=package +groupName=rancheros.cattle.io

+k8s:deepcopy-gen=package +groupName=rancheros.cattle.io

Index

Constants

This section is empty.

Variables

View Source
var (
	MachineInventoryResourceName = "machineinventories"
	ManagedOSImageResourceName   = "managedosimages"
)
View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: rancheros.GroupName, Version: "v1"}

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 MachineInventory

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

	Spec   MachineInventorySpec   `json:"spec"`
	Status MachineInventoryStatus `json:"status"`
}

func NewMachineInventory

func NewMachineInventory(namespace, name string, obj MachineInventory) *MachineInventory

func (*MachineInventory) DeepCopy

func (in *MachineInventory) DeepCopy() *MachineInventory

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

func (*MachineInventory) DeepCopyInto

func (in *MachineInventory) DeepCopyInto(out *MachineInventory)

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

func (*MachineInventory) DeepCopyObject

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

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

type MachineInventoryList

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

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

MachineInventoryList is a list of MachineInventory resources

func (*MachineInventoryList) DeepCopy

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

func (*MachineInventoryList) DeepCopyInto

func (in *MachineInventoryList) DeepCopyInto(out *MachineInventoryList)

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

func (*MachineInventoryList) DeepCopyObject

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

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

type MachineInventorySpec

type MachineInventorySpec struct {
	ClusterName            string               `json:"clusterName,omitempty"`
	MachineTokenSecretName string               `json:"machineTokenSecretName,omitempty"`
	Config                 MachineRuntimeConfig `json:"config,omitempty"`
}

func (*MachineInventorySpec) DeepCopy

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

func (*MachineInventorySpec) DeepCopyInto

func (in *MachineInventorySpec) DeepCopyInto(out *MachineInventorySpec)

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

type MachineInventoryStatus

type MachineInventoryStatus struct {
	ClusterRegistrationTokenNamespace string `json:"clusterRegistrationTokenNamespace,omitempty"`
	ClusterRegistrationTokenName      string `json:"clusterRegistrationTokenName,omitempty"`
}

func (*MachineInventoryStatus) DeepCopy

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

func (*MachineInventoryStatus) DeepCopyInto

func (in *MachineInventoryStatus) DeepCopyInto(out *MachineInventoryStatus)

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

type MachineRuntimeConfig

type MachineRuntimeConfig struct {
	Role            string            `json:"role,omitempty"`
	NodeName        string            `json:"nodeName,omitempty"`
	Address         string            `json:"address,omitempty"`
	InternalAddress string            `json:"internalAddress,omitempty"`
	Taints          []corev1.Taint    `json:"taints,omitempty"`
	Labels          map[string]string `json:"labels,omitempty"`
	ConfigValues    map[string]string `json:"extraConfig,omitempty"`
}

func (*MachineRuntimeConfig) DeepCopy

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

func (*MachineRuntimeConfig) DeepCopyInto

func (in *MachineRuntimeConfig) DeepCopyInto(out *MachineRuntimeConfig)

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

type ManagedOSImage

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

	Spec   ManagedOSImageSpec   `json:"spec"`
	Status ManagedOSImageStatus `json:"status"`
}

func NewManagedOSImage

func NewManagedOSImage(namespace, name string, obj ManagedOSImage) *ManagedOSImage

func (*ManagedOSImage) DeepCopy

func (in *ManagedOSImage) DeepCopy() *ManagedOSImage

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

func (*ManagedOSImage) DeepCopyInto

func (in *ManagedOSImage) DeepCopyInto(out *ManagedOSImage)

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

func (*ManagedOSImage) DeepCopyObject

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

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

type ManagedOSImageList

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

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

ManagedOSImageList is a list of ManagedOSImage resources

func (*ManagedOSImageList) DeepCopy

func (in *ManagedOSImageList) DeepCopy() *ManagedOSImageList

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

func (*ManagedOSImageList) DeepCopyInto

func (in *ManagedOSImageList) DeepCopyInto(out *ManagedOSImageList)

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

func (*ManagedOSImageList) DeepCopyObject

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

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

type ManagedOSImageSpec

type ManagedOSImageSpec struct {
	Paused       bool                  `json:"paused,omitempty"`
	OSImage      string                `json:"osImage,omitempty"`
	NodeSelector *metav1.LabelSelector `json:"nodeSelector,omitempty"`
	Concurrency  *int64                `json:"concurrency,omitempty"`

	Prepare *upgradev1.ContainerSpec `json:"prepare,omitempty"`
	Cordon  *bool                    `json:"cordon,omitempty"`
	Drain   *upgradev1.DrainSpec     `json:"drain,omitempty"`

	ClusterRolloutStrategy *fleet.RolloutStrategy `json:"clusterRolloutStrategy,omitempty"`
	Targets                []fleet.BundleTarget   `json:"clusterTargets,omitempty"`
}

func (*ManagedOSImageSpec) DeepCopy

func (in *ManagedOSImageSpec) DeepCopy() *ManagedOSImageSpec

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

func (*ManagedOSImageSpec) DeepCopyInto

func (in *ManagedOSImageSpec) DeepCopyInto(out *ManagedOSImageSpec)

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

type ManagedOSImageStatus

type ManagedOSImageStatus struct {
	fleet.BundleStatus
}

func (*ManagedOSImageStatus) DeepCopy

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

func (*ManagedOSImageStatus) DeepCopyInto

func (in *ManagedOSImageStatus) DeepCopyInto(out *ManagedOSImageStatus)

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