server

package
v2.8.0-nightly.20230727 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(ctx context.Context, env *Env)

Types

type Env

type Env struct {
	EtcdPrefix        string
	EtcdClient        *etcd.Client
	TaskService       task.Service
	KubeClient        kubernetes.Interface
	Namespace         string
	MaxReplicas       int
	MinReplicas       int
	BackgroundContext context.Context
}

Env is the dependencies needed to run the pachW Controller

func EnvFromServiceEnv

func EnvFromServiceEnv(env serviceenv.ServiceEnv) (*Env, error)

Jump to

Keyboard shortcuts

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