commands

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2025 License: Apache-2.0 Imports: 60 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResponseLimit

func ResponseLimit(limit int) (int, error)

Types

type Commander

type Commander interface {
	AppCreate(string, string, bool) error
	AppsList(int) error
	AppInfo(string) error
	AppOpen(string) error
	AppLogs(string, int, bool, int) error
	AppRun(string, string, []string, uint32, uint32) error
	AppDestroy(string, string) error
	AppTransfer(string, string) error
	AutodeployInfo(string) error
	AutodeployEnable(string) error
	AutodeployDisable(string) error
	AutorollbackInfo(string) error
	AutorollbackEnable(string) error
	AutorollbackDisable(string) error
	AutoscaleList(string) error
	AutoscaleSet(string, string, int, int, int) error
	AutoscaleUnset(string, string) error
	Login(string, bool, string, string) error
	Logout() error
	Whoami(bool) error
	TokensList(int) error
	TokensAdd(*drycc.Client, string, string, string, string, bool) (*api.AuthTokenResponse, error)
	TokensRemove(string, string) error
	BuildsInfo(string, int) error
	BuildsCreate(string, string, string, string, string, string) error
	BuildsFetch(string, int, string, string, string, bool) error
	CertsList(string, int) error
	CertAdd(string, string, string, string) error
	CertRemove(string, string) error
	CertInfo(string, string) error
	CertAttach(string, string, string) error
	CertDetach(string, string, string) error
	ConfigInfo(string, string, string, int) error
	ConfigSet(string, string, string, []string, string) error
	ConfigUnset(string, string, string, []string, string) error
	ConfigPull(string, string, string, string, bool, bool) error
	ConfigPush(string, string, string, string, string) error
	ConfigAttach(string, string, string) error
	ConfigDetach(string, string, string) error
	DomainsList(string, int) error
	DomainsAdd(string, string, string) error
	DomainsRemove(string, string) error
	ServicesList(string) error
	ServicesAdd(string, string, string, string) error
	ServicesRemove(string, string, string, int) error
	GatewaysAdd(string, string, int, string) error
	GatewaysList(string, int) error
	GatewaysRemove(string, string, int, string) error
	RoutesCreate(string, string, string, ...api.BackendRefRequest) error
	RoutesList(string, int) error
	RoutesGet(string, string) error
	RoutesSet(string, string, string) error
	RoutesAttach(string, string, int, string) error
	RoutesDetach(string, string, int, string) error
	RoutesRemove(string, string) error
	GitRemote(string, string, bool) error
	GitRemove(string) error
	HealthchecksList(string, string, int) error
	HealthchecksSet(string, string, string, *api.Healthcheck) error
	HealthchecksUnset(string, string, []string) error
	KeysList(int) error
	KeyRemove(string) error
	KeyAdd(string, string) error
	LabelsList(string) error
	LabelsSet(string, []string) error
	LabelsUnset(string, []string) error
	LimitsList(string, int) error
	LimitsSet(string, []string) error
	LimitsUnset(string, []string) error
	LimitsSpecs(string, int) error
	LimitsPlans(string, int, int, int) error
	TimeoutsList(string, int) error
	TimeoutsSet(string, []string) error
	TimeoutsUnset(string, []string) error
	PermList(string, int) error
	PermCreate(string, string, string) error
	PermUpdate(string, string, string) error
	PermDelete(string, string) error
	PsList(string, int) error
	PsLogs(string, string, int, bool, string, bool) error
	PsExec(string, string, bool, bool, []string) error
	PsDescribe(string, string) error
	PsDelete(string, []string) error
	PtsList(string, int) error
	PtsDescribe(string, string) error
	PtsScale(string, []string) error
	PtsRestart(string, []string, string) error
	PtsClean(string, []string) error
	RegistryList(string, string, int) error
	RegistrySet(string, string, string, string) error
	RegistryUnset(string, string) error
	ReleasesList(string, []string, int) error
	ReleasesInfo(string, int) error
	ReleasesDeploy(string, []string, bool, string) error
	ReleasesRollback(string, []string, int) error
	RoutingInfo(string) error
	RoutingEnable(string) error
	RoutingDisable(string) error
	ShortcutsList() error
	TagsList(string, string, int) error
	TagsSet(string, string, []string) error
	TagsUnset(string, string, []string) error
	TLSInfo(string) error
	TLSForceEnable(string) error
	TLSForceDisable(string) error
	TLSAutoEnable(string) error
	TLSAutoDisable(string) error
	TLSAutoIssuer(string, string, string, string, string) error
	Update(bool) error
	UsersList(int) error
	UsersEnable(string) error
	UsersDisable(string) error
	Println(...interface{}) (int, error)
	Print(...interface{}) (int, error)
	Printf(string, ...interface{}) (int, error)
	PrintErrln(...interface{}) (int, error)
	PrintErr(...interface{}) (int, error)
	PrintErrf(string, ...interface{}) (int, error)
	Version(bool) error
	VolumesCreate(string, string, string, string, map[string]interface{}) error
	VolumesExpand(string, string, string) error
	VolumesDelete(string, string) error
	VolumesList(string, int) error
	VolumesInfo(string, string) error
	VolumesClient(string, string, ...string) error
	VolumesMount(string, string, []string) error
	VolumesUnmount(string, string, []string) error
	ResourcesServices(int) error
	ResourcesPlans(string, int) error
	ResourcesCreate(string, string, string, []string, string) error
	ResourcesList(string, int) error
	ResourceDelete(string, string, string) error
	ResourceGet(string, string, bool) error
	ResourcePut(string, string, string, []string, string) error
	ResourceBind(string, string) error
	ResourceUnbind(string, string) error
}

