controller

package
v0.0.0-...-b90a9eb Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func New

func New(
	kubeClientSet kubernetes.Interface,
	wrClientSet wrv1alpha1clientset.Interface,
	namespace string,
	logger log.Logger,
) *Controller

func (*Controller) Run

func (c *Controller) Run(ctx context.Context, numWorkers int, config config.Config) error

type RequestBody

type RequestBody struct {
	Name        string `json:"name"`
	Path        string `json:"path"`
	ActiveUsers int    `json:"activeUsers"`
	Host        string `json:"host"`
}

type ResponseBody

type ResponseBody struct {
	Status  string `json:"status"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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