system

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFromAPI = errors.New("failed to transform system from API")

Functions

func FromAPIPatch

func FromAPIPatch(system cmkapi.SystemPatch) model.System

func ToAPI

func ToAPI(system model.System, systemCfg *config.System, opts ...ToAPIOpt) (*cmkapi.System, error)

Types

type ToAPIOpt added in v0.9.0

type ToAPIOpt func(*cmkapi.System) error

ToAPIOpt is a functional option for customizing the ToAPI transformation.

func WithWorkflow added in v0.9.0

WithWorkflow sets the workflow field on the API system metadata.

Jump to

Keyboard shortcuts

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