hotreload

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OptionsReloaderDisk

type OptionsReloaderDisk struct {
	Config         *config.Configuration
	AppID          string
	Dirs           []string
	ComponentStore *compstore.ComponentStore
	Authorizer     *authorizer.Authorizer
	Processor      *processor.Processor
	Healthz        healthz.Healthz
}

type OptionsReloaderOperator

type OptionsReloaderOperator struct {
	Namespace      string
	Client         operatorv1.OperatorClient
	Config         *config.Configuration
	ComponentStore *compstore.ComponentStore
	Authorizer     *authorizer.Authorizer
	Processor      *processor.Processor
	Healthz        healthz.Healthz
}

type Reloader

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

func NewDisk

func NewDisk(opts OptionsReloaderDisk) (*Reloader, error)

func NewOperator

func NewOperator(opts OptionsReloaderOperator) *Reloader

func (*Reloader) Loader added in v1.18.0

func (r *Reloader) Loader() loader.Interface

Loader returns the underlying loader.Interface used by this reloader.

func (*Reloader) Run

func (r *Reloader) Run(ctx context.Context) error

func (*Reloader) SetPolicyRecompiler added in v1.18.0

func (r *Reloader) SetPolicyRecompiler(opts reconciler.WorkflowAccessPolicyOptions)

SetPolicyRecompiler sends options for the WorkflowAccessPolicy reconciler. Run() waits for this signal before starting the reconciler. This is safe to call concurrently with Run() from initRuntime().

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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