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 FakeStorageClasses

    type FakeStorageClasses struct {
    	Fake *FakeStorageV1
    }

      FakeStorageClasses implements StorageClassInterface

      func (*FakeStorageClasses) Create

      func (c *FakeStorageClasses) Create(storageClass *v1.StorageClass) (result *v1.StorageClass, err error)

      func (*FakeStorageClasses) Delete

      func (c *FakeStorageClasses) Delete(name string, options *meta_v1.DeleteOptions) error

      func (*FakeStorageClasses) DeleteCollection

      func (c *FakeStorageClasses) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error

      func (*FakeStorageClasses) Get

      func (c *FakeStorageClasses) Get(name string, options meta_v1.GetOptions) (result *v1.StorageClass, err error)

      func (*FakeStorageClasses) List

      func (c *FakeStorageClasses) List(opts meta_v1.ListOptions) (result *v1.StorageClassList, err error)

      func (*FakeStorageClasses) Patch

      func (c *FakeStorageClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.StorageClass, err error)

        Patch applies the patch and returns the patched storageClass.

        func (*FakeStorageClasses) Update

        func (c *FakeStorageClasses) Update(storageClass *v1.StorageClass) (result *v1.StorageClass, err error)

        func (*FakeStorageClasses) Watch

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

          type FakeStorageV1

          type FakeStorageV1 struct {
          	*testing.Fake
          }

          func (*FakeStorageV1) RESTClient

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

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

            func (*FakeStorageV1) StorageClasses

            func (c *FakeStorageV1) StorageClasses() v1.StorageClassInterface