config

package
v4.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package config includes the configurations from env

Package config includes the configurations from env

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

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

AppConfig contains the configurations from env

func (*AppConfig) Complete

func (cfg *AppConfig) Complete() (*CompletedConfig, error)

Complete the AppConfig and return the CompletedConfig

type CompletedConfig

type CompletedConfig struct {
	*AppConfig
	K8sUtils     k8sutils.Interface
	BackendUtils clientSet.Interface
}

CompletedConfig contains the env and config

func MockCompletedConfig

func MockCompletedConfig() *CompletedConfig

MockCompletedConfig for unit test

func (*CompletedConfig) Print

func (cfg *CompletedConfig) Print()

Print the configuration when before the service

Jump to

Keyboard shortcuts

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