fake

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: Apache-2.0 Imports: 9 Imported by: 1

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) Certificates added in v0.8.0

func (c *FakeAdminV1) Certificates() v1.CertificateInterface

func (*FakeAdminV1) ClusterDomains

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

func (*FakeAdminV1) PublicDomains

func (c *FakeAdminV1) PublicDomains() 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

func (*FakeAdminV1) SystemStacks added in v0.6.0

func (c *FakeAdminV1) SystemStacks() v1.SystemStackInterface

type FakeCertificates added in v0.8.0

type FakeCertificates struct {
	Fake *FakeAdminV1
}

FakeCertificates implements CertificateInterface

func (*FakeCertificates) Create added in v0.8.0

func (c *FakeCertificates) Create(certificate *adminriocattleiov1.Certificate) (result *adminriocattleiov1.Certificate, err error)

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

func (*FakeCertificates) Delete added in v0.8.0

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

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

func (*FakeCertificates) DeleteCollection added in v0.8.0

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

DeleteCollection deletes a collection of objects.

func (*FakeCertificates) Get added in v0.8.0

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

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

func (*FakeCertificates) List added in v0.8.0

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

func (*FakeCertificates) Patch added in v0.8.0

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

Patch applies the patch and returns the patched certificate.

func (*FakeCertificates) Update added in v0.8.0

func (c *FakeCertificates) Update(certificate *adminriocattleiov1.Certificate) (result *adminriocattleiov1.Certificate, err error)

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

func (*FakeCertificates) UpdateStatus added in v0.8.0

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

func (*FakeCertificates) Watch added in v0.8.0

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

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

type FakeClusterDomains

type FakeClusterDomains struct {
	Fake *FakeAdminV1
}

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 FakePublicDomains

type FakePublicDomains struct {
	Fake *FakeAdminV1
}

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.

type FakeSystemStacks added in v0.6.0

type FakeSystemStacks struct {
	Fake *FakeAdminV1
}

FakeSystemStacks implements SystemStackInterface

func (*FakeSystemStacks) Create added in v0.6.0

func (c *FakeSystemStacks) Create(systemStack *adminriocattleiov1.SystemStack) (result *adminriocattleiov1.SystemStack, err error)

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

func (*FakeSystemStacks) Delete added in v0.6.0

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

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

func (*FakeSystemStacks) DeleteCollection added in v0.6.0

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

DeleteCollection deletes a collection of objects.

func (*FakeSystemStacks) Get added in v0.6.0

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

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

func (*FakeSystemStacks) List added in v0.6.0

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

func (*FakeSystemStacks) Patch added in v0.6.0

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

Patch applies the patch and returns the patched systemStack.

func (*FakeSystemStacks) Update added in v0.6.0

func (c *FakeSystemStacks) Update(systemStack *adminriocattleiov1.SystemStack) (result *adminriocattleiov1.SystemStack, err error)

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

func (*FakeSystemStacks) Watch added in v0.6.0

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

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

Jump to

Keyboard shortcuts

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