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
- Variables
- func Executor() exec.Executor
- func RunPlugin(context *cmd.Context) error
- type AppCreate
- type AppDeploy
- type AppDeployList
- type AppDeployRebuild
- type AppDeployRollback
- type AppDeployRollbackUpdate
- type AppGrant
- type AppInfo
- type AppList
- type AppLog
- type AppRemove
- type AppRestart
- type AppRevoke
- type AppRoutersAdd
- type AppRoutersList
- type AppRoutersRemove
- type AppRoutersUpdate
- type AppRun
- type AppStart
- type AppStop
- type AppSwap
- type AppUpdate
- type CertificateList
- type CertificateSet
- type CertificateUnset
- type ChangePassword
- type CnameAdd
- type CnameRemove
- type EnvGet
- type EnvSet
- type EnvUnset
- type EventCancel
- type EventInfo
- type EventList
- type KeyAdd
- type KeyList
- type KeyRemove
- type ListUsers
- type PermissionList
- type PlanList
- type PluginInstall
- type PluginList
- type PluginRemove
- type Pool
- type PoolList
- type RegenerateAPIToken
- type ResetPassword
- type RoleAdd
- type RoleAssign
- type RoleDefaultAdd
- type RoleDefaultList
- type RoleDefaultRemove
- type RoleDissociate
- type RoleInfo
- type RoleList
- type RolePermissionAdd
- type RolePermissionRemove
- type RoleRemove
- type RoleUpdate
- type RoutersList
- type ServiceInfo
- func (c ServiceInfo) BuildInstancesTable(serviceName string, ctx *cmd.Context, client *cmd.Client) error
- func (c ServiceInfo) BuildPlansTable(serviceName string, ctx *cmd.Context, client *cmd.Client) error
- func (ServiceInfo) ExtraHeaders(instances []ServiceInstanceModel) []string
- func (c ServiceInfo) Info() *cmd.Info
- func (c ServiceInfo) Run(ctx *cmd.Context, client *cmd.Client) error
- func (c ServiceInfo) WriteDoc(ctx *cmd.Context, client *cmd.Client) error
- type ServiceInstanceAdd
- type ServiceInstanceBind
- type ServiceInstanceGrant
- type ServiceInstanceInfo
- type ServiceInstanceInfoModel
- type ServiceInstanceModel
- type ServiceInstanceRemove
- type ServiceInstanceRevoke
- type ServiceInstanceStatus
- type ServiceInstanceUnbind
- type ServiceInstanceUpdate
- type ServiceList
- type ShowAPIToken
- type TagList
- type TeamCreate
- type TeamList
- type TeamRemove
- type TeamUpdate
- type UnitAdd
- type UnitRemove
- type UserCreate
- type UserRemove
- type VolumeBind
- type VolumeCreate
- type VolumeDelete
- type VolumeList
- type VolumePlansList
- type VolumeUnbind
- type VolumeUpdate
Constants ¶
View Source
const EnvSetValidationMessage = `` /* 342-byte string literal not displayed */
Variables ¶
View Source
var Execut exec.Executor
Functions ¶
Types ¶
type AppDeploy ¶
type AppDeploy struct { cmd.GuessingCommand // contains filtered or unexported fields }
type AppDeployList ¶
type AppDeployList struct {
cmd.GuessingCommand
}
func (*AppDeployList) Info ¶
func (c *AppDeployList) Info() *cmd.Info
type AppDeployRebuild ¶
type AppDeployRebuild struct {
cmd.GuessingCommand
}
func (*AppDeployRebuild) Info ¶
func (c *AppDeployRebuild) Info() *cmd.Info
type AppDeployRollback ¶
type AppDeployRollback struct { cmd.GuessingCommand cmd.ConfirmationCommand // contains filtered or unexported fields }
func (*AppDeployRollback) Flags ¶
func (c *AppDeployRollback) Flags() *gnuflag.FlagSet
func (*AppDeployRollback) Info ¶
func (c *AppDeployRollback) Info() *cmd.Info
type AppDeployRollbackUpdate ¶
type AppDeployRollbackUpdate struct { cmd.GuessingCommand // contains filtered or unexported fields }
func (*AppDeployRollbackUpdate) Flags ¶
func (c *AppDeployRollbackUpdate) Flags() *gnuflag.FlagSet
func (*AppDeployRollbackUpdate) Info ¶
func (c *AppDeployRollbackUpdate) Info() *cmd.Info
type AppGrant ¶
type AppGrant struct {
cmd.GuessingCommand
}
type AppInfo ¶
type AppInfo struct {
cmd.GuessingCommand
}
type AppLog ¶
type AppLog struct { cmd.GuessingCommand // contains filtered or unexported fields }
type AppRemove ¶
type AppRemove struct { cmd.GuessingCommand cmd.ConfirmationCommand // contains filtered or unexported fields }
type AppRestart ¶
type AppRestart struct { cmd.GuessingCommand // contains filtered or unexported fields }
func (*AppRestart) Flags ¶
func (c *AppRestart) Flags() *gnuflag.FlagSet
func (*AppRestart) Info ¶
func (c *AppRestart) Info() *cmd.Info
type AppRevoke ¶
type AppRevoke struct {
cmd.GuessingCommand
}
type AppRoutersAdd ¶
type AppRoutersAdd struct { cmd.GuessingCommand // contains filtered or unexported fields }
func (*AppRoutersAdd) Flags ¶
func (c *AppRoutersAdd) Flags() *gnuflag.FlagSet
func (*AppRoutersAdd) Info ¶
func (c *AppRoutersAdd) Info() *cmd.Info
type AppRoutersList ¶
type AppRoutersList struct {
cmd.GuessingCommand
}
func (*AppRoutersList) Info ¶
func (c *AppRoutersList) Info() *cmd.Info
type AppRoutersRemove ¶
type AppRoutersRemove struct {
cmd.GuessingCommand
}
func (*AppRoutersRemove) Info ¶
func (c *AppRoutersRemove) Info() *cmd.Info
type AppRoutersUpdate ¶
type AppRoutersUpdate struct { cmd.GuessingCommand // contains filtered or unexported fields }
func (*AppRoutersUpdate) Flags ¶
func (c *AppRoutersUpdate) Flags() *gnuflag.FlagSet
func (*AppRoutersUpdate) Info ¶
func (c *AppRoutersUpdate) Info() *cmd.Info
type AppRun ¶
type AppRun struct { cmd.GuessingCommand // contains filtered or unexported fields }
type AppStart ¶
type AppStart struct { cmd.GuessingCommand // contains filtered or unexported fields }
type AppStop ¶
type AppStop struct { cmd.GuessingCommand // contains filtered or unexported fields }
type AppUpdate ¶
type AppUpdate struct { cmd.GuessingCommand cmd.ConfirmationCommand // contains filtered or unexported fields }
type CertificateList ¶
type CertificateList struct { cmd.GuessingCommand // contains filtered or unexported fields }
func (*CertificateList) Flags ¶
func (c *CertificateList) Flags() *gnuflag.FlagSet
func (*CertificateList) Info ¶
func (c *CertificateList) Info() *cmd.Info
type CertificateSet ¶
type CertificateSet struct { cmd.GuessingCommand // contains filtered or unexported fields }
func (*CertificateSet) Flags ¶
func (c *CertificateSet) Flags() *gnuflag.FlagSet
func (*CertificateSet) Info ¶
func (c *CertificateSet) Info() *cmd.Info
type CertificateUnset ¶
type CertificateUnset struct { cmd.GuessingCommand // contains filtered or unexported fields }
func (*CertificateUnset) Flags ¶
func (c *CertificateUnset) Flags() *gnuflag.FlagSet
func (*CertificateUnset) Info ¶
func (c *CertificateUnset) Info() *cmd.Info
type ChangePassword ¶
type ChangePassword struct{}
func (*ChangePassword) Info ¶
func (c *ChangePassword) Info() *cmd.Info
type CnameAdd ¶
type CnameAdd struct {
cmd.GuessingCommand
}
type CnameRemove ¶
type CnameRemove struct {
cmd.GuessingCommand
}
func (*CnameRemove) Info ¶
func (c *CnameRemove) Info() *cmd.Info
type EnvGet ¶
type EnvGet struct {
cmd.GuessingCommand
}
type EnvSet ¶
type EnvSet struct { cmd.GuessingCommand // contains filtered or unexported fields }
type EnvUnset ¶
type EnvUnset struct { cmd.GuessingCommand // contains filtered or unexported fields }
type EventCancel ¶
type EventCancel struct {
cmd.ConfirmationCommand
}
func (*EventCancel) Info ¶
func (c *EventCancel) Info() *cmd.Info
type KeyRemove ¶
type KeyRemove struct {
cmd.ConfirmationCommand
}
type PermissionList ¶
type PermissionList struct {
// contains filtered or unexported fields
}
func (*PermissionList) Flags ¶
func (c *PermissionList) Flags() *gnuflag.FlagSet
func (*PermissionList) Info ¶
func (c *PermissionList) Info() *cmd.Info
type PluginInstall ¶
type PluginInstall struct{}
func (PluginInstall) Info ¶
func (PluginInstall) Info() *cmd.Info
type PluginList ¶
type PluginList struct{}
func (PluginList) Info ¶
func (PluginList) Info() *cmd.Info
type PluginRemove ¶
type PluginRemove struct{}
func (PluginRemove) Info ¶
func (PluginRemove) Info() *cmd.Info
type Pool ¶
type Pool struct { Name string Public bool Default bool Provisioner string Allowed map[string][]string }
func (*Pool) GetProvisioner ¶
type RegenerateAPIToken ¶
type RegenerateAPIToken struct {
// contains filtered or unexported fields
}
func (*RegenerateAPIToken) Flags ¶
func (c *RegenerateAPIToken) Flags() *gnuflag.FlagSet
func (*RegenerateAPIToken) Info ¶
func (c *RegenerateAPIToken) Info() *cmd.Info
type ResetPassword ¶
type ResetPassword struct {
// contains filtered or unexported fields
}
func (*ResetPassword) Flags ¶
func (c *ResetPassword) Flags() *gnuflag.FlagSet
func (*ResetPassword) Info ¶
func (c *ResetPassword) Info() *cmd.Info
type RoleAssign ¶
type RoleAssign struct{}
func (*RoleAssign) Info ¶
func (c *RoleAssign) Info() *cmd.Info
type RoleDefaultAdd ¶
type RoleDefaultAdd struct {
// contains filtered or unexported fields
}
func (*RoleDefaultAdd) Flags ¶
func (c *RoleDefaultAdd) Flags() *gnuflag.FlagSet
func (*RoleDefaultAdd) Info ¶
func (c *RoleDefaultAdd) Info() *cmd.Info
type RoleDefaultList ¶
type RoleDefaultList struct{}
func (*RoleDefaultList) Info ¶
func (c *RoleDefaultList) Info() *cmd.Info
type RoleDefaultRemove ¶
type RoleDefaultRemove struct {
// contains filtered or unexported fields
}
func (*RoleDefaultRemove) Flags ¶
func (c *RoleDefaultRemove) Flags() *gnuflag.FlagSet
func (*RoleDefaultRemove) Info ¶
func (c *RoleDefaultRemove) Info() *cmd.Info
type RoleDissociate ¶
type RoleDissociate struct{}
func (*RoleDissociate) Info ¶
func (c *RoleDissociate) Info() *cmd.Info
type RolePermissionAdd ¶
type RolePermissionAdd struct{}
func (*RolePermissionAdd) Info ¶
func (c *RolePermissionAdd) Info() *cmd.Info
type RolePermissionRemove ¶
type RolePermissionRemove struct{}
func (*RolePermissionRemove) Info ¶
func (c *RolePermissionRemove) Info() *cmd.Info
type RoleRemove ¶
type RoleRemove struct {
cmd.ConfirmationCommand
}
func (*RoleRemove) Info ¶
func (c *RoleRemove) Info() *cmd.Info
type RoleUpdate ¶
type RoleUpdate struct {
// contains filtered or unexported fields
}
func (*RoleUpdate) Flags ¶
func (c *RoleUpdate) Flags() *gnuflag.FlagSet
func (*RoleUpdate) Info ¶
func (c *RoleUpdate) Info() *cmd.Info
type RoutersList ¶
type RoutersList struct{}
func (*RoutersList) Info ¶
func (c *RoutersList) Info() *cmd.Info
type ServiceInfo ¶
type ServiceInfo struct{}
func (ServiceInfo) BuildInstancesTable ¶
func (ServiceInfo) BuildPlansTable ¶
func (ServiceInfo) ExtraHeaders ¶
func (ServiceInfo) ExtraHeaders(instances []ServiceInstanceModel) []string
func (ServiceInfo) Info ¶
func (c ServiceInfo) Info() *cmd.Info
type ServiceInstanceAdd ¶
type ServiceInstanceAdd struct {
// contains filtered or unexported fields
}
func (*ServiceInstanceAdd) Flags ¶
func (c *ServiceInstanceAdd) Flags() *gnuflag.FlagSet
func (*ServiceInstanceAdd) Info ¶
func (c *ServiceInstanceAdd) Info() *cmd.Info
type ServiceInstanceBind ¶
type ServiceInstanceBind struct { cmd.GuessingCommand // contains filtered or unexported fields }
func (*ServiceInstanceBind) Flags ¶
func (sb *ServiceInstanceBind) Flags() *gnuflag.FlagSet
func (*ServiceInstanceBind) Info ¶
func (sb *ServiceInstanceBind) Info() *cmd.Info
type ServiceInstanceGrant ¶
type ServiceInstanceGrant struct{}
func (*ServiceInstanceGrant) Info ¶
func (c *ServiceInstanceGrant) Info() *cmd.Info
type ServiceInstanceInfo ¶
type ServiceInstanceInfo struct{}
func (ServiceInstanceInfo) Info ¶
func (c ServiceInstanceInfo) Info() *cmd.Info
type ServiceInstanceModel ¶
type ServiceInstanceRemove ¶
type ServiceInstanceRemove struct { cmd.ConfirmationCommand // contains filtered or unexported fields }
func (*ServiceInstanceRemove) Flags ¶
func (c *ServiceInstanceRemove) Flags() *gnuflag.FlagSet
func (*ServiceInstanceRemove) Info ¶
func (c *ServiceInstanceRemove) Info() *cmd.Info
type ServiceInstanceRevoke ¶
type ServiceInstanceRevoke struct{}
func (*ServiceInstanceRevoke) Info ¶
func (c *ServiceInstanceRevoke) Info() *cmd.Info
type ServiceInstanceStatus ¶
type ServiceInstanceStatus struct{}
func (ServiceInstanceStatus) Info ¶
func (c ServiceInstanceStatus) Info() *cmd.Info
type ServiceInstanceUnbind ¶
type ServiceInstanceUnbind struct { cmd.GuessingCommand // contains filtered or unexported fields }
func (*ServiceInstanceUnbind) Flags ¶
func (su *ServiceInstanceUnbind) Flags() *gnuflag.FlagSet
func (*ServiceInstanceUnbind) Info ¶
func (su *ServiceInstanceUnbind) Info() *cmd.Info
type ServiceInstanceUpdate ¶
type ServiceInstanceUpdate struct {
// contains filtered or unexported fields
}
func (*ServiceInstanceUpdate) Flags ¶
func (c *ServiceInstanceUpdate) Flags() *gnuflag.FlagSet
func (*ServiceInstanceUpdate) Info ¶
func (c *ServiceInstanceUpdate) Info() *cmd.Info
type ServiceList ¶
type ServiceList struct{}
func (ServiceList) Info ¶
func (s ServiceList) Info() *cmd.Info
type ShowAPIToken ¶
type ShowAPIToken struct {
// contains filtered or unexported fields
}
func (*ShowAPIToken) Flags ¶
func (c *ShowAPIToken) Flags() *gnuflag.FlagSet
func (*ShowAPIToken) Info ¶
func (c *ShowAPIToken) Info() *cmd.Info
type TeamCreate ¶
type TeamCreate struct{}
func (*TeamCreate) Info ¶
func (c *TeamCreate) Info() *cmd.Info
type TeamRemove ¶
type TeamRemove struct {
cmd.ConfirmationCommand
}
func (*TeamRemove) Info ¶
func (c *TeamRemove) Info() *cmd.Info
type TeamUpdate ¶
type TeamUpdate struct {
// contains filtered or unexported fields
}
func (*TeamUpdate) Flags ¶
func (t *TeamUpdate) Flags() *gnuflag.FlagSet
func (*TeamUpdate) Info ¶
func (t *TeamUpdate) Info() *cmd.Info
type UnitAdd ¶
type UnitAdd struct { cmd.GuessingCommand // contains filtered or unexported fields }
type UnitRemove ¶
type UnitRemove struct { cmd.GuessingCommand // contains filtered or unexported fields }
func (*UnitRemove) Flags ¶
func (c *UnitRemove) Flags() *gnuflag.FlagSet
func (*UnitRemove) Info ¶
func (c *UnitRemove) Info() *cmd.Info
type UserCreate ¶
type UserCreate struct{}
func (*UserCreate) Info ¶
func (c *UserCreate) Info() *cmd.Info
type UserRemove ¶
type UserRemove struct{}
func (*UserRemove) Info ¶
func (c *UserRemove) Info() *cmd.Info
type VolumeBind ¶
type VolumeBind struct { cmd.GuessingCommand // contains filtered or unexported fields }
func (*VolumeBind) Flags ¶
func (c *VolumeBind) Flags() *gnuflag.FlagSet
func (*VolumeBind) Info ¶
func (c *VolumeBind) Info() *cmd.Info
type VolumeCreate ¶
type VolumeCreate struct {
// contains filtered or unexported fields
}
func (*VolumeCreate) Flags ¶
func (c *VolumeCreate) Flags() *gnuflag.FlagSet
func (*VolumeCreate) Info ¶
func (c *VolumeCreate) Info() *cmd.Info
type VolumeDelete ¶
type VolumeDelete struct{}
func (*VolumeDelete) Info ¶
func (c *VolumeDelete) Info() *cmd.Info
type VolumeList ¶
type VolumeList struct{}
func (*VolumeList) Info ¶
func (c *VolumeList) Info() *cmd.Info
type VolumePlansList ¶
type VolumePlansList struct{}
func (*VolumePlansList) Info ¶
func (c *VolumePlansList) Info() *cmd.Info
type VolumeUnbind ¶
type VolumeUnbind struct { cmd.GuessingCommand // contains filtered or unexported fields }
func (*VolumeUnbind) Flags ¶
func (c *VolumeUnbind) Flags() *gnuflag.FlagSet
func (*VolumeUnbind) Info ¶
func (c *VolumeUnbind) Info() *cmd.Info
type VolumeUpdate ¶
type VolumeUpdate struct {
// contains filtered or unexported fields
}
func (*VolumeUpdate) Flags ¶
func (c *VolumeUpdate) Flags() *gnuflag.FlagSet
func (*VolumeUpdate) Info ¶
func (c *VolumeUpdate) Info() *cmd.Info
Click to show internal directories.
Click to hide internal directories.