webhook

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2019 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddAdmissionWebhookBuilderHandler

type AddAdmissionWebhookBuilderHandler struct {
	input.Input

	// Resource is a resource in the API group
	Resource *resource.Resource

	Config
}

AddAdmissionWebhookBuilderHandler scaffolds adds a new admission webhook builder.

func (*AddAdmissionWebhookBuilderHandler) GetInput

GetInput implements input.File

type AddServer

type AddServer struct {
	input.Input

	// Resource is a resource in the API group
	Resource *resource.Resource

	Config
}

AddServer scaffolds adds a new webhook server.

func (*AddServer) GetInput

func (a *AddServer) GetInput() (input.Input, error)

GetInput implements input.File

type AdmissionHandler

type AdmissionHandler struct {
	input.Input

	// ResourcePackage is the package of the Resource
	ResourcePackage string

	// GroupDomain is the Group + "." + Domain for the Resource
	GroupDomain string

	// Resource is a resource in the API group
	Resource *resource.Resource

	Config

	BuilderName string

	OperationsString string

	Mutate bool
}

AdmissionHandler scaffolds an admission handler

func (*AdmissionHandler) GetInput

func (a *AdmissionHandler) GetInput() (input.Input, error)

GetInput implements input.File

type AdmissionWebhookBuilder

type AdmissionWebhookBuilder struct {
	input.Input

	// Resource is a resource in the API group
	Resource *resource.Resource

	// ResourcePackage is the package of the Resource
	ResourcePackage string

	// GroupDomain is the Group + "." + Domain for the Resource
	GroupDomain string

	Config

	BuilderName string

	OperationsParameterString string

	Mutating bool
}

AdmissionWebhookBuilder scaffolds adds a new webhook server.

func (*AdmissionWebhookBuilder) GetInput

func (a *AdmissionWebhookBuilder) GetInput() (input.Input, error)

GetInput implements input.File

type AdmissionWebhooks

type AdmissionWebhooks struct {
	input.Input

	// Resource is a resource in the API group
	Resource *resource.Resource

	Config
}

AdmissionWebhooks scaffolds how to construct a webhook server and register webhooks.

func (*AdmissionWebhooks) GetInput

func (a *AdmissionWebhooks) GetInput() (input.Input, error)

GetInput implements input.File

type Config

type Config struct {
	// Server is the name of the server.
	Server string
	// Type is the type of the webhook.
	Type string
	// Operations that the webhook will intercept, e.g. create, update, delete, connect
	Operations []string
}

Config contains the information required to scaffold files for a webhook.

type Server

type Server struct {
	input.Input

	// Resource is a resource in the API group
	Resource *resource.Resource

	Config
}

Server scaffolds how to construct a webhook server and register webhooks.

func (*Server) GetInput

func (a *Server) GetInput() (input.Input, error)

GetInput implements input.File

Jump to

Keyboard shortcuts

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