client

package
v1.37.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: BSD-3-Clause Imports: 71 Imported by: 2

Documentation

Overview

tsuru is the command line utility used by application developers, that will allow users to create, list, bind and manage apps.

See the tsuru-client documentation for a full reference: http://tsuru-client.readthedocs.org.

Index

Constants

View Source
const EnvSetValidationMessage = `` /* 342-byte string literal not displayed */
View Source
const ErrAppAndJobNotAllowedTogether = "you must pass an application or job, not both"
View Source
const ErrMissingAppOrJob = "you must pass an application or job"

Variables

View Source
var ErrMissingFilesToArchive = errors.New("missing files to archive")
View Source
var SENSITIVE_KEYWORDS = map[string]struct{}{
	"KEY":        {},
	"TOKEN":      {},
	"SECRET":     {},
	"PASSWORD":   {},
	"CREDENTIAL": {},
	"API_KEY":    {},
	"APIKEY":     {},
}

Functions

func AppResumeAddr

func AppResumeAddr(a *appTypes.AppResume) string

func Archive

func Archive(dst io.Writer, filesOnly bool, paths []string, opts ArchiveOptions) error

func CheckIfTargetLabelExists

func CheckIfTargetLabelExists(label string) (bool, error)

func Executor

func Executor() exec.Executor

func FindPlugins

func FindPlugins() []string

func GetTarget

func GetTarget() (string, error)

func GetTargetLabel

func GetTargetLabel() (string, error)

func GetURL

func GetURL(path string) (string, error)

func GetURLVersion

func GetURLVersion(version, path string) (string, error)

func ReadTarget

func ReadTarget() (string, error)

ReadTarget returns the current target, as defined in the TSURU_TARGET environment variable or in the target file.

func RunPlugin

func RunPlugin(context *cmd.Context) error

func ShortID

func ShortID(id string) string

func WriteOnTargetList

func WriteOnTargetList(label, target string) error

WriteOnTargetList writes the given target in the target list file.

func WriteTarget

func WriteTarget(t string) error

WriteTarget writes the given endpoint to the target file.

Types

type AppBuild

type AppBuild struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*AppBuild) Flags

func (c *AppBuild) Flags() *pflag.FlagSet

func (*AppBuild) Info

func (c *AppBuild) Info() *cmd.Info

func (*AppBuild) Run

func (c *AppBuild) Run(ctx *cmd.Context) error

type AppCreate

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

func (*AppCreate) Complete

func (cmd *AppCreate) Complete(args []string, toComplete string) ([]string, error)

func (*AppCreate) Flags

func (c *AppCreate) Flags() *pflag.FlagSet

func (*AppCreate) Info

func (c *AppCreate) Info() *cmd.Info

func (*AppCreate) Run

func (c *AppCreate) Run(context *cmd.Context) error

type AppDeploy

type AppDeploy struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*AppDeploy) Cancel

func (c *AppDeploy) Cancel(ctx cmd.Context) error

func (*AppDeploy) Flags

func (c *AppDeploy) Flags() *pflag.FlagSet

func (*AppDeploy) Info

func (c *AppDeploy) Info() *cmd.Info

func (*AppDeploy) Run

func (c *AppDeploy) Run(ctx *cmd.Context) error

type AppDeployList

type AppDeployList struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*AppDeployList) Flags

func (c *AppDeployList) Flags() *pflag.FlagSet

func (*AppDeployList) Info

func (c *AppDeployList) Info() *cmd.Info

func (*AppDeployList) Run

func (c *AppDeployList) Run(context *cmd.Context) error

type AppDeployRollback

type AppDeployRollback struct {
	tsuruClientApp.AppNameMixIn
	cmd.ConfirmationCommand
	// contains filtered or unexported fields
}

func (*AppDeployRollback) Flags

func (c *AppDeployRollback) Flags() *pflag.FlagSet

func (*AppDeployRollback) Info

func (c *AppDeployRollback) Info() *cmd.Info

func (*AppDeployRollback) Run

func (c *AppDeployRollback) Run(context *cmd.Context) error

type AppDeployRollbackUpdate

type AppDeployRollbackUpdate struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*AppDeployRollbackUpdate) Flags

func (*AppDeployRollbackUpdate) Info

func (c *AppDeployRollbackUpdate) Info() *cmd.Info

func (*AppDeployRollbackUpdate) Run

func (c *AppDeployRollbackUpdate) Run(context *cmd.Context) error

type AppGrant

type AppGrant struct {
	tsuruClientApp.AppNameMixIn
}

func (*AppGrant) Complete

func (c *AppGrant) Complete(args []string, toComplete string) ([]string, error)

func (*AppGrant) Info

func (c *AppGrant) Info() *cmd.Info

func (*AppGrant) Run

func (c *AppGrant) Run(context *cmd.Context) error

type AppInfo

type AppInfo struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*AppInfo) Complete

func (cmd *AppInfo) Complete(args []string, toComplete string) ([]string, error)

func (*AppInfo) Flags

func (cmd *AppInfo) Flags() *pflag.FlagSet

func (*AppInfo) Info

func (c *AppInfo) Info() *cmd.Info

func (*AppInfo) Run

func (c *AppInfo) Run(context *cmd.Context) error

func (*AppInfo) Show

func (c *AppInfo) Show(a *app, context *cmd.Context, simplified bool) error

type AppList

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

func (*AppList) Flags

func (c *AppList) Flags() *pflag.FlagSet

func (*AppList) Info

func (c *AppList) Info() *cmd.Info

func (*AppList) Run

func (c *AppList) Run(context *cmd.Context) error

func (*AppList) Show

func (c *AppList) Show(result []byte, context *cmd.Context) error

type AppLog

type AppLog struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*AppLog) Complete

func (c *AppLog) Complete(args []string, toComplete string) ([]string, error)

func (*AppLog) Flags

func (c *AppLog) Flags() *pflag.FlagSet

func (*AppLog) Info

func (c *AppLog) Info() *cmd.Info

func (*AppLog) Run

func (c *AppLog) Run(context *cmd.Context) error

type AppProcessUpdate

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

func (*AppProcessUpdate) Flags

