client-go: k8s.io/client-go/kubernetes/typed/flowcontrol/v1alpha1/fake Index | Files

package fake

import "k8s.io/client-go/kubernetes/typed/flowcontrol/v1alpha1/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_flowcontrol_client.go fake_flowschema.go fake_prioritylevelconfiguration.go

type FakeFlowSchemas Uses

type FakeFlowSchemas struct {
    Fake *FakeFlowcontrolV1alpha1
}

FakeFlowSchemas implements FlowSchemaInterface

func (*FakeFlowSchemas) Create Uses

func (c *FakeFlowSchemas) Create(ctx context.Context, flowSchema *v1alpha1.FlowSchema, opts v1.CreateOptions) (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 Uses

func (c *FakeFlowSchemas) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeFlowSchemas) DeleteCollection Uses

func (c *FakeFlowSchemas) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeFlowSchemas) Get Uses

func (c *FakeFlowSchemas) Get(ctx context.Context, 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 Uses

func (c *FakeFlowSchemas) List(ctx context.Context, 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 Uses

func (c *FakeFlowSchemas) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.FlowSchema, err error)

Patch applies the patch and returns the patched flowSchema.

func (*FakeFlowSchemas) Update Uses

func (c *FakeFlowSchemas) Update(ctx context.Context, flowSchema *v1alpha1.FlowSchema, opts v1.UpdateOptions) (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 Uses

func (c *FakeFlowSchemas) UpdateStatus(ctx context.Context, flowSchema *v1alpha1.FlowSchema, opts v1.UpdateOptions) (*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 Uses

func (c *FakeFlowSchemas) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeFlowcontrolV1alpha1 Uses

type FakeFlowcontrolV1alpha1 struct {
    *testing.Fake
}

func (*FakeFlowcontrolV1alpha1) FlowSchemas Uses

func (c *FakeFlowcontrolV1alpha1) FlowSchemas() v1alpha1.FlowSchemaInterface

func (*FakeFlowcontrolV1alpha1) PriorityLevelConfigurations Uses

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

func (*FakeFlowcontrolV1alpha1) RESTClient Uses

func (c *FakeFlowcontrolV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type FakePriorityLevelConfigurations Uses

type FakePriorityLevelConfigurations struct {
    Fake *FakeFlowcontrolV1alpha1
}

FakePriorityLevelConfigurations implements PriorityLevelConfigurationInterface

func (*FakePriorityLevelConfigurations) Create Uses

func (c *FakePriorityLevelConfigurations) Create(ctx context.Context, priorityLevelConfiguration *v1alpha1.PriorityLevelConfiguration, opts v1.CreateOptions) (result *v1alpha1.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 Uses

func (c *FakePriorityLevelConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakePriorityLevelConfigurations) DeleteCollection Uses

func (c *FakePriorityLevelConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePriorityLevelConfigurations) Get Uses

func (c *FakePriorityLevelConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.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 Uses

func (c *FakePriorityLevelConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PriorityLevelConfigurationList, err error)

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

func (*FakePriorityLevelConfigurations) Patch Uses

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

Patch applies the patch and returns the patched priorityLevelConfiguration.

func (*FakePriorityLevelConfigurations) Update Uses

func (c *FakePriorityLevelConfigurations) Update(ctx context.Context, priorityLevelConfiguration *v1alpha1.PriorityLevelConfiguration, opts v1.UpdateOptions) (result *v1alpha1.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 Uses

func (c *FakePriorityLevelConfigurations) UpdateStatus(ctx context.Context, priorityLevelConfiguration *v1alpha1.PriorityLevelConfiguration, opts v1.UpdateOptions) (*v1alpha1.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 Uses

func (c *FakePriorityLevelConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

Package fake imports 10 packages (graph) and is imported by 4 packages. Updated 2020-03-17. Refresh now. Tools for package owners.