operator

package
v0.1.0-pre-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, operatorOpts common.OperatorOptions, cfg *rest.Config) error

Types

type AppContext

type AppContext struct {
	PprofFactory *resources.Factory
	ClientSet    *kubernetes.Clientset
	Apply        apply.Apply
	Core         core.Interface
	Apps         apps.Interface
	// contains filtered or unexported fields
}

func Setup

func Setup(cfg *rest.Config) (*AppContext, error)

func (*AppContext) Start

func (a *AppContext) Start(ctx context.Context, threadiness int) error

Directories

Path Synopsis
v1alpha1
+k8s:deepcopy-gen=package +groupName=resources.cattle.io
+k8s:deepcopy-gen=package +groupName=resources.cattle.io
generated

Jump to

Keyboard shortcuts

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