config

package
v0.0.0-...-4355fa8 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(filePath string) error

Types

type Config

type Config struct {
	GoFlowServer GoFlowServer `yaml:"goflow_server"`
	Workerpool   Workerpool   `yaml:"workerpool"`
	Redis        Redis        `yaml:"redis"`
	Kubernetes   Kubernetes   `yaml:"kubernetes"`
}

func Get

func Get() (*Config, error)

type GoFlowServer

type GoFlowServer struct {
	Image    string `yaml:"image"`
	Replicas int32  `yaml:"replicas"`
	Address  string `yaml:"address"`
}

type Kubernetes

type Kubernetes struct {
	Namespace  string `yaml:"namespace"`
	ClusterURL string `yaml:"clusterUrl"`
}

type Redis

type Redis struct {
	Image    string `yaml:"image"`
	Replicas int32  `yaml:"replicas"`
}

type Workerpool

type Workerpool struct {
	Image              string `yaml:"image"`
	Replicas           int32  `yaml:"replicas"`
	PathToHandlers     string `yaml:"path_to_handlers"`
	PluginBuilderImage string `yaml:"plugin_builder_image"`
}

Jump to

Keyboard shortcuts

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