addons

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractAddons

func ExtractAddons(r pagination.Page) ([]v1.Addon, error)

func ExtractClusterAddons

func ExtractClusterAddons(r pagination.Page) ([]clusteraddons.ClusterAddon, error)

func ListClusterAddons

func ListClusterAddons(client *gophercloud.ServiceClient, clusterID string) pagination.Pager

func ListClusterAvailableAddons

func ListClusterAvailableAddons(client *gophercloud.ServiceClient, clusterID string) pagination.Pager

Types

type AddonPage

type AddonPage struct {
	pagination.LinkedPageBase
}

func (AddonPage) IsEmpty

func (r AddonPage) IsEmpty() (bool, error)

type ClusterAddonPage

type ClusterAddonPage struct {
	pagination.LinkedPageBase
}

func (ClusterAddonPage) IsEmpty

func (r ClusterAddonPage) IsEmpty() (bool, error)

type GetAvailableAddonResult

type GetAvailableAddonResult struct {
	gophercloud.Result
}

func GetAvailableAddon

func GetAvailableAddon(client *gophercloud.ServiceClient, clusterID, addonID string) (r GetAvailableAddonResult)

func (GetAvailableAddonResult) Extract

func (r GetAvailableAddonResult) Extract() (*v1.Addon, error)

type InstallAddonToClusterOpts

type InstallAddonToClusterOpts struct {
	Values   string     `json:"values"`
	Payload  v1.Payload `json:"payload"`
	Migrated bool       `json:"migrated"`
}

func (InstallAddonToClusterOpts) Map

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

type InstallAddonToClusterResult

type InstallAddonToClusterResult struct {
	gophercloud.Result
}

func InstallAddonToCluster

func InstallAddonToCluster(client *gophercloud.ServiceClient, addonID, clusterID string, opts OptsBuilder) (r InstallAddonToClusterResult)

func (InstallAddonToClusterResult) Extract

type OptsBuilder

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

Jump to

Keyboard shortcuts

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