filter

package
v0.0.0-...-e4eaa00 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSRFilter

type CSRFilter struct {
	SignerName string
}

func (*CSRFilter) Check

type Filter

type Filter interface {
	// Check returns an error if the CSR is unsuitable for processing.
	// E.g. if it is marked for deletion or if it has not been approved.
	Check(capi.CertificateSigningRequest) error
}

Filter allows unsuitable CSR resources to be filtered out before we attempt to process and sign them. This is abstracted so that the filtering logic can be unit-tested separately from the Reconcile function.

Jump to

Keyboard shortcuts

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