fake

package
v0.0.2-rc.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2018 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 FakeDNSEndpoints added in v0.0.2

type FakeDNSEndpoints struct {
	Fake *FakeMulticlusterdnsV1alpha1
	// contains filtered or unexported fields
}

FakeDNSEndpoints implements DNSEndpointInterface

func (*FakeDNSEndpoints) Create added in v0.0.2

func (c *FakeDNSEndpoints) Create(dNSEndpoint *v1alpha1.DNSEndpoint) (result *v1alpha1.DNSEndpoint, err error)

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

func (*FakeDNSEndpoints) Delete added in v0.0.2

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

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

func (*FakeDNSEndpoints) DeleteCollection added in v0.0.2

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

DeleteCollection deletes a collection of objects.

func (*FakeDNSEndpoints) Get added in v0.0.2

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

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

func (*FakeDNSEndpoints) List added in v0.0.2

func (c *FakeDNSEndpoints) List(opts v1.ListOptions) (result *v1alpha1.DNSEndpointList, err error)

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

func (*FakeDNSEndpoints) Patch added in v0.0.2

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

Patch applies the patch and returns the patched dNSEndpoint.

func (*FakeDNSEndpoints) Update added in v0.0.2

func (c *FakeDNSEndpoints) Update(dNSEndpoint *v1alpha1.DNSEndpoint) (result *v1alpha1.DNSEndpoint, err error)

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

func (*FakeDNSEndpoints) UpdateStatus added in v0.0.2

func (c *FakeDNSEndpoints) UpdateStatus(dNSEndpoint *v1alpha1.DNSEndpoint) (*v1alpha1.DNSEndpoint, error)

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

func (*FakeDNSEndpoints) Watch added in v0.0.2

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

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

type FakeMultiClusterIngressDNSRecords added in v0.0.2

type FakeMultiClusterIngressDNSRecords struct {
	Fake *FakeMulticlusterdnsV1alpha1
	// contains filtered or unexported fields
}

FakeMultiClusterIngressDNSRecords implements MultiClusterIngressDNSRecordInterface

func (*FakeMultiClusterIngressDNSRecords) Create added in v0.0.2

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

func (*FakeMultiClusterIngressDNSRecords) Delete added in v0.0.2

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

func (*FakeMultiClusterIngressDNSRecords) DeleteCollection added in v0.0.2

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

DeleteCollection deletes a collection of objects.

func (*FakeMultiClusterIngressDNSRecords) Get added in v0.0.2

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

func (*FakeMultiClusterIngressDNSRecords) List added in v0.0.2

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

func (*FakeMultiClusterIngressDNSRecords) Patch added in v0.0.2

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

Patch applies the patch and returns the patched multiClusterIngressDNSRecord.

func (*FakeMultiClusterIngressDNSRecords) Update added in v0.0.2

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

func (*FakeMultiClusterIngressDNSRecords) UpdateStatus added in v0.0.2

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

func (*FakeMultiClusterIngressDNSRecords) Watch added in v0.0.2

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

type FakeMultiClusterServiceDNSRecords

type FakeMultiClusterServiceDNSRecords struct {
	Fake *FakeMulticlusterdnsV1alpha1
	// contains filtered or unexported fields
}

FakeMultiClusterServiceDNSRecords implements MultiClusterServiceDNSRecordInterface

func (*FakeMultiClusterServiceDNSRecords) Create

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

func (*FakeMultiClusterServiceDNSRecords) Delete

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

func (*FakeMultiClusterServiceDNSRecords) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMultiClusterServiceDNSRecords) Get

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

func (*FakeMultiClusterServiceDNSRecords) List

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

func (*FakeMultiClusterServiceDNSRecords) Patch

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

Patch applies the patch and returns the patched multiClusterServiceDNSRecord.

func (*FakeMultiClusterServiceDNSRecords) Update

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

func (*FakeMultiClusterServiceDNSRecords) UpdateStatus

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

func (*FakeMultiClusterServiceDNSRecords) Watch

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

type FakeMulticlusterdnsV1alpha1

type FakeMulticlusterdnsV1alpha1 struct {
	*testing.Fake
}

func (*FakeMulticlusterdnsV1alpha1) DNSEndpoints added in v0.0.2

func (*FakeMulticlusterdnsV1alpha1) MultiClusterIngressDNSRecords added in v0.0.2

func (c *FakeMulticlusterdnsV1alpha1) MultiClusterIngressDNSRecords(namespace string) v1alpha1.MultiClusterIngressDNSRecordInterface

func (*FakeMulticlusterdnsV1alpha1) MultiClusterServiceDNSRecords

func (c *FakeMulticlusterdnsV1alpha1) MultiClusterServiceDNSRecords(namespace string) v1alpha1.MultiClusterServiceDNSRecordInterface

func (*FakeMulticlusterdnsV1alpha1) RESTClient

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

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

Jump to

Keyboard shortcuts

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