fake

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: EUPL-1.2 Imports: 10 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 FakeKukuCNs

type FakeKukuCNs struct {
	Fake *FakeKumoriV1
	// contains filtered or unexported fields
}

FakeKukuCNs implements KukuCNInterface

func (*FakeKukuCNs) Create

func (c *FakeKukuCNs) Create(ctx context.Context, kukuCN *kumoriv1.KukuCN, opts v1.CreateOptions) (result *kumoriv1.KukuCN, err error)

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

func (*FakeKukuCNs) Delete

func (c *FakeKukuCNs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeKukuCNs) DeleteCollection

func (c *FakeKukuCNs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKukuCNs) Get

func (c *FakeKukuCNs) Get(ctx context.Context, name string, options v1.GetOptions) (result *kumoriv1.KukuCN, err error)

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

func (*FakeKukuCNs) List

func (c *FakeKukuCNs) List(ctx context.Context, opts v1.ListOptions) (result *kumoriv1.KukuCNList, err error)

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

func (*FakeKukuCNs) Patch

func (c *FakeKukuCNs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kumoriv1.KukuCN, err error)

Patch applies the patch and returns the patched kukuCN.

func (*FakeKukuCNs) Update

func (c *FakeKukuCNs) Update(ctx context.Context, kukuCN *kumoriv1.KukuCN, opts v1.UpdateOptions) (result *kumoriv1.KukuCN, err error)

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

func (*FakeKukuCNs) Watch

func (c *FakeKukuCNs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeKukuCerts

type FakeKukuCerts struct {
	Fake *FakeKumoriV1
	// contains filtered or unexported fields
}

FakeKukuCerts implements KukuCertInterface

func (*FakeKukuCerts) Create

func (c *FakeKukuCerts) Create(ctx context.Context, kukuCert *kumoriv1.KukuCert, opts v1.CreateOptions) (result *kumoriv1.KukuCert, err error)

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

func (*FakeKukuCerts) Delete

func (c *FakeKukuCerts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeKukuCerts) DeleteCollection

func (c *FakeKukuCerts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKukuCerts) Get

func (c *FakeKukuCerts) Get(ctx context.Context, name string, options v1.GetOptions) (result *kumoriv1.KukuCert, err error)

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

func (*FakeKukuCerts) List

func (c *FakeKukuCerts) List(ctx context.Context, opts v1.ListOptions) (result *kumoriv1.KukuCertList, err error)

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

func (*FakeKukuCerts) Patch

func (c *FakeKukuCerts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kumoriv1.KukuCert, err error)

Patch applies the patch and returns the patched kukuCert.

func (*FakeKukuCerts) Update

func (c *FakeKukuCerts) Update(ctx context.Context, kukuCert *kumoriv1.KukuCert, opts v1.UpdateOptions) (result *kumoriv1.KukuCert, err error)

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

func (*FakeKukuCerts) Watch

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

type FakeKukuComponents

type FakeKukuComponents struct {
	Fake *FakeKumoriV1
	// contains filtered or unexported fields
}

FakeKukuComponents implements KukuComponentInterface

func (*FakeKukuComponents) Create

func (c *FakeKukuComponents) Create(ctx context.Context, kukuComponent *kumoriv1.KukuComponent, opts v1.CreateOptions) (result *kumoriv1.KukuComponent, err error)

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

func (*FakeKukuComponents) Delete

func (c *FakeKukuComponents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeKukuComponents) DeleteCollection

func (c *FakeKukuComponents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKukuComponents) Get

func (c *FakeKukuComponents) Get(ctx context.Context, name string, options v1.GetOptions) (result *kumoriv1.KukuComponent, err error)

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

func (*FakeKukuComponents) List

func (c *FakeKukuComponents) List(ctx context.Context, opts v1.ListOptions) (result *kumoriv1.KukuComponentList, err error)

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

func (*FakeKukuComponents) Patch

func (c *FakeKukuComponents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kumoriv1.KukuComponent, err error)

Patch applies the patch and returns the patched kukuComponent.

func (*FakeKukuComponents) Update

func (c *FakeKukuComponents) Update(ctx context.Context, kukuComponent *kumoriv1.KukuComponent, opts v1.UpdateOptions) (result *kumoriv1.KukuComponent, err error)

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

func (*FakeKukuComponents) Watch

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

type FakeKukuDeployments

type FakeKukuDeployments struct {
	Fake *FakeKumoriV1
	// contains filtered or unexported fields
}

FakeKukuDeployments implements KukuDeploymentInterface

func (*FakeKukuDeployments) Create

func (c *FakeKukuDeployments) Create(ctx context.Context, kukuDeployment *kumoriv1.KukuDeployment, opts v1.CreateOptions) (result *kumoriv1.KukuDeployment, err error)

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

func (*FakeKukuDeployments) Delete

func (c *FakeKukuDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeKukuDeployments) DeleteCollection

func (c *FakeKukuDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKukuDeployments) Get

func (c *FakeKukuDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *kumoriv1.KukuDeployment, err error)

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

func (*FakeKukuDeployments) List

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

func (*FakeKukuDeployments) Patch

func (c *FakeKukuDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kumoriv1.KukuDeployment, err error)

Patch applies the patch and returns the patched kukuDeployment.

func (*FakeKukuDeployments) Update

func (c *FakeKukuDeployments) Update(ctx context.Context, kukuDeployment *kumoriv1.KukuDeployment, opts v1.UpdateOptions) (result *kumoriv1.KukuDeployment, err error)

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

func (*FakeKukuDeployments) Watch

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

type FakeKukuHttpInbounds

type FakeKukuHttpInbounds struct {
	Fake *FakeKumoriV1
	// contains filtered or unexported fields
}

FakeKukuHttpInbounds implements KukuHttpInboundInterface

func (*FakeKukuHttpInbounds) Create

func (c *FakeKukuHttpInbounds) Create(ctx context.Context, kukuHttpInbound *kumoriv1.KukuHttpInbound, opts v1.CreateOptions) (result *kumoriv1.KukuHttpInbound, err error)

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

func (*FakeKukuHttpInbounds) Delete

func (c *FakeKukuHttpInbounds) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeKukuHttpInbounds) DeleteCollection

