services

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

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

Go to latest
Published: Aug 26, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListServiceRequest

type ListServiceRequest struct {
}

type ListServiceResponse

type ListServiceResponse struct {
	Services []Service `json:"services"`
}

type Service

type Service struct {
	ID             int    `json:"id"`
	Binary         string `json:"binary"`
	DisabledReason string `json:"disabled_reason"`
	Host           string `json:"host"`
	State          string `json:"state"`
	Status         string `json:"status"`
	UpdatedAt      string `json:"updated_at"`
	ForcedDown     bool   `json:"forced_down"`
	Zone           string `json:"zone"`
}

func List

func List(client *v2.ComputeClient) ([]Service, error)

Jump to

Keyboard shortcuts

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