providers

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListResult

type ListResult struct {
	gophercloud.Result
}

func List

func List(client *gophercloud.ServiceClient) (r ListResult)

List returns information about backup providers

func (ListResult) Extract

func (r ListResult) Extract() ([]*Provider, error)

type OptsBuilder

type OptsBuilder interface {
	Map() (map[string]interface{}, error)
}

type Provider

type Provider struct {
	ID   string `json:"id" required:"true"`
	Name string `json:"name" required:"true"`
}

type ProviderResp

type ProviderResp struct {
	Provider Provider `json:"provider"`
}

type ProvidersResp

type ProvidersResp struct {
	Providers []*Provider `json:"providers"`
}

Jump to

Keyboard shortcuts

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