admin

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package admin provides as implementation for Lever OS's admin service. It is used to manage the Lever OS system.

Index

Constants

View Source
const PackageName = "admin"

PackageName is the name of this package.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

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

Admin represents a Lever service that manages Lever environments and Lever services in a Lever deployment.

func NewAdmin

func NewAdmin(as *aerospike.Client) (*Admin, error)

NewAdmin returns a new instance of Admin.

func (*Admin) DeployServiceChan

func (admin *Admin) DeployServiceChan(
	stream leverapi.Stream, envName string) error

DeployServiceChan deploys the service with provided name onto Lever. If the service already exists, it is replaced. The method expects a code package in the form of chunks over stream messages to be sent over.

Jump to

Keyboard shortcuts

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