config

package
v0.0.0-...-239afe9 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionConfig

type ConnectionConfig struct {
	Token        string `json:"token"`
	ConnectorURL string `json:"connectorUrl"`
}

type Provider

type Provider interface {
	GetConnectionConfig() (ConnectionConfig, error)
	GetRuntimeConfig() (RuntimeConfig, error)
}

func NewConfigProvider

func NewConfigProvider(secretName types.NamespacedName, secretsRepo secrets.Repository) Provider

type RuntimeConfig

type RuntimeConfig struct {
	RuntimeId string `json:"runtimeId"`
	Tenant    string `json:"tenant"` // TODO: after full implementation of certs in Director it will no longer be needed
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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