Documentation ¶
Overview ¶
Package api is the internal version of the API.
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type ImpersonateSpec
- type Release
- func (in *Release) DeepCopy() *Release
- func (in *Release) DeepCopyInto(out *Release)
- func (in *Release) DeepCopyObject() runtime.Object
- func (pc Release) GetGeneration() int64
- func (pc *Release) GetObjectMeta() *metav1.ObjectMeta
- func (pc *Release) GetSpec() interface{}
- func (pc *Release) GetStatus() interface{}
- func (Release) NewStatus() interface{}
- func (pc *Release) SetGeneration(generation int64)
- func (pc *Release) SetSpec(s interface{})
- func (pc *Release) SetStatus(s interface{})
- type ReleaseList
- type ReleaseRegistry
- type ReleaseSpec
- type ReleaseStatus
- type ReleaseStatusStrategy
- type ReleaseStrategy
Constants ¶
This section is empty.
Variables ¶
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 ¶
Required by code generated by go2idl Kind takes an unqualified kind and returns a Group qualified GroupKind
func RegisterDefaults ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Release.
func (*Release) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Release) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (Release) GetGeneration ¶
func (*Release) GetObjectMeta ¶
func (pc *Release) GetObjectMeta() *metav1.ObjectMeta
func (*Release) SetGeneration ¶
type ReleaseList ¶
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 ¶
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
Source Files ¶
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 |