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