Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PathToYAML ¶ added in v1.10.0
Types ¶
type DocumentSplitter ¶
type DocumentSplitter interface {
WithReader(r io.Reader) DocumentSplitter
Next() bool
Err() error
Bytes() []byte
Object() runtime.Object
}
func NewDocumentSplitter ¶
func NewDocumentSplitter() DocumentSplitter
type Serializer ¶
type Serializer interface {
Marshal(o interface{}) ([]byte, error)
Unmarshal(y []byte, o interface{}, opts ...yaml.JSONOpt) error
}
func NewSerializer ¶
func NewSerializer() Serializer
Click to show internal directories.
Click to hide internal directories.