func (c *FakeKukuHttpInbounds) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKukuHttpInbounds) Get

func (c *FakeKukuHttpInbounds) Get(ctx context.Context, name string, options v1.GetOptions) (result *kumoriv1.KukuHttpInbound, err error)

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

func (*FakeKukuHttpInbounds) List

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

func (*FakeKukuHttpInbounds) Patch

func (c *FakeKukuHttpInbounds) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kumoriv1.KukuHttpInbound, err error)

Patch applies the patch and returns the patched kukuHttpInbound.

func (*FakeKukuHttpInbounds) Update

func (c *FakeKukuHttpInbounds) Update(ctx context.Context, kukuHttpInbound *kumoriv1.KukuHttpInbound, opts v1.UpdateOptions) (result *kumoriv1.KukuHttpInbound, err error)

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

func (*FakeKukuHttpInbounds) Watch

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

type FakeKukuLinks struct {
	Fake *FakeKumoriV1
	// contains filtered or unexported fields
}

FakeKukuLinks implements KukuLinkInterface

func (*FakeKukuLinks) Create

func (c *FakeKukuLinks) Create(ctx context.Context, kukuLink *kumoriv1.KukuLink, opts v1.CreateOptions) (result *kumoriv1.KukuLink, err error)

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

func (*FakeKukuLinks) Delete

func (c *FakeKukuLinks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeKukuLinks) DeleteCollection

func (c *FakeKukuLinks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKukuLinks) Get

func (c *FakeKukuLinks) Get(ctx context.Context, name string, options v1.GetOptions) (result *kumoriv1.KukuLink, err error)

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

func (*FakeKukuLinks) List

func (c *FakeKukuLinks) List(ctx context.Context, opts v1.ListOptions) (result *kumoriv1.KukuLinkList, err error)

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

func (*FakeKukuLinks) Patch

