Documentation ¶
Index ¶
- type LaunchConfig
- type Rancher
- func (r Rancher) ContainerExists(id string) (exists bool, err error)
- func (r Rancher) CreateContainer(name string, image string, env map[string]string, restart bool) (id string, err error)
- func (r Rancher) RemoveContainer(id string) (err error)
- func (r Rancher) UpdateContainer(id string, name string, image string, env map[string]string, restart bool) (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) 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.