model

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMap

type ConfigMap map[string]interface{}

type Function

type Function struct {
	Name     string            `json:"name" yaml:"name"`
	Runtime  *RuntimeConfig    `json:"runtime" yaml:"runtime"`
	Source   *TubeConfig       `json:"source,omitempty" yaml:"source,omitempty"`
	Sink     *TubeConfig       `json:"sink,omitempty" yaml:"sink,omitempty"`
	Inputs   []string          `json:"inputs" yaml:"inputs"`
	Output   string            `json:"output" yaml:"output"`
	Config   map[string]string `json:"config,omitempty" yaml:"config,omitempty"`
	Replicas int32             `json:"replicas" yaml:"replicas"`
}

type RuntimeConfig

type RuntimeConfig struct {
	Config ConfigMap `json:"config,omitempty" yaml:"config,omitempty"`
	Type   *string   `json:"type,omitempty" yaml:"type,omitempty"`
}

type TubeConfig

type TubeConfig struct {
	Config contube.ConfigMap `json:"config,omitempty" yaml:"config,omitempty"`
	Type   *string           `json:"type,omitempty" yaml:"type,omitempty"` // Default to `default`
}

Jump to

Keyboard shortcuts

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