v1alpha1

package
v0.0.0-...-89943c5 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/bitnami-labs/helm-apiserver/pkg/apis/helm +k8s:defaulter-gen=TypeMeta +groupName=helm.bitnami.com

Index

Constants

View Source
const (
	// StableRepoUrl is the URL of the "stable" chart repo
	StableRepoUrl = "https://kubernetes-charts.storage.googleapis.com"
)

Variables

View Source
var (
	ApiVersion = builders.NewApiVersion("helm.bitnami.com", "v1alpha1").WithResources(
		helmReleaseStorage,
		builders.NewApiResource(
			helm.InternalReleaseStatus,
			ReleaseSchemeFns{},
			func() runtime.Object { return &Release{} },
			func() runtime.Object { return &ReleaseList{} },
			&ReleaseStatusStrategy{builders.StatusStorageStrategySingleton},
		))

	// Required by code generated by go2idl
	AddToScheme   = ApiVersion.SchemaBuilder.AddToScheme
	SchemeBuilder = ApiVersion.SchemaBuilder

	SchemeGroupVersion = ApiVersion.GroupVersion
)

Functions

func Convert_helm_ImpersonateSpec_To_v1alpha1_ImpersonateSpec

func Convert_helm_ImpersonateSpec_To_v1alpha1_ImpersonateSpec(in *helm.ImpersonateSpec, out *ImpersonateSpec, s conversion.Scope) error

Convert_helm_ImpersonateSpec_To_v1alpha1_ImpersonateSpec is an autogenerated conversion function.

func Convert_helm_ReleaseList_To_v1alpha1_ReleaseList

func Convert_helm_ReleaseList_To_v1alpha1_ReleaseList(in *helm.ReleaseList, out *ReleaseList, s conversion.Scope) error

Convert_helm_ReleaseList_To_v1alpha1_ReleaseList is an autogenerated conversion function.

func Convert_helm_ReleaseSpec_To_v1alpha1_ReleaseSpec

func Convert_helm_ReleaseSpec_To_v1alpha1_ReleaseSpec(in *helm.ReleaseSpec, out *ReleaseSpec, s conversion.Scope) error

Convert_helm_ReleaseSpec_To_v1alpha1_ReleaseSpec is an autogenerated conversion function.

func Convert_helm_ReleaseStatusStrategy_To_v1alpha1_ReleaseStatusStrategy

func Convert_helm_ReleaseStatusStrategy_To_v1alpha1_ReleaseStatusStrategy(in *helm.ReleaseStatusStrategy, out *ReleaseStatusStrategy, s conversion.Scope) error

Convert_helm_ReleaseStatusStrategy_To_v1alpha1_ReleaseStatusStrategy is an autogenerated conversion function.

func Convert_helm_ReleaseStatus_To_v1alpha1_ReleaseStatus

func Convert_helm_ReleaseStatus_To_v1alpha1_ReleaseStatus(in *helm.ReleaseStatus, out *ReleaseStatus, s conversion.Scope) error

Convert_helm_ReleaseStatus_To_v1alpha1_ReleaseStatus is an autogenerated conversion function.

func Convert_helm_ReleaseStrategy_To_v1alpha1_ReleaseStrategy

func Convert_helm_ReleaseStrategy_To_v1alpha1_ReleaseStrategy(in *helm.ReleaseStrategy, out *ReleaseStrategy, s conversion.Scope) error

Convert_helm_ReleaseStrategy_To_v1alpha1_ReleaseStrategy is an autogenerated conversion function.

func Convert_helm_Release_To_v1alpha1_Release

func Convert_helm_Release_To_v1alpha1_Release(in *helm.Release, out *Release, s conversion.Scope) error

Convert_helm_Release_To_v1alpha1_Release is an autogenerated conversion function.

func Convert_v1alpha1_ImpersonateSpec_To_helm_ImpersonateSpec

func Convert_v1alpha1_ImpersonateSpec_To_helm_ImpersonateSpec(in *ImpersonateSpec, out *helm.ImpersonateSpec, s conversion.Scope) error

Convert_v1alpha1_ImpersonateSpec_To_helm_ImpersonateSpec is an autogenerated conversion function.

func Convert_v1alpha1_ReleaseList_To_helm_ReleaseList

func Convert_v1alpha1_ReleaseList_To_helm_ReleaseList(in *ReleaseList, out *helm.ReleaseList, s conversion.Scope) error

Convert_v1alpha1_ReleaseList_To_helm_ReleaseList is an autogenerated conversion function.

func Convert_v1alpha1_ReleaseSpec_To_helm_ReleaseSpec

func Convert_v1alpha1_ReleaseSpec_To_helm_ReleaseSpec(in *ReleaseSpec, out *helm.ReleaseSpec, s conversion.Scope) error

Convert_v1alpha1_ReleaseSpec_To_helm_ReleaseSpec is an autogenerated conversion function.

func Convert_v1alpha1_ReleaseStatusStrategy_To_helm_ReleaseStatusStrategy

