package
0.18.0
Repository: https://github.com/appcelerator-archive/amp.git
Documentation: pkg.go.dev

# Functions

NewClusterCommand returns a new instance of the cluster command.
NewCreateCommand returns a new instance of the create command for bootstrapping an cluster.
NewListCommand returns a new instance of the list command for amp clusters.
NewNodeCleanupCommand returns a new instance of the cleanup command for amp clusters.
NewNodeCommand returns a new instance of the cluster node command.
NewNodeInspectCommand returns a new instance of the node inspect command for amp clusters.
NewNodeListCommand returns a new instance of the list command for amp clusters.
NewPlugin is a simple factory function to return a new instance of a specific cluster plugin based on the supplied config (config.Provider must be set to a valid provider or this function will return an error).
NewRemoveCommand returns a new instance of the remove command for destroying a cluster.
NewStatusCommand returns a new instance of the status command for querying the state of amp cluster.
NewUpdateCommand returns a new instance of the update command for updating an cluster.
RunContainer starts a container using the specified image for the cluster plugin.

# Constants

Supported plugin providers used by the factory function `NewPlugin`.
Supported plugin providers used by the factory function `NewPlugin`.

# Structs

PluginConfig is used by the factory function `NewClusterPlugin` to create a new plugin instance.

# Interfaces

Plugin declares the methods that all plugin providers, such as local and aws, must implement.

# Type aliases

ByRole implements sort.Interface for []NodeReply based on the Role field.