Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAutoscalingEngines
- func (c *FakeAutoscalingEngines) Create(autoscalingEngine *v1alpha1.AutoscalingEngine) (result *v1alpha1.AutoscalingEngine, err error)
- func (c *FakeAutoscalingEngines) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAutoscalingEngines) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAutoscalingEngines) Get(name string, options v1.GetOptions) (result *v1alpha1.AutoscalingEngine, err error)
- func (c *FakeAutoscalingEngines) List(opts v1.ListOptions) (result *v1alpha1.AutoscalingEngineList, err error)
- func (c *FakeAutoscalingEngines) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AutoscalingEngine, err error)
- func (c *FakeAutoscalingEngines) Update(autoscalingEngine *v1alpha1.AutoscalingEngine) (result *v1alpha1.AutoscalingEngine, err error)
- func (c *FakeAutoscalingEngines) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeAutoscalingGroups
- func (c *FakeAutoscalingGroups) Create(autoscalingGroup *v1alpha1.AutoscalingGroup) (result *v1alpha1.AutoscalingGroup, err error)
- func (c *FakeAutoscalingGroups) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAutoscalingGroups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAutoscalingGroups) Get(name string, options v1.GetOptions) (result *v1alpha1.AutoscalingGroup, err error)
- func (c *FakeAutoscalingGroups) List(opts v1.ListOptions) (result *v1alpha1.AutoscalingGroupList, err error)
- func (c *FakeAutoscalingGroups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AutoscalingGroup, err error)
- func (c *FakeAutoscalingGroups) Update(autoscalingGroup *v1alpha1.AutoscalingGroup) (result *v1alpha1.AutoscalingGroup, err error)
- func (c *FakeAutoscalingGroups) UpdateStatus(autoscalingGroup *v1alpha1.AutoscalingGroup) (*v1alpha1.AutoscalingGroup, error)
- func (c *FakeAutoscalingGroups) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeAutoscalingPolicies
- func (c *FakeAutoscalingPolicies) Create(autoscalingPolicy *v1alpha1.AutoscalingPolicy) (result *v1alpha1.AutoscalingPolicy, err error)
- func (c *FakeAutoscalingPolicies) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAutoscalingPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAutoscalingPolicies) Get(name string, options v1.GetOptions) (result *v1alpha1.AutoscalingPolicy, err error)
- func (c *FakeAutoscalingPolicies) List(opts v1.ListOptions) (result *v1alpha1.AutoscalingPolicyList, err error)
- func (c *FakeAutoscalingPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AutoscalingPolicy, err error)
- func (c *FakeAutoscalingPolicies) Update(autoscalingPolicy *v1alpha1.AutoscalingPolicy) (result *v1alpha1.AutoscalingPolicy, err error)
- func (c *FakeAutoscalingPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCerebralV1alpha1
- func (c *FakeCerebralV1alpha1) AutoscalingEngines() v1alpha1.AutoscalingEngineInterface
- func (c *FakeCerebralV1alpha1) AutoscalingGroups() v1alpha1.AutoscalingGroupInterface
- func (c *FakeCerebralV1alpha1) AutoscalingPolicies() v1alpha1.AutoscalingPolicyInterface
- func (c *FakeCerebralV1alpha1) MetricsBackends() v1alpha1.MetricsBackendInterface
- func (c *FakeCerebralV1alpha1) RESTClient() rest.Interface
- type FakeMetricsBackends
- func (c *FakeMetricsBackends) Create(metricsBackend *v1alpha1.MetricsBackend) (result *v1alpha1.MetricsBackend, err error)
- func (c *FakeMetricsBackends) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMetricsBackends) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMetricsBackends) Get(name string, options v1.GetOptions) (result *v1alpha1.MetricsBackend, err error)
- func (c *FakeMetricsBackends) List(opts v1.ListOptions) (result *v1alpha1.MetricsBackendList, err error)
- func (c *FakeMetricsBackends) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MetricsBackend, err error)
- func (c *FakeMetricsBackends) Update(metricsBackend *v1alpha1.MetricsBackend) (result *v1alpha1.MetricsBackend, err error)
- func (c *FakeMetricsBackends) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAutoscalingEngines ¶
type FakeAutoscalingEngines struct {
Fake *FakeCerebralV1alpha1
}
FakeAutoscalingEngines implements AutoscalingEngineInterface
func (*FakeAutoscalingEngines) Create ¶
func (c *FakeAutoscalingEngines) Create(autoscalingEngine *v1alpha1.AutoscalingEngine) (result *v1alpha1.AutoscalingEngine, err error)
Create takes the representation of a autoscalingEngine and creates it. Returns the server's representation of the autoscalingEngine, and an error, if there is any.
func (*FakeAutoscalingEngines) Delete ¶
func (c *FakeAutoscalingEngines) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the autoscalingEngine and deletes it. Returns an error if one occurs.
func (*FakeAutoscalingEngines) DeleteCollection ¶
func (c *FakeAutoscalingEngines) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAutoscalingEngines) Get ¶
func (c *FakeAutoscalingEngines) Get(name string, options v1.GetOptions) (result *v1alpha1.AutoscalingEngine, err error)
Get takes name of the autoscalingEngine, and returns the corresponding autoscalingEngine object, and an error if there is any.
func (*FakeAutoscalingEngines) List ¶
func (c *FakeAutoscalingEngines) List(opts v1.ListOptions) (result *v1alpha1.AutoscalingEngineList, err error)
List takes label and field selectors, and returns the list of AutoscalingEngines that match those selectors.
func (*FakeAutoscalingEngines) Patch ¶
func (c *FakeAutoscalingEngines) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AutoscalingEngine, err error)
Patch applies the patch and returns the patched autoscalingEngine.
func (*FakeAutoscalingEngines) Update ¶
func (c *FakeAutoscalingEngines) Update(autoscalingEngine *v1alpha1.AutoscalingEngine) (result *v1alpha1.AutoscalingEngine, err error)
Update takes the representation of a autoscalingEngine and updates it. Returns the server's representation of the autoscalingEngine, and an error, if there is any.
func (*FakeAutoscalingEngines) Watch ¶
func (c *FakeAutoscalingEngines) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested autoscalingEngines.
type FakeAutoscalingGroups ¶
type FakeAutoscalingGroups struct {
Fake *FakeCerebralV1alpha1
}
FakeAutoscalingGroups implements AutoscalingGroupInterface
func (*FakeAutoscalingGroups) Create ¶
func (c *FakeAutoscalingGroups) Create(autoscalingGroup *v1alpha1.AutoscalingGroup) (result *v1alpha1.AutoscalingGroup, err error)
Create takes the representation of a autoscalingGroup and creates it. Returns the server's representation of the autoscalingGroup, and an error, if there is any.
func (*FakeAutoscalingGroups) Delete ¶
func (c *FakeAutoscalingGroups) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the autoscalingGroup and deletes it. Returns an error if one occurs.
func (*FakeAutoscalingGroups) DeleteCollection ¶
func (c *FakeAutoscalingGroups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAutoscalingGroups) Get ¶
func (c *FakeAutoscalingGroups) Get(name string, options v1.GetOptions) (result *v1alpha1.AutoscalingGroup, err error)
Get takes name of the autoscalingGroup, and returns the corresponding autoscalingGroup object, and an error if there is any.
func (*FakeAutoscalingGroups) List ¶
func (c *FakeAutoscalingGroups) List(opts v1.ListOptions) (result *v1alpha1.AutoscalingGroupList, err error)
List takes label and field selectors, and returns the list of AutoscalingGroups that match those selectors.
func (*FakeAutoscalingGroups) Patch ¶
func (c *FakeAutoscalingGroups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AutoscalingGroup, err error)
Patch applies the patch and returns the patched autoscalingGroup.
func (*FakeAutoscalingGroups) Update ¶
func (c *FakeAutoscalingGroups) Update(autoscalingGroup *v1alpha1.AutoscalingGroup) (result *v1alpha1.AutoscalingGroup, err error)
Update takes the representation of a autoscalingGroup and updates it. Returns the server's representation of the autoscalingGroup, and an error, if there is any.
func (*FakeAutoscalingGroups) UpdateStatus ¶
func (c *FakeAutoscalingGroups) UpdateStatus(autoscalingGroup *v1alpha1.AutoscalingGroup) (*v1alpha1.AutoscalingGroup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAutoscalingGroups) Watch ¶
func (c *FakeAutoscalingGroups) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested autoscalingGroups.
type FakeAutoscalingPolicies ¶
type FakeAutoscalingPolicies struct {
Fake *FakeCerebralV1alpha1
}
FakeAutoscalingPolicies implements AutoscalingPolicyInterface
func (*FakeAutoscalingPolicies) Create ¶
func (c *FakeAutoscalingPolicies) Create(autoscalingPolicy *v1alpha1.AutoscalingPolicy) (result *v1alpha1.AutoscalingPolicy, err error)
Create takes the representation of a autoscalingPolicy and creates it. Returns the server's representation of the autoscalingPolicy, and an error, if there is any.
func (*FakeAutoscalingPolicies) Delete ¶
func (c *FakeAutoscalingPolicies) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the autoscalingPolicy and deletes it. Returns an error if one occurs.
func (*FakeAutoscalingPolicies) DeleteCollection ¶
func (c *FakeAutoscalingPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAutoscalingPolicies) Get ¶
func (c *FakeAutoscalingPolicies) Get(name string, options v1.GetOptions) (result *v1alpha1.AutoscalingPolicy, err error)
Get takes name of the autoscalingPolicy, and returns the corresponding autoscalingPolicy object, and an error if there is any.
func (*FakeAutoscalingPolicies) List ¶
func (c *FakeAutoscalingPolicies) List(opts v1.ListOptions) (result *v1alpha1.AutoscalingPolicyList, err error)
List takes label and field selectors, and returns the list of AutoscalingPolicies that match those selectors.
func (*FakeAutoscalingPolicies) Patch ¶
func (c *FakeAutoscalingPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AutoscalingPolicy, err error)
Patch applies the patch and returns the patched autoscalingPolicy.
func (*FakeAutoscalingPolicies) Update ¶
func (c *FakeAutoscalingPolicies) Update(autoscalingPolicy *v1alpha1.AutoscalingPolicy) (result *v1alpha1.AutoscalingPolicy, err error)
Update takes the representation of a autoscalingPolicy and updates it. Returns the server's representation of the autoscalingPolicy, and an error, if there is any.
func (*FakeAutoscalingPolicies) Watch ¶
func (c *FakeAutoscalingPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested autoscalingPolicies.
type FakeCerebralV1alpha1 ¶
func (*FakeCerebralV1alpha1) AutoscalingEngines ¶
func (c *FakeCerebralV1alpha1) AutoscalingEngines() v1alpha1.AutoscalingEngineInterface
func (*FakeCerebralV1alpha1) AutoscalingGroups ¶
func (c *FakeCerebralV1alpha1) AutoscalingGroups() v1alpha1.AutoscalingGroupInterface
func (*FakeCerebralV1alpha1) AutoscalingPolicies ¶
func (c *FakeCerebralV1alpha1) AutoscalingPolicies() v1alpha1.AutoscalingPolicyInterface
func (*FakeCerebralV1alpha1) MetricsBackends ¶
func (c *FakeCerebralV1alpha1) MetricsBackends() v1alpha1.MetricsBackendInterface
func (*FakeCerebralV1alpha1) RESTClient ¶
func (c *FakeCerebralV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeMetricsBackends ¶
type FakeMetricsBackends struct {
Fake *FakeCerebralV1alpha1
}
FakeMetricsBackends implements MetricsBackendInterface
func (*FakeMetricsBackends) Create ¶
func (c *FakeMetricsBackends) Create(metricsBackend *v1alpha1.MetricsBackend) (result *v1alpha1.MetricsBackend, err error)
Create takes the representation of a metricsBackend and creates it. Returns the server's representation of the metricsBackend, and an error, if there is any.
func (*FakeMetricsBackends) Delete ¶
func (c *FakeMetricsBackends) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the metricsBackend and deletes it. Returns an error if one occurs.
func (*FakeMetricsBackends) DeleteCollection ¶
func (c *FakeMetricsBackends) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMetricsBackends) Get ¶
func (c *FakeMetricsBackends) Get(name string, options v1.GetOptions) (result *v1alpha1.MetricsBackend, err error)
Get takes name of the metricsBackend, and returns the corresponding metricsBackend object, and an error if there is any.
func (*FakeMetricsBackends) List ¶
func (c *FakeMetricsBackends) List(opts v1.ListOptions) (result *v1alpha1.MetricsBackendList, err error)
List takes label and field selectors, and returns the list of MetricsBackends that match those selectors.
func (*FakeMetricsBackends) Patch ¶
func (c *FakeMetricsBackends) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MetricsBackend, err error)
Patch applies the patch and returns the patched metricsBackend.
func (*FakeMetricsBackends) Update ¶
func (c *FakeMetricsBackends) Update(metricsBackend *v1alpha1.MetricsBackend) (result *v1alpha1.MetricsBackend, err error)
Update takes the representation of a metricsBackend and updates it. Returns the server's representation of the metricsBackend, and an error, if there is any.
func (*FakeMetricsBackends) Watch ¶
func (c *FakeMetricsBackends) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested metricsBackends.