starlark

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2023 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Process

func Process(resourceList *fn.ResourceList) (bool, error)

Types

type StarlarkRun

type StarlarkRun struct {
	yaml.ResourceMeta `json:",inline" yaml:",inline"`
	// Source is a required field for providing a starlark script inline.
	Source string `json:"source" yaml:"source"`
	// Params are the parameters in key-value pairs format.
	Params map[string]interface{} `json:"params,omitempty" yaml:"params,omitempty"`
}

func (*StarlarkRun) Config

func (sr *StarlarkRun) Config(fnCfg *fn.KubeObject) error

func (*StarlarkRun) Transform

func (sr *StarlarkRun) Transform(rl *fn.ResourceList) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL