clustermgmt

package
v0.54.0-alpha4 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAddonWithParams

func CreateAddonWithParams(f *factory.Factory, clustermgmturl string, accessToken string, addonId string, params *[]kafkamgmtclient.FleetshardParameter, clusterId string) error

func CreateMachinePool

func CreateMachinePool(f *factory.Factory, clustermgmturl string, accessToken string, mprequest *v1.MachinePool, clusterId string) (*v1.MachinePool, error)

func DeleteMachinePool

func DeleteMachinePool(f *factory.Factory, clustermgmturl string, accessToken string, clusterId string, machinePoolId string) error

func GetClusterById

func GetClusterById(f *factory.Factory, accessToken string, clustermgmturl string, clusterId string) (*v1.Cluster, error)

func GetClusterList

func GetClusterList(f *factory.Factory, accessToken string, clustermgmturl string, pageNumber int, pageLimit int) (*v1.ClusterList, error)

func GetClusterListWithSearchParams

func GetClusterListWithSearchParams(f *factory.Factory, clustermgmturl string, accessToken string, params string, page int, size int) (*v1.ClusterList, error)

func GetMachinePoolIdByTaintKey

func GetMachinePoolIdByTaintKey(f *factory.Factory, clustermgmturl string, accessToken string, clusterId string, machinePoolTaintKey string) (string, error)

func GetMachinePoolList

func GetMachinePoolList(f *factory.Factory, clustermgmturl string, accessToken string, clusterId string) (*v1.MachinePoolsListResponse, error)

func GetMachinePoolNodeCount

func GetMachinePoolNodeCount(machinePool *v1.MachinePool) int

func RemoveAddonsFromCluster

func RemoveAddonsFromCluster(f *factory.Factory, clusterManagementApiUrl string, accessToken string, cluster *clustersmgmtv1.Cluster, addonList []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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