cluster

package
v0.1.30 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: Apache-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 FullCluster

type FullCluster struct {
	Cluster ybmclient.ClusterData
	//VPC details "vpcid" => details
	Vpc map[string]ybmclient.SingleTenantVpcDataResponse
	//AllowList Attach to the cluster
	AllowList []ybmclient.NetworkAllowListData
	//Nodes of the cluster
	Nodes []ybmclient.NodeData
	//CMK of the cluster
	CMK []ybmclient.CMKData
	//Helpful to filter by provider
	Providers []string
}

This struct is an attempt to consilidate Cluster information VPC, NetworkAllowList etc..

func NewFullCluster

func NewFullCluster(authApi ybmAuthClient.AuthApiClient, clusterData ybmclient.ClusterData) *FullCluster

func (*FullCluster) SetAllowLists

func (f *FullCluster) SetAllowLists(authApi ybmAuthClient.AuthApiClient)

func (*FullCluster) SetCMK added in v0.1.5

func (f *FullCluster) SetCMK(authApi ybmAuthClient.AuthApiClient)

func (*FullCluster) SetNodes added in v0.0.15

func (f *FullCluster) SetNodes(authApi ybmAuthClient.AuthApiClient)

func (*FullCluster) SetProviders added in v0.1.12

func (f *FullCluster) SetProviders(authApi ybmAuthClient.AuthApiClient)

func (*FullCluster) SetVPCs

func (f *FullCluster) SetVPCs(authApi ybmAuthClient.AuthApiClient)

Jump to

Keyboard shortcuts

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