Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAccessV1alpha3
- type FakeTrafficTargets
- func (c *FakeTrafficTargets) Create(ctx context.Context, trafficTarget *v1alpha3.TrafficTarget, ...) (result *v1alpha3.TrafficTarget, err error)
- func (c *FakeTrafficTargets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTrafficTargets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTrafficTargets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha3.TrafficTarget, err error)
- func (c *FakeTrafficTargets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha3.TrafficTargetList, err error)
- func (c *FakeTrafficTargets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha3.TrafficTarget, err error)
- func (c *FakeTrafficTargets) Update(ctx context.Context, trafficTarget *v1alpha3.TrafficTarget, ...) (result *v1alpha3.TrafficTarget, err error)
- func (c *FakeTrafficTargets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAccessV1alpha3 ¶
func (*FakeAccessV1alpha3) RESTClient ¶
func (c *FakeAccessV1alpha3) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAccessV1alpha3) TrafficTargets ¶
func (c *FakeAccessV1alpha3) TrafficTargets(namespace string) v1alpha3.TrafficTargetInterface
type FakeTrafficTargets ¶
type FakeTrafficTargets struct { Fake *FakeAccessV1alpha3 // contains filtered or unexported fields }
FakeTrafficTargets implements TrafficTargetInterface
func (*FakeTrafficTargets) Create ¶
func (c *FakeTrafficTargets) Create(ctx context.Context, trafficTarget *v1alpha3.TrafficTarget, opts v1.CreateOptions) (result *v1alpha3.TrafficTarget, err error)
Create takes the representation of a trafficTarget and creates it. Returns the server's representation of the trafficTarget, and an error, if there is any.
func (*FakeTrafficTargets) Delete ¶
func (c *FakeTrafficTargets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the trafficTarget and deletes it. Returns an error if one occurs.
func (*FakeTrafficTargets) DeleteCollection ¶
func (c *FakeTrafficTargets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTrafficTargets) Get ¶
func (c *FakeTrafficTargets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha3.TrafficTarget, err error)
Get takes name of the trafficTarget, and returns the corresponding trafficTarget object, and an error if there is any.
func (*FakeTrafficTargets) List ¶
func (c *FakeTrafficTargets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha3.TrafficTargetList, err error)
List takes label and field selectors, and returns the list of TrafficTargets that match those selectors.
func (*FakeTrafficTargets) Patch ¶
func (c *FakeTrafficTargets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha3.TrafficTarget, err error)
Patch applies the patch and returns the patched trafficTarget.
func (*FakeTrafficTargets) Update ¶
func (c *FakeTrafficTargets) Update(ctx context.Context, trafficTarget *v1alpha3.TrafficTarget, opts v1.UpdateOptions) (result *v1alpha3.TrafficTarget, err error)
Update takes the representation of a trafficTarget and updates it. Returns the server's representation of the trafficTarget, and an error, if there is any.
func (*FakeTrafficTargets) Watch ¶
func (c *FakeTrafficTargets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested trafficTargets.