Documentation
¶
Index ¶
- type LaunchConfig
- type Rancher
- func (r Rancher) ContainerExists(ctx context.Context, id string, _ *bool) (exists bool, err error)
- func (r Rancher) CreateContainer(ctx context.Context, name string, image string, env map[string]string, ...) (id string, err error)
- func (r Rancher) Disconnect() (err error)
- func (r Rancher) GetContainerStatus(_ context.Context, _ string, _ *bool) (status model.InstanceStatus, err error)
- func (r Rancher) GetContainerStatuses(_ context.Context) (statuses map[string]model.InstanceStatus, err error)
- func (r Rancher) RemoveContainer(ctx context.Context, id string) (err error)
- func (r Rancher) UpdateContainer(ctx context.Context, id string, name string, image string, ...) (newId string, err error)
- type Request
- type Service
- type ServiceCollection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LaunchConfig ¶
type Rancher ¶
type Rancher struct {
// contains filtered or unexported fields
}
func (Rancher) ContainerExists ¶
func (Rancher) CreateContainer ¶
func (Rancher) Disconnect ¶
func (Rancher) GetContainerStatus ¶ added in v0.1.0
func (Rancher) GetContainerStatuses ¶ added in v0.1.0
func (Rancher) RemoveContainer ¶
type Service ¶
type Service struct {
Id string `json:"id"`
LaunchConfig `json:"launchConfig,omitempty"`
}
type ServiceCollection ¶
type ServiceCollection struct {
Data []Service `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.