client

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Log *logger

Functions

This section is empty.

Types

type Apps

type Apps struct {
	Collection
}

type Client

type Client struct {
	BaseURL  string
	Username string
	Password string

	CloudAccounts    *CloudAccounts
	Kubes            *Kubes
	Apps             *Apps
	Components       *Components
	Releases         *Releases
	Instances        *Instances
	Volumes          *Volumes
	PrivateImageKeys *PrivateImageKeys
	Entrypoints      *Entrypoints
	Nodes            *Nodes
}

func New

func New(url string, user string, pass string) *Client

type CloudAccounts

type CloudAccounts struct {
	Collection
}

type Collection

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

func (*Collection) Create

func (c *Collection) Create(item models.Model) error

func (*Collection) Delete

func (c *Collection) Delete(item models.Model) error

func (*Collection) Get

func (c *Collection) Get(id *int64, item models.Model) error

func (*Collection) GetWithIncludes

func (c *Collection) GetWithIncludes(id *int64, item models.Model, includes []string) error

func (*Collection) List

func (c *Collection) List(items interface{}) error

func (*Collection) Update

func (c *Collection) Update(item models.Model) error

type Components

type Components struct {
	Collection
}

func (*Components) Deploy

func (c *Components) Deploy(m *models.Component) error

type Entrypoints

type Entrypoints struct {
	Collection
}

type Instances

type Instances struct {
	Collection
}

func (*Instances) Start

func (c *Instances) Start(m *models.Instance) error

func (*Instances) Stop

func (c *Instances) Stop(m *models.Instance) error

func (*Instances) WaitForDeleted

func (c *Instances) WaitForDeleted(m *models.Instance) error

func (*Instances) WaitForStarted

func (c *Instances) WaitForStarted(m *models.Instance) error

func (*Instances) WaitForStopped

func (c *Instances) WaitForStopped(m *models.Instance) error

type Kubes

type Kubes struct {
	Collection
}

type Nodes

type Nodes struct {
	Collection
}

type PrivateImageKeys

type PrivateImageKeys struct {
	Collection
}

type Releases

type Releases struct {
	Collection
}

type Volumes

type Volumes struct {
	Collection
}

Jump to

Keyboard shortcuts

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