mdmassetsource

package
v0.24.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func New

func New(defaultSource, serverURL string, gatewayClient *gatewayclient.Client) *Handler

func (*Handler) SetUpDefaultMDMAssetSource

func (h *Handler) SetUpDefaultMDMAssetSource(ctx context.Context, c kclient.Client) error

SetUpDefaultMDMAssetSource creates the default MDMAssetSource at startup. Changes to the default source value are picked up by `Handler.Sync` during normal reconciliation.

func (*Handler) Sync

func (h *Handler) Sync(req router.Request, resp router.Response) error

Sync imports a source on creation, explicit refresh, startup source change, or retry after failure. Healthy sources are not polled. Status changes are persisted by the router after the handler returns.

Jump to

Keyboard shortcuts

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