config

package
v0.0.0-...-52cd4e6 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 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 CompletedConfig

type CompletedConfig struct {
	*Config
	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

type Config

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

Config contains the configurations from env

func (*Config) Complete

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

Complete the Config and return the CompletedConfig

Jump to

Keyboard shortcuts

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