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) (*v1.ManagedCertificate, error)
- func (f *Fake) HasSynced() bool
- func (f *Fake) List() ([]*v1.ManagedCertificate, error)
- func (f *Fake) Patch(ctx context.Context, id types.Id, diff []byte) error
- func (f *Fake) Run(ctx context.Context, queue workqueue.RateLimitingInterface)
- 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 []*v1.ManagedCertificate) *Fake
type Interface ¶
type Interface interface { // Get fetches the resource identified by id. Get(id typesutils.Id) (*v1.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() ([]*v1.ManagedCertificate, error) // Patch patches `patchBytes` changes to the ManagedCertificate resource with the given id. Patch(ctx context.Context, id typesutils.Id, patchBytes []byte) 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.