generate

package
v1.5.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 15 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 implementation to mange generate request resource

func NewGenerator

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

NewGenerator returns a new instance of Generate-Request resource generator

func (*Generator) Apply added in v1.2.0

Apply creates generate request resource (blocking call if channel is full)

func (*Generator) Run

func (g *Generator) Run(workers int, stopCh <-chan struct{})

Run starts the generate request spec

type GeneratorChannel added in v1.2.0

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

GeneratorChannel ...

Jump to

Keyboard shortcuts

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