common

package
v0.16.19 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

View Source
const (
	Name = "helm-controller"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LogrusSink added in v0.16.19

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

LogrusSink wraps logrus the Logger/Entry types for use as a logr LogSink.

func NewLogrusSink added in v0.16.19

func NewLogrusSink(l *logrus.Logger) *LogrusSink

func (*LogrusSink) AsLogr added in v0.16.19

func (ls *LogrusSink) AsLogr() logr.Logger

func (*LogrusSink) Enabled added in v0.16.19

func (ls *LogrusSink) Enabled(level int) bool

func (*LogrusSink) Error added in v0.16.19

func (ls *LogrusSink) Error(err error, msg string, kvs ...any)

func (*LogrusSink) Info added in v0.16.19

func (ls *LogrusSink) Info(level int, msg string, kvs ...any)

func (*LogrusSink) Init added in v0.16.19

func (ls *LogrusSink) Init(ri logr.RuntimeInfo)

func (*LogrusSink) WithName added in v0.16.19

func (ls *LogrusSink) WithName(name string) logr.LogSink

func (*LogrusSink) WithValues added in v0.16.19

func (ls *LogrusSink) WithValues(kvs ...any) logr.LogSink

type Options

type Options struct {
	Threadiness     int
	NodeName        string
	JobClusterRole  string
	DefaultJobImage string
}

Options defines options that can be set on initializing the Helm Controller

func (Options) Validate

func (opts Options) Validate() error

Jump to

Keyboard shortcuts

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