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 FakeClusters

    type FakeClusters struct {
    	Fake *FakeFederationV1beta1
    }

      FakeClusters implements ClusterInterface

      func (*FakeClusters) Create

      func (c *FakeClusters) Create(cluster *v1beta1.Cluster) (result *v1beta1.Cluster, err error)

      func (*FakeClusters) Delete

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

      func (*FakeClusters) DeleteCollection

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

      func (*FakeClusters) Get

      func (c *FakeClusters) Get(name string, options v1.GetOptions) (result *v1beta1.Cluster, err error)

      func (*FakeClusters) List

      func (c *FakeClusters) List(opts v1.ListOptions) (result *v1beta1.ClusterList, err error)

      func (*FakeClusters) Patch

      func (c *FakeClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Cluster, err error)

        Patch applies the patch and returns the patched cluster.

        func (*FakeClusters) Update

        func (c *FakeClusters) Update(cluster *v1beta1.Cluster) (result *v1beta1.Cluster, err error)

        func (*FakeClusters) UpdateStatus

        func (c *FakeClusters) UpdateStatus(cluster *v1beta1.Cluster) (*v1beta1.Cluster, error)

        func (*FakeClusters) Watch

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

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

          type FakeFederationV1beta1

          type FakeFederationV1beta1 struct {
          	*testing.Fake
          }

          func (*FakeFederationV1beta1) Clusters

          func (*FakeFederationV1beta1) RESTClient

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

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