Documentation ¶
Index ¶
- type Client
- func (c *Client) Delete(containerID string, objectID string) DeleteResponse
- func (c *Client) Get(containerID, objectID string) GetResponse
- func (c *Client) Onsite(containerID string, payload datagen.Payload) PreparedObject
- func (c *Client) Put(containerID string, headers map[string]string, payload datagen.Payload, ...) PutResponse
- func (c *Client) PutContainer(params map[string]string) PutContainerResponse
- func (c *Client) VerifyHash(containerID, objectID, expectedHash string) VerifyHashResponse
- type DeleteResponse
- type GetResponse
- type Native
- type PreparedObject
- type PutContainerResponse
- type PutResponse
- type RootModule
- type VerifyHashResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Get ¶
func (c *Client) Get(containerID, objectID string) GetResponse
func (*Client) Onsite ¶
func (c *Client) Onsite(containerID string, payload datagen.Payload) PreparedObject
func (*Client) PutContainer ¶
func (c *Client) PutContainer(params map[string]string) PutContainerResponse
func (*Client) VerifyHash ¶
func (c *Client) VerifyHash(containerID, objectID, expectedHash string) VerifyHashResponse
type DeleteResponse ¶
type GetResponse ¶
type Native ¶
type Native struct {
// contains filtered or unexported fields
}
Native represents an instance of the module for every VU.
type PreparedObject ¶
type PreparedObject struct {
// contains filtered or unexported fields
}
func (PreparedObject) Put ¶
func (p PreparedObject) Put(headers map[string]string) PutResponse
type PutContainerResponse ¶
type PutResponse ¶
type RootModule ¶
type RootModule struct{}
RootModule is the global module object type. It is instantiated once per test run and will be used to create k6/x/frostfs/native module instances for each VU.
func (*RootModule) NewModuleInstance ¶
func (r *RootModule) NewModuleInstance(vu modules.VU) modules.Instance
NewModuleInstance implements the modules.Module interface and returns a new instance for each VU.
type VerifyHashResponse ¶
Click to show internal directories.
Click to hide internal directories.