Documentation ¶
Overview ¶
Package cmd contains all of the Torus cli commands
Index ¶
Constants ¶
View Source
const ( // GlobalRoot is the global root of the Torus config GlobalRoot = "/etc/torus" // EnvironmentFile is the environment file that stores machine information EnvironmentFile = "token.environment" )
Variables ¶
View Source
var Cmds []cli.Command
Cmds is the list of all cli commands
Functions ¶
func NewAPIClient ¶ added in v0.13.0
NewAPIClient loads config and creates a new api client
func VersionLookup ¶
VersionLookup ensures the environment is ready and then executes version cmd
Types ¶
type ByTeamPrecedence ¶ added in v0.28.0
ByTeamPrecedence will implement the sort Interface
func (ByTeamPrecedence) Len ¶ added in v0.28.0
func (tp ByTeamPrecedence) Len() int
func (ByTeamPrecedence) Less ¶ added in v0.28.0
func (tp ByTeamPrecedence) Less(i, j int) bool
func (ByTeamPrecedence) Swap ¶ added in v0.28.0
func (tp ByTeamPrecedence) Swap(i, j int)
Source Files ¶
- allow.go
- cmd.go
- credential_set.go
- daemon.go
- debug.go
- deny.go
- envs.go
- export.go
- flags.go
- gatekeeper.go
- import.go
- invites.go
- invites_accept.go
- invites_approve.go
- invites_list.go
- invites_send.go
- keypairs.go
- link.go
- list.go
- login.go
- logout.go
- machines.go
- middleware.go
- orgs.go
- policies.go
- prefs.go
- profile.go
- projects.go
- run.go
- services.go
- set.go
- signup.go
- spawn_daemon.go
- status.go
- teams.go
- unlink.go
- unset.go
- utils.go
- verify.go
- version.go
- view.go
- worklog.go
Click to show internal directories.
Click to hide internal directories.