config

package
v0.1.26 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IConfig

type IConfig interface {
	ClusterName() string
	AccountID() string
	AccessKey() string
	GatewayRestURL() string
	EventReceiverWebsocketURL() string
	ClusterConfig() *armometadata.ClusterConfig
}

IConfig is an interface for all config types used in the operator

type KollectorConfig

type KollectorConfig struct {
	// contains filtered or unexported fields
}

KollectorConfig implements IConfig

func NewKollectorConfig

func NewKollectorConfig(clusterConfig *armometadata.ClusterConfig, credentials utils.Credentials, eventReceiverWebsocketURL string) *KollectorConfig

func (*KollectorConfig) AccessKey

func (k *KollectorConfig) AccessKey() string

func (*KollectorConfig) AccountID

func (k *KollectorConfig) AccountID() string

func (*KollectorConfig) ClusterConfig

func (k *KollectorConfig) ClusterConfig() *armometadata.ClusterConfig

func (*KollectorConfig) ClusterName

func (k *KollectorConfig) ClusterName() string

func (*KollectorConfig) EventReceiverWebsocketURL

func (k *KollectorConfig) EventReceiverWebsocketURL() string

func (*KollectorConfig) GatewayRestURL

func (k *KollectorConfig) GatewayRestURL() string

Jump to

Keyboard shortcuts

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