cmd

package
v1.9.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const ENABLE_FLAG = "check"
View Source
const VERSION_URL = "https://get.armory.io/arm/version.json"

Variables

View Source
var (
	UPGRADE_VERSION_ERROR = errors.New("there is a new version available")
	LogLevel              string
)
View Source
var (
	COMMIT string
	BRANCH string
	SEMVER string
)

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type PlankMock

type PlankMock struct {
}

func (PlankMock) ArmoryEndpointsEnabled

func (p PlankMock) ArmoryEndpointsEnabled() bool

func (PlankMock) CreateApplication

func (p PlankMock) CreateApplication(*plank.Application) error

func (PlankMock) DeletePipeline

func (p PlankMock) DeletePipeline(plank.Pipeline) error

func (PlankMock) EnableArmoryEndpoints

func (p PlankMock) EnableArmoryEndpoints()

func (PlankMock) GetApplication

func (p PlankMock) GetApplication(string string) (*plank.Application, error)

func (PlankMock) GetApplicationNotifications

func (p PlankMock) GetApplicationNotifications(string) (*plank.NotificationsType, error)

func (PlankMock) GetPipelines

func (p PlankMock) GetPipelines(string string) ([]plank.Pipeline, error)

func (PlankMock) ResyncFiat

func (p PlankMock) ResyncFiat() error

func (PlankMock) UpdateApplication

func (p PlankMock) UpdateApplication(plank.Application) error

func (PlankMock) UpdateApplicationNotifications

func (p PlankMock) UpdateApplicationNotifications(plank.NotificationsType, string) error

func (PlankMock) UpsertPipeline

func (p PlankMock) UpsertPipeline(pipe plank.Pipeline, str string) error

type VersionDesc

type VersionDesc struct {
	Version string `json:"version"`
}

Jump to

Keyboard shortcuts

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