func (c *AppProcessUpdate) Flags() *pflag.FlagSet

func (*AppProcessUpdate) Info

func (c *AppProcessUpdate) Info() *cmd.Info

func (*AppProcessUpdate) Run

func (c *AppProcessUpdate) Run(ctx *cmd.Context) error

type AppRemove

type AppRemove struct {
	tsuruClientApp.AppNameMixIn
	cmd.ConfirmationCommand
	// contains filtered or unexported fields
}

func (*AppRemove) Flags

func (c *AppRemove) Flags() *pflag.FlagSet

func (*AppRemove) Info

func (c *AppRemove) Info() *cmd.Info

func (*AppRemove) Run

func (c *AppRemove) Run(context *cmd.Context) error

type AppRestart

type AppRestart struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*AppRestart) Complete

func (c *AppRestart) Complete(args []string, toComplete string) ([]string, error)

func (*AppRestart) Flags

func (c *AppRestart) Flags() *pflag.FlagSet

func (*AppRestart) Info

func (c *AppRestart) Info() *cmd.Info

func (*AppRestart) Run

func (c *AppRestart) Run(context *cmd.Context) error

type AppRevoke

type AppRevoke struct {
	tsuruClientApp.AppNameMixIn
}

func (*AppRevoke) Complete

func (c *AppRevoke) Complete(args []string, toComplete string) ([]string, error)

func (*AppRevoke) Info

func (c *AppRevoke) Info() *cmd.Info

func (*AppRevoke) Run

func (c *AppRevoke) Run(context *cmd.Context) error

type AppRoutersAdd

type AppRoutersAdd struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*AppRoutersAdd) Flags

func (c *AppRoutersAdd) Flags() *pflag.FlagSet

func (*AppRoutersAdd) Info

func (c *AppRoutersAdd) Info() *cmd.Info

func (*AppRoutersAdd) Run

func (c *AppRoutersAdd) Run(context *cmd.Context) error

type AppRoutersList

type AppRoutersList struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*AppRoutersList) Flags

func (c *AppRoutersList) Flags() *pflag.FlagSet

func (*AppRoutersList) Info

func (c *AppRoutersList) Info() *cmd.Info

func (*AppRoutersList) Run

func (c *AppRoutersList) Run(context *cmd.Context) error

type AppRoutersRemove

type AppRoutersRemove struct {
	tsuruClientApp.AppNameMixIn
}

func (*AppRoutersRemove) Info

func (c *AppRoutersRemove) Info() *cmd.Info

func (*AppRoutersRemove) Run

func (c *AppRoutersRemove) Run(context *cmd.Context) error

type AppRoutersUpdate

type AppRoutersUpdate struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*AppRoutersUpdate) Flags

func (c *AppRoutersUpdate) Flags() *pflag.FlagSet

func (*AppRoutersUpdate) Info

func (c *AppRoutersUpdate) Info() *cmd.Info

func (*AppRoutersUpdate) Run

func (c *AppRoutersUpdate) Run(context *cmd.Context) error

type AppRun

type AppRun struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*AppRun) Flags

func (c *AppRun) Flags() *pflag.FlagSet

func (*AppRun) Info

func (c *AppRun) Info() *cmd.Info

func (*AppRun) Run

func (c *AppRun) Run(context *cmd.Context) error

type AppStart

type AppStart struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*AppStart) Complete

func (c *AppStart) Complete(args []string, toComplete string) ([]string, error)

func (*AppStart) Flags

func (c *AppStart) Flags() *pflag.FlagSet

func (*AppStart) Info

func (c *AppStart) Info() *cmd.Info

func (*AppStart) Run

func (c *AppStart) Run(context *cmd.Context) error

type AppStop

type AppStop struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*AppStop) Complete

func (c *AppStop) Complete(args []string, toComplete string) ([]string, error)

func (*AppStop) Flags

func (c *AppStop) Flags() *pflag.FlagSet

func (*AppStop) Info

func (c *AppStop) Info() *cmd.Info

func (*AppStop) Run

func (c *AppStop) Run(context *cmd.Context) error

type AppUpdate

type AppUpdate struct {
	tsuruClientApp.AppNameMixIn
	cmd.ConfirmationCommand
	// contains filtered or unexported fields
}

func (*AppUpdate) Flags

func (c *AppUpdate) Flags() *pflag.FlagSet

func (*AppUpdate) Info

func (c *AppUpdate) Info() *cmd.Info

func (*AppUpdate) Run

func (c *AppUpdate) Run(ctx *cmd.Context) error

type AppVersionRemove

type AppVersionRemove struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*AppVersionRemove) Flags

func (c *AppVersionRemove) Flags() *pflag.FlagSet

func (*AppVersionRemove) Info

func (c *AppVersionRemove) Info() *cmd.Info

func (*AppVersionRemove) Run

func (c *AppVersionRemove) Run(context *cmd.Context) error

type AppVersionRouterAdd

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

func (*AppVersionRouterAdd) Info

func (c *AppVersionRouterAdd) Info() *cmd.Info

func (*AppVersionRouterAdd) Run

func (c *AppVersionRouterAdd) Run(ctx *cmd.Context) error

type AppVersionRouterRemove

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

func (*AppVersionRouterRemove) Info

func (c *AppVersionRouterRemove) Info() *cmd.Info

func (*AppVersionRouterRemove) Run

func (c *AppVersionRouterRemove) Run(ctx *cmd.Context) error

type ArchiveOptions

type ArchiveOptions struct {
	CompressionLevel *int      // defaults to default compression "-1"
	IgnoreFiles      []string  // default to none
	Stderr           io.Writer // defaults to io.Discard
}

func DefaultArchiveOptions

func DefaultArchiveOptions(w io.Writer) ArchiveOptions

type AutoScaleSet

type AutoScaleSet struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*AutoScaleSet) Flags

func (c *AutoScaleSet) Flags() *pflag.FlagSet

func (*AutoScaleSet) Info

func (c *AutoScaleSet) Info() *cmd.Info

func (*AutoScaleSet) Run

func (c *AutoScaleSet) Run(ctx *cmd.Context) error

type AutoScaleSwap

type AutoScaleSwap struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*AutoScaleSwap) Flags

func (c *AutoScaleSwap) Flags() *pflag.FlagSet

func (*AutoScaleSwap) Info

func (c *AutoScaleSwap) Info() *cmd.Info

func (*AutoScaleSwap) Run

func (c *AutoScaleSwap) Run(ctx *cmd.Context) error

type AutoScaleUnset

type AutoScaleUnset struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*AutoScaleUnset) Flags

func (c *AutoScaleUnset) Flags() *pflag.FlagSet

func (*AutoScaleUnset) Info

func (c *AutoScaleUnset) Info() *cmd.Info

func (*AutoScaleUnset) Run

func (c *AutoScaleUnset) Run(ctx *cmd.Context) error

type BundleManifest

type BundleManifest struct {
	Plugins []Plugin
}

type CertificateIssuerSet

type CertificateIssuerSet struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*CertificateIssuerSet) Flags

func (c *CertificateIssuerSet) Flags() *pflag.FlagSet

func (*CertificateIssuerSet) Info

func (c *CertificateIssuerSet) Info() *cmd.Info

func (*CertificateIssuerSet) Run

func (c *CertificateIssuerSet) Run(context *cmd.Context) error

type CertificateIssuerUnset

type CertificateIssuerUnset struct {
	tsuruClientApp.AppNameMixIn
	cmd.ConfirmationCommand
	// contains filtered or unexported fields
}

func (*CertificateIssuerUnset) Flags

func (c *CertificateIssuerUnset) Flags() *pflag.FlagSet

func (*CertificateIssuerUnset) Info

func (c *CertificateIssuerUnset) Info() *cmd.Info

func (*CertificateIssuerUnset) Run

func (c *CertificateIssuerUnset) Run(context *cmd.Context) error

type CertificateList

type CertificateList struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*CertificateList) Flags

func (c *CertificateList) Flags() *pflag.FlagSet

func (*CertificateList) Info

func (c *CertificateList) Info() *cmd.Info

func (*CertificateList) Run

func (c *CertificateList) Run(context *cmd.Context) error

type CertificateSet

type CertificateSet struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*CertificateSet) Flags

func (c *CertificateSet) Flags() *pflag.FlagSet

func (*CertificateSet) Info

func (c *CertificateSet) Info() *cmd.Info

func (*CertificateSet) Run

func (c *CertificateSet) Run(context *cmd.Context) error

type CertificateUnset

type CertificateUnset struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*CertificateUnset) Flags

func (c *CertificateUnset) Flags() *pflag.FlagSet

func (*CertificateUnset) Info

func (c *CertificateUnset) Info() *cmd.Info

func (*CertificateUnset) Run

func (c *CertificateUnset) Run(context *cmd.Context) error

type ChangePassword

type ChangePassword struct{}

func (*ChangePassword) Info

func (c *ChangePassword) Info() *cmd.Info

func (*ChangePassword) Run

func (c *ChangePassword) Run(context *cmd.Context) error

type CnameAdd

type CnameAdd struct {
	tsuruClientApp.AppNameMixIn
}

func (*CnameAdd) Info

func (c *CnameAdd) Info() *cmd.Info

func (*CnameAdd) Run

func (c *CnameAdd) Run(context *cmd.Context) error

type CnameRemove

type CnameRemove struct {
	tsuruClientApp.AppNameMixIn
}

func (*CnameRemove) Info

func (c *CnameRemove) Info() *cmd.Info

func (*CnameRemove) Run

func (c *CnameRemove) Run(context *cmd.Context) error

type ContentTeam

type ContentTeam struct {
	Name  string    `json:"name"`
	Users []apiUser `json:"users"`
	Pools []Pool    `json:"pools"`
	Apps  []app     `json:"apps"`
	Tags  []string  `json:"tags"`
}

type EnvGet

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

func (*EnvGet) Flags

func (c *EnvGet) Flags() *pflag.FlagSet

func (*EnvGet) Info

func (c *EnvGet) Info() *cmd.Info

func (*EnvGet) Run

func (c *EnvGet) Run(context *cmd.Context) error

type EnvSet

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

func (*EnvSet) Flags

func (c *EnvSet) Flags() *pflag.FlagSet

func (*EnvSet) Info

func (c *EnvSet) Info() *cmd.Info

func (*EnvSet) Run

func (c *EnvSet) Run(context *cmd.Context) error

type EnvUnset

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

func (*EnvUnset) Flags

func (c *EnvUnset) Flags() *pflag.FlagSet

func (*EnvUnset) Info

func (c *EnvUnset) Info() *cmd.Info

func (*EnvUnset) Run

func (c *EnvUnset) Run(context *cmd.Context) error

type EventCancel

type EventCancel struct {
	cmd.ConfirmationCommand
}

func (*EventCancel) Info

func (c *EventCancel) Info() *cmd.Info

func (*EventCancel) Run

func (c *EventCancel) Run(context *cmd.Context) error

type EventInfo

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

func (*EventInfo) Flags

func (c *EventInfo) Flags() *pflag.FlagSet

func (*EventInfo) Info

func (c *EventInfo) Info() *cmd.Info

func (*EventInfo) Run

func (c *EventInfo) Run(context *cmd.Context) error

func (*EventInfo) Show

func (c *EventInfo) Show(evt *eventTypes.EventInfo, context *cmd.Context) error

type EventList

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

func (*EventList) Flags

func (c *EventList) Flags() *pflag.FlagSet

func (*EventList) Info

func (c *EventList) Info() *cmd.Info

func (*EventList) Run

func (c *EventList) Run(context *cmd.Context) error

func (*EventList) Show

func (c *EventList) Show(evts []eventTypes.EventData, context *cmd.Context) error

type ExecutePlugin

type ExecutePlugin struct {
	PluginName string
}

func (ExecutePlugin) Info

func (e ExecutePlugin) Info() *cmd.Info

func (*ExecutePlugin) Run

func (c *ExecutePlugin) Run(context *cmd.Context) error

type Init

type Init struct{}

func (*Init) Info

func (i *Init) Info() *cmd.Info

func (*Init) Run

func (i *Init) Run(context *cmd.Context) (err error)

type JobCreate

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

