Documentation ¶
Index ¶
- type Starlark
- func (s *Starlark) Bytes() []byte
- func (s *Starlark) DictFieldName(name string)
- func (s *Starlark) EndArray()
- func (s *Starlark) EndDict(comma bool)
- func (s *Starlark) Indent(change int)
- func (s *Starlark) IsEmpty(value reflect.Value) bool
- func (s *Starlark) JSONName(data interface{}, fieldName string) string
- func (s *Starlark) Marshal(data interface{})
- func (s *Starlark) MarshalField(value reflect.Value)
- func (s *Starlark) MarshalMap(v reflect.Value)
- func (s *Starlark) MarshalMapKey(key string)
- func (s *Starlark) MarshalOther(value reflect.Value)
- func (s *Starlark) MarshalPipeline(pipeline *yaml.Pipeline)
- func (s *Starlark) MarshalSlice(value reflect.Value)
- func (s *Starlark) MarshalStep(step *yaml.Container)
- func (s *Starlark) MarshalString(value reflect.Value)
- func (s *Starlark) MarshalStruct(value reflect.Value, comma bool)
- func (s *Starlark) MethodCall(name, suffix string)
- func (s *Starlark) MethodEnd()
- func (s *Starlark) MethodStart(name string)
- func (s *Starlark) Return()
- func (s *Starlark) StartArray()
- func (s *Starlark) StartDict()
- func (s *Starlark) String() string
- func (s *Starlark) Write(msg string)
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) DictFieldName ¶
func (*Starlark) MarshalField ¶
func (*Starlark) MarshalMap ¶
func (*Starlark) MarshalMapKey ¶
func (*Starlark) MarshalOther ¶
func (*Starlark) MarshalPipeline ¶
func (*Starlark) MarshalSlice ¶
func (*Starlark) MarshalStep ¶
func (*Starlark) MarshalString ¶
func (*Starlark) MethodCall ¶
func (*Starlark) MethodStart ¶
func (*Starlark) StartArray ¶
func (s *Starlark) StartArray()
Click to show internal directories.
Click to hide internal directories.