factory

package
v2.35.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAssertCmdFactory

func NewAssertCmdFactory(cmd *cobra.Command, f *cmdutil.Factory, h StateChecker) *cobra.Command

func NewAssertDeviceCmdFactory

func NewAssertDeviceCmdFactory(cmd *cobra.Command, f *cmdutil.Factory, h StateChecker) *cobra.Command

Types

type StateChecker

type StateChecker interface {
	GetStateHandler(*cobra.Command, *c8y.Client) desiredstate.StateDefiner
	GetValue(interface{}, interface{}) []byte
}

Jump to

Keyboard shortcuts

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