clientargs

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(structure interface{}, arguments client.Object) (interface{}, client.Object)

Parse parses the arguments of a clientside-arguments struct and returns the converted client-side arguments struct as an interface and the client representation of it.

Types

type PassGoValues

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

PassGoValues can be embedded inside of a clientside-arguments struct to enable the passthrough of Go arguments. these arguments must be decoded with this type's methods after being parsed.

func (PassGoValues) Is

func (p PassGoValues) Is(field interface{}, value interface{}) client.Bool

Is returns a client reference to 'true' if the given popup field is equal to the provided value.

Jump to

Keyboard shortcuts

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