func (*JobCreate) Flags

func (c *JobCreate) Flags() *pflag.FlagSet

func (*JobCreate) Info

func (c *JobCreate) Info() *cmd.Info

func (*JobCreate) Run

func (c *JobCreate) Run(ctx *cmd.Context) error

type JobDelete

type JobDelete struct {
	cmd.ConfirmationCommand
}

func (*JobDelete) Complete

func (c *JobDelete) Complete(args []string, toComplete string) ([]string, error)

func (*JobDelete) Info

func (c *JobDelete) Info() *cmd.Info

func (*JobDelete) Run

func (c *JobDelete) Run(ctx *cmd.Context) error

type JobDeploy

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

func (*JobDeploy) Cancel

func (c *JobDeploy) Cancel(ctx cmd.Context) error

func (*JobDeploy) Flags

func (c *JobDeploy) Flags() *pflag.FlagSet

func (*JobDeploy) Info

func (c *JobDeploy) Info() *cmd.Info

func (*JobDeploy) Run

func (c *JobDeploy) Run(ctx *cmd.Context) error

type JobInfo

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

func (*JobInfo) Complete

func (c *JobInfo) Complete(args []string, toComplete string) ([]string, error)

func (*JobInfo) Flags

func (c *JobInfo) Flags() *pflag.FlagSet

func (*JobInfo) Info

func (c *JobInfo) Info() *cmd.Info

func (*JobInfo) Run

func (c *JobInfo) Run(ctx *cmd.Context) error

type JobList

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

func (*JobList) Flags

func (c *JobList) Flags() *pflag.FlagSet

func (*JobList) Info

func (c *JobList) Info() *cmd.Info

func (*JobList) Run

func (c *JobList) Run(ctx *cmd.Context) error

type JobLog

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

func (*JobLog) Complete

func (c *JobLog) Complete(args []string, toComplete string) ([]string, error)

func (*JobLog) Flags

func (c *JobLog) Flags() *pflag.FlagSet

func (*JobLog) Info

func (c *JobLog) Info() *cmd.Info

func (*JobLog) Run

func (c *JobLog) Run(ctx *cmd.Context) error

type JobOrApp

type JobOrApp struct {
	Type string
	// contains filtered or unexported fields
}

type JobTrigger

type JobTrigger struct{}

func (*JobTrigger) Complete

func (c *JobTrigger) Complete(args []string, toComplete string) ([]string, error)

func (*JobTrigger) Info

func (c *JobTrigger) Info() *cmd.Info

func (*JobTrigger) Run

func (c *JobTrigger) Run(ctx *cmd.Context) error

type JobUpdate

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

func (*JobUpdate) Complete

func (c *JobUpdate) Complete(args []string, toComplete string) ([]string, error)

func (*JobUpdate) Flags

func (c *JobUpdate) Flags() *pflag.FlagSet

func (*JobUpdate) Info

func (c *JobUpdate) Info() *cmd.Info

func (*JobUpdate) Run

func (c *JobUpdate) Run(ctx *cmd.Context) error

type ListUsers

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

func (*ListUsers) Flags

func (c *ListUsers) Flags() *pflag.FlagSet

func (*ListUsers) Info

func (c *ListUsers) Info() *cmd.Info

func (*ListUsers) Run

func (c *ListUsers) Run(ctx *cmd.Context) error

type MetadataGet

type MetadataGet struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*MetadataGet) Flags

func (c *MetadataGet) Flags() *pflag.FlagSet

func (*MetadataGet) Info

func (c *MetadataGet) Info() *cmd.Info

func (*MetadataGet) Run

func (c *MetadataGet) Run(context *cmd.Context) error

type MetadataSet

type MetadataSet struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*MetadataSet) Flags

func (c *MetadataSet) Flags() *pflag.FlagSet

func (*MetadataSet) Info

func (c *MetadataSet) Info() *cmd.Info

func (*MetadataSet) Run

func (c *MetadataSet) Run(ctx *cmd.Context) error

type MetadataUnset

type MetadataUnset struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*MetadataUnset) Flags

func (c *MetadataUnset) Flags() *pflag.FlagSet

func (*MetadataUnset) Info

func (c *MetadataUnset) Info() *cmd.Info

func (*MetadataUnset) Run

func (c *MetadataUnset) Run(ctx *cmd.Context) error

type PermissionList

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

func (*PermissionList) Flags

func (c *PermissionList) Flags() *pflag.FlagSet

func (*PermissionList) Info

func (c *PermissionList) Info() *cmd.Info

func (*PermissionList) Run

func (c *PermissionList) Run(context *cmd.Context) error

type PlanList

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

func (*PlanList) Flags

func (c *PlanList) Flags() *pflag.FlagSet

func (*PlanList) Info

func (c *PlanList) Info() *cmd.Info

func (*PlanList) Run

func (c *PlanList) Run(context *cmd.Context) error

type Plugin

type Plugin struct {
	Name string `json:"name"`
	URL  string `json:"url"`
}

func (*Plugin) Validate

func (p *Plugin) Validate() error

type PluginBundle

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

func (*PluginBundle) Flags

func (c *PluginBundle) Flags() *pflag.FlagSet

func (PluginBundle) Info

func (PluginBundle) Info() *cmd.Info

func (*PluginBundle) Run

func (c *PluginBundle) Run(context *cmd.Context) error

type PluginInstall

type PluginInstall struct{}

func (PluginInstall) Info

func (PluginInstall) Info() *cmd.Info

func (*PluginInstall) Run

func (c *PluginInstall) Run(context *cmd.Context) error

type PluginList

type PluginList struct{}

func (PluginList) Info

func (PluginList) Info() *cmd.Info

func (*PluginList) Run

func (c *PluginList) Run(context *cmd.Context) error

type PluginManifest

type PluginManifest struct {
	SchemaVersion  string                 `json:"SchemaVersion"`
	Metadata       PluginManifestMetadata `json:"Metadata"`
	URLPerPlatform map[string]string      `json:"UrlPerPlatform"`
}

type PluginManifestMetadata

type PluginManifestMetadata struct {
	Name    string `json:"Name"`
	Version string `json:"Version"`
}

