Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeGameServerAllocationPolicies
- func (c *FakeGameServerAllocationPolicies) Apply(ctx context.Context, ...) (result *v1.GameServerAllocationPolicy, err error)
- func (c *FakeGameServerAllocationPolicies) Create(ctx context.Context, gameServerAllocationPolicy *v1.GameServerAllocationPolicy, ...) (result *v1.GameServerAllocationPolicy, err error)
- func (c *FakeGameServerAllocationPolicies) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeGameServerAllocationPolicies) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeGameServerAllocationPolicies) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.GameServerAllocationPolicy, err error)
- func (c *FakeGameServerAllocationPolicies) List(ctx context.Context, opts metav1.ListOptions) (result *v1.GameServerAllocationPolicyList, err error)
- func (c *FakeGameServerAllocationPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.GameServerAllocationPolicy, err error)
- func (c *FakeGameServerAllocationPolicies) Update(ctx context.Context, gameServerAllocationPolicy *v1.GameServerAllocationPolicy, ...) (result *v1.GameServerAllocationPolicy, err error)
- func (c *FakeGameServerAllocationPolicies) Watch(ctx context.Context, opts metav1.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) Apply ¶ added in v1.36.0
func (c *FakeGameServerAllocationPolicies) Apply(ctx context.Context, gameServerAllocationPolicy *multiclusterv1.GameServerAllocationPolicyApplyConfiguration, opts metav1.ApplyOptions) (result *v1.GameServerAllocationPolicy, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied gameServerAllocationPolicy.
func (*FakeGameServerAllocationPolicies) Create ¶
func (c *FakeGameServerAllocationPolicies) Create(ctx context.Context, gameServerAllocationPolicy *v1.GameServerAllocationPolicy, opts metav1.CreateOptions) (result *v1.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(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the gameServerAllocationPolicy and deletes it. Returns an error if one occurs.
func (*FakeGameServerAllocationPolicies) DeleteCollection ¶
func (c *FakeGameServerAllocationPolicies) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGameServerAllocationPolicies) Get ¶
func (c *FakeGameServerAllocationPolicies) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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(ctx context.Context, opts metav1.ListOptions) (result *v1.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(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.GameServerAllocationPolicy, err error)
Patch applies the patch and returns the patched gameServerAllocationPolicy.
func (*FakeGameServerAllocationPolicies) Update ¶
func (c *FakeGameServerAllocationPolicies) Update(ctx context.Context, gameServerAllocationPolicy *v1.GameServerAllocationPolicy, opts metav1.UpdateOptions) (result *v1.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(ctx context.Context, opts metav1.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.