Documentation
¶
Index ¶
- Constants
- type Command
- func (c *Command) Build() error
- func (c *Command) Docker() *dockerbox.Client
- func (c *Command) Env() (env []string)
- func (c *Command) HasAccess(user string) bool
- func (c *Command) IsAdmin(user string) bool
- func (c *Command) Pull(ctx context.Context) error
- func (c *Command) Run(sess ssh.Session, args []string) int
- func (c *Command) SetEnv(key, val string)
- type Token
Constants ¶
View Source
const ServerSoftware = "cmd.io"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
Name string
User string
Source string
Environment map[string]string `dynamodbav:",omitempty"`
ACL []string `dynamodbav:",stringset,omitempty"`
Admins []string `dynamodbav:",stringset,omitempty"`
Description string `dynamodbav:",omitempty"`
Changed bool `dynamodbav:"-"`
// contains filtered or unexported fields
}
Command is a the definition for a runnable command on cmd
Click to show internal directories.
Click to hide internal directories.