fake

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 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 FakeHttpFarmServers

type FakeHttpFarmServers struct {
	Fake *FakeIploadbalancingV1alpha1
	// contains filtered or unexported fields
}

FakeHttpFarmServers implements HttpFarmServerInterface

func (*FakeHttpFarmServers) Create

func (c *FakeHttpFarmServers) Create(ctx context.Context, httpFarmServer *v1alpha1.HttpFarmServer, opts v1.CreateOptions) (result *v1alpha1.HttpFarmServer, err error)

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

func (*FakeHttpFarmServers) Delete

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

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

func (*FakeHttpFarmServers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeHttpFarmServers) Get

func (c *FakeHttpFarmServers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.HttpFarmServer, err error)

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

func (*FakeHttpFarmServers) List

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

func (*FakeHttpFarmServers) Patch

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

Patch applies the patch and returns the patched httpFarmServer.

func (*FakeHttpFarmServers) Update

func (c *FakeHttpFarmServers) Update(ctx context.Context, httpFarmServer *v1alpha1.HttpFarmServer, opts v1.UpdateOptions) (result *v1alpha1.HttpFarmServer, err error)

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

func (*FakeHttpFarmServers) UpdateStatus

func (c *FakeHttpFarmServers) UpdateStatus(ctx context.Context, httpFarmServer *v1alpha1.HttpFarmServer, opts v1.UpdateOptions) (*v1alpha1.HttpFarmServer, error)

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

func (*FakeHttpFarmServers) Watch

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

type FakeHttpFarms

type FakeHttpFarms struct {
	Fake *FakeIploadbalancingV1alpha1
	// contains filtered or unexported fields
}

FakeHttpFarms implements HttpFarmInterface

func (*FakeHttpFarms) Create

func (c *FakeHttpFarms) Create(ctx context.Context, httpFarm *v1alpha1.HttpFarm, opts v1.CreateOptions) (result *v1alpha1.HttpFarm, err error)

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

func (*FakeHttpFarms) Delete

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

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

func (*FakeHttpFarms) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeHttpFarms) Get

func (c *FakeHttpFarms) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.HttpFarm, err error)

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

func (*FakeHttpFarms) List

func (c *FakeHttpFarms) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.HttpFarmList, err error)

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

func (*FakeHttpFarms) Patch

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

Patch applies the patch and returns the patched httpFarm.

func (*FakeHttpFarms) Update

func (c *FakeHttpFarms) Update(ctx context.Context, httpFarm *v1alpha1.HttpFarm, opts v1.UpdateOptions) (result *v1alpha1.HttpFarm, err error)

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

func (*FakeHttpFarms) UpdateStatus

func (c *FakeHttpFarms) UpdateStatus(ctx context.Context, httpFarm *v1alpha1.HttpFarm, opts v1.UpdateOptions) (*v1alpha1.HttpFarm, error)

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

func (*FakeHttpFarms) Watch

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

type FakeHttpFrontends

type FakeHttpFrontends struct {
	Fake *FakeIploadbalancingV1alpha1
	// contains filtered or unexported fields
}

FakeHttpFrontends implements HttpFrontendInterface

func (*FakeHttpFrontends) Create

func (c *FakeHttpFrontends) Create(ctx context.Context, httpFrontend *v1alpha1.HttpFrontend, opts v1.CreateOptions) (result *v1alpha1.HttpFrontend, err error)

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

func (*FakeHttpFrontends) Delete

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

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

func (*FakeHttpFrontends) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeHttpFrontends) Get

func (c *FakeHttpFrontends) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.HttpFrontend, err error)

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

func (*FakeHttpFrontends) List

func (c *FakeHttpFrontends) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.HttpFrontendList, err error)

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

func (*FakeHttpFrontends) Patch

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

Patch applies the patch and returns the patched httpFrontend.

func (*FakeHttpFrontends) Update

func (c *FakeHttpFrontends) Update(ctx context.Context, httpFrontend *v1alpha1.HttpFrontend, opts v1.UpdateOptions) (result *v1alpha1.HttpFrontend, err error)

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

func (*FakeHttpFrontends) UpdateStatus

