Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeFlowSchemas

type FakeFlowSchemas struct {
	Fake *FakeFlowcontrolV1alpha1
}

FakeFlowSchemas implements FlowSchemaInterface

func (*FakeFlowSchemas) Create

func (c *FakeFlowSchemas) Create(flowSchema *v1alpha1.FlowSchema) (result *v1alpha1.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(name string, options *v1.DeleteOptions) error

Delete takes name of the flowSchema and deletes it. Returns an error if one occurs.

func (*FakeFlowSchemas) DeleteCollection

func (c *FakeFlowSchemas) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeFlowSchemas) Get

func (c *FakeFlowSchemas) Get(name string, options v1.GetOptions) (result *v1alpha1.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(opts v1.ListOptions) (result *v1alpha1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.FlowSchema, err error)

Patch applies the patch and returns the patched flowSchema.

func (*FakeFlowSchemas) Update

func (c *FakeFlowSchemas) Update(flowSchema *v1alpha1.FlowSchema) (result *v1alpha1.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(flowSchema *v1alpha1.FlowSchema) (*v1alpha1.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(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested flowSchemas.

type FakeFlowcontrolV1alpha1

type FakeFlowcontrolV1alpha1 struct {
	*testing.Fake
}

func (*FakeFlowcontrolV1alpha1) FlowSchemas

func (*FakeFlowcontrolV1alpha1) PriorityLevelConfigurations

func (c *FakeFlowcontrolV1alpha1) PriorityLevelConfigurations() v1alpha1.PriorityLevelConfigurationInterface

func (*FakeFlowcontrolV1alpha1) RESTClient

func (c *FakeFlowcontrolV1alpha1) 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 *FakeFlowcontrolV1alpha1
}

FakePriorityLevelConfigurations implements PriorityLevelConfigurationInterface

func (*FakePriorityLevelConfigurations) Create

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(name string, options *v1.DeleteOptions) error

Delete takes name of the priorityLevelConfiguration and deletes it. Returns an error if one occurs.

func (*FakePriorityLevelConfigurations) DeleteCollection

func (c *FakePriorityLevelConfigurations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePriorityLevelConfigurations) Get

Get takes name of the priorityLevelConfiguration, and returns the corresponding priorityLevelConfiguration object, and an error if there is any.

func (*FakePriorityLevelConfigurations) List

List takes label and field selectors, and returns the list of PriorityLevelConfigurations that match those selectors.

func (*FakePriorityLevelConfigurations) Patch

func (c *FakePriorityLevelConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PriorityLevelConfiguration, err error)

Patch applies the patch and returns the patched priorityLevelConfiguration.

func (*FakePriorityLevelConfigurations) Update

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

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

Watch returns a watch.Interface that watches the requested priorityLevelConfigurations.