helm

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: 9 Imported by: 0

Documentation

Overview

Package api is the internal version of the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	InternalRelease = builders.NewInternalResource(
		"releases",
		func() runtime.Object { return &Release{} },
		func() runtime.Object { return &ReleaseList{} },
	)
	InternalReleaseStatus = builders.NewInternalResourceStatus(
		"releases",
		func() runtime.Object { return &Release{} },
		func() runtime.Object { return &ReleaseList{} },
	)
	// Registered resources and subresources
	ApiVersion = builders.NewApiGroup("helm.bitnami.com").WithKinds(
		InternalRelease,
		InternalReleaseStatus,
	)

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

	SchemeGroupVersion = ApiVersion.GroupVersion
)

Functions

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 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
	Groups             []string
	Extra              map[string]authorizationv1.ExtraValue
	ServiceAccountName string
}

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
	metav1.ObjectMeta
	Spec   ReleaseSpec
	Status ReleaseStatus
}

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.

func (Release) GetGeneration

func (pc Release) GetGeneration() int64

func (*Release) GetObjectMeta

func (pc *Release) GetObjectMeta() *metav1.ObjectMeta

func (*Release) GetSpec

func (pc *Release) GetSpec() interface{}

func (*Release) GetStatus

func (pc *Release) GetStatus() interface{}

func (Release) NewStatus

func (Release) NewStatus() interface{}

func (*Release) SetGeneration

func (pc *Release) SetGeneration(generation int64)

func (*Release) SetSpec

func (pc *Release) SetSpec(s interface{})

func (*Release) SetStatus

func (pc *Release) SetStatus(s interface{})

type ReleaseList

type ReleaseList struct {
	metav1.TypeMeta
	metav1.ListMeta
	Items []Release
}

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 ReleaseRegistry

type ReleaseRegistry interface {
	ListReleases(ctx request.Context, options *internalversion.ListOptions) (*ReleaseList, error)
	GetRelease(ctx request.Context, id string, options *metav1.GetOptions) (*Release, error)
	CreateRelease(ctx request.Context, id *Release) (*Release, error)
	UpdateRelease(ctx request.Context, id *Release) (*Release, error)
	DeleteRelease(ctx request.Context, id string) (bool, error)
}

Registry is an interface for things that know how to store Release. +k8s:deepcopy-gen=false

func NewReleaseRegistry

func NewReleaseRegistry(sp builders.StandardStorageProvider) ReleaseRegistry

NewRegistry returns a new Registry interface for the given Storage. Any mismatched types will panic.

type ReleaseSpec

type ReleaseSpec struct {
	RepoURL     string
	ChartName   string
	Version     string
	Values      string
	Impersonate ImpersonateSpec
}

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
	Notes string
}

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
}

Release Functions and Structs

+k8s:deepcopy-gen=false

Directories

Path Synopsis
+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
+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

Jump to

Keyboard shortcuts

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