func Convert_v1alpha1_ReleaseStatusStrategy_To_helm_ReleaseStatusStrategy(in *ReleaseStatusStrategy, out *helm.ReleaseStatusStrategy, s conversion.Scope) error

Convert_v1alpha1_ReleaseStatusStrategy_To_helm_ReleaseStatusStrategy is an autogenerated conversion function.

func Convert_v1alpha1_ReleaseStatus_To_helm_ReleaseStatus

func Convert_v1alpha1_ReleaseStatus_To_helm_ReleaseStatus(in *ReleaseStatus, out *helm.ReleaseStatus, s conversion.Scope) error

Convert_v1alpha1_ReleaseStatus_To_helm_ReleaseStatus is an autogenerated conversion function.

func Convert_v1alpha1_ReleaseStrategy_To_helm_ReleaseStrategy

func Convert_v1alpha1_ReleaseStrategy_To_helm_ReleaseStrategy(in *ReleaseStrategy, out *helm.ReleaseStrategy, s conversion.Scope) error

Convert_v1alpha1_ReleaseStrategy_To_helm_ReleaseStrategy is an autogenerated conversion function.

func Convert_v1alpha1_Release_To_helm_Release

func Convert_v1alpha1_Release_To_helm_Release(in *Release, out *helm.Release, s conversion.Scope) error

Convert_v1alpha1_Release_To_helm_Release 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(scheme *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 ImpersonateSpec

type ImpersonateSpec struct {
	User               string                        `json:"user,omitempty"`
	Groups             []string                      `json:"groups,omitempty"`
	Extra              map[string]authzv1.ExtraValue `json:"extra,omitempty"`
	ServiceAccountName string                        `json:"serviceAccountName,omitempty"`
}

func (*ImpersonateSpec) DeepCopy

func (in *ImpersonateSpec) DeepCopy() *ImpersonateSpec

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

func (*ImpersonateSpec) DeepCopyInto

func (in *ImpersonateSpec) DeepCopyInto(out *ImpersonateSpec)

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

type Release

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

	Spec ReleaseSpec `json:"spec,omitempty"`
	// +optional
	Status ReleaseStatus `json:"status,omitempty"`
}

Release +k8s:openapi-gen=true +resource:path=releases,strategy=ReleaseStrategy

func (*Release) DeepCopy

func (in *Release) DeepCopy() *Release

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

func (*Release) DeepCopyInto

func (in *Release) DeepCopyInto(out *Release)

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

func (*Release) DeepCopyObject

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

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

type ReleaseList

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

func (*ReleaseList) DeepCopy

func (in *ReleaseList) DeepCopy() *ReleaseList

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

func (*ReleaseList) DeepCopyInto

func (in *ReleaseList) DeepCopyInto(out *ReleaseList)

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

func (*ReleaseList) DeepCopyObject

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

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

type ReleaseSchemeFns

type ReleaseSchemeFns struct {
	builders.DefaultSchemeFns
}

Release Functions and Structs

+k8s:deepcopy-gen=false

func (ReleaseSchemeFns) DefaultingFunction

func (ReleaseSchemeFns) DefaultingFunction(o interface{})

DefaultingFunction sets default Release field values

type ReleaseSpec

type ReleaseSpec struct {
	// RepoURL is the URL of the repository. Defaults to stable repo.
	RepoURL string `json:"repoUrl,omitempty"`
	// ChartName is the name of the chart within the repo
	ChartName string `json:"chartName,omitempty"`
	// Version is the chart version
	Version string `json:"version,omitempty"`
	// Values is a string containing (unparsed) YAML values
	Values string `json:"values,omitempty"`
	// Impersonate is the user to impersonate when manipulating resources
	Impersonate ImpersonateSpec `json:"impersonate,omitempty"`
}

ReleaseSpec defines the desired state of Release

func (*ReleaseSpec) DeepCopy

func (in *ReleaseSpec) DeepCopy() *ReleaseSpec

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

func (*ReleaseSpec) DeepCopyInto

func (in *ReleaseSpec) DeepCopyInto(out *ReleaseSpec)

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

type ReleaseStatus

type ReleaseStatus struct {
	Phase string `json:"phase,omitempty"`
	Notes string `json:"notes,omitempty"`
}

ReleaseStatus defines the observed state of Release

func (*ReleaseStatus) DeepCopy

func (in *ReleaseStatus) DeepCopy() *ReleaseStatus

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

func (*ReleaseStatus) DeepCopyInto

func (in *ReleaseStatus) DeepCopyInto(out *ReleaseStatus)

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

type ReleaseStatusStrategy

type ReleaseStatusStrategy struct {
	builders.DefaultStatusStorageStrategy
}

+k8s:deepcopy-gen=false

type ReleaseStrategy

type ReleaseStrategy struct {
	builders.DefaultStorageStrategy
}

+k8s:deepcopy-gen=false

func (ReleaseStrategy) Validate

Validate checks that an instance of Release is well formed

Jump to

Keyboard shortcuts

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