type DryccCmd

type DryccCmd struct {
	ConfigFile string
	Warned     bool
	WOut       io.Writer
	WErr       io.Writer
	WIn        io.Reader
	Location   *time.Location
}

func (*DryccCmd) AppCreate

func (d *DryccCmd) AppCreate(id, remote string, noRemote bool) error

AppCreate creates an app.

func (*DryccCmd) AppDestroy

func (d *DryccCmd) AppDestroy(appID, confirm string) error

AppDestroy destroys an app.

func (*DryccCmd) AppInfo

func (d *DryccCmd) AppInfo(appID string) error

AppInfo prints info about app.

func (*DryccCmd) AppLogs

func (d *DryccCmd) AppLogs(appID string, lines int, follow bool, timeout int) error

AppLogs returns the logs from an app.

func (*DryccCmd) AppOpen

func (d *DryccCmd) AppOpen(appID string) error

AppOpen opens an app in the default webbrowser.

func (*DryccCmd) AppRun

func (d *DryccCmd) AppRun(appID, command string, volumeVars []string, timeout, expires uint32) error

AppRun runs a one time command in the app.

func (*DryccCmd) AppTransfer

func (d *DryccCmd) AppTransfer(appID, username string) error

AppTransfer transfers app ownership to another user.

func (*DryccCmd) AppsList

func (d *DryccCmd) AppsList(results int) error

AppsList lists apps on the Drycc controller.

func (*DryccCmd) AutodeployDisable

func (d *DryccCmd) AutodeployDisable(appID string) error

AutodeployDisable disables an app when deploy failed

func (*DryccCmd) AutodeployEnable

func (d *DryccCmd) AutodeployEnable(appID string) error

AutodeployEnable enables an app when deploy failed

func (*DryccCmd) AutodeployInfo

func (d *DryccCmd) AutodeployInfo(appID string) error

AutodeployInfo provides information about the status of app autodeploy.

func (*DryccCmd) AutorollbackDisable

func (d *DryccCmd) AutorollbackDisable(appID string) error

AutorollbackDisable disables an app when deploy failed

func (*DryccCmd) AutorollbackEnable

func (d *DryccCmd) AutorollbackEnable(appID string) error

