Help us shape the future of Go! Take the 2026 Go Developer Survey

rorclientconfig

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

RorConfig represents a ror configuration and clients for ror and Kubernetes.

Index

Constants

View Source
const ERR_SECRET_NOT_FOUND = "___secret_not_found___"

Variables

Functions

func InitRorClientConfig

func InitRorClientConfig(conf ClientConfig)

func MustInitializeKubernetesClient

func MustInitializeKubernetesClient()

Types

type ClientConfig

type ClientConfig struct {
	Role                     string
	Namespace                string
	ApiEndpoint              string
	ApiKey                   string
	ApiKeySecret             string
	RorVersion               rorversion.RorVersion
	MustInitializeKubernetes bool
}

type RorClientConfig

type RorClientConfig struct {
	// contains filtered or unexported fields
}
var RorConfig *RorClientConfig

func NewRorConfig

func NewRorConfig(conf ClientConfig) *RorClientConfig

func (*RorClientConfig) CreateOwnerref

func (*RorClientConfig) GetApiKey

func (a *RorClientConfig) GetApiKey() string

func (*RorClientConfig) GetClusterId

func (a *RorClientConfig) GetClusterId() string

func (*RorClientConfig) GetKubernetesClientSet

func (a *RorClientConfig) GetKubernetesClientSet() *kubernetesclient.K8sClientsets

func (*RorClientConfig) GetRole

func (a *RorClientConfig) GetRole() string

func (*RorClientConfig) GetRorClient

func (a *RorClientConfig) GetRorClient() *rorclient.RorClient

func (*RorClientConfig) InitRorClient

func (a *RorClientConfig) InitRorClient() error

func (*RorClientConfig) SetApiKey

func (a *RorClientConfig) SetApiKey(apiKey string)

func (*RorClientConfig) SetClusterId

func (a *RorClientConfig) SetClusterId(clusterId string)

func (*RorClientConfig) SetRole

func (a *RorClientConfig) SetRole(role string)

Jump to

Keyboard shortcuts

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