app

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

type List struct {
	AppFilePaths          []string
	AppConfigurationFiles []*file.AppConfigurationFile
}

func NewList

func NewList() (*List, error)

func (*List) Execute

func (l *List) Execute()

type Promote

type Promote struct {
	CliOptions           PromoteCliOptions
	GitAuth              auth.GitCredentials
	SrcEnvironment       *environment.Environment
	DestEnvironment      *environment.Environment
	Repository           *remote.LodestarRepository
	AppConfigurationFile *file.AppConfigurationFile
	AppStateFile         *remote.AppStateFile
}

func NewPromote

func NewPromote(username string, token string, app string, configPath string, srcEnv string, destEnv string) (*Promote, error)

func (*Promote) Execute

func (p *Promote) Execute() error

func (*Promote) Output

func (p *Promote) Output(b bool) error

type PromoteCliOptions

type PromoteCliOptions struct {
	Username        string
	Token           string
	App             string
	ConfigPath      string
	SrcEnvironment  string
	DestEnvironment string
}

type Push

type Push struct {
	CliOptions           PushCliOptions
	KeysMap              map[string]string
	GitAuth              auth.GitCredentials
	Environment          *environment.Environment
	Repository           *remote.LodestarRepository
	AppConfigurationFile *file.AppConfigurationFile
	AppStateFile         *remote.AppStateFile
}

func NewPush

func NewPush(username string, token string, app string, configPath string, environment string, yamlKeys string) (*Push, error)

func (*Push) Execute

func (p *Push) Execute() error

func (*Push) Output

func (p *Push) Output(b bool) error

type PushCliOptions

type PushCliOptions struct {
	Username        string
	Token           string
	App             string
	ConfigPath      string
	EnvironmentName string
	YamlKeys        string
}

type Show

type Show struct {
	CliOptions           ShowCliOptions
	GitAuth              auth.GitCredentials
	Repository           *remote.LodestarRepository
	AppConfigurationFile *file.AppConfigurationFile
	AppStateFile         *remote.AppStateFile
}

func NewShow

func NewShow(username string, token string, app string, configPath string) (*Show, error)

func (*Show) Execute

func (s *Show) Execute()

type ShowCliOptions

type ShowCliOptions struct {
	Username   string
	Token      string
	App        string
	ConfigPath string
}

Jump to

Keyboard shortcuts

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