func (c *FakeKukuLinks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kumoriv1.KukuLink, err error)

Patch applies the patch and returns the patched kukuLink.

func (*FakeKukuLinks) Update

func (c *FakeKukuLinks) Update(ctx context.Context, kukuLink *kumoriv1.KukuLink, opts v1.UpdateOptions) (result *kumoriv1.KukuLink, err error)

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

func (*FakeKukuLinks) Watch

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

type FakeKukuSecrets

type FakeKukuSecrets struct {
	Fake *FakeKumoriV1
	// contains filtered or unexported fields
}

FakeKukuSecrets implements KukuSecretInterface

func (*FakeKukuSecrets) Create

func (c *FakeKukuSecrets) Create(ctx context.Context, kukuSecret *kumoriv1.KukuSecret, opts v1.CreateOptions) (result *kumoriv1.KukuSecret, err error)

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

func (*FakeKukuSecrets) Delete

func (c *FakeKukuSecrets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeKukuSecrets) DeleteCollection

func (c *FakeKukuSecrets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKukuSecrets) Get

func (c *FakeKukuSecrets) Get(ctx context.Context, name string, options v1.GetOptions) (result *kumoriv1.KukuSecret, err error)

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

func (*FakeKukuSecrets) List

func (c *FakeKukuSecrets) List(ctx context.Context, opts v1.ListOptions) (result *kumoriv1.KukuSecretList, err error)

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

func (*FakeKukuSecrets) Patch

func (c *FakeKukuSecrets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kumoriv1.KukuSecret, err error)

Patch applies the patch and returns the patched kukuSecret.

func (*FakeKukuSecrets) Update

func (c *FakeKukuSecrets) Update(ctx context.Context, kukuSecret *kumoriv1.KukuSecret, opts v1.UpdateOptions) (result *kumoriv1.KukuSecret, err error)

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

func (*FakeKukuSecrets) Watch

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

type FakeKukuServices

type FakeKukuServices struct {
	Fake *FakeKumoriV1
	// contains filtered or unexported fields
}

FakeKukuServices implements KukuServiceInterface

func (*FakeKukuServices) Create

func (c *FakeKukuServices) Create(ctx context.Context, kukuService *kumoriv1.KukuService, opts v1.CreateOptions) (result *kumoriv1.KukuService, err error)

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

func (*FakeKukuServices) Delete

func (c *FakeKukuServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeKukuServices) DeleteCollection

func (c *FakeKukuServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKukuServices) Get

func (c *FakeKukuServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *kumoriv1.KukuService, err error)

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

func (*FakeKukuServices) List

func (c *FakeKukuServices) List(ctx context.Context, opts v1.ListOptions) (result *kumoriv1.KukuServiceList, err error)

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

func (*FakeKukuServices) Patch

func (c *FakeKukuServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kumoriv1.KukuService, err error)

Patch applies the patch and returns the patched kukuService.

func (*FakeKukuServices) Update

func (c *FakeKukuServices) Update(ctx context.Context, kukuService *kumoriv1.KukuService, opts v1.UpdateOptions) (result *kumoriv1.KukuService, err error)

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

func (*FakeKukuServices) Watch

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

type FakeKukuTcpInbounds added in v0.1.13

type FakeKukuTcpInbounds struct {
	Fake *FakeKumoriV1
	// contains filtered or unexported fields
}

FakeKukuTcpInbounds implements KukuTcpInboundInterface

func (*FakeKukuTcpInbounds) Create added in v0.1.13

func (c *FakeKukuTcpInbounds) Create(ctx context.Context, kukuTcpInbound *kumoriv1.KukuTcpInbound, opts v1.CreateOptions) (result *kumoriv1.KukuTcpInbound, err error)

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

func (*FakeKukuTcpInbounds) Delete added in v0.1.13

func (c *FakeKukuTcpInbounds) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeKukuTcpInbounds) DeleteCollection added in v0.1.13

func (c *FakeKukuTcpInbounds) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKukuTcpInbounds) Get added in v0.1.13

