clusteraddons

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterAddon

type ClusterAddon struct {
	ID               string     `json:"cluster_addon_id"`
	Addon            *v1.Addon  `json:"addon"`
	Status           string     `json:"status"`
	CreatedAt        string     `json:"created_at"`
	UpdatedAt        string     `json:"updated_at"`
	DeletedAt        string     `json:"deleted_at"`
	UserChartValues  string     `json:"user_chart_values"`
	Payload          v1.Payload `json:"payload"`
	UpgradeAvailable bool       `json:"upgrade_available"`
	Migrated         bool       `json:"migrated"`
}

func (*ClusterAddon) UnmarshalJSON

func (a *ClusterAddon) UnmarshalJSON(b []byte) 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() (*ClusterAddon, error)

type OptsBuilder

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

type UpdateClusterAddonOpts

type UpdateClusterAddonOpts struct {
	Values string `json:"values"`
}

func (UpdateClusterAddonOpts) Map

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

type UpdateResult

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

func Update

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

func Upgrade

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

func (UpdateResult) Extract

func (r UpdateResult) Extract() (*ClusterAddon, error)

type UpgradeClusterAddonOpts

type UpgradeClusterAddonOpts struct {
	NewAddonID string `json:"new_addon_id"`
	Values     string `json:"values"`
}

func (UpgradeClusterAddonOpts) Map

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

type UpgradeResult

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

func (UpgradeResult) Extract

func (r UpgradeResult) Extract() (*ClusterAddon, error)

Jump to

Keyboard shortcuts

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