type PluginRemove

type PluginRemove struct{}

func (PluginRemove) Info

func (PluginRemove) Info() *cmd.Info

func (*PluginRemove) Run

func (c *PluginRemove) Run(context *cmd.Context) error

type Pool

type Pool tsuru.Pool

func (Pool) GetProvisioner

func (p Pool) GetProvisioner() string

func (Pool) Kind

func (p Pool) Kind() string

type PoolInfo

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

func (*PoolInfo) Flags

func (c *PoolInfo) Flags() *pflag.FlagSet

func (*PoolInfo) Info

func (c *PoolInfo) Info() *cmd.Info

func (*PoolInfo) Run

func (c *PoolInfo) Run(ctx *cmd.Context) error

type PoolList

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

func (*PoolList) Flags

func (c *PoolList) Flags() *pflag.FlagSet

func (PoolList) Info

func (PoolList) Info() *cmd.Info

func (*PoolList) Run

func (pl *PoolList) Run(ctx *cmd.Context) error

type RegenerateAPIToken

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

func (*RegenerateAPIToken) Flags

func (c *RegenerateAPIToken) Flags() *pflag.FlagSet

func (*RegenerateAPIToken) Info

func (c *RegenerateAPIToken) Info() *cmd.Info

func (*RegenerateAPIToken) Run

func (c *RegenerateAPIToken) Run(context *cmd.Context) error

type ResetPassword

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

func (*ResetPassword) Flags

func (c *ResetPassword) Flags() *pflag.FlagSet

func (*ResetPassword) Info

func (c *ResetPassword) Info() *cmd.Info

func (*ResetPassword) Run

func (c *ResetPassword) Run(context *cmd.Context) error

type RoleAdd

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

func (*RoleAdd) Flags

func (c *RoleAdd) Flags() *pflag.FlagSet

func (*RoleAdd) Info

func (c *RoleAdd) Info() *cmd.Info

func (*RoleAdd) Run

func (c *RoleAdd) Run(context *cmd.Context) error

type RoleAssign

type RoleAssign struct{}

func (*RoleAssign) Info

func (c *RoleAssign) Info() *cmd.Info

func (*RoleAssign) Run

func (c *RoleAssign) Run(context *cmd.Context) error

type RoleDefaultAdd

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

func (*RoleDefaultAdd) Flags

func (c *RoleDefaultAdd) Flags() *pflag.FlagSet

func (*RoleDefaultAdd) Info

func (c *RoleDefaultAdd) Info() *cmd.Info

func (*RoleDefaultAdd) Run

func (c *RoleDefaultAdd) Run(context *cmd.Context) error

type RoleDefaultList

type RoleDefaultList struct{}

func (*RoleDefaultList) Info

func (c *RoleDefaultList) Info() *cmd.Info

func (*RoleDefaultList) Run

func (c *RoleDefaultList) Run(context *cmd.Context) error

type RoleDefaultRemove

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

func (*RoleDefaultRemove) Flags

func (c *RoleDefaultRemove) Flags() *pflag.FlagSet

func (*RoleDefaultRemove) Info

func (c *RoleDefaultRemove) Info() *cmd.Info

func (*RoleDefaultRemove) Run

func (c *RoleDefaultRemove) Run(context *cmd.Context) error

type RoleDissociate

type RoleDissociate struct{}

func (*RoleDissociate) Info

func (c *RoleDissociate) Info() *cmd.Info

func (*RoleDissociate) Run

func (c *RoleDissociate) Run(context *cmd.Context) error

type RoleInfo

type RoleInfo struct{}

func (*RoleInfo) Info

func (c *RoleInfo) Info() *cmd.Info

func (*RoleInfo) Run

func (c *RoleInfo) Run(context *cmd.Context) error

type RoleList

type RoleList struct{}

func (*RoleList) Info

func (c *RoleList) Info() *cmd.Info

func (*RoleList) Run

func (c *RoleList) Run(context *cmd.Context) error

type RolePermissionAdd

type RolePermissionAdd struct{}

func (*RolePermissionAdd) Info

func (c *RolePermissionAdd) Info() *cmd.Info

func (*RolePermissionAdd) Run

func (c *RolePermissionAdd) Run(context *cmd.Context) error

type RolePermissionRemove

type RolePermissionRemove struct{}

func (*RolePermissionRemove) Info

func (c *RolePermissionRemove) Info() *cmd.Info

func (*RolePermissionRemove) Run

func (c *RolePermissionRemove) Run(context *cmd.Context) error

type RoleRemove

type RoleRemove struct {
	cmd.ConfirmationCommand
}

func (*RoleRemove) Info

func (c *RoleRemove) Info() *cmd.Info

func (*RoleRemove) Run

func (c *RoleRemove) Run(context *cmd.Context) error

type RoleUpdate

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

func (*RoleUpdate) Flags

func (c *RoleUpdate) Flags() *pflag.FlagSet

func (*RoleUpdate) Info

func (c *RoleUpdate) Info() *cmd.Info

func (*RoleUpdate) Run

func (c *RoleUpdate) Run(context *cmd.Context) error

type RouterAdd

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

func (*RouterAdd) Flags

func (c *RouterAdd) Flags() *pflag.FlagSet

func (*RouterAdd) Info

func (c *RouterAdd) Info() *cmd.Info

func (*RouterAdd) Run

func (c *RouterAdd) Run(ctx *cmd.Context) error

type RouterInfo

type RouterInfo struct{}

func (*RouterInfo) Info

func (c *RouterInfo) Info() *cmd.Info

func (*RouterInfo) Run

func (c *RouterInfo) Run(ctx *cmd.Context) error

type RouterRemove

type RouterRemove struct{}

func (*RouterRemove) Info

func (c *RouterRemove) Info() *cmd.Info

func (*RouterRemove) Run

func (c *RouterRemove) Run(ctx *cmd.Context) error

type RouterUpdate

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

func (*RouterUpdate) Flags

func (c *RouterUpdate) Flags() *pflag.FlagSet

func (*RouterUpdate) Info

func (c *RouterUpdate) Info() *cmd.Info

func (*RouterUpdate) Run

func (c *RouterUpdate) Run(ctx *cmd.Context) error

