Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCtrlmeshV1alpha1
- func (c *FakeCtrlmeshV1alpha1) ManagerStates() v1alpha1.ManagerStateInterface
- func (c *FakeCtrlmeshV1alpha1) RESTClient() rest.Interface
- func (c *FakeCtrlmeshV1alpha1) TrafficPolicies(namespace string) v1alpha1.TrafficPolicyInterface
- func (c *FakeCtrlmeshV1alpha1) VirtualApps(namespace string) v1alpha1.VirtualAppInterface
- type FakeManagerStates
- func (c *FakeManagerStates) Create(ctx context.Context, managerState *v1alpha1.ManagerState, ...) (result *v1alpha1.ManagerState, err error)
- func (c *FakeManagerStates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeManagerStates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeManagerStates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ManagerState, err error)
- func (c *FakeManagerStates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ManagerStateList, err error)
- func (c *FakeManagerStates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ManagerState, err error)
- func (c *FakeManagerStates) Update(ctx context.Context, managerState *v1alpha1.ManagerState, ...) (result *v1alpha1.ManagerState, err error)
- func (c *FakeManagerStates) UpdateStatus(ctx context.Context, managerState *v1alpha1.ManagerState, ...) (*v1alpha1.ManagerState, error)
- func (c *FakeManagerStates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTrafficPolicies
- func (c *FakeTrafficPolicies) Create(ctx context.Context, trafficPolicy *v1alpha1.TrafficPolicy, ...) (result *v1alpha1.TrafficPolicy, err error)
- func (c *FakeTrafficPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTrafficPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTrafficPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TrafficPolicy, err error)
- func (c *FakeTrafficPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TrafficPolicyList, err error)
- func (c *FakeTrafficPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.TrafficPolicy, err error)
- func (c *FakeTrafficPolicies) Update(ctx context.Context, trafficPolicy *v1alpha1.TrafficPolicy, ...) (result *v1alpha1.TrafficPolicy, err error)
- func (c *FakeTrafficPolicies) UpdateStatus(ctx context.Context, trafficPolicy *v1alpha1.TrafficPolicy, ...) (*v1alpha1.TrafficPolicy, error)
- func (c *FakeTrafficPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualApps
- func (c *FakeVirtualApps) Create(ctx context.Context, virtualApp *v1alpha1.VirtualApp, opts v1.CreateOptions) (result *v1alpha1.VirtualApp, err error)
- func (c *FakeVirtualApps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualApps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualApps) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VirtualApp, err error)
- func (c *FakeVirtualApps) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VirtualAppList, err error)
- func (c *FakeVirtualApps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.VirtualApp, err error)
- func (c *FakeVirtualApps) Update(ctx context.Context, virtualApp *v1alpha1.VirtualApp, opts v1.UpdateOptions) (result *v1alpha1.VirtualApp, err error)
- func (c *FakeVirtualApps) UpdateStatus(ctx context.Context, virtualApp *v1alpha1.VirtualApp, opts v1.UpdateOptions) (*v1alpha1.VirtualApp, error)
- func (c *FakeVirtualApps) 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 FakeCtrlmeshV1alpha1 ¶
func (*FakeCtrlmeshV1alpha1) ManagerStates ¶
func (c *FakeCtrlmeshV1alpha1) ManagerStates() v1alpha1.ManagerStateInterface
func (*FakeCtrlmeshV1alpha1) RESTClient ¶
func (c *FakeCtrlmeshV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeCtrlmeshV1alpha1) TrafficPolicies ¶
func (c *FakeCtrlmeshV1alpha1) TrafficPolicies(namespace string) v1alpha1.TrafficPolicyInterface
func (*FakeCtrlmeshV1alpha1) VirtualApps ¶
func (c *FakeCtrlmeshV1alpha1) VirtualApps(namespace string) v1alpha1.VirtualAppInterface
type FakeManagerStates ¶
type FakeManagerStates struct {
Fake *FakeCtrlmeshV1alpha1
}
FakeManagerStates implements ManagerStateInterface
func (*FakeManagerStates) Create ¶
func (c *FakeManagerStates) Create(ctx context.Context, managerState *v1alpha1.ManagerState, opts v1.CreateOptions) (result *v1alpha1.ManagerState, err error)
Create takes the representation of a managerState and creates it. Returns the server's representation of the managerState, and an error, if there is any.
func (*FakeManagerStates) Delete ¶
func (c *FakeManagerStates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the managerState and deletes it. Returns an error if one occurs.
func (*FakeManagerStates) DeleteCollection ¶
func (c *FakeManagerStates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeManagerStates) Get ¶
func (c *FakeManagerStates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ManagerState, err error)
Get takes name of the managerState, and returns the corresponding managerState object, and an error if there is any.
func (*FakeManagerStates) List ¶
func (c *FakeManagerStates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ManagerStateList, err error)
List takes label and field selectors, and returns the list of ManagerStates that match those selectors.
func (*FakeManagerStates) Patch ¶
func (c *FakeManagerStates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ManagerState, err error)
Patch applies the patch and returns the patched managerState.
func (*FakeManagerStates) Update ¶
func (c *FakeManagerStates) Update(ctx context.Context, managerState *v1alpha1.ManagerState, opts v1.UpdateOptions) (result *v1alpha1.ManagerState, err error)
Update takes the representation of a managerState and updates it. Returns the server's representation of the managerState, and an error, if there is any.
func (*FakeManagerStates) UpdateStatus ¶
func (c *FakeManagerStates) UpdateStatus(ctx context.Context, managerState *v1alpha1.ManagerState, opts v1.UpdateOptions) (*v1alpha1.ManagerState, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeManagerStates) Watch ¶
func (c *FakeManagerStates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested managerStates.
type FakeTrafficPolicies ¶
type FakeTrafficPolicies struct { Fake *FakeCtrlmeshV1alpha1 // contains filtered or unexported fields }
FakeTrafficPolicies implements TrafficPolicyInterface
func (*FakeTrafficPolicies) Create ¶
func (c *FakeTrafficPolicies) Create(ctx context.Context, trafficPolicy *v1alpha1.TrafficPolicy, opts v1.CreateOptions) (result *v1alpha1.TrafficPolicy, err error)
Create takes the representation of a trafficPolicy and creates it. Returns the server's representation of the trafficPolicy, and an error, if there is any.
func (*FakeTrafficPolicies) Delete ¶
func (c *FakeTrafficPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the trafficPolicy and deletes it. Returns an error if one occurs.
func (*FakeTrafficPolicies) DeleteCollection ¶
func (c *FakeTrafficPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTrafficPolicies) Get ¶
func (c *FakeTrafficPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TrafficPolicy, err error)
Get takes name of the trafficPolicy, and returns the corresponding trafficPolicy object, and an error if there is any.
func (*FakeTrafficPolicies) List ¶
func (c *FakeTrafficPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TrafficPolicyList, err error)
List takes label and field selectors, and returns the list of TrafficPolicies that match those selectors.
func (*FakeTrafficPolicies) Patch ¶
func (c *FakeTrafficPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TrafficPolicy, err error)
Patch applies the patch and returns the patched trafficPolicy.
func (*FakeTrafficPolicies) Update ¶
func (c *FakeTrafficPolicies) Update(ctx context.Context, trafficPolicy *v1alpha1.TrafficPolicy, opts v1.UpdateOptions) (result *v1alpha1.TrafficPolicy, err error)
Update takes the representation of a trafficPolicy and updates it. Returns the server's representation of the trafficPolicy, and an error, if there is any.
func (*FakeTrafficPolicies) UpdateStatus ¶
func (c *FakeTrafficPolicies) UpdateStatus(ctx context.Context, trafficPolicy *v1alpha1.TrafficPolicy, opts v1.UpdateOptions) (*v1alpha1.TrafficPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTrafficPolicies) Watch ¶
func (c *FakeTrafficPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested trafficPolicies.
type FakeVirtualApps ¶
type FakeVirtualApps struct { Fake *FakeCtrlmeshV1alpha1 // contains filtered or unexported fields }
FakeVirtualApps implements VirtualAppInterface
func (*FakeVirtualApps) Create ¶
func (c *FakeVirtualApps) Create(ctx context.Context, virtualApp *v1alpha1.VirtualApp, opts v1.CreateOptions) (result *v1alpha1.VirtualApp, err error)
Create takes the representation of a virtualApp and creates it. Returns the server's representation of the virtualApp, and an error, if there is any.
func (*FakeVirtualApps) Delete ¶
func (c *FakeVirtualApps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualApp and deletes it. Returns an error if one occurs.
func (*FakeVirtualApps) DeleteCollection ¶
func (c *FakeVirtualApps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualApps) Get ¶
func (c *FakeVirtualApps) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VirtualApp, err error)
Get takes name of the virtualApp, and returns the corresponding virtualApp object, and an error if there is any.
func (*FakeVirtualApps) List ¶
func (c *FakeVirtualApps) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VirtualAppList, err error)
List takes label and field selectors, and returns the list of VirtualApps that match those selectors.
func (*FakeVirtualApps) Patch ¶
func (c *FakeVirtualApps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VirtualApp, err error)
Patch applies the patch and returns the patched virtualApp.
func (*FakeVirtualApps) Update ¶
func (c *FakeVirtualApps) Update(ctx context.Context, virtualApp *v1alpha1.VirtualApp, opts v1.UpdateOptions) (result *v1alpha1.VirtualApp, err error)
Update takes the representation of a virtualApp and updates it. Returns the server's representation of the virtualApp, and an error, if there is any.
func (*FakeVirtualApps) UpdateStatus ¶
func (c *FakeVirtualApps) UpdateStatus(ctx context.Context, virtualApp *v1alpha1.VirtualApp, opts v1.UpdateOptions) (*v1alpha1.VirtualApp, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualApps) Watch ¶
func (c *FakeVirtualApps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualApps.