operator

package
v0.1.50 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "redis-operator-cop.cs.sap.com"

Variables

This section is empty.

Functions

func GetName

func GetName() string

func GetUncacheableTypes

func GetUncacheableTypes() []client.Object

func InitFlags

func InitFlags(flagset *flag.FlagSet)

func InitScheme

func InitScheme(scheme *runtime.Scheme)

func Setup

func Setup(mgr ctrl.Manager) error

func ValidateFlags

func ValidateFlags() error

Types

type Operator

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

func New

func New() *Operator

func NewWithOptions

func NewWithOptions(options Options) *Operator

func (*Operator) GetName

func (o *Operator) GetName() string

func (*Operator) GetUncacheableTypes

func (o *Operator) GetUncacheableTypes() []client.Object

func (*Operator) InitFlags

func (o *Operator) InitFlags(flagset *flag.FlagSet)

func (*Operator) InitScheme

func (o *Operator) InitScheme(scheme *runtime.Scheme)

func (*Operator) Setup

func (o *Operator) Setup(mgr ctrl.Manager) error

func (*Operator) ValidateFlags

func (o *Operator) ValidateFlags() error

type Options

type Options struct {
	Name       string
	FlagPrefix string
}

Jump to

Keyboard shortcuts

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