func (c *FakeHttpFrontends) UpdateStatus(ctx context.Context, httpFrontend *v1alpha1.HttpFrontend, opts v1.UpdateOptions) (*v1alpha1.HttpFrontend, error)

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

func (*FakeHttpFrontends) Watch

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

type FakeHttpRouteRules

type FakeHttpRouteRules struct {
	Fake *FakeIploadbalancingV1alpha1
	// contains filtered or unexported fields
}

FakeHttpRouteRules implements HttpRouteRuleInterface

func (*FakeHttpRouteRules) Create

func (c *FakeHttpRouteRules) Create(ctx context.Context, httpRouteRule *v1alpha1.HttpRouteRule, opts v1.CreateOptions) (result *v1alpha1.HttpRouteRule, err error)

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

func (*FakeHttpRouteRules) Delete

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

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

func (*FakeHttpRouteRules) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeHttpRouteRules) Get

func (c *FakeHttpRouteRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.HttpRouteRule, err error)

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

func (*FakeHttpRouteRules) List

func (c *FakeHttpRouteRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.HttpRouteRuleList, err error)

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

func (*FakeHttpRouteRules) Patch

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

Patch applies the patch and returns the patched httpRouteRule.

func (*FakeHttpRouteRules) Update

func (c *FakeHttpRouteRules) Update(ctx context.Context, httpRouteRule *v1alpha1.HttpRouteRule, opts v1.UpdateOptions) (result *v1alpha1.HttpRouteRule, err error)

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

func (*FakeHttpRouteRules) UpdateStatus

func (c *FakeHttpRouteRules) UpdateStatus(ctx context.Context, httpRouteRule *v1alpha1.HttpRouteRule, opts v1.UpdateOptions) (*v1alpha1.HttpRouteRule, error)

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

func (*FakeHttpRouteRules) Watch

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

type FakeHttpRoutes

type FakeHttpRoutes struct {
	Fake *FakeIploadbalancingV1alpha1
	// contains filtered or unexported fields
}

FakeHttpRoutes implements HttpRouteInterface

func (*FakeHttpRoutes) Create

func (c *FakeHttpRoutes) Create(ctx context.Context, httpRoute *v1alpha1.HttpRoute, opts v1.CreateOptions) (result *v1alpha1.HttpRoute, err error)

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

func (*FakeHttpRoutes) Delete

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

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

func (*FakeHttpRoutes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeHttpRoutes) Get

func (c *FakeHttpRoutes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.HttpRoute, err error)

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

func (*FakeHttpRoutes) List

func (c *FakeHttpRoutes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.HttpRouteList, err error)

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

func (*FakeHttpRoutes) Patch

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

Patch applies the patch and returns the patched httpRoute.

func (*FakeHttpRoutes) Update

func (c *FakeHttpRoutes) Update(ctx context.Context, httpRoute *v1alpha1.HttpRoute, opts v1.UpdateOptions) (result *v1alpha1.HttpRoute, err error)

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

func (*FakeHttpRoutes) UpdateStatus

func (c *FakeHttpRoutes) UpdateStatus(ctx context.Context, httpRoute *v1alpha1.HttpRoute, opts v1.UpdateOptions) (*v1alpha1.HttpRoute, error)

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

func (*FakeHttpRoutes) Watch

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

type FakeIploadbalancingV1alpha1

type FakeIploadbalancingV1alpha1 struct {
	*testing.Fake
}

func (*FakeIploadbalancingV1alpha1) HttpFarmServers

func (*FakeIploadbalancingV1alpha1) HttpFarms

func (*FakeIploadbalancingV1alpha1) HttpFrontends

func (*FakeIploadbalancingV1alpha1) HttpRouteRules

func (*FakeIploadbalancingV1alpha1) HttpRoutes

func (*FakeIploadbalancingV1alpha1) Iploadbalancings

func (*FakeIploadbalancingV1alpha1) RESTClient

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

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

func (*FakeIploadbalancingV1alpha1) Refreshes

func (*FakeIploadbalancingV1alpha1) TcpFarmServers

func (*FakeIploadbalancingV1alpha1) TcpFarms

func (*FakeIploadbalancingV1alpha1) TcpFrontends

