Documentation ¶
Index ¶
- type Build
- func (b Build) Create(opts *types.BuildCreateOptions) (*types.Build, error)
- func (b Build) Get(id string) (*types.Build, error)
- func (b Build) List(image *types.Image, opts *types.BuildListOptions) (*types.BuildList, error)
- func (b Build) Unfreeze() error
- func (b Build) UpdateStatus(build *types.Build, opts *types.BuildUpdateStatusOptions) error
- type Builder
- func (b *Builder) Create(opts *types.BuilderCreateOptions) (*types.Builder, error)
- func (b *Builder) FindBuild(builder *types.Builder) (*types.Build, error)
- func (b *Builder) Get(hostname string) (*types.Builder, error)
- func (b *Builder) List() ([]*types.Builder, error)
- func (b *Builder) MarkOffline() error
- func (b *Builder) Update(builder *types.Builder, opts *types.BuilderUpdateOptions) error
- type IBuild
- type IBuilder
- type IImage
- type ISystem
- type Image
- func (i Image) Create(opts *types.ImageCreateOptions) (*types.Image, error)
- func (i Image) Get(owner, name string) (*types.Image, error)
- func (i Image) List(opts *types.ImageListOptions) ([]*types.Image, error)
- func (i Image) Remove(image *types.Image) error
- func (i Image) Update(image *types.Image, opts *types.ImageUpdateOptions) error
- type Registry
- type System
- func (s System) Get() (*types.System, error)
- func (s System) Update(system *types.System, opts *types.SystemUpdateOptions) error
- func (s System) UpdateController(system *types.System, opts *types.SystemUpdateControllerOptions) error
- func (s System) UpdateControllerLastEvent(system *types.System, opts *types.SystemUpdateControllerLastEventOptions) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct {
// contains filtered or unexported fields
}
func (Build) UpdateStatus ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func (*Builder) MarkOffline ¶
type IBuild ¶
type IBuilder ¶
type IBuilder interface { Get(hostname string) (*types.Builder, error) List() ([]*types.Builder, error) Create(opts *types.BuilderCreateOptions) (*types.Builder, error) Update(builder *types.Builder, opts *types.BuilderUpdateOptions) error FindBuild(builder *types.Builder) (*types.Build, error) MarkOffline() error }
type IImage ¶
type ISystem ¶
type ISystem interface { Get() (*types.System, error) Update(system *types.System, opts *types.SystemUpdateOptions) error UpdateController(system *types.System, opts *types.SystemUpdateControllerOptions) error UpdateControllerLastEvent(system *types.System, opts *types.SystemUpdateControllerLastEventOptions) error }
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry - distribution model
func NewRegistryModel ¶
NewRegistryModel - return new registry model
func (*Registry) CreateSignature ¶
type System ¶
type System struct {
// contains filtered or unexported fields
}
func (System) UpdateController ¶
func (System) UpdateControllerLastEvent ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.