fake

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

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 FakeAdminV1

type FakeAdminV1 struct {
	*testing.Fake
}

func (*FakeAdminV1) ClusterDomains

func (c *FakeAdminV1) ClusterDomains(namespace string) v1.ClusterDomainInterface

func (*FakeAdminV1) Features

func (c *FakeAdminV1) Features(namespace string) v1.FeatureInterface

func (*FakeAdminV1) PublicDomains

func (c *FakeAdminV1) PublicDomains(namespace string) v1.PublicDomainInterface

func (*FakeAdminV1) RESTClient

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

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

func (*FakeAdminV1) RioInfos

func (c *FakeAdminV1) RioInfos() v1.RioInfoInterface

type FakeClusterDomains

type FakeClusterDomains struct {
	Fake *FakeAdminV1
	// contains filtered or unexported fields
}

FakeClusterDomains implements ClusterDomainInterface

func (*FakeClusterDomains) Create

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

func (*FakeClusterDomains) Delete

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

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

func (*FakeClusterDomains) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterDomains) Get

func (c *FakeClusterDomains) Get(name string, options v1.GetOptions) (result *adminriocattleiov1.ClusterDomain, err error)

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

func (*FakeClusterDomains) List

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

func (*FakeClusterDomains) Patch

func (c *FakeClusterDomains) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *adminriocattleiov1.ClusterDomain, err error)

Patch applies the patch and returns the patched clusterDomain.

func (*FakeClusterDomains) Update

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

func (*FakeClusterDomains) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeClusterDomains) Watch

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

type FakeFeatures

type FakeFeatures struct {
	Fake *FakeAdminV1
	// contains filtered or unexported fields
}

FakeFeatures implements FeatureInterface

func (*FakeFeatures) Create

func (c *FakeFeatures) Create(feature *adminriocattleiov1.Feature) (result *adminriocattleiov1.Feature, err error)

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

func (*FakeFeatures) Delete

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

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

func (*FakeFeatures) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFeatures) Get

func (c *FakeFeatures) Get(name string, options v1.GetOptions) (result *adminriocattleiov1.Feature, err error)

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

func (*FakeFeatures) List

func (c *FakeFeatures) List(opts v1.ListOptions) (result *adminriocattleiov1.FeatureList, err error)

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

func (*FakeFeatures) Patch

func (c *FakeFeatures) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *adminriocattleiov1.Feature, err error)

Patch applies the patch and returns the patched feature.

func (*FakeFeatures) Update

func (c *FakeFeatures) Update(feature *adminriocattleiov1.Feature) (result *adminriocattleiov1.Feature, err error)

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

func (*FakeFeatures) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeFeatures) Watch

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

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

type FakePublicDomains

type FakePublicDomains struct {
	Fake *FakeAdminV1
	// contains filtered or unexported fields
}

FakePublicDomains implements PublicDomainInterface

func (*FakePublicDomains) Create

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

func (*FakePublicDomains) Delete

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

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

func (*FakePublicDomains) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePublicDomains) Get

func (c *FakePublicDomains) Get(name string, options v1.GetOptions) (result *adminriocattleiov1.PublicDomain, err error)

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

func (*FakePublicDomains) List

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

func (*FakePublicDomains) Patch

func (c *FakePublicDomains) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *adminriocattleiov1.PublicDomain, err error)

Patch applies the patch and returns the patched publicDomain.

func (*FakePublicDomains) Update

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

func (*FakePublicDomains) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakePublicDomains) Watch

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

type FakeRioInfos

type FakeRioInfos struct {
	Fake *FakeAdminV1
}

FakeRioInfos implements RioInfoInterface

func (*FakeRioInfos) Create

func (c *FakeRioInfos) Create(rioInfo *adminriocattleiov1.RioInfo) (result *adminriocattleiov1.RioInfo, err error)

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

func (*FakeRioInfos) Delete

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

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

func (*FakeRioInfos) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRioInfos) Get

func (c *FakeRioInfos) Get(name string, options v1.GetOptions) (result *adminriocattleiov1.RioInfo, err error)

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

func (*FakeRioInfos) List

func (c *FakeRioInfos) List(opts v1.ListOptions) (result *adminriocattleiov1.RioInfoList, err error)

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

func (*FakeRioInfos) Patch

func (c *FakeRioInfos) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *adminriocattleiov1.RioInfo, err error)

Patch applies the patch and returns the patched rioInfo.

func (*FakeRioInfos) Update

func (c *FakeRioInfos) Update(rioInfo *adminriocattleiov1.RioInfo) (result *adminriocattleiov1.RioInfo, err error)

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

func (*FakeRioInfos) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeRioInfos) Watch

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL