Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeFlowSchemas
- func (c *FakeFlowSchemas) Apply(ctx context.Context, flowSchema *flowcontrolv1.FlowSchemaApplyConfiguration, ...) (result *v1.FlowSchema, err error)
- func (c *FakeFlowSchemas) ApplyStatus(ctx context.Context, flowSchema *flowcontrolv1.FlowSchemaApplyConfiguration, ...) (result *v1.FlowSchema, err error)
- func (c *FakeFlowSchemas) Create(ctx context.Context, flowSchema *v1.FlowSchema, opts metav1.CreateOptions) (result *v1.FlowSchema, err error)
- func (c *FakeFlowSchemas) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeFlowSchemas) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeFlowSchemas) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.FlowSchema, err error)
- func (c *FakeFlowSchemas) List(ctx context.Context, opts metav1.ListOptions) (result *v1.FlowSchemaList, err error)
- func (c *FakeFlowSchemas) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.FlowSchema, err error)
- func (c *FakeFlowSchemas) Update(ctx context.Context, flowSchema *v1.FlowSchema, opts metav1.UpdateOptions) (result *v1.FlowSchema, err error)
- func (c *FakeFlowSchemas) UpdateStatus(ctx context.Context, flowSchema *v1.FlowSchema, opts metav1.UpdateOptions) (*v1.FlowSchema, error)
- func (c *FakeFlowSchemas) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeFlowcontrolV1
- type FakePriorityLevelConfigurations
- func (c *FakePriorityLevelConfigurations) Apply(ctx context.Context, ...) (result *v1.PriorityLevelConfiguration, err error)
- func (c *FakePriorityLevelConfigurations) ApplyStatus(ctx context.Context, ...) (result *v1.PriorityLevelConfiguration, err error)
- func (c *FakePriorityLevelConfigurations) Create(ctx context.Context, priorityLevelConfiguration *v1.PriorityLevelConfiguration, ...) (result *v1.PriorityLevelConfiguration, err error)
- func (c *FakePriorityLevelConfigurations) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakePriorityLevelConfigurations) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakePriorityLevelConfigurations) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.PriorityLevelConfiguration, err error)
- func (c *FakePriorityLevelConfigurations) List(ctx context.Context, opts metav1.ListOptions) (result *v1.PriorityLevelConfigurationList, err error)
- func (c *FakePriorityLevelConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.PriorityLevelConfiguration, err error)
- func (c *FakePriorityLevelConfigurations) Update(ctx context.Context, priorityLevelConfiguration *v1.PriorityLevelConfiguration, ...) (result *v1.PriorityLevelConfiguration, err error)
- func (c *FakePriorityLevelConfigurations) UpdateStatus(ctx context.Context, priorityLevelConfiguration *v1.PriorityLevelConfiguration, ...) (*v1.PriorityLevelConfiguration, error)
- func (c *FakePriorityLevelConfigurations) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeFlowSchemas ¶
type FakeFlowSchemas struct {
Fake *FakeFlowcontrolV1
}
FakeFlowSchemas implements FlowSchemaInterface
func (*FakeFlowSchemas) Apply ¶
func (c *FakeFlowSchemas) Apply(ctx context.Context, flowSchema *flowcontrolv1.FlowSchemaApplyConfiguration, opts metav1.ApplyOptions) (result *v1.FlowSchema, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied flowSchema.
func (*FakeFlowSchemas) ApplyStatus ¶
func (c *FakeFlowSchemas) ApplyStatus(ctx context.Context, flowSchema *flowcontrolv1.FlowSchemaApplyConfiguration, opts metav1.ApplyOptions) (result *v1.FlowSchema, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeFlowSchemas) Create ¶
func (c *FakeFlowSchemas) Create(ctx context.Context, flowSchema *v1.FlowSchema, opts metav1.CreateOptions) (result *v1.FlowSchema, err error)
Create takes the representation of a flowSchema and creates it. Returns the server's representation of the flowSchema, and an error, if there is any.
func (*FakeFlowSchemas) Delete ¶
func (c *FakeFlowSchemas) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the flowSchema and deletes it. Returns an error if one occurs.
func (*FakeFlowSchemas) DeleteCollection ¶
func (c *FakeFlowSchemas) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFlowSchemas) Get ¶
func (c *FakeFlowSchemas) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.FlowSchema, err error)
Get takes name of the flowSchema, and returns the corresponding flowSchema object, and an error if there is any.
func (*FakeFlowSchemas) List ¶
func (c *FakeFlowSchemas) List(ctx context.Context, opts metav1.ListOptions) (result *v1.FlowSchemaList, err error)
List takes label and field selectors, and returns the list of FlowSchemas that match those selectors.
func (*FakeFlowSchemas) Patch ¶
func (c *FakeFlowSchemas) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.FlowSchema, err error)
Patch applies the patch and returns the patched flowSchema.
func (*FakeFlowSchemas) Update ¶
func (c *FakeFlowSchemas) Update(ctx context.Context, flowSchema *v1.FlowSchema, opts metav1.UpdateOptions) (result *v1.FlowSchema, err error)
Update takes the representation of a flowSchema and updates it. Returns the server's representation of the flowSchema, and an error, if there is any.
func (*FakeFlowSchemas) UpdateStatus ¶
func (c *FakeFlowSchemas) UpdateStatus(ctx context.Context, flowSchema *v1.FlowSchema, opts metav1.UpdateOptions) (*v1.FlowSchema, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFlowSchemas) Watch ¶
func (c *FakeFlowSchemas) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested flowSchemas.
type FakeFlowcontrolV1 ¶
func (*FakeFlowcontrolV1) FlowSchemas ¶
func (c *FakeFlowcontrolV1) FlowSchemas() v1.FlowSchemaInterface
func (*FakeFlowcontrolV1) PriorityLevelConfigurations ¶
func (c *FakeFlowcontrolV1) PriorityLevelConfigurations() v1.PriorityLevelConfigurationInterface
func (*FakeFlowcontrolV1) RESTClient ¶
func (c *FakeFlowcontrolV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakePriorityLevelConfigurations ¶
type FakePriorityLevelConfigurations struct {
Fake *FakeFlowcontrolV1
}
FakePriorityLevelConfigurations implements PriorityLevelConfigurationInterface
func (*FakePriorityLevelConfigurations) Apply ¶
func (c *FakePriorityLevelConfigurations) Apply(ctx context.Context, priorityLevelConfiguration *flowcontrolv1.PriorityLevelConfigurationApplyConfiguration, opts metav1.ApplyOptions) (result *v1.PriorityLevelConfiguration, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied priorityLevelConfiguration.
func (*FakePriorityLevelConfigurations) ApplyStatus ¶
func (c *FakePriorityLevelConfigurations) ApplyStatus(ctx context.Context, priorityLevelConfiguration *flowcontrolv1.PriorityLevelConfigurationApplyConfiguration, opts metav1.ApplyOptions) (result *v1.PriorityLevelConfiguration, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakePriorityLevelConfigurations) Create ¶
func (c *FakePriorityLevelConfigurations) Create(ctx context.Context, priorityLevelConfiguration *v1.PriorityLevelConfiguration, opts metav1.CreateOptions) (result *v1.PriorityLevelConfiguration, err error)
Create takes the representation of a priorityLevelConfiguration and creates it. Returns the server's representation of the priorityLevelConfiguration, and an error, if there is any.
func (*FakePriorityLevelConfigurations) Delete ¶
func (c *FakePriorityLevelConfigurations) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the priorityLevelConfiguration and deletes it. Returns an error if one occurs.
func (*FakePriorityLevelConfigurations) DeleteCollection ¶
func (c *FakePriorityLevelConfigurations) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePriorityLevelConfigurations) Get ¶
func (c *FakePriorityLevelConfigurations) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.PriorityLevelConfiguration, err error)
Get takes name of the priorityLevelConfiguration, and returns the corresponding priorityLevelConfiguration object, and an error if there is any.
func (*FakePriorityLevelConfigurations) List ¶
func (c *FakePriorityLevelConfigurations) List(ctx context.Context, opts metav1.ListOptions) (result *v1.PriorityLevelConfigurationList, err error)
List takes label and field selectors, and returns the list of PriorityLevelConfigurations that match those selectors.
func (*FakePriorityLevelConfigurations) Patch ¶
func (c *FakePriorityLevelConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.PriorityLevelConfiguration, err error)
Patch applies the patch and returns the patched priorityLevelConfiguration.
func (*FakePriorityLevelConfigurations) Update ¶
func (c *FakePriorityLevelConfigurations) Update(ctx context.Context, priorityLevelConfiguration *v1.PriorityLevelConfiguration, opts metav1.UpdateOptions) (result *v1.PriorityLevelConfiguration, err error)
Update takes the representation of a priorityLevelConfiguration and updates it. Returns the server's representation of the priorityLevelConfiguration, and an error, if there is any.
func (*FakePriorityLevelConfigurations) UpdateStatus ¶
func (c *FakePriorityLevelConfigurations) UpdateStatus(ctx context.Context, priorityLevelConfiguration *v1.PriorityLevelConfiguration, opts metav1.UpdateOptions) (*v1.PriorityLevelConfiguration, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePriorityLevelConfigurations) Watch ¶
func (c *FakePriorityLevelConfigurations) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested priorityLevelConfigurations.