model

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 3 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"`
	Namespace string            `json:"namespace,omitempty"`
	Runtime   RuntimeConfig     `json:"runtime"`
	Sources   []TubeConfig      `json:"source"`
	Sink      TubeConfig        `json:"sink"`
	Config    map[string]string `json:"config,omitempty"`
	Replicas  int32             `json:"replicas"`
}

func (*Function) Validate added in v0.4.0

func (f *Function) Validate() error

type RuntimeConfig

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

type TubeConfig

type TubeConfig struct {
	Type   string            `json:"type"`
	Config contube.ConfigMap `json:"config,omitempty"`
}

Jump to

Keyboard shortcuts

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