Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct {
Name string `json:",omitempty"`
Current image.Info `json:",omitempty"`
LatestFiltered image.Info `json:",omitempty"`
// All available images (ignoring tag filters)
Available update.SortedImageInfos `json:",omitempty"`
AvailableError string `json:",omitempty"`
AvailableImagesCount int `json:",omitempty"`
NewAvailableImagesCount int `json:",omitempty"`
// Filtered available images (matching tag filters)
FilteredImagesCount int `json:",omitempty"`
NewFilteredImagesCount int `json:",omitempty"`
}
Container describes an individual container including current image info and available images.
type ControllerStatus ¶
type Deprecated ¶
type GitConfig ¶
type GitConfig struct {
Remote GitRemoteConfig `json:"remote"`
PublicSSHKey ssh.PublicKey `json:"publicSSHKey"`
Status git.GitRepoStatus `json:"status"`
Error string `json:"errors"`
}
type GitRemoteConfig ¶
type ImageStatus ¶
type NotDeprecated ¶
type NotDeprecated interface {
// from v5
Export(context.Context) ([]byte, error)
// v6
ListServices(ctx context.Context, namespace string) ([]ControllerStatus, error)
ListImages(ctx context.Context, spec update.ResourceSpec) ([]ImageStatus, error)
UpdateManifests(context.Context, update.Spec) (job.ID, error)
SyncStatus(ctx context.Context, ref string) ([]string, error)
JobStatus(context.Context, job.ID) (job.Status, error)
GitRepoConfig(ctx context.Context, regenerate bool) (GitConfig, error)
}
type ReadOnlyReason ¶
type ReadOnlyReason string
ReadOnlyReason enumerates the reasons that a controller is considered read-only. The zero value is considered "OK", since the zero value is what prior versions of the daemon will effectively send.
const ( ReadOnlyOK ReadOnlyReason = "" ReadOnlyMissing ReadOnlyReason = "NotInRepo" ReadOnlySystem ReadOnlyReason = "System" ReadOnlyNoRepo ReadOnlyReason = "NoRepo" ReadOnlyNotReady ReadOnlyReason = "NotReady" ReadOnlyROMode ReadOnlyReason = "ReadOnlyMode" )
type Server ¶
type Server interface {
Deprecated
NotDeprecated
}
Click to show internal directories.
Click to hide internal directories.