app

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: Apache-2.0 Imports: 6 Imported by: 9

Documentation

Index

Constants

View Source
const (
	DefaultGlobalHooksDir  = "global-hooks"
	DefaultModulesDir      = "modules"
	DefaultTempDir         = "/tmp/addon-operator"
	DefaultDebugUnixSocket = "/var/run/addon-operator/debug.socket"
)

Variables

View Source
var AppDescription = ""
View Source
var AppName = "addon-operator"
View Source
var ConfigMapName = "addon-operator"
View Source
var DefaultListenAddress = "0.0.0.0"
View Source
var DefaultListenPort = "9650"
View Source
var DefaultPrometheusMetricsPrefix = "addon_operator_"
View Source
var GlobalHooksDir = "global-hooks"
View Source
var Helm3HistoryMax int32 = 10
View Source
var Helm3Timeout time.Duration = 5 * time.Minute
View Source
var HelmIgnoreRelease = ""
View Source
var HelmMonitorKubeClientBurst int
View Source
var HelmMonitorKubeClientBurstDefault = "10" // DefaultBurst from k8s.io/client-go/rest/config.go
View Source
var HelmMonitorKubeClientQps float32
View Source
var HelmMonitorKubeClientQpsDefault = "5" // DefaultQPS from k8s.io/client-go/rest/config.go
View Source
var ModulesDir = "modules"
View Source
var Namespace = ""
View Source
var TillerListenAddress = "127.0.0.1"
View Source
var TillerListenPort int32 = 44434
View Source
var TillerMaxHistory int32 = 0
View Source
var TillerProbeListenAddress = "127.0.0.1"
View Source
var TillerProbeListenPort int32 = 44435
View Source
var Version = "dev"

Functions

func AddOutputJsonYamlFlag

func AddOutputJsonYamlFlag(cmd *kingpin.CmdClause)

func DefineDebugCommands

func DefineDebugCommands(kpApp *kingpin.Application)

func DefineStartCommandFlags

func DefineStartCommandFlags(kpApp *kingpin.Application, cmd *kingpin.CmdClause)

DefineStartCommandFlags init global flags with default values

Types

type GlobalRequest

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

func Global

func Global(client *sh_debug.Client) *GlobalRequest

func (*GlobalRequest) Config

func (gr *GlobalRequest) Config(format string) ([]byte, error)

func (*GlobalRequest) List added in v1.0.4

func (gr *GlobalRequest) List(format string) ([]byte, error)

func (*GlobalRequest) Patches

func (gr *GlobalRequest) Patches() ([]byte, error)

func (*GlobalRequest) Snapshots added in v1.0.4

func (gr *GlobalRequest) Snapshots(format string) ([]byte, error)

func (*GlobalRequest) Values

func (gr *GlobalRequest) Values(format string) ([]byte, error)

type ModuleRequest

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

func Module

func Module(client *sh_debug.Client) *ModuleRequest

func (*ModuleRequest) Config

func (mr *ModuleRequest) Config(format string) ([]byte, error)

func (*ModuleRequest) List

func (r *ModuleRequest) List(format string) ([]byte, error)

func (*ModuleRequest) Name

func (mr *ModuleRequest) Name(name string) *ModuleRequest

func (*ModuleRequest) Patches

func (mr *ModuleRequest) Patches() ([]byte, error)

func (*ModuleRequest) Render

func (mr *ModuleRequest) Render() ([]byte, error)

func (*ModuleRequest) ResourceMonitor

func (mr *ModuleRequest) ResourceMonitor(format string) ([]byte, error)

func (*ModuleRequest) Snapshots added in v1.0.4

func (mr *ModuleRequest) Snapshots(format string) ([]byte, error)

func (*ModuleRequest) Values

func (mr *ModuleRequest) Values(format string) ([]byte, error)

Jump to

Keyboard shortcuts

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