v1alpha1

package
v0.0.0-...-81464dc Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	PhaseNewlyCreated             = ""
	PhaseReachingContextConsensus = "ReachingContextConsensus"
	PhaseLocalResolution          = "LocalResolution"
	PhaseGlobalResolution         = "GlobalResolution"
	PhaseUnpacking                = "Unpacking"
	PhaseInstalling               = "Installing"
	PhaseInstalled                = "Installed"

	ConditionGlobalResolutionSucceeded = "GlobalResolutionSucceeded"
	ConditionLocalResolutionSucceeded  = "LocalResolutionSucceeded"
	ConditionUnpacked                  = "BundleUnpacked"
	ConditionInstalled                 = "BundleInstalled"
)

Variables

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

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

	Spec   ItemSpec   `json:"spec,omitempty"`
	Status ItemStatus `json:"status,omitempty"`
}

Item is the Schema for the items API

func (*Item) DeepCopy

func (in *Item) DeepCopy() *Item

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

func (*Item) DeepCopyInto

func (in *Item) DeepCopyInto(out *Item)

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

func (*Item) DeepCopyObject

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

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

type ItemList

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

ItemList contains a list of Item

func (*ItemList) DeepCopy

func (in *ItemList) DeepCopy() *ItemList

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

func (*ItemList) DeepCopyInto

func (in *ItemList) DeepCopyInto(out *ItemList)

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

func (*ItemList) DeepCopyObject

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

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

type ItemSpec

type ItemSpec struct {
	Dependencies []string `json:"dependencies,omitempty"`
	Conflicts    []string `json:"conflicts,omitempty"`
}

ItemSpec defines the desired state of Item

func (*ItemSpec) DeepCopy

func (in *ItemSpec) DeepCopy() *ItemSpec

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

func (*ItemSpec) DeepCopyInto

func (in *ItemSpec) DeepCopyInto(out *ItemSpec)

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

type ItemStatus

type ItemStatus struct {
	Phase              string             `json:"phase,omitempty"`
	ObservedGeneration int64              `json:"observedGeneration,omitempty"`
	Conditions         []metav1.Condition `json:"conditions,omitempty"`
}

ItemStatus defines the observed state of Item

func (*ItemStatus) DeepCopy

func (in *ItemStatus) DeepCopy() *ItemStatus

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

func (*ItemStatus) DeepCopyInto

func (in *ItemStatus) DeepCopyInto(out *ItemStatus)

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