managedcertificate

package
v1.2.12 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package managedcertificate exposes the interface the controller needs to operate on ManagedCertificate resources.

Index

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

func (*Fake) Get

func (f *Fake) Get(id types.Id) (*v1.ManagedCertificate, error)

func (*Fake) HasSynced

func (f *Fake) HasSynced() bool

func (*Fake) List

func (f *Fake) List() ([]*v1.ManagedCertificate, error)

func (*Fake) Patch added in v1.2.3

func (f *Fake) Patch(ctx context.Context, id types.Id, diff []byte) error

func (*Fake) Run

func (f *Fake) Run(ctx context.Context, queue workqueue.RateLimitingInterface)

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.

func New

func New(clientset *versioned.Clientset) Interface

Jump to

Keyboard shortcuts

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