configgroups

package
v0.8.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigGroup

type ConfigGroup struct {
	Configuration *CreateOpts `json:"configuration"`
}

func (*ConfigGroup) Map

func (opts *ConfigGroup) Map() (map[string]interface{}, error)

type ConfigGroupResp

type ConfigGroupResp struct {
	ID                   string                 `json:"id"`
	DatastoreName        string                 `json:"datastore_name"`
	DatastoreVersionName string                 `json:"datastore_version_name"`
	Name                 string                 `json:"name"`
	Values               map[string]interface{} `json:"values"`
	Updated              string                 `json:"updated"`
	Created              string                 `json:"created"`
	Description          string                 `json:"description"`
}

type ConfigGroupRespOpts

type ConfigGroupRespOpts struct {
	Configuration *ConfigGroupResp `json:"configuration"`
}

type CreateOpts

type CreateOpts struct {
	Datastore   *datastores.DatastoreShort `json:"datastore"`
	Name        string                     `json:"name"`
	Values      map[string]interface{}     `json:"values"`
	Description string                     `json:"description,omitempty"`
}

type CreateResult

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

func Create

func Create(client *gophercloud.ServiceClient, opts OptsBuilder) (r CreateResult)

func (CreateResult) Extract

func (r CreateResult) Extract() (*ConfigGroupResp, error)

type DeleteResult

type DeleteResult struct {
	gophercloud.ErrResult
}

func Delete

func Delete(client *gophercloud.ServiceClient, id string) (r DeleteResult)

type GetResult

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

func Get

func Get(client *gophercloud.ServiceClient, id string) (r GetResult)

func (GetResult) Extract

func (r GetResult) Extract() (*ConfigGroupResp, error)

type OptsBuilder

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

type UpdateOpt

type UpdateOpt struct {
	Configuration *UpdateOpts `json:"configuration"`
}

func (*UpdateOpt) Map

func (opts *UpdateOpt) Map() (map[string]interface{}, error)

type UpdateOpts

type UpdateOpts struct {
	Name        string                 `json:"name,omitempty"`
	Description string                 `json:"description,omitempty"`
	Values      map[string]interface{} `json:"values,omitempty"`
}

type UpdateResult

type UpdateResult struct {
	gophercloud.ErrResult
}

func Update

func Update(client *gophercloud.ServiceClient, id string, opts OptsBuilder) (r UpdateResult)

Jump to

Keyboard shortcuts

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