Documentation ¶
Index ¶
- Constants
- func DeleteK8s(options HelmDeleteOptions) (*helmservices.UninstallReleaseResponse, error)
- func GetDockerIgnore(contextDir string) ([]string, error)
- func PushImage(tag string, authConfig types.AuthConfig, dockerCli *client.Client, w io.Writer) error
- type BuildAndPushResult
- type BuildOptions
- type BuildResponse
- type Chart
- type ChartOptions
- type CommitInfo
- type Dependency
- type DumpOptions
- type HelmDeleteOptions
- type HelmDeleteResponse
- type HelmOptions
- type HelmResponse
- type OutStream
- type RepoInfo
Constants ¶
View Source
const CHARTS_YAML = "Chart.yaml"
View Source
const REQUIREMENTS_YAML = "requirements.yaml"
View Source
const VALUES_YAML = "values.yaml"
Variables ¶
This section is empty.
Functions ¶
func DeleteK8s ¶
func DeleteK8s(options HelmDeleteOptions) (*helmservices.UninstallReleaseResponse, error)
func GetDockerIgnore ¶
Types ¶
type BuildAndPushResult ¶
type BuildAndPushResult struct { Inspect *types.ImageInspect Tag string Version string Repository string RepoInfo *RepoInfo }
func BuildAndPush ¶
func BuildAndPush(options BuildOptions, w io.Writer) (*BuildAndPushResult, error)
type BuildOptions ¶
type BuildOptions struct { Environment config.Environment Handler config.Handler Client *client.Client Config config.ApplicationYaml Handlername string Auth types.AuthConfig }
type BuildResponse ¶
type BuildResponse struct { ImageBuildResponse *types.ImageBuildResponse BuildOptions types.ImageBuildOptions Version string Repository string RepoInfo *RepoInfo }
func Build ¶
func Build(options BuildOptions) (*BuildResponse, error)
type Chart ¶
type Chart struct { Name string Chart string Values map[string]interface{} Charts []*Chart Dependencies []*Dependency Options ChartOptions }
func (*Chart) AddDependency ¶
func (c *Chart) AddDependency(dependency *Dependency)
type ChartOptions ¶
type CommitInfo ¶
type Dependency ¶
type DumpOptions ¶
type DumpOptions struct { }
type HelmDeleteOptions ¶
type HelmDeleteOptions struct { Client *helm.Client Config config.ApplicationYaml DockerCli *client.Client Environment config.Environment K8sClient *kubernetes.Clientset }
type HelmDeleteResponse ¶
type HelmOptions ¶
type HelmOptions struct { Pw progressbar.IProgressBar Client *helm.Client Config config.ApplicationYaml DockerCli *client.Client Environment config.Environment K8sClient *kubernetes.Clientset Auth types.AuthConfig }
type HelmResponse ¶
func DeployK8s ¶
func DeployK8s(options HelmOptions) (*HelmResponse, error)
type OutStream ¶
func (*OutStream) IsTerminal ¶
type RepoInfo ¶
type RepoInfo struct { Directory string CommitInfo CommitInfo }
Click to show internal directories.
Click to hide internal directories.