v1

package
v3.4.5 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Overview

+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/loft-sh/api/v3/pkg/apis/virtualcluster +k8s:defaulter-gen=TypeMeta +groupName=virtualcluster.loft.sh

Index

Constants

This section is empty.

Variables

View Source
var (
	ApiVersion = builders.NewApiVersion("virtualcluster.loft.sh", "v1").WithResources(
		virtualcluster.VirtualclusterHelmReleaseStorage,
	)

	// Required by code generated by go2idl
	AddToScheme = (&runtime.SchemeBuilder{
		ApiVersion.SchemeBuilder.AddToScheme,
		RegisterDefaults,
		RegisterConversions,
		addKnownTypes,
		func(scheme *runtime.Scheme) error {
			metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
			return nil
		},
	}).AddToScheme

	SchemeBuilder = ApiVersion.SchemeBuilder

	SchemeGroupVersion = ApiVersion.GroupVersion
)

Functions

func Convert_v1_HelmReleaseList_To_virtualcluster_HelmReleaseList

func Convert_v1_HelmReleaseList_To_virtualcluster_HelmReleaseList(in *HelmReleaseList, out *virtualcluster.HelmReleaseList, s conversion.Scope) error

Convert_v1_HelmReleaseList_To_virtualcluster_HelmReleaseList is an autogenerated conversion function.

func Convert_v1_HelmReleaseSpec_To_virtualcluster_HelmReleaseSpec

func Convert_v1_HelmReleaseSpec_To_virtualcluster_HelmReleaseSpec(in *HelmReleaseSpec, out *virtualcluster.HelmReleaseSpec, s conversion.Scope) error

Convert_v1_HelmReleaseSpec_To_virtualcluster_HelmReleaseSpec is an autogenerated conversion function.

func Convert_v1_HelmReleaseStatus_To_virtualcluster_HelmReleaseStatus

func Convert_v1_HelmReleaseStatus_To_virtualcluster_HelmReleaseStatus(in *HelmReleaseStatus, out *virtualcluster.HelmReleaseStatus, s conversion.Scope) error

Convert_v1_HelmReleaseStatus_To_virtualcluster_HelmReleaseStatus is an autogenerated conversion function.

func Convert_v1_HelmRelease_To_virtualcluster_HelmRelease

func Convert_v1_HelmRelease_To_virtualcluster_HelmRelease(in *HelmRelease, out *virtualcluster.HelmRelease, s conversion.Scope) error

Convert_v1_HelmRelease_To_virtualcluster_HelmRelease is an autogenerated conversion function.

func Convert_virtualcluster_HelmReleaseList_To_v1_HelmReleaseList

func Convert_virtualcluster_HelmReleaseList_To_v1_HelmReleaseList(in *virtualcluster.HelmReleaseList, out *HelmReleaseList, s conversion.Scope) error

Convert_virtualcluster_HelmReleaseList_To_v1_HelmReleaseList is an autogenerated conversion function.

func Convert_virtualcluster_HelmReleaseSpec_To_v1_HelmReleaseSpec

func Convert_virtualcluster_HelmReleaseSpec_To_v1_HelmReleaseSpec(in *virtualcluster.HelmReleaseSpec, out *HelmReleaseSpec, s conversion.Scope) error

Convert_virtualcluster_HelmReleaseSpec_To_v1_HelmReleaseSpec is an autogenerated conversion function.

func Convert_virtualcluster_HelmReleaseStatus_To_v1_HelmReleaseStatus

func Convert_virtualcluster_HelmReleaseStatus_To_v1_HelmReleaseStatus(in *virtualcluster.HelmReleaseStatus, out *HelmReleaseStatus, s conversion.Scope) error

Convert_virtualcluster_HelmReleaseStatus_To_v1_HelmReleaseStatus is an autogenerated conversion function.

func Convert_virtualcluster_HelmRelease_To_v1_HelmRelease

func Convert_virtualcluster_HelmRelease_To_v1_HelmRelease(in *virtualcluster.HelmRelease, out *HelmRelease, s conversion.Scope) error

Convert_virtualcluster_HelmRelease_To_v1_HelmRelease is an autogenerated conversion function.

func Kind

func Kind(kind string) schema.GroupKind

Required by code generated by go2idl Kind takes an unqualified kind and returns a Group qualified GroupKind

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Required by code generated by go2idl Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type HelmRelease

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

	Spec   HelmReleaseSpec   `json:"spec,omitempty"`
	Status HelmReleaseStatus `json:"status,omitempty"`
}

+k8s:openapi-gen=true +resource:path=helmreleases,rest=HelmReleaseREST

func (*HelmRelease) DeepCopy

func (in *HelmRelease) DeepCopy() *HelmRelease

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

func (*HelmRelease) DeepCopyInto

func (in *HelmRelease) DeepCopyInto(out *HelmRelease)

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

func (*HelmRelease) DeepCopyObject

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

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

type HelmReleaseList

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

func (*HelmReleaseList) DeepCopy

func (in *HelmReleaseList) DeepCopy() *HelmReleaseList

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

func (*HelmReleaseList) DeepCopyInto

func (in *HelmReleaseList) DeepCopyInto(out *HelmReleaseList)

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

func (*HelmReleaseList) DeepCopyObject

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

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

type HelmReleaseSpec

type HelmReleaseSpec struct {
	clusterv1.HelmReleaseSpec `json:",inline"`
}

func (*HelmReleaseSpec) DeepCopy

func (in *HelmReleaseSpec) DeepCopy() *HelmReleaseSpec

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

func (*HelmReleaseSpec) DeepCopyInto

func (in *HelmReleaseSpec) DeepCopyInto(out *HelmReleaseSpec)

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

type HelmReleaseStatus

type HelmReleaseStatus struct {
	clusterv1.HelmReleaseStatus `json:",inline"`
}

func (*HelmReleaseStatus) DeepCopy

func (in *HelmReleaseStatus) DeepCopy() *HelmReleaseStatus

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

func (*HelmReleaseStatus) DeepCopyInto

func (in *HelmReleaseStatus) DeepCopyInto(out *HelmReleaseStatus)

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