Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAttestationV1alpha1
- type FakeProviders
- func (c *FakeProviders) Create(ctx context.Context, provider *v1alpha1.Provider, opts v1.CreateOptions) (result *v1alpha1.Provider, err error)
- func (c *FakeProviders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeProviders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeProviders) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Provider, err error)
- func (c *FakeProviders) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProviderList, err error)
- func (c *FakeProviders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Provider, err error)
- func (c *FakeProviders) Update(ctx context.Context, provider *v1alpha1.Provider, opts v1.UpdateOptions) (result *v1alpha1.Provider, err error)
- func (c *FakeProviders) UpdateStatus(ctx context.Context, provider *v1alpha1.Provider, opts v1.UpdateOptions) (*v1alpha1.Provider, error)
- func (c *FakeProviders) 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 FakeAttestationV1alpha1 ¶
func (*FakeAttestationV1alpha1) Providers ¶
func (c *FakeAttestationV1alpha1) Providers(namespace string) v1alpha1.ProviderInterface
func (*FakeAttestationV1alpha1) RESTClient ¶
func (c *FakeAttestationV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeProviders ¶
type FakeProviders struct { Fake *FakeAttestationV1alpha1 // contains filtered or unexported fields }
FakeProviders implements ProviderInterface
func (*FakeProviders) Create ¶
func (c *FakeProviders) Create(ctx context.Context, provider *v1alpha1.Provider, opts v1.CreateOptions) (result *v1alpha1.Provider, err error)
Create takes the representation of a provider and creates it. Returns the server's representation of the provider, and an error, if there is any.
func (*FakeProviders) Delete ¶
func (c *FakeProviders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the provider and deletes it. Returns an error if one occurs.
func (*FakeProviders) DeleteCollection ¶
func (c *FakeProviders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProviders) Get ¶
func (c *FakeProviders) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Provider, err error)
Get takes name of the provider, and returns the corresponding provider object, and an error if there is any.
func (*FakeProviders) List ¶
func (c *FakeProviders) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProviderList, err error)
List takes label and field selectors, and returns the list of Providers that match those selectors.
func (*FakeProviders) Patch ¶
func (c *FakeProviders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Provider, err error)
Patch applies the patch and returns the patched provider.
func (*FakeProviders) Update ¶
func (c *FakeProviders) Update(ctx context.Context, provider *v1alpha1.Provider, opts v1.UpdateOptions) (result *v1alpha1.Provider, err error)
Update takes the representation of a provider and updates it. Returns the server's representation of the provider, and an error, if there is any.
func (*FakeProviders) UpdateStatus ¶
func (c *FakeProviders) UpdateStatus(ctx context.Context, provider *v1alpha1.Provider, opts v1.UpdateOptions) (*v1alpha1.Provider, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeProviders) Watch ¶
func (c *FakeProviders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested providers.