sink

package
v0.0.0-...-ea047a2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClusterLocalService

func GetClusterLocalService(ctx context.Context, client client.Client, svcNs, svcName string) (*corev1.Service, error)

Types

type Validator

type Validator interface {
	Validate(subscription *v1alpha2.Subscription) error
}

func NewValidator

func NewValidator(ctx context.Context, client client.Client, recorder record.EventRecorder) Validator

type ValidatorFunc

type ValidatorFunc func(*v1alpha2.Subscription) error

ValidatorFunc implements the Validator interface.

func (ValidatorFunc) Validate

func (vf ValidatorFunc) Validate(sub *v1alpha2.Subscription) error

Jump to

Keyboard shortcuts

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