config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2024 License: Apache-2.0 Imports: 0 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 {
	Log        Log        `yaml:"log"`
	Harbor     Harbor     `yaml:"harbor"`
	Docker     Docker     `yaml:"docker"`
	Kubernetes Kubernetes `yaml:"kubernetes"`
	Minio      Minio      `yaml:"minio"`
}

type Docker

type Docker struct {
	Host    string
	Version string
}

type Harbor

type Harbor struct {
	Registry string
	Username string
	Password string
	Public   string
}

type Kubernetes

type Kubernetes struct {
	KubeConfigPath string
}

type Log

type Log struct {
	Engine string `yaml:"engine"`
	Zap    struct {
		Level        string   `yaml:"level"`
		Caller       bool     `yaml:"caller"`
		Stacktrace   bool     `yaml:"stacktrace"`
		Path         []string `yaml:"path"`
		InternalPath []string `yaml:"internalPath"`
	} `yaml:"zap"`
	Zero struct {
		Level string `yaml:"level"`
		Path  string `yaml:"path"`
	} `yaml:"zero"`
}

type Minio

type Minio struct {
	Endpoint        string
	AccessKeyID     string
	SecretAccessKey string
	SessionToken    string
	Secure          bool
}

Jump to

Keyboard shortcuts

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