func (c *FakeKukuTcpInbounds) Get(ctx context.Context, name string, options v1.GetOptions) (result *kumoriv1.KukuTcpInbound, err error)

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

func (*FakeKukuTcpInbounds) List added in v0.1.13

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

func (*FakeKukuTcpInbounds) Patch added in v0.1.13

func (c *FakeKukuTcpInbounds) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kumoriv1.KukuTcpInbound, err error)

Patch applies the patch and returns the patched kukuTcpInbound.

func (*FakeKukuTcpInbounds) Update added in v0.1.13

func (c *FakeKukuTcpInbounds) Update(ctx context.Context, kukuTcpInbound *kumoriv1.KukuTcpInbound, opts v1.UpdateOptions) (result *kumoriv1.KukuTcpInbound, err error)

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

func (*FakeKukuTcpInbounds) Watch added in v0.1.13

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

type FakeKukuTcpPorts added in v0.1.13

type FakeKukuTcpPorts struct {
	Fake *FakeKumoriV1
	// contains filtered or unexported fields
}

FakeKukuTcpPorts implements KukuTcpPortInterface

func (*FakeKukuTcpPorts) Create added in v0.1.13

func (c *FakeKukuTcpPorts) Create(ctx context.Context, kukuTcpPort *kumoriv1.KukuTcpPort, opts v1.CreateOptions) (result *kumoriv1.KukuTcpPort, err error)

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

func (*FakeKukuTcpPorts) Delete added in v0.1.13

func (c *FakeKukuTcpPorts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeKukuTcpPorts) DeleteCollection added in v0.1.13

func (c *FakeKukuTcpPorts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKukuTcpPorts) Get added in v0.1.13

func (c *FakeKukuTcpPorts) Get(ctx context.Context, name string, options v1.GetOptions) (result *kumoriv1.KukuTcpPort, err error)

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

func (*FakeKukuTcpPorts) List added in v0.1.13

func (c *FakeKukuTcpPorts) List(ctx context.Context, opts v1.ListOptions) (result *kumoriv1.KukuTcpPortList, err error)

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

func (*FakeKukuTcpPorts) Patch added in v0.1.13

func (c *FakeKukuTcpPorts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kumoriv1.KukuTcpPort, err error)

Patch applies the patch and returns the patched kukuTcpPort.

func (*FakeKukuTcpPorts) Update added in v0.1.13

func (c *FakeKukuTcpPorts) Update(ctx context.Context, kukuTcpPort *kumoriv1.KukuTcpPort, opts v1.UpdateOptions) (result *kumoriv1.KukuTcpPort, err error)

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

func (*FakeKukuTcpPorts) Watch added in v0.1.13

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

type FakeKukuVHosts

type FakeKukuVHosts struct {
	Fake *FakeKumoriV1
	// contains filtered or unexported fields
}

FakeKukuVHosts implements KukuVHostInterface

func (*FakeKukuVHosts) Create

func (c *FakeKukuVHosts) Create(ctx context.Context, kukuVHost *kumoriv1.KukuVHost, opts v1.CreateOptions) (result *kumoriv1.KukuVHost, err error)

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

func (*FakeKukuVHosts) Delete

func (c *FakeKukuVHosts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeKukuVHosts) DeleteCollection

func (c *FakeKukuVHosts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKukuVHosts) Get

func (c *FakeKukuVHosts) Get(ctx context.Context, name string, options v1.GetOptions) (result *kumoriv1.KukuVHost, err error)

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

func (*FakeKukuVHosts) List

func (c *FakeKukuVHosts) List(ctx context.Context, opts v1.ListOptions) (result *kumoriv1.KukuVHostList, err error)

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

func (*FakeKukuVHosts) Patch

func (c *FakeKukuVHosts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kumoriv1.KukuVHost, err error)

Patch applies the patch and returns the patched kukuVHost.

func (*FakeKukuVHosts) Update

func (c *FakeKukuVHosts) Update(ctx context.Context, kukuVHost *kumoriv1.KukuVHost, opts v1.UpdateOptions) (result *kumoriv1.KukuVHost, err error)

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

