Documentation ¶
Index ¶
Constants ¶
const ( ChartTypeApplication = "application" ChartTypeLibrary = "library" )
const ( HookTypePreInstall = "pre-install" HookTypePostInstall = "post-install" HookTypePreUpgrade = "pre-upgrade" HookTypePostUpgrade = "post-upgrade" HookTypePreDelete = "pre-delete" HookTypePostDelete = "post-delete" HookTypePreRollback = "pre-rollback" HookTypePostRollback = "post-rollback" HookTypeTest = "test" HookTypeTestSuccess = "test-success" )
const ( HookMinWeight = -100 HookMaxWeight = 100 )
const ( HookDeletePolicyBeforeHookCreation = "before-hook-creation" HookDeletePolicyHookSucceeded = "hook-succeeded" HookDeletePolicyHookFailed = "hook-failed" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiVersions ¶ added in v0.3.16
type ApiVersions []string
func (ApiVersions) DeepCopy ¶ added in v0.3.16
func (in ApiVersions) DeepCopy() ApiVersions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiVersions.
func (ApiVersions) DeepCopyInto ¶ added in v0.3.16
func (in ApiVersions) DeepCopyInto(out *ApiVersions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ApiVersions) Has ¶ added in v0.3.16
func (apiVersions ApiVersions) Has(version string) bool
type Capabilities ¶ added in v0.3.16
type Capabilities struct { KubeVersion KubeVersion `json:"kubeVersion,omitempty"` APIVersions ApiVersions `json:"apiVersions,omitempty"` }
func GetCapabilities ¶
func GetCapabilities(discoveryClient discovery.DiscoveryInterface) (*Capabilities, error)
func (*Capabilities) DeepCopy ¶ added in v0.3.16
func (in *Capabilities) DeepCopy() *Capabilities
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Capabilities.
func (*Capabilities) DeepCopyInto ¶ added in v0.3.16
func (in *Capabilities) DeepCopyInto(out *Capabilities)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Chart ¶ added in v0.3.16
type Chart struct {
// contains filtered or unexported fields
}
func ParseChart ¶ added in v0.3.16
type ChartDependency ¶ added in v0.3.16
type ChartDependency struct { Name string `json:"name,omitempty"` Alias string `json:"alias,omitempty"` Condition string `json:"condition,omitempty"` Tags []string `json:"tags,omitempty"` ImportValues []ChartImportValue `json:"import-values,omitempty"` }
func (*ChartDependency) DeepCopy ¶ added in v0.3.16
func (in *ChartDependency) DeepCopy() *ChartDependency
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartDependency.
func (*ChartDependency) DeepCopyInto ¶ added in v0.3.16
func (in *ChartDependency) DeepCopyInto(out *ChartDependency)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartImportValue ¶ added in v0.3.16
func (*ChartImportValue) DeepCopy ¶ added in v0.3.16
func (in *ChartImportValue) DeepCopy() *ChartImportValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartImportValue.
func (*ChartImportValue) DeepCopyInto ¶ added in v0.3.16
func (in *ChartImportValue) DeepCopyInto(out *ChartImportValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ChartImportValue) UnmarshalJSON ¶ added in v0.3.16
func (v *ChartImportValue) UnmarshalJSON(b []byte) error
type ChartMetadata ¶ added in v0.3.16
type ChartMetadata struct { Name string `json:"name,omitempty"` Version string `json:"version,omitempty"` Type string `json:"type,omitempty"` AppVersion string `json:"appVersion,omitempty"` Dependencies []ChartDependency `json:"dependencies,omitempty"` }
func (*ChartMetadata) DeepCopy ¶ added in v0.3.16
func (in *ChartMetadata) DeepCopy() *ChartMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartMetadata.
func (*ChartMetadata) DeepCopyInto ¶ added in v0.3.16
func (in *ChartMetadata) DeepCopyInto(out *ChartMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HookMetadata ¶
func ParseHookMetadata ¶
func ParseHookMetadata(object client.Object) (*HookMetadata, error)
parse helm hook properties from object, return nil if annotation helm.sh/hook is not set
type KubeVersion ¶ added in v0.3.16
type KubeVersion struct { Version string `json:"version,omitempty"` Major string `json:"major,omitempty"` Minor string `json:"minor,omitempty"` // GitVersion is actually deprecated, but some charts still use it GitVersion string `json:"gitVersion,omitempty"` }
func (*KubeVersion) DeepCopy ¶ added in v0.3.16
func (in *KubeVersion) DeepCopy() *KubeVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeVersion.
func (*KubeVersion) DeepCopyInto ¶ added in v0.3.16
func (in *KubeVersion) DeepCopyInto(out *KubeVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KubeVersion) String ¶ added in v0.3.16
func (kubeVersion *KubeVersion) String() string
type Release ¶ added in v0.3.16
type Release struct { Namespace string `json:"namespace,omitempty"` Name string `json:"name,omitempty"` Service string `json:"service,omitempty"` IsInstall bool `json:"isInstall,omitempty"` IsUpgrade bool `json:"isUpgrade,omitempty"` }
func (*Release) DeepCopy ¶ added in v0.3.16
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Release.
func (*Release) DeepCopyInto ¶ added in v0.3.16
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RenderContext ¶ added in v0.3.16
type Template ¶ added in v0.3.16
type Template struct { Name string `json:"name,omitempty"` BasePath string `json:"basePath,omitempty"` }
func (*Template) DeepCopy ¶ added in v0.3.16
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
func (*Template) DeepCopyInto ¶ added in v0.3.16
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.