Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitViperConfig ¶
InitViperConfig used in tests so don't use this as a source of truth
Types ¶
type IVampClientProvider ¶ added in v0.0.3
type IVampClientProvider interface { GetVirtualCluster() string SetVirtualCluster(virtualcluster string) GetConfigValues() map[string]string GetRestClient() (client.IRestClient, error) }
func New ¶ added in v0.0.3
func New() IVampClientProvider
type VampClientProvider ¶ added in v0.0.3
type VampClientProvider struct { URL string Token string APIVersion string Cert string TokenStore client.TokenStore Project string Cluster string VirtualCluster string }
func (*VampClientProvider) GetConfigValues ¶ added in v0.0.3
func (vpc *VampClientProvider) GetConfigValues() map[string]string
GetConfigValues return configuration values for rest client
func (*VampClientProvider) GetRestClient ¶ added in v0.0.3
func (vpc *VampClientProvider) GetRestClient() (client.IRestClient, error)
GetRestClient return current configured client
func (*VampClientProvider) GetVirtualCluster ¶ added in v0.0.3
func (vpc *VampClientProvider) GetVirtualCluster() string
func (*VampClientProvider) SetVirtualCluster ¶ added in v0.0.3
func (vpc *VampClientProvider) SetVirtualCluster(virtualcluster string)
Click to show internal directories.
Click to hide internal directories.