stack

package
v0.6.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerBuildKey added in v0.6.0

type ContainerBuildKey struct {
	Service   string
	Container string
}

func (ContainerBuildKey) String added in v0.6.0

func (c ContainerBuildKey) String() string

type Stack

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

func NewStack

func NewStack(contents []byte, answers map[string]string) *Stack

func (*Stack) GetImageBuilds

func (s *Stack) GetImageBuilds() (map[ContainerBuildKey]riov1.ImageBuildSpec, error)

func (*Stack) GetObjects

func (s *Stack) GetObjects() ([]runtime.Object, error)

func (*Stack) Questions

func (s *Stack) Questions() ([]v1.Question, error)

func (*Stack) SetServiceImages

func (s *Stack) SetServiceImages(images map[ContainerBuildKey]string) error

func (*Stack) WithAnswer added in v0.6.0

func (s *Stack) WithAnswer(answer map[string]string)

func (*Stack) Yaml

func (s *Stack) Yaml(answers map[string]string, additionalObjects ...runtime.Object) (string, error)

type SystemStack

type SystemStack struct {
	Stack
	// contains filtered or unexported fields
}

func NewSystemStack

func NewSystemStack(apply apply.Apply, stacks adminv1controller.SystemStackClient, systemNamespace string, name string) *SystemStack

func (*SystemStack) Deploy

func (s *SystemStack) Deploy(answers map[string]string, additionalObjects ...runtime.Object) error

func (*SystemStack) Remove

func (s *SystemStack) Remove() error

func (*SystemStack) WithApply added in v0.6.0

func (s *SystemStack) WithApply(apply apply.Apply)

Jump to

Keyboard shortcuts

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