Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAcmeV1
- type FakeChallenges
- func (c *FakeChallenges) Create(ctx context.Context, challenge *acmev1.Challenge, opts v1.CreateOptions) (result *acmev1.Challenge, err error)
- func (c *FakeChallenges) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeChallenges) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeChallenges) Get(ctx context.Context, name string, options v1.GetOptions) (result *acmev1.Challenge, err error)
- func (c *FakeChallenges) List(ctx context.Context, opts v1.ListOptions) (result *acmev1.ChallengeList, err error)
- func (c *FakeChallenges) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *acmev1.Challenge, err error)
- func (c *FakeChallenges) Update(ctx context.Context, challenge *acmev1.Challenge, opts v1.UpdateOptions) (result *acmev1.Challenge, err error)
- func (c *FakeChallenges) UpdateStatus(ctx context.Context, challenge *acmev1.Challenge, opts v1.UpdateOptions) (*acmev1.Challenge, error)
- func (c *FakeChallenges) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeOrders
- func (c *FakeOrders) Create(ctx context.Context, order *acmev1.Order, opts v1.CreateOptions) (result *acmev1.Order, err error)
- func (c *FakeOrders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeOrders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeOrders) Get(ctx context.Context, name string, options v1.GetOptions) (result *acmev1.Order, err error)
- func (c *FakeOrders) List(ctx context.Context, opts v1.ListOptions) (result *acmev1.OrderList, err error)
- func (c *FakeOrders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *acmev1.Order, err error)
- func (c *FakeOrders) Update(ctx context.Context, order *acmev1.Order, opts v1.UpdateOptions) (result *acmev1.Order, err error)
- func (c *FakeOrders) UpdateStatus(ctx context.Context, order *acmev1.Order, opts v1.UpdateOptions) (*acmev1.Order, error)
- func (c *FakeOrders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAcmeV1 ¶
func (*FakeAcmeV1) Challenges ¶
func (c *FakeAcmeV1) Challenges(namespace string) v1.ChallengeInterface
func (*FakeAcmeV1) Orders ¶
func (c *FakeAcmeV1) Orders(namespace string) v1.OrderInterface
func (*FakeAcmeV1) RESTClient ¶
func (c *FakeAcmeV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeChallenges ¶
type FakeChallenges struct { Fake *FakeAcmeV1 // contains filtered or unexported fields }
FakeChallenges implements ChallengeInterface
func (*FakeChallenges) Create ¶
func (c *FakeChallenges) Create(ctx context.Context, challenge *acmev1.Challenge, opts v1.CreateOptions) (result *acmev1.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 ¶
func (c *FakeChallenges) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the challenge and deletes it. Returns an error if one occurs.
func (*FakeChallenges) DeleteCollection ¶
func (c *FakeChallenges) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeChallenges) Get ¶
func (c *FakeChallenges) Get(ctx context.Context, name string, options v1.GetOptions) (result *acmev1.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 ¶
func (c *FakeChallenges) List(ctx context.Context, opts v1.ListOptions) (result *acmev1.ChallengeList, err error)
List takes label and field selectors, and returns the list of Challenges that match those selectors.
func (*FakeChallenges) Patch ¶
func (c *FakeChallenges) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *acmev1.Challenge, err error)
Patch applies the patch and returns the patched challenge.
func (*FakeChallenges) Update ¶
func (c *FakeChallenges) Update(ctx context.Context, challenge *acmev1.Challenge, opts v1.UpdateOptions) (result *acmev1.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 ¶
func (c *FakeChallenges) UpdateStatus(ctx context.Context, challenge *acmev1.Challenge, opts v1.UpdateOptions) (*acmev1.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 ¶
func (c *FakeChallenges) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested challenges.
type FakeOrders ¶
type FakeOrders struct { Fake *FakeAcmeV1 // contains filtered or unexported fields }
FakeOrders implements OrderInterface
func (*FakeOrders) Create ¶
func (c *FakeOrders) Create(ctx context.Context, order *acmev1.Order, opts v1.CreateOptions) (result *acmev1.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 ¶
func (c *FakeOrders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the order and deletes it. Returns an error if one occurs.
func (*FakeOrders) DeleteCollection ¶
func (c *FakeOrders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeOrders) Get ¶
func (c *FakeOrders) Get(ctx context.Context, name string, options v1.GetOptions) (result *acmev1.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 ¶
func (c *FakeOrders) List(ctx context.Context, opts v1.ListOptions) (result *acmev1.OrderList, err error)
List takes label and field selectors, and returns the list of Orders that match those selectors.
func (*FakeOrders) Patch ¶
func (c *FakeOrders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *acmev1.Order, err error)
Patch applies the patch and returns the patched order.
func (*FakeOrders) Update ¶
func (c *FakeOrders) Update(ctx context.Context, order *acmev1.Order, opts v1.UpdateOptions) (result *acmev1.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 ¶
func (c *FakeOrders) UpdateStatus(ctx context.Context, order *acmev1.Order, opts v1.UpdateOptions) (*acmev1.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 ¶
func (c *FakeOrders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested orders.