site

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	ListSite() ([]Site, error)
	GetSite(siteUri string) (*Site, error)
}

func NewManager

func NewManager(client client.FusionComputeClient) Interface

type ListSiteResponse

type ListSiteResponse struct {
	Sites []Site `json:"sites"`
}

type Site

type Site struct {
	Uri         string `json:"uri"`
	Urn         string `json:"urn"`
	Name        string `json:"name"`
	Description string `json:"description"`
}

Jump to

Keyboard shortcuts

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