kbagent

package
v1.0.0-beta.17 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContainerName        = "kbagent"
	ContainerName4Worker = "kbagent-worker"
	InitContainerName    = "init-kbagent"

	DefaultHTTPPortName      = "http"
	DefaultStreamingPortName = "streaming"

	DefaultHTTPPort      = 3501
	DefaultStreamingPort = 3502
)

Variables

This section is empty.

Functions

func BuildEnv4Server

func BuildEnv4Server(actions []proto.Action, probes []proto.Probe, streaming []string) ([]corev1.EnvVar, error)

func BuildEnv4Worker

func BuildEnv4Worker(tasks []proto.Task) (*corev1.EnvVar, error)

func Launch

func Launch(logger logr.Logger, config server.Config) (bool, error)

func UpdateEnv4Worker

func UpdateEnv4Worker(envVars map[string]string, f func(proto.Task) *proto.Task) (*corev1.EnvVar, error)

Types

This section is empty.

Directories

Path Synopsis
Package client is a generated GoMock package.
Package client is a generated GoMock package.

Jump to

Keyboard shortcuts

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