func (*FakeKukuVHosts) Watch

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

type FakeKukuVolumeItems added in v0.2.1

type FakeKukuVolumeItems struct {
	Fake *FakeKumoriV1
	// contains filtered or unexported fields
}

FakeKukuVolumeItems implements KukuVolumeItemInterface

func (*FakeKukuVolumeItems) Create added in v0.2.1

func (c *FakeKukuVolumeItems) Create(ctx context.Context, kukuVolumeItem *kumoriv1.KukuVolumeItem, opts v1.CreateOptions) (result *kumoriv1.KukuVolumeItem, err error)

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

func (*FakeKukuVolumeItems) Delete added in v0.2.1

func (c *FakeKukuVolumeItems) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeKukuVolumeItems) DeleteCollection added in v0.2.1

func (c *FakeKukuVolumeItems) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKukuVolumeItems) Get added in v0.2.1

func (c *FakeKukuVolumeItems) Get(ctx context.Context, name string, options v1.GetOptions) (result *kumoriv1.KukuVolumeItem, err error)

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

func (*FakeKukuVolumeItems) List added in v0.2.1

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

func (*FakeKukuVolumeItems) Patch added in v0.2.1

func (c *FakeKukuVolumeItems) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kumoriv1.KukuVolumeItem, err error)

Patch applies the patch and returns the patched kukuVolumeItem.

func (*FakeKukuVolumeItems) Update added in v0.2.1

func (c *FakeKukuVolumeItems) Update(ctx context.Context, kukuVolumeItem *kumoriv1.KukuVolumeItem, opts v1.UpdateOptions) (result *kumoriv1.KukuVolumeItem, err error)

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

func (*FakeKukuVolumeItems) UpdateStatus added in v0.2.1

func (c *FakeKukuVolumeItems) UpdateStatus(ctx context.Context, kukuVolumeItem *kumoriv1.KukuVolumeItem, opts v1.UpdateOptions) (*kumoriv1.KukuVolumeItem, error)

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

func (*FakeKukuVolumeItems) Watch added in v0.2.1

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

type FakeKukuVolumes added in v0.2.1

type FakeKukuVolumes struct {
	Fake *FakeKumoriV1
	// contains filtered or unexported fields
}

FakeKukuVolumes implements KukuVolumeInterface

func (*FakeKukuVolumes) Create added in v0.2.1

func (c *FakeKukuVolumes) Create(ctx context.Context, kukuVolume *kumoriv1.KukuVolume, opts v1.CreateOptions) (result *kumoriv1.KukuVolume, err error)

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

func (*FakeKukuVolumes) Delete added in v0.2.1

func (c *FakeKukuVolumes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeKukuVolumes) DeleteCollection added in v0.2.1

func (c *FakeKukuVolumes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKukuVolumes) Get added in v0.2.1

func (c *FakeKukuVolumes) Get(ctx context.Context, name string, options v1.GetOptions) (result *kumoriv1.KukuVolume, err error)

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

func (*FakeKukuVolumes) List added in v0.2.1

func (c *FakeKukuVolumes) List(ctx context.Context, opts v1.ListOptions) (result *kumoriv1.KukuVolumeList, err error)

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

func (*FakeKukuVolumes) Patch added in v0.2.1

func (c *FakeKukuVolumes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kumoriv1.KukuVolume, err error)

Patch applies the patch and returns the patched kukuVolume.

func (*FakeKukuVolumes) Update added in v0.2.1

func (c *FakeKukuVolumes) Update(ctx context.Context, kukuVolume *kumoriv1.KukuVolume, opts v1.UpdateOptions) (result *kumoriv1.KukuVolume, err error)

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

func (*FakeKukuVolumes) UpdateStatus added in v0.2.1

func (c *FakeKukuVolumes) UpdateStatus(ctx context.Context, kukuVolume *kumoriv1.KukuVolume, opts v1.UpdateOptions) (*kumoriv1.KukuVolume, error)

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

func (*FakeKukuVolumes) Watch added in v0.2.1

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

type FakeKumoriV1

