clientcreator

package
v0.0.0-...-b25b198 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

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

Jump to

Keyboard shortcuts

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