Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakePodScales
- func (c *FakePodScales) Create(ctx context.Context, podScale *v1beta1.PodScale, opts v1.CreateOptions) (result *v1beta1.PodScale, err error)
- func (c *FakePodScales) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePodScales) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePodScales) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.PodScale, err error)
- func (c *FakePodScales) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.PodScaleList, err error)
- func (c *FakePodScales) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.PodScale, err error)
- func (c *FakePodScales) Update(ctx context.Context, podScale *v1beta1.PodScale, opts v1.UpdateOptions) (result *v1beta1.PodScale, err error)
- func (c *FakePodScales) UpdateStatus(ctx context.Context, podScale *v1beta1.PodScale, opts v1.UpdateOptions) (*v1beta1.PodScale, error)
- func (c *FakePodScales) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeServiceLevelAgreements
- func (c *FakeServiceLevelAgreements) Create(ctx context.Context, serviceLevelAgreement *v1beta1.ServiceLevelAgreement, ...) (result *v1beta1.ServiceLevelAgreement, err error)
- func (c *FakeServiceLevelAgreements) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServiceLevelAgreements) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServiceLevelAgreements) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ServiceLevelAgreement, err error)
- func (c *FakeServiceLevelAgreements) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ServiceLevelAgreementList, err error)
- func (c *FakeServiceLevelAgreements) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.ServiceLevelAgreement, err error)
- func (c *FakeServiceLevelAgreements) Update(ctx context.Context, serviceLevelAgreement *v1beta1.ServiceLevelAgreement, ...) (result *v1beta1.ServiceLevelAgreement, err error)
- func (c *FakeServiceLevelAgreements) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSystemautoscalerV1beta1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePodScales ¶
type FakePodScales struct { Fake *FakeSystemautoscalerV1beta1 // contains filtered or unexported fields }
FakePodScales implements PodScaleInterface
func (*FakePodScales) Create ¶
func (c *FakePodScales) Create(ctx context.Context, podScale *v1beta1.PodScale, opts v1.CreateOptions) (result *v1beta1.PodScale, err error)
Create takes the representation of a podScale and creates it. Returns the server's representation of the podScale, and an error, if there is any.
func (*FakePodScales) Delete ¶
func (c *FakePodScales) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the podScale and deletes it. Returns an error if one occurs.
func (*FakePodScales) DeleteCollection ¶
func (c *FakePodScales) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePodScales) Get ¶
func (c *FakePodScales) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.PodScale, err error)
Get takes name of the podScale, and returns the corresponding podScale object, and an error if there is any.
func (*FakePodScales) List ¶
func (c *FakePodScales) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.PodScaleList, err error)
List takes label and field selectors, and returns the list of PodScales that match those selectors.
func (*FakePodScales) Patch ¶
func (c *FakePodScales) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.PodScale, err error)
Patch applies the patch and returns the patched podScale.
func (*FakePodScales) Update ¶
func (c *FakePodScales) Update(ctx context.Context, podScale *v1beta1.PodScale, opts v1.UpdateOptions) (result *v1beta1.PodScale, err error)
Update takes the representation of a podScale and updates it. Returns the server's representation of the podScale, and an error, if there is any.
func (*FakePodScales) UpdateStatus ¶
func (c *FakePodScales) UpdateStatus(ctx context.Context, podScale *v1beta1.PodScale, opts v1.UpdateOptions) (*v1beta1.PodScale, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePodScales) Watch ¶
func (c *FakePodScales) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested podScales.
type FakeServiceLevelAgreements ¶
type FakeServiceLevelAgreements struct { Fake *FakeSystemautoscalerV1beta1 // contains filtered or unexported fields }
FakeServiceLevelAgreements implements ServiceLevelAgreementInterface
func (*FakeServiceLevelAgreements) Create ¶
func (c *FakeServiceLevelAgreements) Create(ctx context.Context, serviceLevelAgreement *v1beta1.ServiceLevelAgreement, opts v1.CreateOptions) (result *v1beta1.ServiceLevelAgreement, err error)
Create takes the representation of a serviceLevelAgreement and creates it. Returns the server's representation of the serviceLevelAgreement, and an error, if there is any.
func (*FakeServiceLevelAgreements) Delete ¶
func (c *FakeServiceLevelAgreements) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the serviceLevelAgreement and deletes it. Returns an error if one occurs.
func (*FakeServiceLevelAgreements) DeleteCollection ¶
func (c *FakeServiceLevelAgreements) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceLevelAgreements) Get ¶
func (c *FakeServiceLevelAgreements) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ServiceLevelAgreement, err error)
Get takes name of the serviceLevelAgreement, and returns the corresponding serviceLevelAgreement object, and an error if there is any.
func (*FakeServiceLevelAgreements) List ¶
func (c *FakeServiceLevelAgreements) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ServiceLevelAgreementList, err error)
List takes label and field selectors, and returns the list of ServiceLevelAgreements that match those selectors.
func (*FakeServiceLevelAgreements) Patch ¶
func (c *FakeServiceLevelAgreements) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ServiceLevelAgreement, err error)
Patch applies the patch and returns the patched serviceLevelAgreement.
func (*FakeServiceLevelAgreements) Update ¶
func (c *FakeServiceLevelAgreements) Update(ctx context.Context, serviceLevelAgreement *v1beta1.ServiceLevelAgreement, opts v1.UpdateOptions) (result *v1beta1.ServiceLevelAgreement, err error)
Update takes the representation of a serviceLevelAgreement and updates it. Returns the server's representation of the serviceLevelAgreement, and an error, if there is any.
func (*FakeServiceLevelAgreements) Watch ¶
func (c *FakeServiceLevelAgreements) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceLevelAgreements.
type FakeSystemautoscalerV1beta1 ¶
func (*FakeSystemautoscalerV1beta1) PodScales ¶
func (c *FakeSystemautoscalerV1beta1) PodScales(namespace string) v1beta1.PodScaleInterface
func (*FakeSystemautoscalerV1beta1) RESTClient ¶
func (c *FakeSystemautoscalerV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSystemautoscalerV1beta1) ServiceLevelAgreements ¶
func (c *FakeSystemautoscalerV1beta1) ServiceLevelAgreements(namespace string) v1beta1.ServiceLevelAgreementInterface