cluster

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 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
}

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) SetNodes added in v0.0.15

func (f *FullCluster) SetNodes(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