Documentation ¶
Index ¶
- func Decode(scheme *runtime.Scheme, v Interface) ([]runtime.Object, error)
- func DecodeAll(scheme *runtime.Scheme, vs []Interface) ([]runtime.Object, error)
- func File(path string) fileVisitor
- func ParseStream(scheme *runtime.Scheme, r io.Reader) ([]runtime.Object, error)
- func Stdin(stdin io.Reader) stdinVisitor
- func URL(client HTTPClient, url string) urlVisitor
- type HTTPClient
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeAll ¶
Given a set of YAML inputs, decode them into real API objects.
The scheme is used to lookup the objects by group/version/kind.
func ParseStream ¶
Parses a stream of Tilt configuration objects.
In kubectl, the CLI has to get the type information from the server in order to perform validation. In Tilt (today), we don't have to worry about version skew, so we can more aggressively validate up-front for misspelled fields and malformed YAML. So this parser is a bit stricter than the normal kubectl code.
func URL ¶
func URL(client HTTPClient, url string) urlVisitor
Types ¶
Click to show internal directories.
Click to hide internal directories.