manager

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.1.8

type Client interface {
	GetOpts() client.ClientOpts
	Publish(*client.Publish) error
	GetCluster(string) (*client.Cluster, error)
}

type Manager

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

func New

func New(rancherClient *client.RancherClient) *Manager

func (*Manager) HandleComputeSync added in v0.1.8

func (m *Manager) HandleComputeSync(event *events.Event, rancherClient Client) (*client.Publish, error)

func (*Manager) Listen

func (m *Manager) Listen() error

type RancherClient added in v0.1.8

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

func NewRancherClient added in v0.1.8

func NewRancherClient(client *client.RancherClient) *RancherClient

func (*RancherClient) GetCluster added in v0.1.8

func (c *RancherClient) GetCluster(id string) (*client.Cluster, error)

func (*RancherClient) GetOpts added in v0.1.8

func (c *RancherClient) GetOpts() client.ClientOpts

func (*RancherClient) Publish added in v0.1.8

func (c *RancherClient) Publish(pubish *client.Publish) error

Jump to

Keyboard shortcuts

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