cert-manager: github.com/jetstack/cert-manager/pkg/client/clientset/versioned/typed/acme/v1alpha2/fake Index | Files

package fake

import "github.com/jetstack/cert-manager/pkg/client/clientset/versioned/typed/acme/v1alpha2/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_acme_client.go fake_challenge.go fake_order.go

type FakeAcmeV1alpha2 Uses

type FakeAcmeV1alpha2 struct {
    *testing.Fake
}

func (*FakeAcmeV1alpha2) Challenges Uses

func (c *FakeAcmeV1alpha2) Challenges(namespace string) v1alpha2.ChallengeInterface

func (*FakeAcmeV1alpha2) Orders Uses

func (c *FakeAcmeV1alpha2) Orders(namespace string) v1alpha2.OrderInterface

func (*FakeAcmeV1alpha2) RESTClient Uses

func (c *FakeAcmeV1alpha2) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type FakeChallenges Uses

type FakeChallenges struct {
    Fake *FakeAcmeV1alpha2
    // contains filtered or unexported fields
}

FakeChallenges implements ChallengeInterface

func (*FakeChallenges) Create Uses

func (c *FakeChallenges) Create(challenge *v1alpha2.Challenge) (result *v1alpha2.Challenge, err error)

Create takes the representation of a challenge and creates it. Returns the server's representation of the challenge, and an error, if there is any.

func (*FakeChallenges) Delete Uses

func (c *FakeChallenges) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the challenge and deletes it. Returns an error if one occurs.

func (*FakeChallenges) DeleteCollection Uses

func (c *FakeChallenges) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeChallenges) Get Uses

func (c *FakeChallenges) Get(name string, options v1.GetOptions) (result *v1alpha2.Challenge, err error)

Get takes name of the challenge, and returns the corresponding challenge object, and an error if there is any.

func (*FakeChallenges) List Uses

func (c *FakeChallenges) List(opts v1.ListOptions) (result *v1alpha2.ChallengeList, err error)

List takes label and field selectors, and returns the list of Challenges that match those selectors.

func (*FakeChallenges) Patch Uses

func (c *FakeChallenges) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Challenge, err error)

Patch applies the patch and returns the patched challenge.

func (*FakeChallenges) Update Uses

func (c *FakeChallenges) Update(challenge *v1alpha2.Challenge) (result *v1alpha2.Challenge, err error)

Update takes the representation of a challenge and updates it. Returns the server's representation of the challenge, and an error, if there is any.

func (*FakeChallenges) UpdateStatus Uses

func (c *FakeChallenges) UpdateStatus(challenge *v1alpha2.Challenge) (*v1alpha2.Challenge, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeChallenges) Watch Uses

func (c *FakeChallenges) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested challenges.

type FakeOrders Uses

type FakeOrders struct {
    Fake *FakeAcmeV1alpha2
    // contains filtered or unexported fields
}

FakeOrders implements OrderInterface

func (*FakeOrders) Create Uses

func (c *FakeOrders) Create(order *v1alpha2.Order) (result *v1alpha2.Order, err error)

Create takes the representation of a order and creates it. Returns the server's representation of the order, and an error, if there is any.

func (*FakeOrders) Delete Uses

func (c *FakeOrders) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the order and deletes it. Returns an error if one occurs.

func (*FakeOrders) DeleteCollection Uses

func (c *FakeOrders) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeOrders) Get Uses

func (c *FakeOrders) Get(name string, options v1.GetOptions) (result *v1alpha2.Order, err error)

Get takes name of the order, and returns the corresponding order object, and an error if there is any.

func (*FakeOrders) List Uses

func (c *FakeOrders) List(opts v1.ListOptions) (result *v1alpha2.OrderList, err error)

List takes label and field selectors, and returns the list of Orders that match those selectors.

func (*FakeOrders) Patch Uses

func (c *FakeOrders) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Order, err error)

Patch applies the patch and returns the patched order.

func (*FakeOrders) Update Uses

func (c *FakeOrders) Update(order *v1alpha2.Order) (result *v1alpha2.Order, err error)

Update takes the representation of a order and updates it. Returns the server's representation of the order, and an error, if there is any.

func (*FakeOrders) UpdateStatus Uses

func (c *FakeOrders) UpdateStatus(order *v1alpha2.Order) (*v1alpha2.Order, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeOrders) Watch Uses

func (c *FakeOrders) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested orders.

Package fake imports 9 packages (graph) and is imported by 1 packages. Updated 2019-09-26. Refresh now. Tools for package owners.