service

package
v0.0.0-...-6f770b8 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	ServiceName    string
	Config         map[interface{}]interface{}
	ProjectName    string
	ContainerCount int
	RancherClient  *client.RancherClient
}

func New

func New(projectName string, serviceName string, containerConfig map[interface{}]interface{}, rClient *client.RancherClient) *Service

func (*Service) Create

func (s *Service) Create() error

func (*Service) Delete

func (s *Service) Delete() error

func (*Service) GetLinkDefs

func (s *Service) GetLinkDefs() map[string]string

Jump to

Keyboard shortcuts

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