server

package
Version: v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandStartWebhookServer

func NewCommandStartWebhookServer(out, errOut io.Writer, stopCh <-chan struct{}, groupName string, solvers ...webhook.Solver) *cobra.Command

Types

type WebhookServerOptions

type WebhookServerOptions struct {
	RecommendedOptions *genericoptions.RecommendedOptions

	SolverGroup string
	Solvers     []webhook.Solver

	StdOut io.Writer
	StdErr io.Writer
}

func NewWebhookServerOptions

func NewWebhookServerOptions(out, errOut io.Writer, groupName string, solvers ...webhook.Solver) *WebhookServerOptions

func (*WebhookServerOptions) Complete

func (o *WebhookServerOptions) Complete() error

func (WebhookServerOptions) Config

func (o WebhookServerOptions) Config() (*apiserver.Config, error)

func (WebhookServerOptions) RunWebhookServer

func (o WebhookServerOptions) RunWebhookServer(stopCh <-chan struct{}) error

func (WebhookServerOptions) Validate

func (o WebhookServerOptions) Validate(args []string) error

Source Files

Jump to

Keyboard shortcuts

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