webhook

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unpack added in v0.7.0

func Unpack(r runtime.RawExtension, v interface{}) error

Types

type Server

type Server struct {
	client.Client
	// contains filtered or unexported fields
}

func NewServer

func NewServer(c *config.ServerConfig, mgr manager.Manager) (*Server, error)

func (*Server) AddInjector added in v0.7.0

func (s *Server) AddInjector(c *config.ResourceConfig) error

func (*Server) AddMutator added in v0.7.0

func (s *Server) AddMutator(c *config.ResourceConfig) error

func (*Server) AddValidator added in v0.7.0

func (s *Server) AddValidator(c *config.ResourceConfig) error

func (*Server) InjectClient added in v0.7.0

func (s *Server) InjectClient(c client.Client) error

func (*Server) Start

func (s *Server) Start(stop <-chan struct{}) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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