starlark

package
v0.9.16 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Starlark

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

func NewStarlark

func NewStarlark() *Starlark

func (*Starlark) Bytes

func (s *Starlark) Bytes() []byte

func (*Starlark) DictFieldName

func (s *Starlark) DictFieldName(name string)

func (*Starlark) EndArray

func (s *Starlark) EndArray()

func (*Starlark) EndDict

func (s *Starlark) EndDict(comma bool)

func (*Starlark) Indent

func (s *Starlark) Indent(change int)

func (*Starlark) IsEmpty

func (s *Starlark) IsEmpty(value reflect.Value) bool

func (*Starlark) JSONName

func (s *Starlark) JSONName(data interface{}, fieldName string) string

func (*Starlark) Marshal

func (s *Starlark) Marshal(data interface{})

func (*Starlark) MarshalField

func (s *Starlark) MarshalField(value reflect.Value)

func (*Starlark) MarshalMap

func (s *Starlark) MarshalMap(v reflect.Value)

func (*Starlark) MarshalMapKey

func (s *Starlark) MarshalMapKey(key string)

func (*Starlark) MarshalOther

func (s *Starlark) MarshalOther(value reflect.Value)

func (*Starlark) MarshalPipeline

func (s *Starlark) MarshalPipeline(pipeline *yaml.Pipeline)

func (*Starlark) MarshalSlice

func (s *Starlark) MarshalSlice(value reflect.Value)

func (*Starlark) MarshalStep

func (s *Starlark) MarshalStep(step *yaml.Container)

func (*Starlark) MarshalString

func (s *Starlark) MarshalString(value reflect.Value)

func (*Starlark) MarshalStruct

func (s *Starlark) MarshalStruct(value reflect.Value, comma bool)

func (*Starlark) MethodCall

func (s *Starlark) MethodCall(name, suffix string)

func (*Starlark) MethodEnd

func (s *Starlark) MethodEnd()

func (*Starlark) MethodStart

func (s *Starlark) MethodStart(name string)

func (*Starlark) Return

func (s *Starlark) Return()

func (*Starlark) StartArray

func (s *Starlark) StartArray()

func (*Starlark) StartDict

func (s *Starlark) StartDict()

func (*Starlark) String

func (s *Starlark) String() string

func (*Starlark) Write

func (s *Starlark) Write(msg string)

Jump to

Keyboard shortcuts

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