v1alpha1

package
Version: v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 License: Apache-2.0 Imports: 5 Imported by: 15

Documentation

Overview

+k8s:deepcopy-gen=package +k8s:defaulter-gen=TypeMeta +groupName=packaging.carvel.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "packaging.carvel.dev", Version: "v1alpha1"}

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type PackageInstall

type PackageInstall struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec PackageInstallSpec `json:"spec"`
	// +optional
	Status PackageInstallStatus `json:"status,omitempty"`
}

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:subresource:status +kubebuilder:resource:shortName=pkgi +kubebuilder:printcolumn:name=Package name,JSONPath=.spec.packageRef.refName,description=PackageMetadata name,type=string +kubebuilder:printcolumn:name=Package version,JSONPath=.status.version,description=PackageMetadata version,type=string +kubebuilder:printcolumn:name=Description,JSONPath=.status.friendlyDescription,description=Friendly description,type=string +kubebuilder:printcolumn:name=Age,JSONPath=.metadata.creationTimestamp,description=Time since creation,type=date

func (*PackageInstall) DeepCopy

func (in *PackageInstall) DeepCopy() *PackageInstall

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

func (*PackageInstall) DeepCopyInto

func (in *PackageInstall) DeepCopyInto(out *PackageInstall)

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

func (*PackageInstall) DeepCopyObject

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

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

type PackageInstallList

type PackageInstallList struct {
	metav1.TypeMeta `json:",inline"`

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*PackageInstallList) DeepCopy

func (in *PackageInstallList) DeepCopy() *PackageInstallList

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

func (*PackageInstallList) DeepCopyInto

func (in *PackageInstallList) DeepCopyInto(out *PackageInstallList)

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

func (*PackageInstallList) DeepCopyObject

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

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

type PackageInstallSpec

type PackageInstallSpec struct {
	// +optional
	ServiceAccountName string `json:"serviceAccountName,omitempty"`
	// +optional
	Cluster *v1alpha1.AppCluster `json:"cluster,omitempty"`
	// +optional
	PackageRef *PackageRef `json:"packageRef,omitempty"`
	// +optional
	Values []PackageInstallValues `json:"values,omitempty"`
	// Paused when set to true will ignore all pending changes,
	// once it set back to false, pending changes will be applied
	// +optional
	Paused bool `json:"paused,omitempty"`
	// Canceled when set to true will stop all active changes
	// +optional
	Canceled bool `json:"canceled,omitempty"`
	// Controls frequency of App reconciliation in time + unit
	// format. Always >= 30s. If value below 30s is specified,
	// 30s will be used.
	// +optional
	SyncPeriod *metav1.Duration `json:"syncPeriod,omitempty"`
	// When NoopDelete set to true, PackageInstall deletion
	// should delete PackageInstall/App CR but preserve App's
	// associated resources.
	// +optional
	NoopDelete bool `json:"noopDelete,omitempty"`
}

func (*PackageInstallSpec) DeepCopy

func (in *PackageInstallSpec) DeepCopy() *PackageInstallSpec

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

func (*PackageInstallSpec) DeepCopyInto

func (in *PackageInstallSpec) DeepCopyInto(out *PackageInstallSpec)

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

type PackageInstallStatus

type PackageInstallStatus struct {
	// +optional
	v1alpha1.GenericStatus `json:",inline"`
	// TODO this is desired resolved version (not actually deployed)
	// +optional
	Version string `json:"version,omitempty"`
}

func (*PackageInstallStatus) DeepCopy

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

func (*PackageInstallStatus) DeepCopyInto

func (in *PackageInstallStatus) DeepCopyInto(out *PackageInstallStatus)

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

type PackageInstallValues

type PackageInstallValues struct {
	// +optional
	SecretRef *PackageInstallValuesSecretRef `json:"secretRef,omitempty"`
}

func (*PackageInstallValues) DeepCopy

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

func (*PackageInstallValues) DeepCopyInto

func (in *PackageInstallValues) DeepCopyInto(out *PackageInstallValues)

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

type PackageInstallValuesSecretRef

type PackageInstallValuesSecretRef struct {
	// +optional
	Name string `json:"name,omitempty"`
	// +optional
	Key string `json:"key,omitempty"`
}