type RoutersList

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

func (*RoutersList) Flags

func (c *RoutersList) Flags() *pflag.FlagSet

func (*RoutersList) Info

func (c *RoutersList) Info() *cmd.Info

func (*RoutersList) Run

func (c *RoutersList) Run(ctx *cmd.Context) error

type ServiceInfo

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

func (*ServiceInfo) BuildInstancesTable

func (c *ServiceInfo) BuildInstancesTable(ctx *cmd.Context, serviceName string, instances []ServiceInstanceModel) error

func (*ServiceInfo) BuildPlansTable

func (c *ServiceInfo) BuildPlansTable(ctx *cmd.Context, plans []plan) error

func (*ServiceInfo) Complete

func (c *ServiceInfo) Complete(args []string, toComplete string) ([]string, error)

func (*ServiceInfo) ExtraHeaders

func (*ServiceInfo) ExtraHeaders(instances []ServiceInstanceModel) []string

func (*ServiceInfo) Flags

func (c *ServiceInfo) Flags() *pflag.FlagSet

func (*ServiceInfo) Info

func (c *ServiceInfo) Info() *cmd.Info

func (*ServiceInfo) Run

func (c *ServiceInfo) Run(ctx *cmd.Context) error

func (*ServiceInfo) WriteDoc

func (c *ServiceInfo) WriteDoc(ctx *cmd.Context) error

type ServiceInstanceAdd

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

func (*ServiceInstanceAdd) Complete

func (c *ServiceInstanceAdd) Complete(args []string, toComplete string) ([]string, error)

func (*ServiceInstanceAdd) Flags

func (c *ServiceInstanceAdd) Flags() *pflag.FlagSet

func (*ServiceInstanceAdd) Info

func (c *ServiceInstanceAdd) Info() *cmd.Info

func (*ServiceInstanceAdd) Run

func (c *ServiceInstanceAdd) Run(ctx *cmd.Context) error

type ServiceInstanceBind

type ServiceInstanceBind struct {
	ServiceInstanceCompletionMixIn
	// contains filtered or unexported fields
}

func (*ServiceInstanceBind) Flags

func (sb *ServiceInstanceBind) Flags() *pflag.FlagSet

func (*ServiceInstanceBind) Info

func (sb *ServiceInstanceBind) Info() *cmd.Info

func (*ServiceInstanceBind) Run

func (sb *ServiceInstanceBind) Run(ctx *cmd.Context) error

type ServiceInstanceCompletionMixIn

type ServiceInstanceCompletionMixIn struct{}

func (*ServiceInstanceCompletionMixIn) Complete

func (c *ServiceInstanceCompletionMixIn) Complete(args []string, toComplete string) ([]string, error)

type ServiceInstanceGrant

type ServiceInstanceGrant struct {
	ServiceInstanceCompletionMixIn
}

func (*ServiceInstanceGrant) Complete

func (c *ServiceInstanceGrant) Complete(args []string, toComplete string) ([]string, error)

func (*ServiceInstanceGrant) Info

func (c *ServiceInstanceGrant) Info() *cmd.Info

func (*ServiceInstanceGrant) Run

func (c *ServiceInstanceGrant) Run(ctx *cmd.Context) error

type ServiceInstanceInfo

type ServiceInstanceInfo struct {
	ServiceInstanceCompletionMixIn
	// contains filtered or unexported fields
}

func (*ServiceInstanceInfo) Flags

func (c *ServiceInstanceInfo) Flags() *pflag.FlagSet

func (ServiceInstanceInfo) Info

func (c ServiceInstanceInfo) Info() *cmd.Info

func (ServiceInstanceInfo) Run

func (c ServiceInstanceInfo) Run(ctx *cmd.Context) error

type ServiceInstanceInfoModel

type ServiceInstanceInfoModel struct {
	ServiceName     string
	InstanceName    string
	Pool            string
	Apps            []string
	Jobs            []string
	Teams           []string
	TeamOwner       string
	Description     string
	PlanName        string
	PlanDescription string
	CustomInfo      map[string]string
	Tags            []string
	Parameters      map[string]interface{}
	Status          string
}

type ServiceInstanceModel

type ServiceInstanceModel struct {
	Name     string
	PlanName string
	Pool     string
	Apps     []string
	Jobs     []string
	Info     map[string]string
}

type ServiceInstanceRemove

type ServiceInstanceRemove struct {
	cmd.ConfirmationCommand
	ServiceInstanceCompletionMixIn
	// contains filtered or unexported fields
}

func (*ServiceInstanceRemove) Flags

func (c *ServiceInstanceRemove) Flags() *pflag.FlagSet

func (*ServiceInstanceRemove) Info

func (c *ServiceInstanceRemove) Info() *cmd.Info

func (*ServiceInstanceRemove) Run

func (c *ServiceInstanceRemove) Run(ctx *cmd.Context) error

type ServiceInstanceRevoke

type ServiceInstanceRevoke struct {
	ServiceInstanceCompletionMixIn
}

func (*ServiceInstanceRevoke) Complete

func (c *ServiceInstanceRevoke) Complete(args []string, toComplete string) ([]string, error)

func (*ServiceInstanceRevoke) Info

func (c *ServiceInstanceRevoke) Info() *cmd.Info

func (*ServiceInstanceRevoke) Run

func (c *ServiceInstanceRevoke) Run(ctx *cmd.Context) error

type ServiceInstanceUnbind

type ServiceInstanceUnbind struct {
	ServiceInstanceCompletionMixIn
	// contains filtered or unexported fields
}

func (*ServiceInstanceUnbind) Flags

func (su *ServiceInstanceUnbind) Flags() *pflag.FlagSet

func (*ServiceInstanceUnbind) Info

func (su *ServiceInstanceUnbind) Info() *cmd.Info

func (*ServiceInstanceUnbind) Run

func (su *ServiceInstanceUnbind) Run(ctx *cmd.Context) error

type ServiceInstanceUpdate

type ServiceInstanceUpdate struct {
	ServiceInstanceCompletionMixIn
	// contains filtered or unexported fields
}

func (*ServiceInstanceUpdate) Flags

func (c *ServiceInstanceUpdate) Flags() *pflag.FlagSet

