listers

package
v1.12.11 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeOrderLister

type FakeOrderLister struct {
	ListFn   func(selector labels.Selector) (ret []*cmacme.Order, err error)
	OrdersFn func(namespace string) acmelisters.OrderNamespaceLister
}

func NewFakeOrderLister

func NewFakeOrderLister() *FakeOrderLister

func (*FakeOrderLister) List

func (f *FakeOrderLister) List(selector labels.Selector) (ret []*cmacme.Order, err error)

func (*FakeOrderLister) Orders

type FakeOrderNamespaceLister

type FakeOrderNamespaceLister struct {
	ListFn func(selector labels.Selector) (ret []*cmacme.Order, err error)
	GetFn  func(name string) (ret *cmacme.Order, err error)
}

func NewFakeOrderNamespaceLister

func NewFakeOrderNamespaceLister() *FakeOrderNamespaceLister

func (*FakeOrderNamespaceLister) Get

func (*FakeOrderNamespaceLister) List

func (f *FakeOrderNamespaceLister) List(selector labels.Selector) (ret []*cmacme.Order, err error)

type FakeSecretLister

type FakeSecretLister struct {
	ListFn    func(selector labels.Selector) (ret []*corev1.Secret, err error)
	SecretsFn func(namespace string) clientcorev1.SecretNamespaceLister
}

func NewFakeSecretLister

func NewFakeSecretLister(mods ...FakeSecretListerModifier) *FakeSecretLister

func (*FakeSecretLister) List

func (f *FakeSecretLister) List(selector labels.Selector) (ret []*corev1.Secret, err error)

func (*FakeSecretLister) Secrets

type FakeSecretListerModifier

type FakeSecretListerModifier func(*FakeSecretLister)

func SetFakeSecretListerSecret

func SetFakeSecretListerSecret(s func(namespace string) clientcorev1.SecretNamespaceLister) FakeSecretListerModifier

func SetFakeSecretNamespaceListerGet

func SetFakeSecretNamespaceListerGet(sec *corev1.Secret, err error) FakeSecretListerModifier

type FakeSecretNamespaceLister

type FakeSecretNamespaceLister struct {
	ListFn func(selector labels.Selector) (ret []*corev1.Secret, err error)
	GetFn  func(name string) (ret *corev1.Secret, err error)
}

func (*FakeSecretNamespaceLister) Get

func (*FakeSecretNamespaceLister) List

func (f *FakeSecretNamespaceLister) List(selector labels.Selector) (ret []*corev1.Secret, err error)

func (*FakeSecretNamespaceLister) SetFakeSecretNamespaceListerGet

func (f *FakeSecretNamespaceLister) SetFakeSecretNamespaceListerGet(ret *corev1.Secret,
	err error) *FakeSecretNamespaceLister

type FakeSecretNamespaceListerModifier

type FakeSecretNamespaceListerModifier func(*FakeSecretNamespaceLister)

Jump to

Keyboard shortcuts

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