AutorollbackEnable enables an app when deploy failed

func (*DryccCmd) AutorollbackInfo

func (d *DryccCmd) AutorollbackInfo(appID string) error

AutorollbackInfo provides information about the status of app autorollback.

func (*DryccCmd) AutoscaleList

func (d *DryccCmd) AutoscaleList(appID string) error

AutoscaleList tells the informations about app's autoscale status

func (*DryccCmd) AutoscaleSet

func (d *DryccCmd) AutoscaleSet(appID string, ptype string, minCPU int, maxCPU int, CPUPercent int) error

AutoscaleSet sets autoscale options for the app.

func (*DryccCmd) AutoscaleUnset

func (d *DryccCmd) AutoscaleUnset(appID string, ptype string) error

AutoscaleUnset removes autoscale for the app.

func (*DryccCmd) BuildsCreate

func (d *DryccCmd) BuildsCreate(appID, image, stack, procfile, dryccpath, confirm string) error

BuildsCreate creates a build for an app.

func (*DryccCmd) BuildsFetch

func (d *DryccCmd) BuildsFetch(appID string, version int, procfile, dryccpath, confirm string, save bool) error

func (*DryccCmd) BuildsInfo

func (d *DryccCmd) BuildsInfo(appID string, version int) error

BuildsInfo lists an app's builds.

func (*DryccCmd) CertAdd

func (d *DryccCmd) CertAdd(appID string, cert string, key string, name string) error

CertAdd adds a cert to the controller.

func (*DryccCmd) CertAttach

func (d *DryccCmd) CertAttach(appID string, name, domain string) error

CertAttach attaches a certificate to a domain

func (*DryccCmd) CertDetach

func (d *DryccCmd) CertDetach(appID, name, domain string) error

CertDetach detaches a certificate from a domain

func (*DryccCmd) CertInfo

func (d *DryccCmd) CertInfo(appID string, name string) error

CertInfo gets info about certficiate

func (*DryccCmd) CertRemove

func (d *DryccCmd) CertRemove(appID string, name string) error

CertRemove deletes a cert from the controller.

func (*DryccCmd) CertsList

func (d *DryccCmd) CertsList(appID string, results int) error

CertsList lists certs registered with the controller.

func (*DryccCmd) ConfigAttach

func (d *DryccCmd) ConfigAttach(appID string, ptype string, groups string) error

func (*DryccCmd) ConfigDetach

func (d *DryccCmd) ConfigDetach(appID string, ptype string, groups string) error

func (*DryccCmd) ConfigInfo

func (d *DryccCmd) ConfigInfo(appID string, ptype string, group string, version int) error

ConfigInfo for an app

func (*DryccCmd) ConfigPull

func (d *DryccCmd) ConfigPull(appID, ptype, group, fileName string, interactive bool, overwrite bool) error

ConfigPull pulls an app's config to a file.

func (*DryccCmd) ConfigPush

func (d *DryccCmd) ConfigPush(appID, ptype string, group string, fileName string, confirm string) error

ConfigPush pushes an app's config from a file.

func (*DryccCmd) ConfigSet

func (d *DryccCmd) ConfigSet(appID string, ptype string, group string, configVars []string, confirm string) error

ConfigSet sets an app's config variables.

func (*DryccCmd) ConfigUnset

func (d *DryccCmd) ConfigUnset(appID string, ptype string, group string, configVars []string, confirm string) error

ConfigUnset removes a config variable from an app.

func (*DryccCmd) DomainsAdd

func (d *DryccCmd) DomainsAdd(appID, domain, ptype string) error

DomainsAdd adds a domain to an app.

func (*DryccCmd) DomainsList

func (d *DryccCmd) DomainsList(appID string, results int) error

DomainsList lists domains registered with an app.

func (*DryccCmd) DomainsRemove

func (d *DryccCmd) DomainsRemove(appID, domain string) error

DomainsRemove removes a domain registered with an app.

