Back to

Package apiserver

Latest Go to latest

The latest major version is .

Published: Aug 7, 2020 | License: Apache-2.0 | Module:



var (
	Scheme = runtime.NewScheme()
	Codecs = serializer.NewCodecFactory(Scheme)

type ChallengeServer

type ChallengeServer struct {
	GenericAPIServer *genericapiserver.GenericAPIServer

ChallengeServer contains state for a webhook cluster apiserver.

type CompletedConfig

type CompletedConfig struct {
	// contains filtered or unexported fields

func (CompletedConfig) New

func (c CompletedConfig) New() (*ChallengeServer, error)

New returns a new instance of AdmissionServer from the given config.

type Config

type Config struct {
	GenericConfig *genericapiserver.RecommendedConfig
	ExtraConfig   ExtraConfig

func (*Config) Complete

func (c *Config) Complete() CompletedConfig

Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.

type ExtraConfig

type ExtraConfig struct {
	// SolverGroup is the API name for solvers configured in this apiserver.
	// This should typically be something like ''
	SolverGroup string

	// Solvers is a list of challenge solvers registered for this apiserver.
	Solvers []webhook.Solver

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier