Documentation
¶
Index ¶
- type IConfig
- type KollectorConfig
- func (k *KollectorConfig) AccessKey() string
- func (k *KollectorConfig) AccountID() string
- func (k *KollectorConfig) ClusterConfig() *armometadata.ClusterConfig
- func (k *KollectorConfig) ClusterName() string
- func (k *KollectorConfig) EventReceiverWebsocketURL() string
- func (k *KollectorConfig) GatewayRestURL() string
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
Click to show internal directories.
Click to hide internal directories.