func (*PackageInstallValuesSecretRef) DeepCopy

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

func (*PackageInstallValuesSecretRef) DeepCopyInto

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

type PackageRef

type PackageRef struct {
	// +optional
	RefName string `json:"refName,omitempty"`
	// +optional
	VersionSelection *versions.VersionSelectionSemver `json:"versionSelection,omitempty"`
}

func (*PackageRef) DeepCopy

func (in *PackageRef) DeepCopy() *PackageRef

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

func (*PackageRef) DeepCopyInto

func (in *PackageRef) DeepCopyInto(out *PackageRef)

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

type PackageRepository

type PackageRepository struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec PackageRepositorySpec `json:"spec"`
	// +optional
	Status PackageRepositoryStatus `json:"status,omitempty"`
}

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:subresource:status +kubebuilder:resource:shortName=pkgr +kubebuilder:printcolumn:name=Age,JSONPath=.metadata.creationTimestamp,description=Time since creation,type=date +kubebuilder:printcolumn:name=Description,JSONPath=.status.friendlyDescription,description=Friendly description,type=string

func (*PackageRepository) DeepCopy

func (in *PackageRepository) DeepCopy() *PackageRepository

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

func (*PackageRepository) DeepCopyInto

func (in *PackageRepository) DeepCopyInto(out *PackageRepository)

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

func (*PackageRepository) DeepCopyObject

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

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

type PackageRepositoryFetch

type PackageRepositoryFetch struct {
	// +optional
	Image *v1alpha1.AppFetchImage `json:"image,omitempty"`
	// +optional
	HTTP *v1alpha1.AppFetchHTTP `json:"http,omitempty"`
	// +optional
	Git *v1alpha1.AppFetchGit `json:"git,omitempty"`
	// +optional
	ImgpkgBundle *v1alpha1.AppFetchImgpkgBundle `json:"imgpkgBundle,omitempty"`
}

func (*PackageRepositoryFetch) DeepCopy

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

func (*PackageRepositoryFetch) DeepCopyInto

func (in *PackageRepositoryFetch) DeepCopyInto(out *PackageRepositoryFetch)

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

type PackageRepositoryList

type PackageRepositoryList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []PackageRepository `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*PackageRepositoryList) DeepCopy

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

func (*PackageRepositoryList) DeepCopyInto

func (in *PackageRepositoryList) DeepCopyInto(out *PackageRepositoryList)

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

func (*PackageRepositoryList) DeepCopyObject

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

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

type PackageRepositorySpec

type PackageRepositorySpec struct {
	// Paused when set to true will ignore all pending changes,
	// once it set back to false, pending changes will be applied
	// +optional
	Paused bool `json:"paused,omitempty"`
	// Controls frequency of PackageRepository reconciliation
	// +optional
	SyncPeriod *metav1.Duration `json:"syncPeriod,omitempty"`

	Fetch *PackageRepositoryFetch `json:"fetch"`
}

func (*PackageRepositorySpec) DeepCopy

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

func (*PackageRepositorySpec) DeepCopyInto

func (in *PackageRepositorySpec) DeepCopyInto(out *PackageRepositorySpec)

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

type PackageRepositoryStatus

type PackageRepositoryStatus struct {
	// +optional
	Fetch *v1alpha1.AppStatusFetch `json:"fetch,omitempty"`
	// +optional
	Template *v1alpha1.AppStatusTemplate `json:"template,omitempty"`
	// +optional
	Deploy *v1alpha1.AppStatusDeploy `json:"deploy,omitempty"`
	// +optional
	ConsecutiveReconcileSuccesses int `json:"consecutiveReconcileSuccesses,omitempty"`
	// +optional
	ConsecutiveReconcileFailures int `json:"consecutiveReconcileFailures,omitempty"`
	// +optional
	v1alpha1.GenericStatus `json:",inline"`
}

func (*PackageRepositoryStatus) DeepCopy

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

func (*PackageRepositoryStatus) DeepCopyInto

func (in *PackageRepositoryStatus) DeepCopyInto(out *PackageRepositoryStatus)

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