Documentation ¶
Index ¶
- type Manager
- func (m *Manager) Accounts() ([]*shipyard.Account, error)
- func (m *Manager) AddAccount(account *shipyard.Account) error
- func (m *Manager) AddEngine(engine *shipyard.Engine) error
- func (m *Manager) AddExtension(ext *shipyard.Extension) error
- func (m *Manager) ChangePassword(password string) error
- func (m *Manager) Container(id string) (*citadel.Container, error)
- func (m *Manager) Containers() ([]*citadel.Container, error)
- func (m *Manager) DeleteAccount(account *shipyard.Account) error
- func (m *Manager) Destroy(container *citadel.Container) error
- func (m *Manager) Engines() ([]*shipyard.Engine, error)
- func (m *Manager) Events() ([]*shipyard.Event, error)
- func (m *Manager) Extensions() ([]*shipyard.Extension, error)
- func (m *Manager) GetContainer(id string) (*citadel.Container, error)
- func (m *Manager) GetEngine(id string) (*shipyard.Engine, error)
- func (m *Manager) Info() (*shipyard.ClusterInfo, error)
- func (m *Manager) Login(username, password string) (*shipyard.AuthToken, error)
- func (m *Manager) Logs(container *citadel.Container, stdout bool, stderr bool) (io.ReadCloser, error)
- func (m *Manager) NewServiceKey(description string) (*shipyard.ServiceKey, error)
- func (m *Manager) NewWebhookKey(image string) (*dockerhub.WebhookKey, error)
- func (m *Manager) RemoveEngine(engine *shipyard.Engine) error
- func (m *Manager) RemoveExtension(id string) error
- func (m *Manager) RemoveServiceKey(key *shipyard.ServiceKey) error
- func (m *Manager) RemoveWebhookKey(key string) error
- func (m *Manager) Restart(container *citadel.Container) error
- func (m *Manager) Role(name string) (*shipyard.Role, error)
- func (m *Manager) Roles() ([]*shipyard.Role, error)
- func (m *Manager) Run(image *citadel.Image, count int, pull bool) ([]*citadel.Container, error)
- func (m *Manager) Scale(container *citadel.Container, count int) error
- func (m *Manager) ServiceKeys() ([]*shipyard.ServiceKey, error)
- func (m *Manager) Stop(container *citadel.Container) error
- func (m *Manager) WebhookKeys() ([]*dockerhub.WebhookKey, error)
- type ShipyardConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(cfg *ShipyardConfig) *Manager
func (*Manager) ChangePassword ¶
func (*Manager) GetContainer ¶
func (*Manager) NewServiceKey ¶
func (m *Manager) NewServiceKey(description string) (*shipyard.ServiceKey, error)
func (*Manager) NewWebhookKey ¶
func (m *Manager) NewWebhookKey(image string) (*dockerhub.WebhookKey, error)
func (*Manager) RemoveExtension ¶
func (*Manager) RemoveServiceKey ¶
func (m *Manager) RemoveServiceKey(key *shipyard.ServiceKey) error
func (*Manager) RemoveWebhookKey ¶
func (*Manager) ServiceKeys ¶
func (m *Manager) ServiceKeys() ([]*shipyard.ServiceKey, error)
func (*Manager) WebhookKeys ¶
func (m *Manager) WebhookKeys() ([]*dockerhub.WebhookKey, error)
Click to show internal directories.
Click to hide internal directories.