mesos

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2015 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MasterURI

func MasterURI() string

Types

type MesosCloud

type MesosCloud struct {
	// contains filtered or unexported fields
}

func (*MesosCloud) Clusters

func (c *MesosCloud) Clusters() (cloudprovider.Clusters, bool)

Mesos does not provide support for multiple clusters

func (*MesosCloud) GetNodeResources

func (c *MesosCloud) GetNodeResources(name string) (*api.NodeResources, error)

GetNodeResources gets the resources for a particular node

func (*MesosCloud) IPAddress

func (c *MesosCloud) IPAddress(name string) (net.IP, error)

IPAddress returns an IP address of the specified instance.

func (*MesosCloud) Instances

func (c *MesosCloud) Instances() (cloudprovider.Instances, bool)

Mesos natively provides minimal cloud-type resources. More robust cloud support requires a combination of Mesos and cloud-specific knowledge, which will likely never be present in this vanilla implementation.

func (*MesosCloud) List

func (c *MesosCloud) List(filter string) ([]string, error)

List lists instances that match 'filter' which is a regular expression which must match the entire instance name (fqdn).

func (*MesosCloud) TCPLoadBalancer

func (c *MesosCloud) TCPLoadBalancer() (cloudprovider.TCPLoadBalancer, bool)

Mesos does not provide any type of native load balancing by default, so this implementation always returns (nil,false).

func (*MesosCloud) Zones

func (c *MesosCloud) Zones() (cloudprovider.Zones, bool)

Mesos does not provide any type of native region or zone awareness, so this implementation always returns (nil,false).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL