cli

package
v0.0.0-...-173f4c4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Image        = "convox/convox"
	Starter      = start.New()
	WaitDuration = 5 * time.Second
)

Functions

func Api

func Api(rack sdk.Interface, c *stdcli.Context) error

func Apps

func Apps(rack sdk.Interface, c *stdcli.Context) error

func AppsCancel

func AppsCancel(rack sdk.Interface, c *stdcli.Context) error

func AppsCreate

func AppsCreate(rack sdk.Interface, c *stdcli.Context) error

func AppsDelete

func AppsDelete(rack sdk.Interface, c *stdcli.Context) error

func AppsExport

func AppsExport(rack sdk.Interface, c *stdcli.Context) error

func AppsImport

func AppsImport(rack sdk.Interface, c *stdcli.Context) error

func AppsInfo

func AppsInfo(rack sdk.Interface, c *stdcli.Context) error

func AppsLock

func AppsLock(rack sdk.Interface, c *stdcli.Context) error

func AppsParams

func AppsParams(rack sdk.Interface, c *stdcli.Context) error

func AppsParamsSet

func AppsParamsSet(rack sdk.Interface, c *stdcli.Context) error

func AppsUnlock

func AppsUnlock(rack sdk.Interface, c *stdcli.Context) error

func Balancers

func Balancers(rack sdk.Interface, c *stdcli.Context) error

func Build

func Build(rack sdk.Interface, c *stdcli.Context) error

func Builds

func Builds(rack sdk.Interface, c *stdcli.Context) error

func BuildsExport

func BuildsExport(rack sdk.Interface, c *stdcli.Context) error

func BuildsImport

func BuildsImport(rack sdk.Interface, c *stdcli.Context) error

func BuildsInfo

func BuildsInfo(rack sdk.Interface, c *stdcli.Context) error

func BuildsLogs

func BuildsLogs(rack sdk.Interface, c *stdcli.Context) error

func CertLetsEncryptDnsRoute53Add

func CertLetsEncryptDnsRoute53Add(rack sdk.Interface, c *stdcli.Context) error

func CertLetsEncryptDnsRoute53Delete

func CertLetsEncryptDnsRoute53Delete(rack sdk.Interface, c *stdcli.Context) error

func CertLetsEncryptDnsRoute53List

func CertLetsEncryptDnsRoute53List(rack sdk.Interface, c *stdcli.Context) error

func CertLetsEncryptDnsRoute53Role

func CertLetsEncryptDnsRoute53Role(rack sdk.Interface, c *stdcli.Context) error

func CertLetsEncryptDnsRoute53Update

func CertLetsEncryptDnsRoute53Update(rack sdk.Interface, c *stdcli.Context) error

func Certs

func Certs(rack sdk.Interface, c *stdcli.Context) error

func CertsDelete

func CertsDelete(rack sdk.Interface, c *stdcli.Context) error

func CertsGenerate

func CertsGenerate(rack sdk.Interface, c *stdcli.Context) error

func CertsImport

func CertsImport(rack sdk.Interface, c *stdcli.Context) error

func CertsRenew

func CertsRenew(rack sdk.Interface, c *stdcli.Context) error

func Cp

func Cp(rack sdk.Interface, c *stdcli.Context) error

func Deploy

func Deploy(rack sdk.Interface, c *stdcli.Context) error

func Env

func Env(rack sdk.Interface, c *stdcli.Context) error

func EnvEdit

func EnvEdit(rack sdk.Interface, c *stdcli.Context) error

func EnvGet

func EnvGet(rack sdk.Interface, c *stdcli.Context) error

func EnvSet

func EnvSet(rack sdk.Interface, c *stdcli.Context) error

func EnvUnset

func EnvUnset(rack sdk.Interface, c *stdcli.Context) error

func Exec

func Exec(rack sdk.Interface, c *stdcli.Context) error

func Instances

func Instances(rack sdk.Interface, c *stdcli.Context) error

func InstancesKeyroll

func InstancesKeyroll(r sdk.Interface, c *stdcli.Context) error

func InstancesSsh

func InstancesSsh(r sdk.Interface, c *stdcli.Context) error

func InstancesTerminate

func InstancesTerminate(rack sdk.Interface, c *stdcli.Context) error

func Login

func Login(rack sdk.Interface, c *stdcli.Context) error

func Logs

func Logs(rack sdk.Interface, c *stdcli.Context) error

func Proxy

func Proxy(rack sdk.Interface, c *stdcli.Context) error

func Ps

func Ps(rack sdk.Interface, c *stdcli.Context) error

func PsInfo

func PsInfo(rack sdk.Interface, c *stdcli.Context) error

func PsStop

func PsStop(rack sdk.Interface, c *stdcli.Context) error

func Rack

func Rack(rack sdk.Interface, c *stdcli.Context) error

func RackAccess

func RackAccess(rack sdk.Interface, c *stdcli.Context) error

func RackAccessKeyRotate

func RackAccessKeyRotate(rack sdk.Interface, c *stdcli.Context) error

func RackInstall

func RackInstall(_ sdk.Interface, c *stdcli.Context) error

func RackKubeconfig

func RackKubeconfig(_ sdk.Interface, c *stdcli.Context) error

func RackLogs

func RackLogs(rack sdk.Interface, c *stdcli.Context) error

func RackMv

func RackMv(_ sdk.Interface, c *stdcli.Context) error

func RackParams

