Versions in this module Expand all Collapse all v0 v0.13.1 Mar 1, 2018 v0.13.0 Feb 13, 2018 v0.12.5 Feb 1, 2018 v0.12.4 Jan 22, 2018 v0.12.3 Jan 22, 2018 v0.12.2 Jan 19, 2018 v0.12.1 Jan 18, 2018 v0.12.0 Jan 16, 2018 v0.11.1 Jan 30, 2018 v0.11.0 Dec 15, 2017 v0.10.0 Dec 5, 2017 v0.9.4 Nov 17, 2017 v0.9.3 Nov 12, 2017 v0.9.2 Nov 11, 2017 v0.9.1 Nov 5, 2017 v0.9.0 Nov 4, 2017 Changes in this version + type Cluster struct + AdminUsername string + AgentFQDN string + Connection *remote.Connection + func NewCluster(cfg *config.Config, eng *engine.Engine) (*Cluster, error) + func (c *Cluster) AppCount() (int, error) + func (c *Cluster) AppExists(path string) bool + func (c *Cluster) AppHealthy(path string) bool + func (c *Cluster) GetNodes() ([]Node, error) + func (c *Cluster) InstallDCOSClient() error + func (c *Cluster) InstallMarathonApp(filepath string, sleep, duration time.Duration) (int, error) + func (c *Cluster) InstallMarathonLB() error + func (c *Cluster) NodeCount() (int, error) + func (c *Cluster) PackageExists(name string) bool + func (c *Cluster) Version() (string, error) + func (c *Cluster) WaitForNodes(nodeCount int, sleep, duration time.Duration) bool + func (c *Cluster) WaitOnReady(path string, sleep, duration time.Duration) bool + type Container struct + Docker Docker + Type string + type Docker struct + ForcePullImage bool + Image string + Network string + PortMappings []PortMap + Priviledged bool + type HealthCheck struct + GracePeriodSeconds int + IgnoreHTTP1xx bool + IntervalSeconds int + MaxConsecutiveFailures int + Path string + PortIndex int + Protocol string + TimeoutSeconds int + type List struct + Nodes []Node + type MarathonApp struct + AcceptedResourceRoles []string + BackoffFactor float64 + BackoffSeconds int + CPUS float64 + Container Container + Disk int + GPUS int + HealthChecks []HealthCheck + ID string + Instances int + KillSelection string + Labels map[string]string + MaxLaunchDelaySeconds int + Memory int + RequirePorts bool + TaskHealthy int + TaskRunning int + TaskStaged int + TaskUnhealthy int + UnreachableStrategy UnreachableStrategy + UpgradeStrategy UpgradeStrategy + type Node struct + Health int + Host string + Role string + type PortMap struct + ContainerPort int + HostPort int + Name string + Protocol string + ServicePort int + type UnreachableStrategy struct + ExpungeAfterSeconds int + InactiveAfterSeconds int + type UpgradeStrategy struct + MaximumOverCapacity int + MinimumHealthCapacity int + type Version struct + Version string