Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeSplitV1alpha3
- type FakeTrafficSplits
- func (c *FakeTrafficSplits) Create(ctx context.Context, trafficSplit *v1alpha3.TrafficSplit, ...) (result *v1alpha3.TrafficSplit, err error)
- func (c *FakeTrafficSplits) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTrafficSplits) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTrafficSplits) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha3.TrafficSplit, err error)
- func (c *FakeTrafficSplits) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha3.TrafficSplitList, err error)
- func (c *FakeTrafficSplits) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha3.TrafficSplit, err error)
- func (c *FakeTrafficSplits) Update(ctx context.Context, trafficSplit *v1alpha3.TrafficSplit, ...) (result *v1alpha3.TrafficSplit, err error)
- func (c *FakeTrafficSplits) 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 FakeSplitV1alpha3 ¶
func (*FakeSplitV1alpha3) RESTClient ¶
func (c *FakeSplitV1alpha3) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSplitV1alpha3) TrafficSplits ¶
func (c *FakeSplitV1alpha3) TrafficSplits(namespace string) v1alpha3.TrafficSplitInterface
type FakeTrafficSplits ¶
type FakeTrafficSplits struct { Fake *FakeSplitV1alpha3 // contains filtered or unexported fields }
FakeTrafficSplits implements TrafficSplitInterface
func (*FakeTrafficSplits) Create ¶
func (c *FakeTrafficSplits) Create(ctx context.Context, trafficSplit *v1alpha3.TrafficSplit, opts v1.CreateOptions) (result *v1alpha3.TrafficSplit, err error)
Create takes the representation of a trafficSplit and creates it. Returns the server's representation of the trafficSplit, and an error, if there is any.
func (*FakeTrafficSplits) Delete ¶
func (c *FakeTrafficSplits) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the trafficSplit and deletes it. Returns an error if one occurs.
func (*FakeTrafficSplits) DeleteCollection ¶
func (c *FakeTrafficSplits) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTrafficSplits) Get ¶
func (c *FakeTrafficSplits) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha3.TrafficSplit, err error)
Get takes name of the trafficSplit, and returns the corresponding trafficSplit object, and an error if there is any.
func (*FakeTrafficSplits) List ¶
func (c *FakeTrafficSplits) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha3.TrafficSplitList, err error)
List takes label and field selectors, and returns the list of TrafficSplits that match those selectors.
func (*FakeTrafficSplits) Patch ¶
func (c *FakeTrafficSplits) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha3.TrafficSplit, err error)
Patch applies the patch and returns the patched trafficSplit.
func (*FakeTrafficSplits) Update ¶
func (c *FakeTrafficSplits) Update(ctx context.Context, trafficSplit *v1alpha3.TrafficSplit, opts v1.UpdateOptions) (result *v1alpha3.TrafficSplit, err error)
Update takes the representation of a trafficSplit and updates it. Returns the server's representation of the trafficSplit, and an error, if there is any.
func (*FakeTrafficSplits) Watch ¶
func (c *FakeTrafficSplits) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested trafficSplits.