resource

package
v0.0.0-...-0fbe54b Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2014 License: BSD-3-Clause Imports: 8 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscoverdClient

type DiscoverdClient interface {
	NewServiceSet(name string) (discoverd.ServiceSet, error)
}

type Resource

type Resource struct {
	ID  string            `json:"id"`
	Env map[string]string `json:"env"`
}

type Server

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

func NewServer

func NewServer(uri string) (*Server, error)

func NewServerWithDiscoverd

func NewServerWithDiscoverd(uri string, d DiscoverdClient) (*Server, error)

func (*Server) Close

func (s *Server) Close() error

func (*Server) Provision

func (s *Server) Provision(config []byte) (*Resource, error)

Jump to

Keyboard shortcuts

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