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