Documentation ¶
Overview ¶
Package dis provides the main distillery
Index ¶
- Variables
- type Distillery
- func (dis *Distillery) Auth() *auth.Auth
- func (dis *Distillery) Control() *server.Server
- func (dis *Distillery) Cron() *cron.Cron
- func (dis *Distillery) Docker() *docker.Docker
- func (dis *Distillery) Exporter() *exporter.Exporter
- func (dis *Distillery) Info() *admin.Admin
- func (dis *Distillery) Installable() []component.Installable
- func (dis *Distillery) Instances() *instances.Instances
- func (dis *Distillery) Keys() *sshkeys.SSHKeys
- func (dis *Distillery) Policy() *policy.Policy
- func (dis *Distillery) Provision() *provision.Provision
- func (dis *Distillery) Purger() *purger.Purger
- func (dis *Distillery) SQL() *sql.SQL
- func (dis *Distillery) SSH() *ssh2.SSH2
- func (dis *Distillery) Templating() *templating.Templating
- func (dis *Distillery) Updatable() []component.Updatable
Constants ¶
This section is empty.
Variables ¶
View Source
var CGoEnabled = exit.Error{ ExitCode: exit.ExitGeneralArguments, Message: "this functionality is only available when cgo support is disabled. Set `CGO_ENABLED=0' at build time and try again", }
An error to be returned when cgo is enabled unexpectedly.
Functions ¶
This section is empty.
Types ¶
type Distillery ¶
type Distillery struct { // core holds the core of the distillery component.Still // Where interactive progress is displayed Progress io.Writer // contains filtered or unexported fields }
Distillery represents a WissKI Distillery
It is the main structure used to interact with different components.
func NewDistillery ¶
func NewDistillery(params cli.Params, flags cli.Flags, req cli.Requirements) (dis *Distillery, err error)
NewDistillery creates a new distillery from the provided flags
func (*Distillery) Auth ¶
func (dis *Distillery) Auth() *auth.Auth
func (*Distillery) Control ¶
func (dis *Distillery) Control() *server.Server
func (*Distillery) Cron ¶
func (dis *Distillery) Cron() *cron.Cron
func (*Distillery) Docker ¶
func (dis *Distillery) Docker() *docker.Docker
func (*Distillery) Exporter ¶
func (dis *Distillery) Exporter() *exporter.Exporter
func (*Distillery) Info ¶
func (dis *Distillery) Info() *admin.Admin
func (*Distillery) Installable ¶
func (dis *Distillery) Installable() []component.Installable
func (*Distillery) Instances ¶
func (dis *Distillery) Instances() *instances.Instances
func (*Distillery) Keys ¶
func (dis *Distillery) Keys() *sshkeys.SSHKeys
func (*Distillery) Policy ¶
func (dis *Distillery) Policy() *policy.Policy
func (*Distillery) Provision ¶
func (dis *Distillery) Provision() *provision.Provision
func (*Distillery) Purger ¶
func (dis *Distillery) Purger() *purger.Purger
func (*Distillery) SQL ¶
func (dis *Distillery) SQL() *sql.SQL
func (*Distillery) SSH ¶
func (dis *Distillery) SSH() *ssh2.SSH2
func (*Distillery) Templating ¶
func (dis *Distillery) Templating() *templating.Templating
func (*Distillery) Updatable ¶
func (dis *Distillery) Updatable() []component.Updatable
Directories ¶
Path | Synopsis |
---|---|
Package component holds the main abstraction for components.
|
Package component holds the main abstraction for components. |
auth/api
Package api implements a common handler used by the api routes
|
Package api implements a common handler used by the api routes |
auth/scopes
Package scopes implements and provides scopes used by the API
|
Package scopes implements and provides scopes used by the API |
server/assets
Package static implements serving of fully static resources
|
Package static implements serving of fully static resources |
Click to show internal directories.
Click to hide internal directories.