func (*FakeIploadbalancingV1alpha1) TcpRouteRules added in v0.4.0

func (*FakeIploadbalancingV1alpha1) TcpRoutes added in v0.4.0

func (*FakeIploadbalancingV1alpha1) VrackNetworks

type FakeIploadbalancings

type FakeIploadbalancings struct {
	Fake *FakeIploadbalancingV1alpha1
	// contains filtered or unexported fields
}

FakeIploadbalancings implements IploadbalancingInterface

func (*FakeIploadbalancings) Create

func (c *FakeIploadbalancings) Create(ctx context.Context, iploadbalancing *v1alpha1.Iploadbalancing, opts v1.CreateOptions) (result *v1alpha1.Iploadbalancing, err error)

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

func (*FakeIploadbalancings) Delete

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

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

func (*FakeIploadbalancings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeIploadbalancings) Get

func (c *FakeIploadbalancings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Iploadbalancing, err error)

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

func (*FakeIploadbalancings) List

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

func (*FakeIploadbalancings) Patch

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

Patch applies the patch and returns the patched iploadbalancing.

func (*FakeIploadbalancings) Update

func (c *FakeIploadbalancings) Update(ctx context.Context, iploadbalancing *v1alpha1.Iploadbalancing, opts v1.UpdateOptions) (result *v1alpha1.Iploadbalancing, err error)

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

func (*FakeIploadbalancings) UpdateStatus

func (c *FakeIploadbalancings) UpdateStatus(ctx context.Context, iploadbalancing *v1alpha1.Iploadbalancing, opts v1.UpdateOptions) (*v1alpha1.Iploadbalancing, error)

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

func (*FakeIploadbalancings) Watch

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

type FakeRefreshes

type FakeRefreshes struct {
	Fake *FakeIploadbalancingV1alpha1
	// contains filtered or unexported fields
}

FakeRefreshes implements RefreshInterface

func (*FakeRefreshes) Create

func (c *FakeRefreshes) Create(ctx context.Context, refresh *v1alpha1.Refresh, opts v1.CreateOptions) (result *v1alpha1.Refresh, err error)

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

func (*FakeRefreshes) Delete

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

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

func (*FakeRefreshes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRefreshes) Get

func (c *FakeRefreshes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Refresh, err error)

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

func (*FakeRefreshes) List

func (c *FakeRefreshes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RefreshList, err error)

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

func (*FakeRefreshes) Patch

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

Patch applies the patch and returns the patched refresh.

func (*FakeRefreshes) Update

func (c *FakeRefreshes) Update(ctx context.Context, refresh *v1alpha1.Refresh, opts v1.UpdateOptions) (result *v1alpha1.Refresh, err error)

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

func (*FakeRefreshes) UpdateStatus

func (c *FakeRefreshes) UpdateStatus(ctx context.Context, refresh *v1alpha1.Refresh, opts v1.UpdateOptions) (*v1alpha1.Refresh, error)

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

func (*FakeRefreshes) Watch

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

type FakeTcpFarmServers

type FakeTcpFarmServers struct {
	Fake *FakeIploadbalancingV1alpha1
	// contains filtered or unexported fields
}

FakeTcpFarmServers implements TcpFarmServerInterface

func (*FakeTcpFarmServers) Create

func (c *FakeTcpFarmServers) Create(ctx context.Context, tcpFarmServer *v1alpha1.TcpFarmServer, opts v1.CreateOptions) (result *v1alpha1.TcpFarmServer, err error)

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

func (*FakeTcpFarmServers) Delete

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

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

func (*FakeTcpFarmServers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTcpFarmServers) Get

func (c *FakeTcpFarmServers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TcpFarmServer, err error)

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

func (*FakeTcpFarmServers) List

func (c *FakeTcpFarmServers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TcpFarmServerList, err error)

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

func (*FakeTcpFarmServers) Patch

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

Patch applies the patch and returns the patched tcpFarmServer.

func (*FakeTcpFarmServers) Update

func (c *FakeTcpFarmServers) Update(ctx context.Context, tcpFarmServer *v1alpha1.TcpFarmServer, opts v1.UpdateOptions) (result *v1alpha1.TcpFarmServer, err error)

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

