task

package
v1.16.3 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultName     = "default"
	DefaultPath     = "/workspace"
	DefaultRevision = "master"
	KubeConfigFile  = "kubeconfig"
)

Variables

This section is empty.

Functions

func CreateKubeconfigFile

func CreateKubeconfigFile(directory string, resource *model.ClusterDetails) error

func GetData

func GetData(spec map[string]interface{}, path, output string) ([]byte, error)

Types

type TaskInterface

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

func NewTaskInterface

func NewTaskInterface(opts taskutil.DefaultPlanOptions) *TaskInterface

func (*TaskInterface) CloneRepository

func (ti *TaskInterface) CloneRepository(revision string, directory string) error

func (*TaskInterface) ProcessAWS

func (ti *TaskInterface) ProcessAWS(directory string) error

func (*TaskInterface) ProcessClusters

func (ti *TaskInterface) ProcessClusters(directory string) error

func (*TaskInterface) ProcessCredentials

func (ti *TaskInterface) ProcessCredentials(directory string) error

func (*TaskInterface) ProcessGCP added in v1.16.0

func (ti *TaskInterface) ProcessGCP(directory string) error

func (*TaskInterface) ReadData

func (ti *TaskInterface) ReadData(path string) ([]byte, error)

func (*TaskInterface) WriteFile

func (ti *TaskInterface) WriteFile(file, path, output string) error

Jump to

Keyboard shortcuts

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