provisioning

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: UPL-1.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INFO  level = "[INFO]"
	ERROR level = "[ERROR]"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

func NewLogger

func NewLogger(ctx context.Context, ki kubernetes.Interface, cluster string) *Logger

func (*Logger) ClusterStatus

func (l *Logger) ClusterStatus(cl *unstructured.Unstructured) error

ClusterStatus logs a message based on the cluster's conditions

func (*Logger) Errorf

func (l *Logger) Errorf(format string, args ...any) error

func (*Logger) Infof

func (l *Logger) Infof(format string, args ...any) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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