func (*DryccCmd) GatewaysAdd

func (d *DryccCmd) GatewaysAdd(appID, name string, port int, protocol string) error

GatewaysAdd adds a gateway to an app.

func (*DryccCmd) GatewaysList

func (d *DryccCmd) GatewaysList(appID string, results int) error

GatewaysList lists gateways for the app

func (*DryccCmd) GatewaysRemove

func (d *DryccCmd) GatewaysRemove(appID, name string, port int, protocol string) error

GatewaysRemove removes a gateway registered with an app.

func (*DryccCmd) GitRemote

func (d *DryccCmd) GitRemote(appID, remote string, force bool) error

GitRemote creates a git remote for a drycc app.

func (*DryccCmd) GitRemove

func (d *DryccCmd) GitRemove(appID string) error

GitRemove removes a application git remote from a repository

func (*DryccCmd) HealthchecksList

func (d *DryccCmd) HealthchecksList(appID, ptype string, version int) error

HealthchecksList lists an app's healthchecks.

func (*DryccCmd) HealthchecksSet

func (d *DryccCmd) HealthchecksSet(appID, healthcheckType, ptype string, probe *api.Healthcheck) error

HealthchecksSet sets an app's healthchecks.

func (*DryccCmd) HealthchecksUnset

func (d *DryccCmd) HealthchecksUnset(appID, ptype string, healthchecks []string) error

HealthchecksUnset removes an app's healthchecks.

func (*DryccCmd) KeyAdd

func (d *DryccCmd) KeyAdd(name string, keyLocation string) error

KeyAdd adds keys.

func (*DryccCmd) KeyRemove

func (d *DryccCmd) KeyRemove(keyID string) error

KeyRemove removes keys.

func (*DryccCmd) KeysList

func (d *DryccCmd) KeysList(results int) error

KeysList lists a user's keys.

func (*DryccCmd) LabelsList

func (d *DryccCmd) LabelsList(appID string) error

LabelsList list app's labels

func (*DryccCmd) LabelsSet

func (d *DryccCmd) LabelsSet(appID string, labels []string) error

LabelsSet sets labels for app

func (*DryccCmd) LabelsUnset

func (d *DryccCmd) LabelsUnset(appID string, labels []string) error

LabelsUnset removes labels for the app.

func (*DryccCmd) LimitsList

func (d *DryccCmd) LimitsList(appID string, version int) error

LimitsList lists an app's limits.

func (*DryccCmd) LimitsPlans

func (d *DryccCmd) LimitsPlans(specID string, cpu, memory, results int) error

LimitsPlans list limit plan

func (*DryccCmd) LimitsSet

func (d *DryccCmd) LimitsSet(appID string, limits []string) error

LimitsSet sets an app's limits.

func (*DryccCmd) LimitsSpecs

func (d *DryccCmd) LimitsSpecs(keywords string, results int) error

LimitsSpecs list limit spec

func (*DryccCmd) LimitsUnset

func (d *DryccCmd) LimitsUnset(appID string, limits []string) error

LimitsUnset removes an app's limits.

func (*DryccCmd) Login

func (d *DryccCmd) Login(controller string, sslVerify bool, username, password string) error

Login to a Drycc controller.

func (*DryccCmd) Logout

func (d *DryccCmd) Logout() error

Logout from a Drycc controller.

func (*DryccCmd) PermCreate

func (d *DryccCmd) PermCreate(appID, username, permissions string) error

PermCreate create user perms.

func (*DryccCmd) PermDelete

func (d *DryccCmd) PermDelete(appID, username string) error

PermDelete removes a user from an app.

func (*DryccCmd) PermList

func (d *DryccCmd) PermList(appID string, results int) error

PermList prints which users have permissions.

func (*DryccCmd) PermUpdate

func (d *DryccCmd) PermUpdate(appID, username, permissions string) error

PermUpdate update user perms.

func (*DryccCmd) Print

func (d *DryccCmd) Print(a ...interface{}) (n int, err error)

