spaces

package
v0.0.0-...-8ff1004 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2019 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	CreateSpaces(params.CreateSpacesParams) (params.ErrorResults, error)
	ListSpaces() (params.ListSpacesResults, error)
	ReloadSpaces() error
}

API defines the methods the Spaces API facade implements.

func NewAPI

func NewAPI(st *state.State, res facade.Resources, auth facade.Authorizer) (API, error)

NewAPI creates a new Space API server-side facade with a state.State backing.

type APIV2

type APIV2 interface {
	CreateSpaces(params.CreateSpacesParams) (params.ErrorResults, error)
	ListSpaces() (params.ListSpacesResults, error)
}

APIV2 is missing ReloadSpaces method

func NewAPIV2

func NewAPIV2(st *state.State, res facade.Resources, auth facade.Authorizer) (APIV2, error)

NewAPIV2 is a wrapper that creates a V2 spaces API.

Jump to

Keyboard shortcuts

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