func (*FakeTcpFarmServers) UpdateStatus

func (c *FakeTcpFarmServers) UpdateStatus(ctx context.Context, tcpFarmServer *v1alpha1.TcpFarmServer, opts v1.UpdateOptions) (*v1alpha1.TcpFarmServer, error)

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

func (*FakeTcpFarmServers) Watch

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

type FakeTcpFarms

type FakeTcpFarms struct {
	Fake *FakeIploadbalancingV1alpha1
	// contains filtered or unexported fields
}

FakeTcpFarms implements TcpFarmInterface

func (*FakeTcpFarms) Create

func (c *FakeTcpFarms) Create(ctx context.Context, tcpFarm *v1alpha1.TcpFarm, opts v1.CreateOptions) (result *v1alpha1.TcpFarm, err error)

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

func (*FakeTcpFarms) Delete

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

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

func (*FakeTcpFarms) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTcpFarms) Get

func (c *FakeTcpFarms) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TcpFarm, err error)

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

func (*FakeTcpFarms) List

func (c *FakeTcpFarms) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TcpFarmList, err error)

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

func (*FakeTcpFarms) Patch

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

Patch applies the patch and returns the patched tcpFarm.

func (*FakeTcpFarms) Update

func (c *FakeTcpFarms) Update(ctx context.Context, tcpFarm *v1alpha1.TcpFarm, opts v1.UpdateOptions) (result *v1alpha1.TcpFarm, err error)

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

func (*FakeTcpFarms) UpdateStatus

func (c *FakeTcpFarms) UpdateStatus(ctx context.Context, tcpFarm *v1alpha1.TcpFarm, opts v1.UpdateOptions) (*v1alpha1.TcpFarm, error)

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

func (*FakeTcpFarms) Watch

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

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

type FakeTcpFrontends

type FakeTcpFrontends struct {
	Fake *FakeIploadbalancingV1alpha1
	// contains filtered or unexported fields
}

FakeTcpFrontends implements TcpFrontendInterface

func (*FakeTcpFrontends) Create

func (c *FakeTcpFrontends) Create(ctx context.Context, tcpFrontend *v1alpha1.TcpFrontend, opts v1.CreateOptions) (result *v1alpha1.TcpFrontend, err error)

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

func (*FakeTcpFrontends) Delete

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

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

func (*FakeTcpFrontends) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTcpFrontends) Get

func (c *FakeTcpFrontends) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TcpFrontend, err error)

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

func (*FakeTcpFrontends) List

func (c *FakeTcpFrontends) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TcpFrontendList, err error)

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

func (*FakeTcpFrontends) Patch

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

Patch applies the patch and returns the patched tcpFrontend.

func (*FakeTcpFrontends) Update

func (c *FakeTcpFrontends) Update(ctx context.Context, tcpFrontend *v1alpha1.TcpFrontend, opts v1.UpdateOptions) (result *v1alpha1.TcpFrontend, err error)

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

func (*FakeTcpFrontends) UpdateStatus

func (c *FakeTcpFrontends) UpdateStatus(ctx context.Context, tcpFrontend *v1alpha1.TcpFrontend, opts v1.UpdateOptions) (*v1alpha1.TcpFrontend, error)

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

func (*FakeTcpFrontends) Watch

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

type FakeTcpRouteRules added in v0.4.0

type FakeTcpRouteRules struct {
	Fake *FakeIploadbalancingV1alpha1
	// contains filtered or unexported fields
}

FakeTcpRouteRules implements TcpRouteRuleInterface

func (*FakeTcpRouteRules) Create added in v0.4.0

func (c *FakeTcpRouteRules) Create(ctx context.Context, tcpRouteRule *v1alpha1.TcpRouteRule, opts v1.CreateOptions) (result *v1alpha1.TcpRouteRule, err error)

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

func (*FakeTcpRouteRules) Delete added in v0.4.0

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

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

func (*FakeTcpRouteRules) DeleteCollection added in v0.4.0

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

DeleteCollection deletes a collection of objects.

func (*FakeTcpRouteRules) Get added in v0.4.0

func (c *FakeTcpRouteRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TcpRouteRule, err error)

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

func (*FakeTcpRouteRules) List added in v0.4.0

