Documentation
¶
Overview ¶
Package managedcertificate exposes the interface the controller needs to operate on ManagedCertificate resources.
Index ¶
- type Fake
- func (f *Fake) Get(id types.Id) (*apisv1.ManagedCertificate, error)
- func (f *Fake) HasSynced() bool
- func (f *Fake) List() ([]*apisv1.ManagedCertificate, error)
- func (f *Fake) Run(ctx context.Context, queue workqueue.RateLimitingInterface)
- func (f *Fake) Update(ctx context.Context, managedCertificate *apisv1.ManagedCertificate) error
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fake ¶
type Fake struct {
// contains filtered or unexported fields
}
func NewFake ¶
func NewFake(managedCertificates []*apisv1.ManagedCertificate) *Fake
type Interface ¶
type Interface interface { // Get fetches the resource identified by id. Get(id types.Id) (*apisv1.ManagedCertificate, error) // HasSynced is true after first batch of ManagedCertificate // resources defined in the cluster has been synchronized with // the local storage. HasSynced() bool // List returns all ManagedCertificate resources. List() ([]*apisv1.ManagedCertificate, error) // Update updates the given ManagedCertificate resource. Update(ctx context.Context, managedCertificate *apisv1.ManagedCertificate) error // Run initializes the object exposing the ManagedCertificate // API. Run(ctx context.Context, queue workqueue.RateLimitingInterface) }
Interface defines the interface the controller needs to operate on ManagedCertificate resources.
Click to show internal directories.
Click to hide internal directories.