server

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Context         context.Context
	KubeConfig      string
	HTTPSListenPort int
	Threadiness     int
	Namespace       string
	ReleaseName     string
	DevMode         bool
	DevURL          string

	config.CommonOptions
}

Options define the api webhookServer options

type WebhookServer

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

WebhookServer defines the webhook webhookServer types

func NewServer

func NewServer(opts Options) (*WebhookServer, error)

func (*WebhookServer) ListenAndServe

func (s *WebhookServer) ListenAndServe() error

Jump to

Keyboard shortcuts

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