proxy

package
v0.0.0-...-bca5c2c Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatekeeperProxy

type GatekeeperProxy struct {
	Config    *config.Config
	Logger    log.Logger
	K8sClient kubernetes.Interface
}

func Get

func Get(c *config.Config, out io.Writer) (*GatekeeperProxy, error)

func NewProxy

func NewProxy(logger log.Logger, config *config.Config, k8sclient kubernetes.Interface) (*GatekeeperProxy, error)

func (GatekeeperProxy) AdmissionRequest

func (p GatekeeperProxy) AdmissionRequest(c *gin.Context)

func (*GatekeeperProxy) Healthz

func (p *GatekeeperProxy) Healthz(c *gin.Context)

func (*GatekeeperProxy) Serve

func (p *GatekeeperProxy) Serve(ctx context.Context) error

type UpstreamValidatingWebhook

type UpstreamValidatingWebhook struct {
	CABundle []byte
	URI      string
}

Jump to

Keyboard shortcuts

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