Print prints a line to an output writer.

func (*DryccCmd) PrintErr

func (d *DryccCmd) PrintErr(a ...interface{}) (n int, err error)

PrintErr prints a line to an error writer.

func (*DryccCmd) PrintErrf

func (d *DryccCmd) PrintErrf(s string, a ...interface{}) (n int, err error)

PrintErrf prints a line to an error writer.

func (*DryccCmd) PrintErrln

func (d *DryccCmd) PrintErrln(a ...interface{}) (n int, err error)

PrintErrln prints a line to an error writer.

func (*DryccCmd) Printf

func (d *DryccCmd) Printf(s string, a ...interface{}) (n int, err error)

Printf prints a line to an error writer.

func (*DryccCmd) Println

func (d *DryccCmd) Println(a ...interface{}) (n int, err error)

Println prints a line to an output writer.

func (*DryccCmd) PsDelete

func (d *DryccCmd) PsDelete(appID string, podIDs []string) error

PsDelete delete an pod.

func (*DryccCmd) PsDescribe

func (d *DryccCmd) PsDescribe(appID, podID string) error

PsDescribe describe an app's processes.

func (*DryccCmd) PsExec

func (d *DryccCmd) PsExec(appID, podID string, tty, stdin bool, command []string) error

PsList lists an app's processes.

func (*DryccCmd) PsList

func (d *DryccCmd) PsList(appID string, results int) error

PsList lists an app's processes.

func (*DryccCmd) PsLogs

func (d *DryccCmd) PsLogs(appID, podID string, lines int, follow bool, container string, previous bool) error

PodLogs returns the logs from an pod.

func (*DryccCmd) PtsClean

func (d *DryccCmd) PtsClean(appID string, targets []string) error

PtsRestart restarts an app's processes.

func (*DryccCmd) PtsDescribe

func (d *DryccCmd) PtsDescribe(appID, ptype string) error

PtsDescribe describe an app's processes.

func (*DryccCmd) PtsList

func (d *DryccCmd) PtsList(appID string, results int) error

PtsList lists an app's processes.

func (*DryccCmd) PtsRestart

func (d *DryccCmd) PtsRestart(appID string, targets []string, confirm string) error

PtsRestart restarts an app's processes.

func (*DryccCmd) PtsScale

func (d *DryccCmd) PtsScale(appID string, targets []string) error

PtsScale scales an app's processes.

func (*DryccCmd) RegistryList

func (d *DryccCmd) RegistryList(appID, ptype string, version int) error

RegistryList lists an app's registry information.

func (*DryccCmd) RegistrySet

func (d *DryccCmd) RegistrySet(appID, ptype, username, password string) error

RegistrySet sets an app's registry information.

func (*DryccCmd) RegistryUnset

func (d *DryccCmd) RegistryUnset(appID, ptype string) error

RegistryUnset removes an app's registry information.

func (*DryccCmd) ReleasesDeploy

func (d *DryccCmd) ReleasesDeploy(appID string, targets []string, force bool, confirm string) error

ReleasesDeploy force deploy lastest release.

func (*DryccCmd) ReleasesInfo

func (d *DryccCmd) ReleasesInfo(appID string, version int) error

ReleasesInfo prints info about a specific release.

func (*DryccCmd) ReleasesList

func (d *DryccCmd) ReleasesList(appID string, targets []string, results int) error

ReleasesList lists an app's releases.

func (*DryccCmd) ReleasesRollback

func (d *DryccCmd) ReleasesRollback(appID string, targets []string, version int) error

ReleasesRollback rolls an app back to a previous release.

func (*DryccCmd) ResourceBind

func (d *DryccCmd) ResourceBind(appID string, name string) error

ResourceBind mount a resource to process of the application

func (*DryccCmd) ResourceDelete

func (d *DryccCmd) ResourceDelete(appID, name, confirm string) error

ResourceDelete delete a resource from the application

func (*DryccCmd) ResourceGet

func (d *DryccCmd) ResourceGet(appID, name string, details bool) error

ResourceGet describe a resource from the application

func (*DryccCmd) ResourcePut

func (d *DryccCmd) ResourcePut(appID, plan string, name string, params []string, values string) error

ResourcePut update a resource for the application

func (*DryccCmd) ResourceUnbind

func (d *DryccCmd) ResourceUnbind(appID string, name string) error

ResourceUnbind resource a resource the application

func (*DryccCmd) ResourcesCreate

func (d *DryccCmd) ResourcesCreate(appID, plan string, name string, params []string, values string) error

ResourcesCreate create a resource for the application

func (*DryccCmd) ResourcesList

func (d *DryccCmd) ResourcesList(appID string, results int) error

ResourcesList list resources in the application

func (*DryccCmd) ResourcesPlans

func (d *DryccCmd) ResourcesPlans(serviceName string, results int) error

ResourcePlans list resource plans

func (*DryccCmd) ResourcesServices

func (d *DryccCmd) ResourcesServices(results int) error

ResourceServices list resource service

func (*DryccCmd) RoutesAttach

func (d *DryccCmd) RoutesAttach(appID, name string, port int, gateway string) error

RoutesAttach bind a route to gateway.

func (*DryccCmd) RoutesCreate

func (d *DryccCmd) RoutesCreate(appID, name string, kind string, backendRefs ...api.BackendRefRequest) error

RoutesCreate create a route to an app.

func (*DryccCmd) RoutesDetach

func (d *DryccCmd) RoutesDetach(appID, name string, port int, gateway string) error

RoutesDetach bind a route to gateway.

func (*DryccCmd) RoutesGet

func (d *DryccCmd) RoutesGet(appID string, name string) error

RoutesGet get rule of route for the app

func (*DryccCmd) RoutesList

func (d *DryccCmd) RoutesList(appID string, results int) error

RoutesList lists routes for the app

func (*DryccCmd) RoutesRemove

func (d *DryccCmd) RoutesRemove(appID, name string) error

RoutesRemove removes a route registered with an app.

func (*DryccCmd) RoutesSet

func (d *DryccCmd) RoutesSet(appID string, name string, ruleFile string) error

RoutesSet set rule of route for the app

func (*DryccCmd) RoutingDisable

func (d *DryccCmd) RoutingDisable(appID string) error

RoutingDisable disables an app from being exposed by the router.

func (*DryccCmd) RoutingEnable

func (d *DryccCmd) RoutingEnable(appID string) error

RoutingEnable enables an app from being exposed by the router.

func (*DryccCmd) RoutingInfo

func (d *DryccCmd) RoutingInfo(appID string) error

RoutingInfo provides information about the status of app routing.

func (*DryccCmd) ServicesAdd

func (d *DryccCmd) ServicesAdd(appID, ptype string, ports string, protocol string) error

ServicesAdd adds a service to an app.

func (*DryccCmd) ServicesList

func (d *DryccCmd) ServicesList(appID string) error

ServicesList lists extra services for the app

func (*DryccCmd) ServicesRemove

func (d *DryccCmd) ServicesRemove(appID, ptype string, protocol string, port int) error

ServicesRemove removes a service for Ptype registered with an app.

func (*DryccCmd) TLSAutoDisable

func (d *DryccCmd) TLSAutoDisable(appID string) error

TLSAutoDisable disables certs-auto requests to the application.

func (*DryccCmd) TLSAutoEnable

func (d *DryccCmd) TLSAutoEnable(appID string) error

TLSAutoEnable enables certs-auto requests to the application.

func (*DryccCmd) TLSAutoIssuer

func (d *DryccCmd) TLSAutoIssuer(appID string, email string, server string, keyID string, keySecret string) error

TLSAutoIssuer add issuer requests to the application.

func (*DryccCmd) TLSForceDisable

func (d *DryccCmd) TLSForceDisable(appID string) error

