configurations

package
v0.0.0-...-d823fe1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyBuilder

type ApplyBuilder interface {
	ToConfigApplyMap() (map[string]interface{}, error)
}

type ApplyOpts

type ApplyOpts struct {
	InstanceIds []string `json:"instance_ids" required:"true"`
}

func (ApplyOpts) ToConfigApplyMap

func (opts ApplyOpts) ToConfigApplyMap() (map[string]interface{}, error)

type ApplyResponse

type ApplyResponse struct {
	JobId   string `json:"job_id"`
	Success bool   `json:"success"`
}

type ApplyResult

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

func Apply

func Apply(client *golangsdk.ServiceClient, id string, opts ApplyBuilder) (r ApplyResult)

func (ApplyResult) Extract

func (r ApplyResult) Extract() (*ApplyResponse, error)

type GetResponse

type GetResponse struct {
	Parameters []Parameter `json:"configuration_parameters"`
}

type GetResult

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

func Get

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

func GetInstanceConfig

func GetInstanceConfig(client *golangsdk.ServiceClient, id string) (r GetResult)

func (GetResult) Extract

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

type Parameter

type Parameter struct {
	Name     string `json:"name"`
	Value    string `json:"value"`
	ReadOnly bool   `json:"readonly"`
}

Jump to

Keyboard shortcuts

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