Documentation ¶
Index ¶
- Variables
- func ActionWrapper(c *client.RancherClient, service *client.Service, action string) func() error
- func WaitFor(ctx context.Context, client *client.RancherClient, resource *client.Resource, ...) error
- type ContainerInspect
- type ContainerWrapper
- func (s *ContainerWrapper) Create(ctx context.Context, options options.Options) error
- func (s *ContainerWrapper) Exists() (bool, error)
- func (s *ContainerWrapper) Image() string
- func (s *ContainerWrapper) Labels() map[string]interface{}
- func (s *ContainerWrapper) Up(ctx context.Context, options options.Options) error
- type Link
- type Service
- type ServiceWrapper
- func (s *ServiceWrapper) Create(ctx context.Context, options options.Options) error
- func (s *ServiceWrapper) Exists() (bool, error)
- func (s *ServiceWrapper) Image() string
- func (s *ServiceWrapper) Labels() map[string]interface{}
- func (s *ServiceWrapper) Up(ctx context.Context, options options.Options) error
- type SidekickWrapper
- func (s *SidekickWrapper) Create(ctx context.Context, options options.Options) error
- func (s *SidekickWrapper) Exists() (bool, error)
- func (s *SidekickWrapper) Image() string
- func (s *SidekickWrapper) Labels() map[string]interface{}
- func (s *SidekickWrapper) Up(ctx context.Context, options options.Options) error
- type Wrapper
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrTimeout = errors.New("Timeout waiting service")
)
Functions ¶
func ActionWrapper ¶ added in v0.15.10
Types ¶
type ContainerInspect ¶
type ContainerInspect struct { Name string Config *container.Config HostConfig *container.HostConfig }
type ContainerWrapper ¶
type ContainerWrapper struct {
// contains filtered or unexported fields
}
func (*ContainerWrapper) Exists ¶
func (s *ContainerWrapper) Exists() (bool, error)
func (*ContainerWrapper) Image ¶
func (s *ContainerWrapper) Image() string
func (*ContainerWrapper) Labels ¶
func (s *ContainerWrapper) Labels() map[string]interface{}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
type ServiceWrapper ¶
type ServiceWrapper struct {
// contains filtered or unexported fields
}
func (*ServiceWrapper) Exists ¶
func (s *ServiceWrapper) Exists() (bool, error)
func (*ServiceWrapper) Image ¶
func (s *ServiceWrapper) Image() string
func (*ServiceWrapper) Labels ¶
func (s *ServiceWrapper) Labels() map[string]interface{}
type SidekickWrapper ¶
type SidekickWrapper struct {
// contains filtered or unexported fields
}
func (*SidekickWrapper) Exists ¶
func (s *SidekickWrapper) Exists() (bool, error)
func (*SidekickWrapper) Image ¶
func (s *SidekickWrapper) Image() string
func (*SidekickWrapper) Labels ¶
func (s *SidekickWrapper) Labels() map[string]interface{}
Click to show internal directories.
Click to hide internal directories.