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

package fake

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

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_podpreset.go fake_settings_client.go

type FakePodPresets Uses

type FakePodPresets struct {
    Fake *FakeSettingsV1alpha1
    // contains filtered or unexported fields
}

FakePodPresets implements PodPresetInterface

func (*FakePodPresets) Create Uses

func (c *FakePodPresets) Create(podPreset *v1alpha1.PodPreset) (result *v1alpha1.PodPreset, err error)

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

func (*FakePodPresets) Delete Uses

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

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

func (*FakePodPresets) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakePodPresets) Get Uses

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

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

func (*FakePodPresets) List Uses

func (c *FakePodPresets) List(opts v1.ListOptions) (result *v1alpha1.PodPresetList, err error)

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

func (*FakePodPresets) Patch Uses

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

Patch applies the patch and returns the patched podPreset.

func (*FakePodPresets) Update Uses

func (c *FakePodPresets) Update(podPreset *v1alpha1.PodPreset) (result *v1alpha1.PodPreset, err error)

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

func (*FakePodPresets) Watch Uses

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

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

type FakeSettingsV1alpha1 Uses

type FakeSettingsV1alpha1 struct {
    *testing.Fake
}

func (*FakeSettingsV1alpha1) PodPresets Uses

func (c *FakeSettingsV1alpha1) PodPresets(namespace string) v1alpha1.PodPresetInterface

func (*FakeSettingsV1alpha1) RESTClient Uses

func (c *FakeSettingsV1alpha1) 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-19. Refresh now. Tools for package owners.