Documentation ¶
Overview ¶
Package clientcreator defines functions to create clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clients ¶
type Clients struct { ClusterCtlClient clusterctl.Client ConfigClient tkgconfigreaderwriter.Client RegionManager region.Manager FeaturesClient features.Client TKGConfigProvidersClient tkgconfigproviders.Client TKGBomClient tkgconfigbom.Client TKGConfigUpdaterClient tkgconfigupdater.Client TKGConfigPathsClient tkgconfigpaths.Client FeatureFlagClient *configapi.ClientConfig }
Clients is a combination structure of clients
func CreateAllClients ¶
func CreateAllClients(appConfig types.AppConfig, tkgConfigReaderWriter tkgconfigreaderwriter.TKGConfigReaderWriter) (Clients, error)
CreateAllClients creates all clients and returns Clients struct
Click to show internal directories.
Click to hide internal directories.