func RackParams(_ sdk.Interface, c *stdcli.Context) error

func RackParamsSet

func RackParamsSet(_ sdk.Interface, c *stdcli.Context) error

func RackPs

func RackPs(rack sdk.Interface, c *stdcli.Context) error

func RackReleases

func RackReleases(rack sdk.Interface, c *stdcli.Context) error

func RackResources

func RackResources(rack sdk.Interface, c *stdcli.Context) error

func RackResourcesCreate

func RackResourcesCreate(rack sdk.Interface, c *stdcli.Context) error

func RackResourcesDelete

func RackResourcesDelete(rack sdk.Interface, c *stdcli.Context) error

func RackResourcesInfo

func RackResourcesInfo(rack sdk.Interface, c *stdcli.Context) error
func RackResourcesLink(rack sdk.Interface, c *stdcli.Context) error

func RackResourcesOptions

func RackResourcesOptions(rack sdk.Interface, c *stdcli.Context) error

func RackResourcesProxy

func RackResourcesProxy(rack sdk.Interface, c *stdcli.Context) error

func RackResourcesTypes

func RackResourcesTypes(rack sdk.Interface, c *stdcli.Context) error
func RackResourcesUnlink(rack sdk.Interface, c *stdcli.Context) error

func RackResourcesUpdate

func RackResourcesUpdate(rack sdk.Interface, c *stdcli.Context) error

func RackResourcesUrl

func RackResourcesUrl(rack sdk.Interface, c *stdcli.Context) error

func RackRuntimeAttach

func RackRuntimeAttach(rack sdk.Interface, c *stdcli.Context) error

func RackRuntimes

func RackRuntimes(rack sdk.Interface, c *stdcli.Context) error

func RackScale

func RackScale(rack sdk.Interface, c *stdcli.Context) error

func RackSync

func RackSync(_ sdk.Interface, c *stdcli.Context) error

func RackUninstall

func RackUninstall(_ sdk.Interface, c *stdcli.Context) error

func RackUpdate

func RackUpdate(_ sdk.Interface, c *stdcli.Context) error

func Racks

func Racks(_ sdk.Interface, c *stdcli.Context) error

func Registries

func Registries(rack sdk.Interface, c *stdcli.Context) error

func RegistriesAdd

func RegistriesAdd(rack sdk.Interface, c *stdcli.Context) error

func RegistriesRemove

func RegistriesRemove(rack sdk.Interface, c *stdcli.Context) error

func Releases

func Releases(rack sdk.Interface, c *stdcli.Context) error

func ReleasesInfo

func ReleasesInfo(rack sdk.Interface, c *stdcli.Context) error

func ReleasesManifest

func ReleasesManifest(rack sdk.Interface, c *stdcli.Context) error

func ReleasesPromote

func ReleasesPromote(rack sdk.Interface, c *stdcli.Context) error

func ReleasesRollback

func ReleasesRollback(rack sdk.Interface, c *stdcli.Context) error

func Resources

func Resources(rack sdk.Interface, c *stdcli.Context) error

func ResourcesConsole

func ResourcesConsole(rack sdk.Interface, c *stdcli.Context) error

func ResourcesExport

func ResourcesExport(rack sdk.Interface, c *stdcli.Context) error

func ResourcesImport

func ResourcesImport(rack sdk.Interface, c *stdcli.Context) error

func ResourcesInfo

func ResourcesInfo(rack sdk.Interface, c *stdcli.Context) error

func ResourcesProxy

func ResourcesProxy(rack sdk.Interface, c *stdcli.Context) error

func ResourcesUrl

func ResourcesUrl(rack sdk.Interface, c *stdcli.Context) error

func Restart

func Restart(rack sdk.Interface, c *stdcli.Context) error

func Run

func Run(rack sdk.Interface, c *stdcli.Context) error

func Scale

func Scale(rack sdk.Interface, c *stdcli.Context) error

func Services

func Services(rack sdk.Interface, c *stdcli.Context) error

func ServicesRestart

func ServicesRestart(rack sdk.Interface, c *stdcli.Context) error

func Ssl

func Ssl(rack sdk.Interface, c *stdcli.Context) error

func SslUpdate

func SslUpdate(rack sdk.Interface, c *stdcli.Context) error

func Start

func Start(rack sdk.Interface, c *stdcli.Context) error

func Switch

func Switch(_ sdk.Interface, c *stdcli.Context) error

func Test

func Test(rack sdk.Interface, c *stdcli.Context) error

func Update

func Update(_ sdk.Interface, c *stdcli.Context) error

func Version

func Version(_ sdk.Interface, c *stdcli.Context) error

func WorkflowCustomRun

func WorkflowCustomRun(rack sdk.Interface, c *stdcli.Context) error

func Workflows

func Workflows(rack sdk.Interface, c *stdcli.Context) error

Types

type Engine

type Engine struct {
	*stdcli.Engine
	Client sdk.Interface
}

func New

func New(name, version string) *Engine

func (*Engine) Command

func (e *Engine) Command(command, description string, fn HandlerFunc, opts stdcli.CommandOptions)

func (*Engine) CommandWithoutProvider

func (e *Engine) CommandWithoutProvider(command, description string, fn HandlerFunc, opts stdcli.CommandOptions)

func (*Engine) RegisterCommands

func (e *Engine) RegisterCommands()

type HandlerFunc

type HandlerFunc func(sdk.Interface, *stdcli.Context) error

Jump to

Keyboard shortcuts

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