v1alpha1

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +kubebuilder:object:generate=true +groupName=core.rukpak.io

Index

Constants

View Source
const (
	TypeUnpacked = "Unpacked"

	ReasonUnpackPending    = "UnpackPending"
	ReasonUnpacking        = "Unpacking"
	ReasonUnpackSuccessful = "UnpackSuccessful"
	ReasonUnpackFailed     = "UnpackFailed"

	PhasePending   = "Pending"
	PhaseUnpacking = "Unpacking"
	PhaseFailing   = "Failing"
	PhaseUnpacked  = "Unpacked"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "core.rukpak.io", 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
)

Functions

This section is empty.

Types

type Bundle

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

	Spec   BundleSpec   `json:"spec,omitempty"`
	Status BundleStatus `json:"status,omitempty"`
}

Bundle is the Schema for the bundles API

func (*Bundle) DeepCopy

func (in *Bundle) DeepCopy() *Bundle

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

func (*Bundle) DeepCopyInto

func (in *Bundle) DeepCopyInto(out *Bundle)

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

func (*Bundle) DeepCopyObject

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

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

type BundleConditionType

type BundleConditionType string

type BundleInfo

type BundleInfo struct {
	Package string         `json:"package"`
	Name    string         `json:"name"`
	Version string         `json:"version"`
	Objects []BundleObject `json:"objects,omitempty"`
}

func (*BundleInfo) DeepCopy

func (in *BundleInfo) DeepCopy() *BundleInfo

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

func (*BundleInfo) DeepCopyInto

func (in *BundleInfo) DeepCopyInto(out *BundleInfo)

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

type BundleInstance

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

	Spec   BundleInstanceSpec   `json:"spec,omitempty"`
	Status BundleInstanceStatus `json:"status,omitempty"`
}

BundleInstance is the Schema for the bundleinstances API

func (*BundleInstance) DeepCopy

func (in *BundleInstance) DeepCopy() *BundleInstance

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

func (*BundleInstance) DeepCopyInto

func (in *BundleInstance) DeepCopyInto(out *BundleInstance)

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

func (*BundleInstance) DeepCopyObject

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

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

type BundleInstanceList

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

BundleInstanceList contains a list of BundleInstance

func (*BundleInstanceList) DeepCopy

func (in *BundleInstanceList) DeepCopy() *BundleInstanceList

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

func (*BundleInstanceList) DeepCopyInto

func (in *BundleInstanceList) DeepCopyInto(out *BundleInstanceList)

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

func (*BundleInstanceList) DeepCopyObject

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

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

type BundleInstanceSpec

type BundleInstanceSpec struct {
	// ProvisionerClassName sets the name of the provisioner that should reconcile this BundleInstance.
	ProvisionerClassName string `json:"provisionerClassName"`

	// BundleName is the name of the bundle that this instance is managing on the cluster.
	BundleName string `json:"bundleName"`
}

BundleInstanceSpec defines the desired state of BundleInstance

func (*BundleInstanceSpec) DeepCopy

func (in *BundleInstanceSpec) DeepCopy() *BundleInstanceSpec

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

func (*BundleInstanceSpec) DeepCopyInto

func (in *BundleInstanceSpec) DeepCopyInto(out *BundleInstanceSpec)

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

type BundleInstanceStatus

type BundleInstanceStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	InstalledBundleName string `json:"installedBundleName,omitempty"`
}

BundleInstanceStatus defines the observed state of BundleInstance

func (*BundleInstanceStatus) DeepCopy

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

func (*BundleInstanceStatus) DeepCopyInto

func (in *BundleInstanceStatus) DeepCopyInto(out *BundleInstanceStatus)

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

type BundleList

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

BundleList contains a list of Bundle

func (*BundleList) DeepCopy

func (in *BundleList) DeepCopy() *BundleList

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

func (*BundleList) DeepCopyInto

func (in *BundleList) DeepCopyInto(out *BundleList)

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

func (*BundleList) DeepCopyObject

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

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

type BundleObject

type BundleObject struct {
	Group     string `json:"group"`
	Version   string `json:"version"`
	Kind      string `json:"kind"`
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

func (*BundleObject) DeepCopy

func (in *BundleObject) DeepCopy() *BundleObject

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

func (*BundleObject) DeepCopyInto

func (in *BundleObject) DeepCopyInto(out *BundleObject)

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

type BundleSpec

type BundleSpec struct {
	// ProvisionerClassName sets the name of the provisioner that should reconcile this BundleInstance.
	ProvisionerClassName string `json:"provisionerClassName"`

	// Image is the bundle image that backs the content of this bundle.
	Image string `json:"image"`
}

BundleSpec defines the desired state of Bundle

func (*BundleSpec) DeepCopy

func (in *BundleSpec) DeepCopy() *BundleSpec

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

func (*BundleSpec) DeepCopyInto

func (in *BundleSpec) DeepCopyInto(out *BundleSpec)

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

type BundleStatus

type BundleStatus struct {
	Info               *BundleInfo        `json:"info,omitempty"`
	Phase              string             `json:"phase,omitempty"`
	Digest             string             `json:"digest,omitempty"`
	ObservedGeneration int64              `json:"observedGeneration,omitempty"`
	Conditions         []metav1.Condition `json:"conditions,omitempty"`
}

BundleStatus defines the observed state of Bundle

func (*BundleStatus) DeepCopy

func (in *BundleStatus) DeepCopy() *BundleStatus

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

func (*BundleStatus) DeepCopyInto

func (in *BundleStatus) DeepCopyInto(out *BundleStatus)

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

type ProvisionerID

type ProvisionerID string

Jump to

Keyboard shortcuts

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