config

package
v1.2.38 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 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"`
	Kubernetes Kubernetes `yaml:"kubernetes"`
	Harbor     Harbor     `yaml:"harbor"`
	Docker     Docker     `yaml:"docker"`
	Minio      Minio      `yaml:"minio"`
}

type Docker

type Docker struct {
	Host    string `yaml:"host"`
	Version string `yaml:"version"`
}

type Harbor

type Harbor struct {
	Registry string `yaml:"registry"`
	Username string `yaml:"username"`
	Password string `yaml:"password"`
	Public   string `yaml:"public"`
}

type Kubernetes

type Kubernetes struct {
	KubeConfigPath string `yaml:"kubeConfigPath"`
}

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 `yaml:"endpoint"`
	AccessKeyID     string `yaml:"accessKeyID"`
	SecretAccessKey string `yaml:"secretAccessKey"`
	SessionToken    string `yaml:"sessionToken"`
	Secure          bool   `yaml:"secure"`
}

Jump to

Keyboard shortcuts

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