func (*ServiceInstanceUpdate) Info

func (c *ServiceInstanceUpdate) Info() *cmd.Info

func (*ServiceInstanceUpdate) Run

func (c *ServiceInstanceUpdate) Run(ctx *cmd.Context) error

type ServiceList

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

func (*ServiceList) Flags

func (c *ServiceList) Flags() *pflag.FlagSet

func (*ServiceList) Info

func (s *ServiceList) Info() *cmd.Info

func (ServiceList) Run

func (s ServiceList) Run(ctx *cmd.Context) error

type ServicePlanList

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

func (*ServicePlanList) Complete

func (c *ServicePlanList) Complete(args []string, toComplete string) ([]string, error)

func (*ServicePlanList) Flags

func (c *ServicePlanList) Flags() *pflag.FlagSet

func (*ServicePlanList) Info

func (c *ServicePlanList) Info() *cmd.Info

func (*ServicePlanList) Run

func (c *ServicePlanList) Run(ctx *cmd.Context) error

type ShellToContainerCmd

type ShellToContainerCmd struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*ShellToContainerCmd) Flags

func (c *ShellToContainerCmd) Flags() *pflag.FlagSet

func (*ShellToContainerCmd) Info

func (c *ShellToContainerCmd) Info() *cmd.Info

func (*ShellToContainerCmd) Run

func (c *ShellToContainerCmd) Run(context *cmd.Context) error

type ShowAPIToken

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

func (*ShowAPIToken) Flags

func (c *ShowAPIToken) Flags() *pflag.FlagSet

func (*ShowAPIToken) Info

func (c *ShowAPIToken) Info() *cmd.Info

func (*ShowAPIToken) Run

func (c *ShowAPIToken) Run(context *cmd.Context) error

type TagList

type TagList struct{}

func (*TagList) Info

func (t *TagList) Info() *cmd.Info

func (*TagList) Run

func (t *TagList) Run(context *cmd.Context) error

func (*TagList) Show

func (t *TagList) Show(apps []app, services []service.ServiceModel, context *cmd.Context) error

type TargetAdd

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

func (*TargetAdd) Flags

func (t *TargetAdd) Flags() *pflag.FlagSet

func (*TargetAdd) Info

func (t *TargetAdd) Info() *cmd.Info

func (*TargetAdd) Run

func (t *TargetAdd) Run(ctx *cmd.Context) error

type TargetList

type TargetList struct{}

func (*TargetList) Info

func (t *TargetList) Info() *cmd.Info

func (*TargetList) Run

func (t *TargetList) Run(ctx *cmd.Context) error

type TargetRemove

type TargetRemove struct{}

func (*TargetRemove) Info

func (t *TargetRemove) Info() *cmd.Info

func (*TargetRemove) Run

func (t *TargetRemove) Run(ctx *cmd.Context) error

type TargetSet

type TargetSet struct{}

func (*TargetSet) Info

func (t *TargetSet) Info() *cmd.Info

func (*TargetSet) Run

func (t *TargetSet) Run(ctx *cmd.Context) error

type TargetUpdate

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

func (*TargetUpdate) Flags

func (t *TargetUpdate) Flags() *pflag.FlagSet

func (*TargetUpdate) Info

func (t *TargetUpdate) Info() *cmd.Info

func (*TargetUpdate) Run

func (t *TargetUpdate) Run(ctx *cmd.Context) error

type TeamCreate

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

func (*TeamCreate) Flags

func (c *TeamCreate) Flags() *pflag.FlagSet

func (*TeamCreate) Info

func (c *TeamCreate) Info() *cmd.Info

func (*TeamCreate) Run

func (c *TeamCreate) Run(ctx *cmd.Context) error

type TeamInfo

type TeamInfo struct{}

func (*TeamInfo) Info

func (c *TeamInfo) Info() *cmd.Info

func (*TeamInfo) Run

func (c *TeamInfo) Run(ctx *cmd.Context) error

type TeamList

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

func (*TeamList) Flags

func (c *TeamList) Flags() *pflag.FlagSet

func (*TeamList) Info

func (c *TeamList) Info() *cmd.Info

func (*TeamList) Run

func (c *TeamList) Run(ctx *cmd.Context) error

type TeamRemove

type TeamRemove struct {
	cmd.ConfirmationCommand
}

func (*TeamRemove) Info

func (c *TeamRemove) Info() *cmd.Info

func (*TeamRemove) Run

func (c *TeamRemove) Run(ctx *cmd.Context) error

type TeamUpdate

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

func (*TeamUpdate) Flags

func (t *TeamUpdate) Flags() *pflag.FlagSet

func (*TeamUpdate) Info

func (t *TeamUpdate) Info() *cmd.Info

func (*TeamUpdate) Run

func (t *TeamUpdate) Run(ctx *cmd.Context) error

type TokenCreateCmd

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

func (*TokenCreateCmd) Flags

func (c *TokenCreateCmd) Flags() *pflag.FlagSet

func (*TokenCreateCmd) Info

func (c *TokenCreateCmd) Info() *cmd.Info

func (*TokenCreateCmd) Run

func (c *TokenCreateCmd) Run(ctx *cmd.Context) error

type TokenDeleteCmd

type TokenDeleteCmd struct {
}

func (*TokenDeleteCmd) Info

func (c *TokenDeleteCmd) Info() *cmd.Info

func (*TokenDeleteCmd) Run

func (c *TokenDeleteCmd) Run(ctx *cmd.Context) error

type TokenInfoCmd

type TokenInfoCmd struct {
}

func (*TokenInfoCmd) Info

func (c *TokenInfoCmd) Info() *cmd.Info

func (*TokenInfoCmd) Run

func (c *TokenInfoCmd) Run(ctx *cmd.Context) error

type TokenListCmd

type TokenListCmd struct {
}

func (*TokenListCmd) Info

func (c *TokenListCmd) Info() *cmd.Info

func (*TokenListCmd) Run

func (c *TokenListCmd) Run(ctx *cmd.Context) error

type TokenUpdateCmd

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

func (*TokenUpdateCmd) Flags

func (c *TokenUpdateCmd) Flags() *pflag.FlagSet