TLSForceDisable disables the router to enforce https-only requests to the application.

func (*DryccCmd) TLSForceEnable

func (d *DryccCmd) TLSForceEnable(appID string) error

TLSForceEnable enables the router to enforce https-only requests to the application.

func (*DryccCmd) TLSInfo

func (d *DryccCmd) TLSInfo(appID string) error

TLSInfo prints info about the TLS settings for the given app.

func (*DryccCmd) TagsList

func (d *DryccCmd) TagsList(appID, ptype string, version int) error

TagsList lists an app's tags.

func (*DryccCmd) TagsSet

func (d *DryccCmd) TagsSet(appID, ptype string, tags []string) error

TagsSet sets an app's tags.

func (*DryccCmd) TagsUnset

func (d *DryccCmd) TagsUnset(appID, ptype string, tags []string) error

TagsUnset removes an app's tags.

func (*DryccCmd) TimeoutsList

func (d *DryccCmd) TimeoutsList(appID string, version int) error

TimeoutsList lists an app's timeouts.

func (*DryccCmd) TimeoutsSet

func (d *DryccCmd) TimeoutsSet(appID string, timeouts []string) error

TimeoutsSet sets an app's timeouts.

func (*DryccCmd) TimeoutsUnset

func (d *DryccCmd) TimeoutsUnset(appID string, timeouts []string) error

TimeoutsUnset removes an app's timeouts.

func (*DryccCmd) TokensAdd

func (d *DryccCmd) TokensAdd(c *drycc.Client, username, password, alias, confirm string, render bool) (*api.AuthTokenResponse, error)

func (*DryccCmd) TokensList

func (d *DryccCmd) TokensList(results int) error

func (*DryccCmd) TokensRemove

func (d *DryccCmd) TokensRemove(id, confirm string) error

func (*DryccCmd) Update

func (d *DryccCmd) Update(dryRun bool) error

Update workflow-cli to latest release

func (*DryccCmd) UsersDisable

func (d *DryccCmd) UsersDisable(username string) error

UsersDisable disable user with the controller.

func (*DryccCmd) UsersEnable

func (d *DryccCmd) UsersEnable(username string) error

UsersEnable enable user with the controller.

func (*DryccCmd) UsersList

func (d *DryccCmd) UsersList(results int) error

UsersList lists users registered with the controller.

func (*DryccCmd) Version

func (d *DryccCmd) Version(all bool) error

Version prints the various CLI versions.

func (*DryccCmd) VolumesClient

func (d *DryccCmd) VolumesClient(appID, cmd string, args ...string) error

VolumesClient a client for manage volume file

func (*DryccCmd) VolumesCreate

func (d *DryccCmd) VolumesCreate(appID, name, vType, size string, parameters map[string]interface{}) error

VolumesCreate create a volume for the application

func (*DryccCmd) VolumesDelete

func (d *DryccCmd) VolumesDelete(appID, name string) error

VolumesDelete delete a volume from the application

func (*DryccCmd) VolumesExpand

func (d *DryccCmd) VolumesExpand(appID, name, size string) error

VolumesExpand create a volume for the application

func (*DryccCmd) VolumesInfo

func (d *DryccCmd) VolumesInfo(appID, name string) error

VolumesInfo get volume in the application

func (*DryccCmd) VolumesList

func (d *DryccCmd) VolumesList(appID string, results int) error

VolumesList list volumes in the application

func (*DryccCmd) VolumesMount

func (d *DryccCmd) VolumesMount(appID string, name string, volumeVars []string) error

VolumesMount mount a volume to process of the application

func (*DryccCmd) VolumesUnmount

func (d *DryccCmd) VolumesUnmount(appID string, name string, volumeVars []string) error

VolumesUnmount unmount a volume from process of the application

func (*DryccCmd) Whoami

func (d *DryccCmd) Whoami(all bool) error

Whoami prints the logged in user. If all is true, it fetches info from the controller to know more about the user.

Jump to

Keyboard shortcuts

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