Documentation ¶
Index ¶
- func ExpandStar(expandRoot string, clusterRoot string, params map[string]interface{}) error
- func GoToStarValue(obj interface{}) (starlark.Value, error)
- func NewURLFileReader(root string) (*urlFileReader, error)
- func StarStrToObjs(starStr string, root string, params map[string]interface{}) ([]runtime.Object, error)
- func StarToObjs(path string, root string, params map[string]interface{}) ([]runtime.Object, error)
- func StarToYaml(path string, root string, params map[string]interface{}) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandStar ¶
ExpandStar expands all starlark in the root directory, replacing each file with its YAML expansion.
func GoToStarValue ¶
GoToStarValue converts the given go interface to the equivalent Starlark value.
func NewURLFileReader ¶
NewURLFileReader returns a skycfg FileReader that reads files from local disk, resolving remote URLs if needed.
func StarStrToObjs ¶
func StarStrToObjs( starStr string, root string, params map[string]interface{}, ) ([]runtime.Object, error)
StarStrToObjs converts a starlark string into one or more Kubernetes objects. It's intended for testing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.