Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAutoscalingV1alpha1
- func (c *FakeAutoscalingV1alpha1) EffectiveHorizontalPodAutoscalers(namespace string) v1alpha1.EffectiveHorizontalPodAutoscalerInterface
- func (c *FakeAutoscalingV1alpha1) EffectiveVerticalPodAutoscalers(namespace string) v1alpha1.EffectiveVerticalPodAutoscalerInterface
- func (c *FakeAutoscalingV1alpha1) RESTClient() rest.Interface
- func (c *FakeAutoscalingV1alpha1) Substitutes(namespace string) v1alpha1.SubstituteInterface
- type FakeEffectiveHorizontalPodAutoscalers
- func (c *FakeEffectiveHorizontalPodAutoscalers) Create(ctx context.Context, ...) (result *v1alpha1.EffectiveHorizontalPodAutoscaler, err error)
- func (c *FakeEffectiveHorizontalPodAutoscalers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEffectiveHorizontalPodAutoscalers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEffectiveHorizontalPodAutoscalers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EffectiveHorizontalPodAutoscaler, err error)
- func (c *FakeEffectiveHorizontalPodAutoscalers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EffectiveHorizontalPodAutoscalerList, err error)
- func (c *FakeEffectiveHorizontalPodAutoscalers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.EffectiveHorizontalPodAutoscaler, err error)
- func (c *FakeEffectiveHorizontalPodAutoscalers) Update(ctx context.Context, ...) (result *v1alpha1.EffectiveHorizontalPodAutoscaler, err error)
- func (c *FakeEffectiveHorizontalPodAutoscalers) UpdateStatus(ctx context.Context, ...) (*v1alpha1.EffectiveHorizontalPodAutoscaler, error)
- func (c *FakeEffectiveHorizontalPodAutoscalers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEffectiveVerticalPodAutoscalers
- func (c *FakeEffectiveVerticalPodAutoscalers) Create(ctx context.Context, ...) (result *v1alpha1.EffectiveVerticalPodAutoscaler, err error)
- func (c *FakeEffectiveVerticalPodAutoscalers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEffectiveVerticalPodAutoscalers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEffectiveVerticalPodAutoscalers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EffectiveVerticalPodAutoscaler, err error)
- func (c *FakeEffectiveVerticalPodAutoscalers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EffectiveVerticalPodAutoscalerList, err error)
- func (c *FakeEffectiveVerticalPodAutoscalers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.EffectiveVerticalPodAutoscaler, err error)
- func (c *FakeEffectiveVerticalPodAutoscalers) Update(ctx context.Context, ...) (result *v1alpha1.EffectiveVerticalPodAutoscaler, err error)
- func (c *FakeEffectiveVerticalPodAutoscalers) UpdateStatus(ctx context.Context, ...) (*v1alpha1.EffectiveVerticalPodAutoscaler, error)
- func (c *FakeEffectiveVerticalPodAutoscalers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSubstitutes
- func (c *FakeSubstitutes) Create(ctx context.Context, substitute *v1alpha1.Substitute, opts v1.CreateOptions) (result *v1alpha1.Substitute, err error)
- func (c *FakeSubstitutes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSubstitutes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSubstitutes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Substitute, err error)
- func (c *FakeSubstitutes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SubstituteList, err error)
- func (c *FakeSubstitutes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Substitute, err error)
- func (c *FakeSubstitutes) Update(ctx context.Context, substitute *v1alpha1.Substitute, opts v1.UpdateOptions) (result *v1alpha1.Substitute, err error)
- func (c *FakeSubstitutes) UpdateStatus(ctx context.Context, substitute *v1alpha1.Substitute, opts v1.UpdateOptions) (*v1alpha1.Substitute, error)
- func (c *FakeSubstitutes) 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) EffectiveHorizontalPodAutoscalers ¶
func (c *FakeAutoscalingV1alpha1) EffectiveHorizontalPodAutoscalers(namespace string) v1alpha1.EffectiveHorizontalPodAutoscalerInterface
func (*FakeAutoscalingV1alpha1) EffectiveVerticalPodAutoscalers ¶
func (c *FakeAutoscalingV1alpha1) EffectiveVerticalPodAutoscalers(namespace string) v1alpha1.EffectiveVerticalPodAutoscalerInterface
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.
func (*FakeAutoscalingV1alpha1) Substitutes ¶
func (c *FakeAutoscalingV1alpha1) Substitutes(namespace string) v1alpha1.SubstituteInterface
type FakeEffectiveHorizontalPodAutoscalers ¶
type FakeEffectiveHorizontalPodAutoscalers struct { Fake *FakeAutoscalingV1alpha1 // contains filtered or unexported fields }
FakeEffectiveHorizontalPodAutoscalers implements EffectiveHorizontalPodAutoscalerInterface
func (*FakeEffectiveHorizontalPodAutoscalers) Create ¶
func (c *FakeEffectiveHorizontalPodAutoscalers) Create(ctx context.Context, effectiveHorizontalPodAutoscaler *v1alpha1.EffectiveHorizontalPodAutoscaler, opts v1.CreateOptions) (result *v1alpha1.EffectiveHorizontalPodAutoscaler, err error)
Create takes the representation of a effectiveHorizontalPodAutoscaler and creates it. Returns the server's representation of the effectiveHorizontalPodAutoscaler, and an error, if there is any.
func (*FakeEffectiveHorizontalPodAutoscalers) Delete ¶
func (c *FakeEffectiveHorizontalPodAutoscalers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the effectiveHorizontalPodAutoscaler and deletes it. Returns an error if one occurs.
func (*FakeEffectiveHorizontalPodAutoscalers) DeleteCollection ¶
func (c *FakeEffectiveHorizontalPodAutoscalers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEffectiveHorizontalPodAutoscalers) Get ¶
func (c *FakeEffectiveHorizontalPodAutoscalers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EffectiveHorizontalPodAutoscaler, err error)
Get takes name of the effectiveHorizontalPodAutoscaler, and returns the corresponding effectiveHorizontalPodAutoscaler object, and an error if there is any.
func (*FakeEffectiveHorizontalPodAutoscalers) List ¶
func (c *FakeEffectiveHorizontalPodAutoscalers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EffectiveHorizontalPodAutoscalerList, err error)
List takes label and field selectors, and returns the list of EffectiveHorizontalPodAutoscalers that match those selectors.
func (*FakeEffectiveHorizontalPodAutoscalers) Patch ¶
func (c *FakeEffectiveHorizontalPodAutoscalers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EffectiveHorizontalPodAutoscaler, err error)
Patch applies the patch and returns the patched effectiveHorizontalPodAutoscaler.
func (*FakeEffectiveHorizontalPodAutoscalers) Update ¶
func (c *FakeEffectiveHorizontalPodAutoscalers) Update(ctx context.Context, effectiveHorizontalPodAutoscaler *v1alpha1.EffectiveHorizontalPodAutoscaler, opts v1.UpdateOptions) (result *v1alpha1.EffectiveHorizontalPodAutoscaler, err error)
Update takes the representation of a effectiveHorizontalPodAutoscaler and updates it. Returns the server's representation of the effectiveHorizontalPodAutoscaler, and an error, if there is any.
func (*FakeEffectiveHorizontalPodAutoscalers) UpdateStatus ¶
func (c *FakeEffectiveHorizontalPodAutoscalers) UpdateStatus(ctx context.Context, effectiveHorizontalPodAutoscaler *v1alpha1.EffectiveHorizontalPodAutoscaler, opts v1.UpdateOptions) (*v1alpha1.EffectiveHorizontalPodAutoscaler, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEffectiveHorizontalPodAutoscalers) Watch ¶
func (c *FakeEffectiveHorizontalPodAutoscalers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested effectiveHorizontalPodAutoscalers.
type FakeEffectiveVerticalPodAutoscalers ¶
type FakeEffectiveVerticalPodAutoscalers struct { Fake *FakeAutoscalingV1alpha1 // contains filtered or unexported fields }
FakeEffectiveVerticalPodAutoscalers implements EffectiveVerticalPodAutoscalerInterface
func (*FakeEffectiveVerticalPodAutoscalers) Create ¶
func (c *FakeEffectiveVerticalPodAutoscalers) Create(ctx context.Context, effectiveVerticalPodAutoscaler *v1alpha1.EffectiveVerticalPodAutoscaler, opts v1.CreateOptions) (result *v1alpha1.EffectiveVerticalPodAutoscaler, err error)
Create takes the representation of a effectiveVerticalPodAutoscaler and creates it. Returns the server's representation of the effectiveVerticalPodAutoscaler, and an error, if there is any.
func (*FakeEffectiveVerticalPodAutoscalers) Delete ¶
func (c *FakeEffectiveVerticalPodAutoscalers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the effectiveVerticalPodAutoscaler and deletes it. Returns an error if one occurs.
func (*FakeEffectiveVerticalPodAutoscalers) DeleteCollection ¶
func (c *FakeEffectiveVerticalPodAutoscalers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEffectiveVerticalPodAutoscalers) Get ¶
func (c *FakeEffectiveVerticalPodAutoscalers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EffectiveVerticalPodAutoscaler, err error)
Get takes name of the effectiveVerticalPodAutoscaler, and returns the corresponding effectiveVerticalPodAutoscaler object, and an error if there is any.
func (*FakeEffectiveVerticalPodAutoscalers) List ¶
func (c *FakeEffectiveVerticalPodAutoscalers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EffectiveVerticalPodAutoscalerList, err error)
List takes label and field selectors, and returns the list of EffectiveVerticalPodAutoscalers that match those selectors.
func (*FakeEffectiveVerticalPodAutoscalers) Patch ¶
func (c *FakeEffectiveVerticalPodAutoscalers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EffectiveVerticalPodAutoscaler, err error)
Patch applies the patch and returns the patched effectiveVerticalPodAutoscaler.
func (*FakeEffectiveVerticalPodAutoscalers) Update ¶
func (c *FakeEffectiveVerticalPodAutoscalers) Update(ctx context.Context, effectiveVerticalPodAutoscaler *v1alpha1.EffectiveVerticalPodAutoscaler, opts v1.UpdateOptions) (result *v1alpha1.EffectiveVerticalPodAutoscaler, err error)
Update takes the representation of a effectiveVerticalPodAutoscaler and updates it. Returns the server's representation of the effectiveVerticalPodAutoscaler, and an error, if there is any.
func (*FakeEffectiveVerticalPodAutoscalers) UpdateStatus ¶
func (c *FakeEffectiveVerticalPodAutoscalers) UpdateStatus(ctx context.Context, effectiveVerticalPodAutoscaler *v1alpha1.EffectiveVerticalPodAutoscaler, opts v1.UpdateOptions) (*v1alpha1.EffectiveVerticalPodAutoscaler, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEffectiveVerticalPodAutoscalers) Watch ¶
func (c *FakeEffectiveVerticalPodAutoscalers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested effectiveVerticalPodAutoscalers.
type FakeSubstitutes ¶
type FakeSubstitutes struct { Fake *FakeAutoscalingV1alpha1 // contains filtered or unexported fields }
FakeSubstitutes implements SubstituteInterface
func (*FakeSubstitutes) Create ¶
func (c *FakeSubstitutes) Create(ctx context.Context, substitute *v1alpha1.Substitute, opts v1.CreateOptions) (result *v1alpha1.Substitute, err error)
Create takes the representation of a substitute and creates it. Returns the server's representation of the substitute, and an error, if there is any.
func (*FakeSubstitutes) Delete ¶
func (c *FakeSubstitutes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the substitute and deletes it. Returns an error if one occurs.
func (*FakeSubstitutes) DeleteCollection ¶
func (c *FakeSubstitutes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSubstitutes) Get ¶
func (c *FakeSubstitutes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Substitute, err error)
Get takes name of the substitute, and returns the corresponding substitute object, and an error if there is any.
func (*FakeSubstitutes) List ¶
func (c *FakeSubstitutes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SubstituteList, err error)
List takes label and field selectors, and returns the list of Substitutes that match those selectors.
func (*FakeSubstitutes) Patch ¶
func (c *FakeSubstitutes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Substitute, err error)
Patch applies the patch and returns the patched substitute.
func (*FakeSubstitutes) Update ¶
func (c *FakeSubstitutes) Update(ctx context.Context, substitute *v1alpha1.Substitute, opts v1.UpdateOptions) (result *v1alpha1.Substitute, err error)
Update takes the representation of a substitute and updates it. Returns the server's representation of the substitute, and an error, if there is any.
func (*FakeSubstitutes) UpdateStatus ¶
func (c *FakeSubstitutes) UpdateStatus(ctx context.Context, substitute *v1alpha1.Substitute, opts v1.UpdateOptions) (*v1alpha1.Substitute, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSubstitutes) Watch ¶
func (c *FakeSubstitutes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested substitutes.