controller

package
v0.0.0-...-167416c Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(router *router.Router, client kubernetes.Interface, annotations map[string]string) error

func Start

func Start(ctx context.Context, opt Options) error

Types

type Handler

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

func (Handler) AddAnnotations

func (h Handler) AddAnnotations(req router.Request, resp router.Response) error

AddAnnotations adds the arg specified annotations to a Service of type LoadBalancer

type Options

type Options struct {
	K8s         kubernetes.Interface
	Annotations map[string]string
}

Jump to

Keyboard shortcuts

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