Help us shape the future of Go! Take the 2026 Go Developer Survey

verifiers

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 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 ActiveVerifiers

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

ActiveVerifiers implements VerifierManger interface.

func (*ActiveVerifiers) AddVerifier

func (v *ActiveVerifiers) AddVerifier(scope, verifierName string, verifier vr.ReferenceVerifier)

AddVerifier fulfills the VerifierManager interface. It adds the given verifier under the given scope.

func (*ActiveVerifiers) DeleteVerifier

func (v *ActiveVerifiers) DeleteVerifier(scope, verifierName string)

DeleteVerifier fulfills the VerifierManager interface. It deletes the verifier of the given name under the given scope.

func (*ActiveVerifiers) GetVerifiers

func (v *ActiveVerifiers) GetVerifiers(scope string) []vr.ReferenceVerifier

GetVerifiers implements the VerifierManager interface. It returns a list of verifiers for the given scope. If no verifiers are found for the given scope, it returns cluster-wide verifiers.

type VerifierManager

type VerifierManager interface {
	// GetVerifiers returns verifiers under the given scope.
	GetVerifiers(scope string) []vr.ReferenceVerifier

	// AddVerifier adds a verifier to the given scope.
	AddVerifier(scope, verifierName string, verifier vr.ReferenceVerifier)

	// DeleteVerifier deletes a verifier from the given scope.
	DeleteVerifier(scope, verifierName string)
}

VerifierManager is an interface that defines the methods for managing verifiers across different scopes.

func NewActiveVerifiers

func NewActiveVerifiers() VerifierManager

Jump to

Keyboard shortcuts

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