types

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CachedState

type CachedState struct {
	Capture map[string]CaptureState
}

func NoCache

func NoCache() CachedState

type CaptureState

type CaptureState struct {
	State    NMState
	MetaInfo MetaInfo
}

type GeneratedState

type GeneratedState struct {
	Cache        CachedState
	DesiredState NMState
}

type MetaInfo

type MetaInfo struct {
	Version   string
	TimeStamp time.Time
}

type NMState added in v0.2.1

type NMState []byte

func (NMState) MarshalJSON added in v0.2.1

func (s NMState) MarshalJSON() ([]byte, error)

func (*NMState) UnmarshalJSON added in v0.2.1

func (s *NMState) UnmarshalJSON(b []byte) error

type PolicySpec

type PolicySpec struct {
	Capture      map[string]string
	DesiredState NMState
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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