Documentation
¶
Index ¶
- Constants
- Variables
- func NewHandler(s Service, r *mux.Router) http.Handler
- func NewRouter() *mux.Router
- type Automator
- type Container
- type Helper
- type HistoryEntry
- type ImageDescription
- type ImageID
- type ImageSpec
- type ImageStatus
- type ReleaseAction
- type ReleaseContext
- type ReleaseKind
- type Releaser
- type Service
- type ServiceID
- type ServiceSpec
- type ServiceStatus
Constants ¶
View Source
const ( ServiceSpecAll = ServiceSpec("<all>") ImageSpecLatest = ImageSpec("<latest>") )
Variables ¶
Functions ¶
Types ¶
type Container ¶
type Container struct { Name string Current ImageDescription Available []ImageDescription }
type HistoryEntry ¶
Ask me for more details.
type ImageDescription ¶
type ImageID ¶
type ImageID string // "quay.io/weaveworks/helloworld:v1"
func ParseImageID ¶
func (ImageID) Components ¶
func (ImageID) Repository ¶
type ImageStatus ¶
type ReleaseAction ¶
type ReleaseAction struct { Description string `json:"description"` Do func(*ReleaseContext) error `json:"-"` }
type ReleaseContext ¶
func NewReleaseContext ¶
func NewReleaseContext() *ReleaseContext
func (*ReleaseContext) Clean ¶
func (rc *ReleaseContext) Clean()
type ReleaseKind ¶
type ReleaseKind string
const ( ReleaseKindPlan ReleaseKind = "plan" ReleaseKindExecute = "execute" )
func ParseReleaseKind ¶
func ParseReleaseKind(s string) (ReleaseKind, error)
type Releaser ¶
type Releaser interface {
Release(ServiceSpec, ImageSpec, ReleaseKind) ([]ReleaseAction, error)
}
type Service ¶
type Service interface { ListServices() ([]ServiceStatus, error) ListImages(ServiceSpec) ([]ImageStatus, error) Release(ServiceSpec, ImageSpec, ReleaseKind) ([]ReleaseAction, error) Automate(ServiceID) error Deautomate(ServiceID) error History(ServiceSpec) ([]HistoryEntry, error) }
type ServiceID ¶
type ServiceID string // "default/helloworld"
func MakeServiceID ¶
func ParseServiceID ¶
func (ServiceID) Components ¶
type ServiceSpec ¶
type ServiceSpec string // ServiceID or "<all>"
func ParseServiceSpec ¶
func ParseServiceSpec(s string) (ServiceSpec, error)
Directories
¶
Path | Synopsis |
---|---|
Package automator implements continuous deployment.
|
Package automator implements continuous deployment. |
cmd
|
|
Package platform will hold abstractions and data types common to supported platforms.
|
Package platform will hold abstractions and data types common to supported platforms. |
kubernetes
Package kubernetes provides abstractions for the Kubernetes platform.
|
Package kubernetes provides abstractions for the Kubernetes platform. |
Package registry provides domain abstractions over container registries.
|
Package registry provides domain abstractions over container registries. |
Click to show internal directories.
Click to hide internal directories.