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