type FakeKumoriV1 struct {
	*testing.Fake
}

func (*FakeKumoriV1) KukuCNs

func (c *FakeKumoriV1) KukuCNs(namespace string) v1.KukuCNInterface

func (*FakeKumoriV1) KukuCerts

func (c *FakeKumoriV1) KukuCerts(namespace string) v1.KukuCertInterface

func (*FakeKumoriV1) KukuComponents

func (c *FakeKumoriV1) KukuComponents(namespace string) v1.KukuComponentInterface

func (*FakeKumoriV1) KukuDeployments

func (c *FakeKumoriV1) KukuDeployments(namespace string) v1.KukuDeploymentInterface

func (*FakeKumoriV1) KukuHttpInbounds

func (c *FakeKumoriV1) KukuHttpInbounds(namespace string) v1.KukuHttpInboundInterface
func (c *FakeKumoriV1) KukuLinks(namespace string) v1.KukuLinkInterface

func (*FakeKumoriV1) KukuSecrets

func (c *FakeKumoriV1) KukuSecrets(namespace string) v1.KukuSecretInterface

func (*FakeKumoriV1) KukuServices

func (c *FakeKumoriV1) KukuServices(namespace string) v1.KukuServiceInterface

func (*FakeKumoriV1) KukuTcpInbounds added in v0.1.13

func (c *FakeKumoriV1) KukuTcpInbounds(namespace string) v1.KukuTcpInboundInterface

func (*FakeKumoriV1) KukuTcpPorts added in v0.1.13

func (c *FakeKumoriV1) KukuTcpPorts(namespace string) v1.KukuTcpPortInterface

func (*FakeKumoriV1) KukuVHosts

func (c *FakeKumoriV1) KukuVHosts(namespace string) v1.KukuVHostInterface

func (*FakeKumoriV1) KukuVolumeItems added in v0.2.1

func (c *FakeKumoriV1) KukuVolumeItems(namespace string) v1.KukuVolumeItemInterface

func (*FakeKumoriV1) KukuVolumes added in v0.2.1

func (c *FakeKumoriV1) KukuVolumes(namespace string) v1.KukuVolumeInterface

func (*FakeKumoriV1) RESTClient

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

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

func (*FakeKumoriV1) V3Deployments

func (c *FakeKumoriV1) V3Deployments(namespace string) v1.V3DeploymentInterface

type FakeV3Deployments

type FakeV3Deployments struct {
	Fake *FakeKumoriV1
	// contains filtered or unexported fields
}

FakeV3Deployments implements V3DeploymentInterface

func (*FakeV3Deployments) Create

func (c *FakeV3Deployments) Create(ctx context.Context, v3Deployment *kumoriv1.V3Deployment, opts v1.CreateOptions) (result *kumoriv1.V3Deployment, err error)

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

func (*FakeV3Deployments) Delete

func (c *FakeV3Deployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeV3Deployments) DeleteCollection

func (c *FakeV3Deployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeV3Deployments) Get

func (c *FakeV3Deployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *kumoriv1.V3Deployment, err error)

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

func (*FakeV3Deployments) List

func (c *FakeV3Deployments) List(ctx context.Context, opts v1.ListOptions) (result *kumoriv1.V3DeploymentList, err error)

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

func (*FakeV3Deployments) Patch

func (c *FakeV3Deployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *kumoriv1.V3Deployment, err error)

Patch applies the patch and returns the patched v3Deployment.

func (*FakeV3Deployments) Update

func (c *FakeV3Deployments) Update(ctx context.Context, v3Deployment *kumoriv1.V3Deployment, opts v1.UpdateOptions) (result *kumoriv1.V3Deployment, err error)

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

func (*FakeV3Deployments) UpdateStatus

func (c *FakeV3Deployments) UpdateStatus(ctx context.Context, v3Deployment *kumoriv1.V3Deployment, opts v1.UpdateOptions) (*kumoriv1.V3Deployment, error)

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

func (*FakeV3Deployments) Watch

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

Jump to

Keyboard shortcuts

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