pkg

package
v0.0.0-...-5238b66 Latest Latest
Warning

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

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

Documentation

Overview

THIS IS A GENERATED FILE, any changes will be overridden

Index

Constants

View Source
const (
	CLOUD_ID               = "cloud-master"
	StatusCertificateError = 495
)

Variables

View Source
var VERSION = "dev"

Functions

func GetBuildDate

func GetBuildDate() string

func GetEnvWithDefaults

func GetEnvWithDefaults(envKey string, defaultVal string) string

func GetEnvWithDefaultsBool

func GetEnvWithDefaultsBool(envKey string, defaultVal bool) bool

func PodNamespace

func PodNamespace() string

Types

type Configuration

type Configuration struct {
	NatsServerUrl     string
	CloudBridgeUrl    string
	LogLevel          string
	KeystoreUrl       string
	MongodbServer     string
	MongodbPort       string
	MongodbUsername   string
	MongodbPassword   string
	ListenString      string
	ConfigmapName     string
	PodNamespace      string
	CloudEvents       bool
	SkipTlsValidation bool
}
var Config Configuration

func NewConfiguration

func NewConfiguration() Configuration

func (*Configuration) LoadValues

func (c *Configuration) LoadValues()

Directories

Path Synopsis
net
proxylet
* Copyright (c) The One True Way 2020.
* Copyright (c) The One True Way 2020.
k8srelay
* Copyright (c) The One True Way 2021.
* Copyright (c) The One True Way 2021.

Jump to

Keyboard shortcuts

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