func (*TokenUpdateCmd) Info

func (c *TokenUpdateCmd) Info() *cmd.Info

func (*TokenUpdateCmd) Run

func (c *TokenUpdateCmd) Run(ctx *cmd.Context) error

type UnitAdd

type UnitAdd struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*UnitAdd) Flags

func (c *UnitAdd) Flags() *pflag.FlagSet

func (*UnitAdd) Info

func (c *UnitAdd) Info() *cmd.Info

func (*UnitAdd) Run

func (c *UnitAdd) Run(context *cmd.Context) error

type UnitKill

type UnitKill struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*UnitKill) Flags

func (c *UnitKill) Flags() *pflag.FlagSet

func (*UnitKill) Info

func (c *UnitKill) Info() *cmd.Info

func (*UnitKill) Run

func (c *UnitKill) Run(context *cmd.Context) error

type UnitRemove

type UnitRemove struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*UnitRemove) Flags

func (c *UnitRemove) Flags() *pflag.FlagSet

func (*UnitRemove) Info

func (c *UnitRemove) Info() *cmd.Info

func (*UnitRemove) Run

func (c *UnitRemove) Run(context *cmd.Context) error

type UnitSet

type UnitSet struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*UnitSet) Flags

func (c *UnitSet) Flags() *pflag.FlagSet

func (*UnitSet) Info

func (c *UnitSet) Info() *cmd.Info

func (*UnitSet) Run

func (c *UnitSet) Run(context *cmd.Context) error

type UserCreate

type UserCreate struct{}

func (*UserCreate) Info

func (c *UserCreate) Info() *cmd.Info

func (*UserCreate) Run

func (c *UserCreate) Run(context *cmd.Context) error

type UserInfo

type UserInfo struct{}

func (UserInfo) Info

func (UserInfo) Info() *cmd.Info

func (UserInfo) Run

func (UserInfo) Run(ctx *cmd.Context) error

type UserRemove

type UserRemove struct{}

func (*UserRemove) Info

func (c *UserRemove) Info() *cmd.Info

func (*UserRemove) Run

func (c *UserRemove) Run(context *cmd.Context) error

type VolumeBind

type VolumeBind struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*VolumeBind) Flags

func (c *VolumeBind) Flags() *pflag.FlagSet

func (*VolumeBind) Info

func (c *VolumeBind) Info() *cmd.Info

func (*VolumeBind) Run

func (c *VolumeBind) Run(ctx *cmd.Context) error

type VolumeCreate

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

func (*VolumeCreate) Flags

func (c *VolumeCreate) Flags() *pflag.FlagSet

func (*VolumeCreate) Info

func (c *VolumeCreate) Info() *cmd.Info

func (*VolumeCreate) Run

func (c *VolumeCreate) Run(ctx *cmd.Context) error

type VolumeDelete

type VolumeDelete struct{}

func (*VolumeDelete) Info

func (c *VolumeDelete) Info() *cmd.Info

func (*VolumeDelete) Run

func (c *VolumeDelete) Run(ctx *cmd.Context) error

type VolumeInfo

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

func (*VolumeInfo) Flags

func (c *VolumeInfo) Flags() *pflag.FlagSet

func (*VolumeInfo) Info

func (c *VolumeInfo) Info() *cmd.Info

func (*VolumeInfo) Run

func (c *VolumeInfo) Run(ctx *cmd.Context) error

type VolumeList

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

func (*VolumeList) Flags

func (c *VolumeList) Flags() *pflag.FlagSet

func (*VolumeList) Info

func (c *VolumeList) Info() *cmd.Info

func (*VolumeList) Run

func (c *VolumeList) Run(ctx *cmd.Context) error

type VolumePlansList

type VolumePlansList struct{}

func (*VolumePlansList) Info

func (c *VolumePlansList) Info() *cmd.Info

func (*VolumePlansList) Run

func (c *VolumePlansList) Run(ctx *cmd.Context) error

type VolumeUnbind

type VolumeUnbind struct {
	tsuruClientApp.AppNameMixIn
	// contains filtered or unexported fields
}

func (*VolumeUnbind) Flags

func (c *VolumeUnbind) Flags() *pflag.FlagSet

func (*VolumeUnbind) Info

func (c *VolumeUnbind) Info() *cmd.Info

func (*VolumeUnbind) Run

func (c *VolumeUnbind) Run(ctx *cmd.Context) error

type VolumeUpdate

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

func (*VolumeUpdate) Flags

func (c *VolumeUpdate) Flags() *pflag.FlagSet

func (*VolumeUpdate) Info

func (c *VolumeUpdate) Info() *cmd.Info

func (*VolumeUpdate) Run

func (c *VolumeUpdate) Run(ctx *cmd.Context) error

type WebhookCreate

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

func (*WebhookCreate) Flags

func (c *WebhookCreate) Flags() *pflag.FlagSet

func (*WebhookCreate) Info

func (c *WebhookCreate) Info() *cmd.Info

func (*WebhookCreate) Run

func (c *WebhookCreate) Run(ctx *cmd.Context) error

type WebhookDelete

type WebhookDelete struct{}

func (*WebhookDelete) Info

func (c *WebhookDelete) Info() *cmd.Info

func (*WebhookDelete) Run

func (c *WebhookDelete) Run(ctx *cmd.Context) error

type WebhookInfo

type WebhookInfo struct{}

func (*WebhookInfo) Info

func (c *WebhookInfo) Info() *cmd.Info

func (*WebhookInfo) Run

func (c *WebhookInfo) Run(ctx *cmd.Context) error

type WebhookList

type WebhookList struct {
}

func (*WebhookList) Info

func (c *WebhookList) Info() *cmd.Info

func (*WebhookList) Run

func (c *WebhookList) Run(ctx *cmd.Context) error

type WebhookUpdate

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

func (*WebhookUpdate) Flags

func (c *WebhookUpdate) Flags() *pflag.FlagSet

func (*WebhookUpdate) Info

func (c *WebhookUpdate) Info() *cmd.Info

func (*WebhookUpdate) Run

func (c *WebhookUpdate) Run(ctx *cmd.Context) error

Jump to

Keyboard shortcuts

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