Documentation
¶
Index ¶
Constants ¶
View Source
const (
// EC2ClientContext is the key to retrieve a Super client from the command context
EC2ClientContext key
)
Variables ¶
This section is empty.
Functions ¶
func MustGetEC2Client ¶
MustGetEC2Client returns the Django EC2 from the context. If the client does not exist in the context, this function panics.
func NewEC2Client ¶
NewEC2Client is middleware to use for CLI commands that require a Super API client. It creates a new Super API client and adds it to the provided command's context. If a Consul client does not exist in the context, it will be created and added to the context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.