deploy

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deploy

type Deploy interface {
	Deploy(tplOutput string, changedFunc func(exec.CmdRunResult)) exec.CmdRunResult
	Delete(changedFunc func(exec.CmdRunResult)) exec.CmdRunResult
	Inspect() exec.CmdRunResult
	ManagedName() string
}

type Factory added in v0.5.0

type Factory struct {
	// contains filtered or unexported fields
}

func NewFactory added in v0.5.0

func NewFactory(coreClient kubernetes.Interface) Factory

func (Factory) NewKapp added in v0.5.0

func (f Factory) NewKapp(opts v1alpha1.AppDeployKapp, clusterOpts *v1alpha1.AppCluster,
	genericOpts GenericOpts, cancelCh chan struct{}) (*Kapp, error)

type GenericOpts

type GenericOpts struct {
	Name           string
	Namespace      string
	KubeconfigYAML string
}

type Kapp

type Kapp struct {
	// contains filtered or unexported fields
}

func NewKapp

func NewKapp(opts v1alpha1.AppDeployKapp, genericOpts GenericOpts, cancelCh chan struct{}) *Kapp

func (*Kapp) Delete

func (a *Kapp) Delete(changedFunc func(exec.CmdRunResult)) exec.CmdRunResult

func (*Kapp) Deploy

func (a *Kapp) Deploy(tplOutput string, changedFunc func(exec.CmdRunResult)) exec.CmdRunResult

func (*Kapp) Inspect

func (a *Kapp) Inspect() exec.CmdRunResult

func (*Kapp) ManagedName

func (a *Kapp) ManagedName() string

type KubeconfigSecrets added in v0.5.0

type KubeconfigSecrets struct {
	// contains filtered or unexported fields
}

func NewKubeconfigSecrets added in v0.5.0

func NewKubeconfigSecrets(coreClient kubernetes.Interface) *KubeconfigSecrets

func (*KubeconfigSecrets) Find added in v0.5.0

func (s *KubeconfigSecrets) Find(genericOpts GenericOpts, clusterOpts *v1alpha1.AppCluster) (GenericOpts, error)

Jump to

Keyboard shortcuts

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