generate

package
v1.1.12 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenerateRequests

type GenerateRequests interface {
	Apply(gr kyverno.GenerateRequestSpec, action v1beta1.Operation) error
}

GenerateRequests provides interface to manage generate requests

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

Generator defines the implmentation to mange generate request resource

func NewGenerator

func NewGenerator(client *kyvernoclient.Clientset, stopCh <-chan struct{}, log logr.Logger) *Generator

NewGenerator returns a new instance of Generate-Request resource generator

func (*Generator) Apply added in v1.1.7

Create to create generate request resoruce (blocking call if channel is full)

func (*Generator) Run

func (g *Generator) Run(workers int)

Run starts the generate request spec

type GeneratorChannel added in v1.1.7

type GeneratorChannel struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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