Documentation ¶
Index ¶
- Variables
- type CheckList
- type Checkable
- type CommandCheck
- type DockerCheck
- type FreshnessCheck
- type GCloudCheck
- type Logger
- func (l *Logger) Bullet(format string, a ...interface{})
- func (l *Logger) Failure(format string, a ...interface{})
- func (l *Logger) Indented() *Logger
- func (l *Logger) Info(format string, a ...interface{})
- func (l *Logger) Success(format string, a ...interface{})
- func (l *Logger) Warning(format string, a ...interface{})
- type NilCheck
- type PlatformCheck
- type SSHCheck
- type SSHConnection
- type SectionCheck
- type VersionCheck
Constants ¶
This section is empty.
Variables ¶
View Source
var MinDockerComposeVersion = semver.MustParse("2.13.0")
View Source
var MinDockerVersion = semver.MustParse("23.0.0")
Functions ¶
This section is empty.
Types ¶
type CommandCheck ¶
func NewCommandCheck ¶
func NewCommandCheck(command string) *CommandCheck
func (*CommandCheck) Check ¶
func (c *CommandCheck) Check(l *Logger) error
func (*CommandCheck) WithInstallUrl ¶
func (c *CommandCheck) WithInstallUrl(url string) *CommandCheck
type DockerCheck ¶
type DockerCheck struct {
CommandCheck *CommandCheck
}
func NewDockerCheck ¶
func NewDockerCheck(dockerCommand *CommandCheck) *DockerCheck
func (*DockerCheck) Check ¶
func (c *DockerCheck) Check(l *Logger) error
type FreshnessCheck ¶
type FreshnessCheck struct {
VersionCheck *VersionCheck
}
func NewFreshnessCheck ¶
func NewFreshnessCheck(c *VersionCheck) *FreshnessCheck
func (*FreshnessCheck) Check ¶
func (c *FreshnessCheck) Check(l *Logger) error
type GCloudCheck ¶
type GCloudCheck struct { CommandCheck *CommandCheck RequiredIdentitySuffix string }
func NewGCloudCheck ¶
func NewGCloudCheck(gcloudCommand *CommandCheck) *GCloudCheck
func (*GCloudCheck) Check ¶
func (c *GCloudCheck) Check(l *Logger) error
func (*GCloudCheck) WithRequiredIdentitySuffix ¶
func (c *GCloudCheck) WithRequiredIdentitySuffix(suffix string) *GCloudCheck
type PlatformCheck ¶
type PlatformCheck struct {
Supported []string
}
func NewPlatformCheck ¶
func NewPlatformCheck(supported []string) *PlatformCheck
func (*PlatformCheck) Check ¶
func (c *PlatformCheck) Check(l *Logger) error
type SSHConnection ¶
type SectionCheck ¶
func NewSectionCheck ¶
func NewSectionCheck(title string, contents Checkable) *SectionCheck
func (*SectionCheck) Check ¶
func (s *SectionCheck) Check(l *Logger) error
type VersionCheck ¶
func NewVersionCheck ¶
func NewVersionCheck() *VersionCheck
func (*VersionCheck) Check ¶
func (c *VersionCheck) Check(l *Logger) error
Click to show internal directories.
Click to hide internal directories.