Documentation
¶
Index ¶
Constants ¶
View Source
const ConfigFile = ConfigFileDir + "/" + ConfigFileName
View Source
const ConfigFileDir = "/etc/kude/function"
View Source
const ConfigFileName = "config.yaml"
View Source
const DockerCacheDir = "/workspace/.cache"
View Source
const DockerTempDir = "/workspace/.temp"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotate ¶
type CreateConfigMap ¶
type CreateConfigMap struct {
Name string `mapstructure:"name"`
Namespace string `mapstructure:"namespace"`
Immutable *bool `mapstructure:"immutable"`
Contents []CreateConfigMapEntry `mapstructure:"contents"`
}
type CreateConfigMapEntry ¶
type CreateNamespace ¶
type CreateNamespace struct {
Name string `mapstructure:"name"`
}
type CreateSecret ¶
type CreateSecret struct {
Name string `mapstructure:"name"`
Namespace string `mapstructure:"namespace"`
Immutable *bool `mapstructure:"immutable"`
Type string `mapstructure:"type"`
Contents []CreateSecretEntry `mapstructure:"contents"`
}
type CreateSecretEntry ¶
type FunctionInvoker ¶
type FunctionInvoker struct {
Function Function
Pwd string
Logger *log.Logger
ConfigFileDir string
ConfigFileName string
CacheDir string
TempDir string
Viper *viper.Viper
}
func (*FunctionInvoker) Invoke ¶
func (f *FunctionInvoker) Invoke(input io.Reader, output io.Writer, opts ...viper.DecoderConfigOption) error
func (*FunctionInvoker) MustInvoke ¶
func (f *FunctionInvoker) MustInvoke()
type Helm ¶
type Label ¶
type SetNamespace ¶
type SetNamespace struct {
Namespace string `mapstructure:"namespace"`
Includes []kyaml.TargetingFilter `mapstructure:"includes"`
Excludes []kyaml.TargetingFilter `mapstructure:"excludes"`
}
Click to show internal directories.
Click to hide internal directories.