Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCircuitBreakers
- func (c *FakeCircuitBreakers) Create(ctx context.Context, circuitBreaker *v1alpha1.CircuitBreaker, ...) (result *v1alpha1.CircuitBreaker, err error)
- func (c *FakeCircuitBreakers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCircuitBreakers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCircuitBreakers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CircuitBreaker, err error)
- func (c *FakeCircuitBreakers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CircuitBreakerList, err error)
- func (c *FakeCircuitBreakers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.CircuitBreaker, err error)
- func (c *FakeCircuitBreakers) Update(ctx context.Context, circuitBreaker *v1alpha1.CircuitBreaker, ...) (result *v1alpha1.CircuitBreaker, err error)
- func (c *FakeCircuitBreakers) UpdateStatus(ctx context.Context, circuitBreaker *v1alpha1.CircuitBreaker, ...) (*v1alpha1.CircuitBreaker, error)
- func (c *FakeCircuitBreakers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCtrlmeshV1alpha1
- func (c *FakeCtrlmeshV1alpha1) CircuitBreakers(namespace string) v1alpha1.CircuitBreakerInterface
- func (c *FakeCtrlmeshV1alpha1) ManagerStates() v1alpha1.ManagerStateInterface
- func (c *FakeCtrlmeshV1alpha1) RESTClient() rest.Interface
- func (c *FakeCtrlmeshV1alpha1) ShardingConfigs(namespace string) v1alpha1.ShardingConfigInterface
- 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 FakeShardingConfigs
- func (c *FakeShardingConfigs) Create(ctx context.Context, shardingConfig *v1alpha1.ShardingConfig, ...) (result *v1alpha1.ShardingConfig, err error)
- func (c *FakeShardingConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeShardingConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeShardingConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ShardingConfig, err error)
- func (c *FakeShardingConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ShardingConfigList, err error)
- func (c *FakeShardingConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ShardingConfig, err error)
- func (c *FakeShardingConfigs) Update(ctx context.Context, shardingConfig *v1alpha1.ShardingConfig, ...) (result *v1alpha1.ShardingConfig, err error)
- func (c *FakeShardingConfigs) UpdateStatus(ctx context.Context, shardingConfig *v1alpha1.ShardingConfig, ...) (*v1alpha1.ShardingConfig, error)
- func (c *FakeShardingConfigs) 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 FakeCircuitBreakers ¶
type FakeCircuitBreakers struct { Fake *FakeCtrlmeshV1alpha1 // contains filtered or unexported fields }
FakeCircuitBreakers implements CircuitBreakerInterface
func (*FakeCircuitBreakers) Create ¶
func (c *FakeCircuitBreakers) Create(ctx context.Context, circuitBreaker *v1alpha1.CircuitBreaker, opts v1.CreateOptions) (result *v1alpha1.CircuitBreaker, err error)
Create takes the representation of a circuitBreaker and creates it. Returns the server's representation of the circuitBreaker, and an error, if there is any.
func (*FakeCircuitBreakers) Delete ¶
func (c *FakeCircuitBreakers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the circuitBreaker and deletes it. Returns an error if one occurs.
func (*FakeCircuitBreakers) DeleteCollection ¶
func (c *FakeCircuitBreakers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCircuitBreakers) Get ¶
func (c *FakeCircuitBreakers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CircuitBreaker, err error)
Get takes name of the circuitBreaker, and returns the corresponding circuitBreaker object, and an error if there is any.
func (*FakeCircuitBreakers) List ¶
func (c *FakeCircuitBreakers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CircuitBreakerList, err error)
List takes label and field selectors, and returns the list of CircuitBreakers that match those selectors.
func (*FakeCircuitBreakers) Patch ¶
func (c *FakeCircuitBreakers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CircuitBreaker, err error)
Patch applies the patch and returns the patched circuitBreaker.
func (*FakeCircuitBreakers) Update ¶
func (c *FakeCircuitBreakers) Update(ctx context.Context, circuitBreaker *v1alpha1.CircuitBreaker, opts v1.UpdateOptions) (result *v1alpha1.CircuitBreaker, err error)
Update takes the representation of a circuitBreaker and updates it. Returns the server's representation of the circuitBreaker, and an error, if there is any.
func (*FakeCircuitBreakers) UpdateStatus ¶
func (c *FakeCircuitBreakers) UpdateStatus(ctx context.Context, circuitBreaker *v1alpha1.CircuitBreaker, opts v1.UpdateOptions) (*v1alpha1.CircuitBreaker, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCircuitBreakers) Watch ¶
func (c *FakeCircuitBreakers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested circuitBreakers.
type FakeCtrlmeshV1alpha1 ¶
func (*FakeCtrlmeshV1alpha1) CircuitBreakers ¶
func (c *FakeCtrlmeshV1alpha1) CircuitBreakers(namespace string) v1alpha1.CircuitBreakerInterface
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) ShardingConfigs ¶
func (c *FakeCtrlmeshV1alpha1) ShardingConfigs(namespace string) v1alpha1.ShardingConfigInterface
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 FakeShardingConfigs ¶
type FakeShardingConfigs struct { Fake *FakeCtrlmeshV1alpha1 // contains filtered or unexported fields }
FakeShardingConfigs implements ShardingConfigInterface
func (*FakeShardingConfigs) Create ¶
func (c *FakeShardingConfigs) Create(ctx context.Context, shardingConfig *v1alpha1.ShardingConfig, opts v1.CreateOptions) (result *v1alpha1.ShardingConfig, err error)
Create takes the representation of a shardingConfig and creates it. Returns the server's representation of the shardingConfig, and an error, if there is any.
func (*FakeShardingConfigs) Delete ¶
func (c *FakeShardingConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the shardingConfig and deletes it. Returns an error if one occurs.
func (*FakeShardingConfigs) DeleteCollection ¶
func (c *FakeShardingConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeShardingConfigs) Get ¶
func (c *FakeShardingConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ShardingConfig, err error)
Get takes name of the shardingConfig, and returns the corresponding shardingConfig object, and an error if there is any.
func (*FakeShardingConfigs) List ¶
func (c *FakeShardingConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ShardingConfigList, err error)
List takes label and field selectors, and returns the list of ShardingConfigs that match those selectors.
func (*FakeShardingConfigs) Patch ¶
func (c *FakeShardingConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ShardingConfig, err error)
Patch applies the patch and returns the patched shardingConfig.
func (*FakeShardingConfigs) Update ¶
func (c *FakeShardingConfigs) Update(ctx context.Context, shardingConfig *v1alpha1.ShardingConfig, opts v1.UpdateOptions) (result *v1alpha1.ShardingConfig, err error)
Update takes the representation of a shardingConfig and updates it. Returns the server's representation of the shardingConfig, and an error, if there is any.
func (*FakeShardingConfigs) UpdateStatus ¶
func (c *FakeShardingConfigs) UpdateStatus(ctx context.Context, shardingConfig *v1alpha1.ShardingConfig, opts v1.UpdateOptions) (*v1alpha1.ShardingConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeShardingConfigs) Watch ¶
func (c *FakeShardingConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested shardingConfigs.