config

package
v0.0.1-dev-fe9d83c Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadAndOverrideOpts

func ReadAndOverrideOpts() error

Types

type Address

type Address struct {
	Local     string `json:"local" yaml:"local"`
	Advertise string `json:"advertise" yaml:"advertise"`
}

type Identity

type Identity struct {
	Os             `json:"os" yaml:"os"`
	LogoutRedirect string           `json:"logoutRedirect" yaml:"logoutRedirect"`
	Keycloak       keycloak.Options `json:"keycloak" yaml:"keycloak"`
	Saml           saml.Options     `json:"saml" yaml:"saml"`
}

type K3s

type K3s struct {
	Auth string `json:"auth" yaml:"auth"`
}

type Listen

type Listen struct {
	Port    int `json:"port" yaml:"port"`
	Address `json:"Address" yaml:"address"`
}

type Metadata

type Metadata struct {
	Name    string            `json:"name" yaml:"name"`
	Version string            `json:"version" yaml:"version"`
	Labels  map[string]string `json:"labels" yaml:"labels"`
}

type Observability

type Observability struct {
	Log log.Options `json:"log" yaml:"log"`
}

type Options

type Options struct {
	Kind     string `json:"kind" yaml:"kind"`
	Metadata `json:"metadata" yaml:"metadata"`
	Spec     `json:"spec" yaml:"spec"`
}
var (
	Opts Options
)

func (*Options) String

func (o *Options) String() (string, error)

type Os

type Os struct {
	Policy   string `json:"policy" yaml:"policy"`
	System   string `json:"system" yaml:"system"`
	Hostname string `json:"hostname" yaml:"hostname"`
}

type ResourceControl

type ResourceControl struct {
	Openstack openstack.Options `json:"openstack" yaml:"openstack"`
	K3s       `json:"k3s" yaml:"k3s"`
	Aws       aws.Options `json:"aws" yaml:"aws"`
}

type Spec

type Spec struct {
	Listen          `json:"listen" yaml:"listen"`
	Store           `json:"store" yaml:"store"`
	Identity        `json:"identity" yaml:"identity"`
	ResourceControl `json:"resourceControl" yaml:"resourceControl"`
	Observability   `json:"observability" yaml:"observability"`
}

type Store

type Store struct {
	MongoDB  mongo.Options  `json:"mongodb" yaml:"mongodb"`
	InfluxDB influx.Options `json:"influxdb" yaml:"influxdb"`
}

Jump to

Keyboard shortcuts

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