kubernetes/vendor/sigs.k8s.io/kustomize/kyaml/kio/byteio_reader.go

const ResourceListKind

const ResourceListAPIVersion

type ByteReadWriter

func (rw *ByteReadWriter) Read() ([]*yaml.RNode, error) {}

func (rw *ByteReadWriter) Write(nodes []*yaml.RNode) error {}

// ParseAll reads all of the inputs into resources
func ParseAll(inputs ...string) ([]*yaml.RNode, error) {}

// FromBytes reads from a byte slice.
func FromBytes(bs []byte) ([]*yaml.RNode, error) {}

// StringAll writes all of the resources to a string
func StringAll(resources []*yaml.RNode) (string, error) {}

type ByteReader

var _

// splitDocuments returns a slice of all documents contained in a YAML string. Multiple documents can be divided by the
// YAML document separator (---). It allows for white space and comments to be after the separator on the same line,
// but will return an error if anything else is on the line.
func splitDocuments(s string) ([]string, error) {}

func (r *ByteReader) Read() ([]*yaml.RNode, error) {}

func (r *ByteReader) decode(originalYAML string, index int, decoder *yaml.Decoder) (*yaml.RNode, error) {}