package
0.0.0-20200602163902-6ed7b817024f
Repository: https://github.com/kube-jsonnet/k.git
Documentation: pkg.go.dev

# Functions

ApplyCall creates an Apply using a method string.
Combine combines multiple nodes into a single node.
FunctionKey is a convenience method for creating a function key.
InheritedKey is a convenience method for creating an inherited key.
KeyOptCategory is a functional option for setting key category.
KeyOptComment is a functional option for setting a comment on a key.
KeyOptMixin is a functional option for setting this key as a mixin.
KeyOptNamedParams is a functional option for setting named params for a key.
KeyOptParams is functional option for setting params for a key.
KeyOptVisibility is a functional option for setting key visibility.
KVFromMap creates a object using a map.
LocalKey is a convenience method for creating a local key.
NewApply creates an instance of Apply.
NewArray creates an instance of Array.
No description provided by the author
NewBinary creates an instance of Binary.
NewBoolean creates an instance of Boolean.
NewCall creates an instance of Call.
NewCallChain creates an instance of CallChain.
NewConditional creates an instance of Conditional.
NewFloat creates a float instance of a number.
NewFunction creates an instance of Function.
NewImport creates an instance of Import.
NewIndex creates an instance of Index.
NewInt creates an integer number.
NewKey creates an instance of Key.
NewLocal creates an instance of Local.
NewObject creates an Object.
NewStringDouble creates an instance of StringDouble.
NewVar creates an instance of Var.
ObjectOptOneline is a functional option which sets the object's oneline status.
OnelineObject is a convenience method for creating a online object.
ValueToNoder converts a value to a Noder.

# Constants

BopAnd is &&.
BopEqual is ==.
BopGreater is >.
BopPlus is +.

# Structs

Apply represents an application of a function.
Array is an an array.
Binary represents a binary operation.
Boolean is a boolean.
Call is a function call.
CallChain creates a call chain.
Chainer is an extension struct to bring the Chainable function into a type.
Conditional represents a conditional.
Function is a function.
Import is an import declaration.
Index is an index type.
Key names a fields in an object.
Local is a local declaration.
Number is an a number.
Object is an item that can have multiple keys with values.
OptionalArg is an optional argument.
Self represents self.
StringDouble is double quoted string.
Var represents a variable.

# Interfaces

Chainable is an interface that signifies this object can be used in CallChain.
Noder is an entity that can be converted to a jsonnet node.
Targetable is a Chainable that allows you to set a target.

# Type aliases

BinaryOp is a binary operation.
KeyOpt is a functional option for configuring Key.
ObjectOpt is a functional option for Object.