config

package
v0.9.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ProxyAddr             string
	TeleportVersion       string
	ManagementClusterName string
	AppName               string
	AppVersion            string
	AppCatalog            string
}

func GetConfigFromConfigMap

func GetConfigFromConfigMap(ctx context.Context, ctrlClient client.Client, namespace string) (*Config, error)

type IdentityConfig

type IdentityConfig struct {
	IdentityFile string
	LastRead     time.Time
}

func GetIdentityConfigFromSecret

func GetIdentityConfigFromSecret(ctx context.Context, ctrlClient client.Client, namespace string) (*IdentityConfig, error)

func (*IdentityConfig) Age

func (c *IdentityConfig) Age() time.Duration

func (*IdentityConfig) Hash

func (c *IdentityConfig) Hash() string

Jump to

Keyboard shortcuts

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