func (c *FakeTcpRouteRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TcpRouteRuleList, err error)

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

func (*FakeTcpRouteRules) Patch added in v0.4.0

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

Patch applies the patch and returns the patched tcpRouteRule.

func (*FakeTcpRouteRules) Update added in v0.4.0

func (c *FakeTcpRouteRules) Update(ctx context.Context, tcpRouteRule *v1alpha1.TcpRouteRule, opts v1.UpdateOptions) (result *v1alpha1.TcpRouteRule, err error)

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

func (*FakeTcpRouteRules) UpdateStatus added in v0.4.0

func (c *FakeTcpRouteRules) UpdateStatus(ctx context.Context, tcpRouteRule *v1alpha1.TcpRouteRule, opts v1.UpdateOptions) (*v1alpha1.TcpRouteRule, error)

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

func (*FakeTcpRouteRules) Watch added in v0.4.0

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

type FakeTcpRoutes added in v0.4.0

type FakeTcpRoutes struct {
	Fake *FakeIploadbalancingV1alpha1
	// contains filtered or unexported fields
}

FakeTcpRoutes implements TcpRouteInterface

func (*FakeTcpRoutes) Create added in v0.4.0

func (c *FakeTcpRoutes) Create(ctx context.Context, tcpRoute *v1alpha1.TcpRoute, opts v1.CreateOptions) (result *v1alpha1.TcpRoute, err error)

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

func (*FakeTcpRoutes) Delete added in v0.4.0

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

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

func (*FakeTcpRoutes) DeleteCollection added in v0.4.0

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

DeleteCollection deletes a collection of objects.

func (*FakeTcpRoutes) Get added in v0.4.0

func (c *FakeTcpRoutes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TcpRoute, err error)

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

func (*FakeTcpRoutes) List added in v0.4.0

func (c *FakeTcpRoutes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TcpRouteList, err error)

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

func (*FakeTcpRoutes) Patch added in v0.4.0

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

Patch applies the patch and returns the patched tcpRoute.

func (*FakeTcpRoutes) Update added in v0.4.0

func (c *FakeTcpRoutes) Update(ctx context.Context, tcpRoute *v1alpha1.TcpRoute, opts v1.UpdateOptions) (result *v1alpha1.TcpRoute, err error)

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

func (*FakeTcpRoutes) UpdateStatus added in v0.4.0

func (c *FakeTcpRoutes) UpdateStatus(ctx context.Context, tcpRoute *v1alpha1.TcpRoute, opts v1.UpdateOptions) (*v1alpha1.TcpRoute, error)

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

func (*FakeTcpRoutes) Watch added in v0.4.0

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

type FakeVrackNetworks

type FakeVrackNetworks struct {
	Fake *FakeIploadbalancingV1alpha1
	// contains filtered or unexported fields
}

FakeVrackNetworks implements VrackNetworkInterface

func (*FakeVrackNetworks) Create

func (c *FakeVrackNetworks) Create(ctx context.Context, vrackNetwork *v1alpha1.VrackNetwork, opts v1.CreateOptions) (result *v1alpha1.VrackNetwork, err error)

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

func (*FakeVrackNetworks) Delete

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

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

func (*FakeVrackNetworks) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVrackNetworks) Get

func (c *FakeVrackNetworks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VrackNetwork, err error)

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

func (*FakeVrackNetworks) List

func (c *FakeVrackNetworks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VrackNetworkList, err error)

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

func (*FakeVrackNetworks) Patch

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

Patch applies the patch and returns the patched vrackNetwork.

func (*FakeVrackNetworks) Update

func (c *FakeVrackNetworks) Update(ctx context.Context, vrackNetwork *v1alpha1.VrackNetwork, opts v1.UpdateOptions) (result *v1alpha1.VrackNetwork, err error)

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

func (*FakeVrackNetworks) UpdateStatus

func (c *FakeVrackNetworks) UpdateStatus(ctx context.Context, vrackNetwork *v1alpha1.VrackNetwork, opts v1.UpdateOptions) (*v1alpha1.VrackNetwork, error)

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

func (*FakeVrackNetworks) Watch

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

Jump to

Keyboard shortcuts

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