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

package fake

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

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_priorityclass.go fake_scheduling_client.go

type FakePriorityClasses Uses

type FakePriorityClasses struct {
    Fake *FakeSchedulingV1alpha1
}

FakePriorityClasses implements PriorityClassInterface

func (*FakePriorityClasses) Create Uses

func (c *FakePriorityClasses) Create(priorityClass *v1alpha1.PriorityClass) (result *v1alpha1.PriorityClass, err error)

Create takes the representation of a priorityClass and creates it. Returns the server's representation of the priorityClass, and an error, if there is any.

func (*FakePriorityClasses) Delete Uses

func (c *FakePriorityClasses) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakePriorityClasses) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakePriorityClasses) Get Uses

func (c *FakePriorityClasses) Get(name string, options v1.GetOptions) (result *v1alpha1.PriorityClass, err error)

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

func (*FakePriorityClasses) List Uses

func (c *FakePriorityClasses) List(opts v1.ListOptions) (result *v1alpha1.PriorityClassList, err error)

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

func (*FakePriorityClasses) Patch Uses

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

Patch applies the patch and returns the patched priorityClass.

func (*FakePriorityClasses) Update Uses

func (c *FakePriorityClasses) Update(priorityClass *v1alpha1.PriorityClass) (result *v1alpha1.PriorityClass, err error)

Update takes the representation of a priorityClass and updates it. Returns the server's representation of the priorityClass, and an error, if there is any.

func (*FakePriorityClasses) Watch Uses

func (c *FakePriorityClasses) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeSchedulingV1alpha1 Uses

type FakeSchedulingV1alpha1 struct {
    *testing.Fake
}

func (*FakeSchedulingV1alpha1) PriorityClasses Uses

func (c *FakeSchedulingV1alpha1) PriorityClasses() v1alpha1.PriorityClassInterface

func (*FakeSchedulingV1alpha1) RESTClient Uses

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

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

Package fake imports 9 packages (graph) and is imported by 3 packages. Updated 2018-10-21. Refresh now. Tools for package owners.