Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeComputationCustomTables
- func (c *FakeComputationCustomTables) Create(ctx context.Context, computationCustomTable *v1alpha1.ComputationCustomTable, ...) (result *v1alpha1.ComputationCustomTable, err error)
- func (c *FakeComputationCustomTables) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeComputationCustomTables) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeComputationCustomTables) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ComputationCustomTable, err error)
- func (c *FakeComputationCustomTables) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ComputationCustomTableList, err error)
- func (c *FakeComputationCustomTables) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ComputationCustomTable, err error)
- func (c *FakeComputationCustomTables) Update(ctx context.Context, computationCustomTable *v1alpha1.ComputationCustomTable, ...) (result *v1alpha1.ComputationCustomTable, err error)
- func (c *FakeComputationCustomTables) UpdateStatus(ctx context.Context, computationCustomTable *v1alpha1.ComputationCustomTable, ...) (*v1alpha1.ComputationCustomTable, error)
- func (c *FakeComputationCustomTables) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeComputationQueries
- func (c *FakeComputationQueries) Create(ctx context.Context, computationQuery *v1alpha1.ComputationQuery, ...) (result *v1alpha1.ComputationQuery, err error)
- func (c *FakeComputationQueries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeComputationQueries) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeComputationQueries) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ComputationQuery, err error)
- func (c *FakeComputationQueries) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ComputationQueryList, err error)
- func (c *FakeComputationQueries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ComputationQuery, err error)
- func (c *FakeComputationQueries) Update(ctx context.Context, computationQuery *v1alpha1.ComputationQuery, ...) (result *v1alpha1.ComputationQuery, err error)
- func (c *FakeComputationQueries) UpdateStatus(ctx context.Context, computationQuery *v1alpha1.ComputationQuery, ...) (*v1alpha1.ComputationQuery, error)
- func (c *FakeComputationQueries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeComputationUsages
- func (c *FakeComputationUsages) Create(ctx context.Context, computationUsage *v1alpha1.ComputationUsage, ...) (result *v1alpha1.ComputationUsage, err error)
- func (c *FakeComputationUsages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeComputationUsages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeComputationUsages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ComputationUsage, err error)
- func (c *FakeComputationUsages) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ComputationUsageList, err error)
- func (c *FakeComputationUsages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ComputationUsage, err error)
- func (c *FakeComputationUsages) Update(ctx context.Context, computationUsage *v1alpha1.ComputationUsage, ...) (result *v1alpha1.ComputationUsage, err error)
- func (c *FakeComputationUsages) UpdateStatus(ctx context.Context, computationUsage *v1alpha1.ComputationUsage, ...) (*v1alpha1.ComputationUsage, error)
- func (c *FakeComputationUsages) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMeteringV1alpha1
- func (c *FakeMeteringV1alpha1) ComputationCustomTables(namespace string) v1alpha1.ComputationCustomTableInterface
- func (c *FakeMeteringV1alpha1) ComputationQueries(namespace string) v1alpha1.ComputationQueryInterface
- func (c *FakeMeteringV1alpha1) ComputationUsages(namespace string) v1alpha1.ComputationUsageInterface
- func (c *FakeMeteringV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeComputationCustomTables ¶
type FakeComputationCustomTables struct { Fake *FakeMeteringV1alpha1 // contains filtered or unexported fields }
FakeComputationCustomTables implements ComputationCustomTableInterface
func (*FakeComputationCustomTables) Create ¶
func (c *FakeComputationCustomTables) Create(ctx context.Context, computationCustomTable *v1alpha1.ComputationCustomTable, opts v1.CreateOptions) (result *v1alpha1.ComputationCustomTable, err error)
Create takes the representation of a computationCustomTable and creates it. Returns the server's representation of the computationCustomTable, and an error, if there is any.
func (*FakeComputationCustomTables) Delete ¶
func (c *FakeComputationCustomTables) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the computationCustomTable and deletes it. Returns an error if one occurs.
func (*FakeComputationCustomTables) DeleteCollection ¶
func (c *FakeComputationCustomTables) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeComputationCustomTables) Get ¶
func (c *FakeComputationCustomTables) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ComputationCustomTable, err error)
Get takes name of the computationCustomTable, and returns the corresponding computationCustomTable object, and an error if there is any.
func (*FakeComputationCustomTables) List ¶
func (c *FakeComputationCustomTables) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ComputationCustomTableList, err error)
List takes label and field selectors, and returns the list of ComputationCustomTables that match those selectors.
func (*FakeComputationCustomTables) Patch ¶
func (c *FakeComputationCustomTables) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ComputationCustomTable, err error)
Patch applies the patch and returns the patched computationCustomTable.
func (*FakeComputationCustomTables) Update ¶
func (c *FakeComputationCustomTables) Update(ctx context.Context, computationCustomTable *v1alpha1.ComputationCustomTable, opts v1.UpdateOptions) (result *v1alpha1.ComputationCustomTable, err error)
Update takes the representation of a computationCustomTable and updates it. Returns the server's representation of the computationCustomTable, and an error, if there is any.
func (*FakeComputationCustomTables) UpdateStatus ¶
func (c *FakeComputationCustomTables) UpdateStatus(ctx context.Context, computationCustomTable *v1alpha1.ComputationCustomTable, opts v1.UpdateOptions) (*v1alpha1.ComputationCustomTable, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeComputationCustomTables) Watch ¶
func (c *FakeComputationCustomTables) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested computationCustomTables.
type FakeComputationQueries ¶
type FakeComputationQueries struct { Fake *FakeMeteringV1alpha1 // contains filtered or unexported fields }
FakeComputationQueries implements ComputationQueryInterface
func (*FakeComputationQueries) Create ¶
func (c *FakeComputationQueries) Create(ctx context.Context, computationQuery *v1alpha1.ComputationQuery, opts v1.CreateOptions) (result *v1alpha1.ComputationQuery, err error)
Create takes the representation of a computationQuery and creates it. Returns the server's representation of the computationQuery, and an error, if there is any.
func (*FakeComputationQueries) Delete ¶
func (c *FakeComputationQueries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the computationQuery and deletes it. Returns an error if one occurs.
func (*FakeComputationQueries) DeleteCollection ¶
func (c *FakeComputationQueries) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeComputationQueries) Get ¶
func (c *FakeComputationQueries) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ComputationQuery, err error)
Get takes name of the computationQuery, and returns the corresponding computationQuery object, and an error if there is any.
func (*FakeComputationQueries) List ¶
func (c *FakeComputationQueries) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ComputationQueryList, err error)
List takes label and field selectors, and returns the list of ComputationQueries that match those selectors.
func (*FakeComputationQueries) Patch ¶
func (c *FakeComputationQueries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ComputationQuery, err error)
Patch applies the patch and returns the patched computationQuery.
func (*FakeComputationQueries) Update ¶
func (c *FakeComputationQueries) Update(ctx context.Context, computationQuery *v1alpha1.ComputationQuery, opts v1.UpdateOptions) (result *v1alpha1.ComputationQuery, err error)
Update takes the representation of a computationQuery and updates it. Returns the server's representation of the computationQuery, and an error, if there is any.
func (*FakeComputationQueries) UpdateStatus ¶
func (c *FakeComputationQueries) UpdateStatus(ctx context.Context, computationQuery *v1alpha1.ComputationQuery, opts v1.UpdateOptions) (*v1alpha1.ComputationQuery, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeComputationQueries) Watch ¶
func (c *FakeComputationQueries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested computationQueries.
type FakeComputationUsages ¶
type FakeComputationUsages struct { Fake *FakeMeteringV1alpha1 // contains filtered or unexported fields }
FakeComputationUsages implements ComputationUsageInterface
func (*FakeComputationUsages) Create ¶
func (c *FakeComputationUsages) Create(ctx context.Context, computationUsage *v1alpha1.ComputationUsage, opts v1.CreateOptions) (result *v1alpha1.ComputationUsage, err error)
Create takes the representation of a computationUsage and creates it. Returns the server's representation of the computationUsage, and an error, if there is any.
func (*FakeComputationUsages) Delete ¶
func (c *FakeComputationUsages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the computationUsage and deletes it. Returns an error if one occurs.
func (*FakeComputationUsages) DeleteCollection ¶
func (c *FakeComputationUsages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeComputationUsages) Get ¶
func (c *FakeComputationUsages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ComputationUsage, err error)
Get takes name of the computationUsage, and returns the corresponding computationUsage object, and an error if there is any.
func (*FakeComputationUsages) List ¶
func (c *FakeComputationUsages) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ComputationUsageList, err error)
List takes label and field selectors, and returns the list of ComputationUsages that match those selectors.
func (*FakeComputationUsages) Patch ¶
func (c *FakeComputationUsages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ComputationUsage, err error)
Patch applies the patch and returns the patched computationUsage.
func (*FakeComputationUsages) Update ¶
func (c *FakeComputationUsages) Update(ctx context.Context, computationUsage *v1alpha1.ComputationUsage, opts v1.UpdateOptions) (result *v1alpha1.ComputationUsage, err error)
Update takes the representation of a computationUsage and updates it. Returns the server's representation of the computationUsage, and an error, if there is any.
func (*FakeComputationUsages) UpdateStatus ¶
func (c *FakeComputationUsages) UpdateStatus(ctx context.Context, computationUsage *v1alpha1.ComputationUsage, opts v1.UpdateOptions) (*v1alpha1.ComputationUsage, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeComputationUsages) Watch ¶
func (c *FakeComputationUsages) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested computationUsages.
type FakeMeteringV1alpha1 ¶
func (*FakeMeteringV1alpha1) ComputationCustomTables ¶
func (c *FakeMeteringV1alpha1) ComputationCustomTables(namespace string) v1alpha1.ComputationCustomTableInterface
func (*FakeMeteringV1alpha1) ComputationQueries ¶
func (c *FakeMeteringV1alpha1) ComputationQueries(namespace string) v1alpha1.ComputationQueryInterface
func (*FakeMeteringV1alpha1) ComputationUsages ¶
func (c *FakeMeteringV1alpha1) ComputationUsages(namespace string) v1alpha1.ComputationUsageInterface
func (*FakeMeteringV1alpha1) RESTClient ¶
func (c *FakeMeteringV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.