Documentation
¶
Index ¶
- type ClientOption
- type ClientService
- func (_m *ClientService) AllSvmBucketsCollectionGet(params *clientobject_store.AllSvmBucketsCollectionGetParams, ...) (*clientobject_store.AllSvmBucketsCollectionGetOK, error)
- func (_m *ClientService) BucketsCollectionGet(params *clientobject_store.BucketsCollectionGetParams, ...) (*clientobject_store.BucketsCollectionGetOK, error)
- func (_m *ClientService) PerformanceS3MetricCollectionGet(params *clientobject_store.PerformanceS3MetricCollectionGetParams, ...) (*clientobject_store.PerformanceS3MetricCollectionGetOK, error)
- func (_m *ClientService) S3BucketCreate(params *clientobject_store.S3BucketCreateParams, ...) (*clientobject_store.S3BucketCreateCreated, ...)
- func (_m *ClientService) S3BucketDelete(params *clientobject_store.S3BucketDeleteParams, ...) (*clientobject_store.S3BucketDeleteOK, ...)
- func (_m *ClientService) S3BucketGet(params *clientobject_store.S3BucketGetParams, ...) (*clientobject_store.S3BucketGetOK, error)
- func (_m *ClientService) S3BucketLifecycleRuleCollectionGet(params *clientobject_store.S3BucketLifecycleRuleCollectionGetParams, ...) (*clientobject_store.S3BucketLifecycleRuleCollectionGetOK, error)
- func (_m *ClientService) S3BucketLifecycleRuleCreate(params *clientobject_store.S3BucketLifecycleRuleCreateParams, ...) (*clientobject_store.S3BucketLifecycleRuleCreateCreated, ...)
- func (_m *ClientService) S3BucketLifecycleRuleDelete(params *clientobject_store.S3BucketLifecycleRuleDeleteParams, ...) (*clientobject_store.S3BucketLifecycleRuleDeleteOK, error)
- func (_m *ClientService) S3BucketLifecycleRuleGet(params *clientobject_store.S3BucketLifecycleRuleGetParams, ...) (*clientobject_store.S3BucketLifecycleRuleGetOK, error)
- func (_m *ClientService) S3BucketLifecycleRuleModify(params *clientobject_store.S3BucketLifecycleRuleModifyParams, ...) (*clientobject_store.S3BucketLifecycleRuleModifyOK, ...)
- func (_m *ClientService) S3BucketModify(params *clientobject_store.S3BucketModifyParams, ...) (*clientobject_store.S3BucketModifyOK, ...)
- func (_m *ClientService) S3BucketSnapshotCollectionGet(params *clientobject_store.S3BucketSnapshotCollectionGetParams, ...) (*clientobject_store.S3BucketSnapshotCollectionGetOK, error)
- func (_m *ClientService) S3BucketSnapshotCreate(params *clientobject_store.S3BucketSnapshotCreateParams, ...) (*clientobject_store.S3BucketSnapshotCreateCreated, ...)
- func (_m *ClientService) S3BucketSnapshotDelete(params *clientobject_store.S3BucketSnapshotDeleteParams, ...) (*clientobject_store.S3BucketSnapshotDeleteOK, error)
- func (_m *ClientService) S3BucketSnapshotGet(params *clientobject_store.S3BucketSnapshotGetParams, ...) (*clientobject_store.S3BucketSnapshotGetOK, error)
- func (_m *ClientService) S3BucketSvmCreate(params *clientobject_store.S3BucketSvmCreateParams, ...) (*clientobject_store.S3BucketSvmCreateCreated, ...)
- func (_m *ClientService) S3BucketSvmDelete(params *clientobject_store.S3BucketSvmDeleteParams, ...) (*clientobject_store.S3BucketSvmDeleteOK, ...)
- func (_m *ClientService) S3BucketSvmGet(params *clientobject_store.S3BucketSvmGetParams, ...) (*clientobject_store.S3BucketSvmGetOK, error)
- func (_m *ClientService) S3BucketSvmModify(params *clientobject_store.S3BucketSvmModifyParams, ...) (*clientobject_store.S3BucketSvmModifyOK, ...)
- func (_m *ClientService) S3GroupCollectionGet(params *clientobject_store.S3GroupCollectionGetParams, ...) (*clientobject_store.S3GroupCollectionGetOK, error)
- func (_m *ClientService) S3GroupCreate(params *clientobject_store.S3GroupCreateParams, ...) (*clientobject_store.S3GroupCreateCreated, error)
- func (_m *ClientService) S3GroupDelete(params *clientobject_store.S3GroupDeleteParams, ...) (*clientobject_store.S3GroupDeleteOK, error)
- func (_m *ClientService) S3GroupGet(params *clientobject_store.S3GroupGetParams, ...) (*clientobject_store.S3GroupGetOK, error)
- func (_m *ClientService) S3GroupModify(params *clientobject_store.S3GroupModifyParams, ...) (*clientobject_store.S3GroupModifyOK, error)
- func (_m *ClientService) S3PolicyCollectionGet(params *clientobject_store.S3PolicyCollectionGetParams, ...) (*clientobject_store.S3PolicyCollectionGetOK, error)
- func (_m *ClientService) S3PolicyCreate(params *clientobject_store.S3PolicyCreateParams, ...) (*clientobject_store.S3PolicyCreateCreated, error)
- func (_m *ClientService) S3PolicyDelete(params *clientobject_store.S3PolicyDeleteParams, ...) (*clientobject_store.S3PolicyDeleteOK, error)
- func (_m *ClientService) S3PolicyGet(params *clientobject_store.S3PolicyGetParams, ...) (*clientobject_store.S3PolicyGetOK, error)
- func (_m *ClientService) S3PolicyModify(params *clientobject_store.S3PolicyModifyParams, ...) (*clientobject_store.S3PolicyModifyOK, error)
- func (_m *ClientService) S3ServiceCollectionGet(params *clientobject_store.S3ServiceCollectionGetParams, ...) (*clientobject_store.S3ServiceCollectionGetOK, error)
- func (_m *ClientService) S3ServiceCreate(params *clientobject_store.S3ServiceCreateParams, ...) (*clientobject_store.S3ServiceCreateCreated, error)
- func (_m *ClientService) S3ServiceDelete(params *clientobject_store.S3ServiceDeleteParams, ...) (*clientobject_store.S3ServiceDeleteOK, error)
- func (_m *ClientService) S3ServiceGet(params *clientobject_store.S3ServiceGetParams, ...) (*clientobject_store.S3ServiceGetOK, error)
- func (_m *ClientService) S3ServiceModify(params *clientobject_store.S3ServiceModifyParams, ...) (*clientobject_store.S3ServiceModifyOK, error)
- func (_m *ClientService) S3UserCollectionGet(params *clientobject_store.S3UserCollectionGetParams, ...) (*clientobject_store.S3UserCollectionGetOK, error)
- func (_m *ClientService) S3UserCreate(params *clientobject_store.S3UserCreateParams, ...) (*clientobject_store.S3UserCreateCreated, error)
- func (_m *ClientService) S3UserDelete(params *clientobject_store.S3UserDeleteParams, ...) (*clientobject_store.S3UserDeleteOK, error)
- func (_m *ClientService) S3UserGet(params *clientobject_store.S3UserGetParams, ...) (*clientobject_store.S3UserGetOK, error)
- func (_m *ClientService) S3UserModify(params *clientobject_store.S3UserModifyParams, ...) (*clientobject_store.S3UserModifyOK, error)
- func (_m *ClientService) SetTransport(transport runtime.ClientTransport)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientOption ¶
ClientOption is an autogenerated mock type for the ClientOption type
func NewClientOption ¶
func NewClientOption(t interface {
mock.TestingT
Cleanup(func())
}) *ClientOption
NewClientOption creates a new instance of ClientOption. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ClientOption) Execute ¶
func (_m *ClientOption) Execute(_a0 *runtime.ClientOperation)
Execute provides a mock function with given fields: _a0
type ClientService ¶
ClientService is an autogenerated mock type for the ClientService type
func NewClientService ¶
func NewClientService(t interface {
mock.TestingT
Cleanup(func())
}) *ClientService
NewClientService creates a new instance of ClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ClientService) AllSvmBucketsCollectionGet ¶
func (_m *ClientService) AllSvmBucketsCollectionGet(params *clientobject_store.AllSvmBucketsCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.AllSvmBucketsCollectionGetOK, error)
AllSvmBucketsCollectionGet provides a mock function with given fields: params, authInfo, opts
func (*ClientService) BucketsCollectionGet ¶
func (_m *ClientService) BucketsCollectionGet(params *clientobject_store.BucketsCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.BucketsCollectionGetOK, error)
BucketsCollectionGet provides a mock function with given fields: params, authInfo, opts
func (*ClientService) PerformanceS3MetricCollectionGet ¶
func (_m *ClientService) PerformanceS3MetricCollectionGet(params *clientobject_store.PerformanceS3MetricCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.PerformanceS3MetricCollectionGetOK, error)
PerformanceS3MetricCollectionGet provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3BucketCreate ¶
func (_m *ClientService) S3BucketCreate(params *clientobject_store.S3BucketCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3BucketCreateCreated, *clientobject_store.S3BucketCreateAccepted, error)
S3BucketCreate provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3BucketDelete ¶
func (_m *ClientService) S3BucketDelete(params *clientobject_store.S3BucketDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3BucketDeleteOK, *clientobject_store.S3BucketDeleteAccepted, error)
S3BucketDelete provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3BucketGet ¶
func (_m *ClientService) S3BucketGet(params *clientobject_store.S3BucketGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3BucketGetOK, error)
S3BucketGet provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3BucketLifecycleRuleCollectionGet ¶
func (_m *ClientService) S3BucketLifecycleRuleCollectionGet(params *clientobject_store.S3BucketLifecycleRuleCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3BucketLifecycleRuleCollectionGetOK, error)
S3BucketLifecycleRuleCollectionGet provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3BucketLifecycleRuleCreate ¶
func (_m *ClientService) S3BucketLifecycleRuleCreate(params *clientobject_store.S3BucketLifecycleRuleCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3BucketLifecycleRuleCreateCreated, *clientobject_store.S3BucketLifecycleRuleCreateAccepted, error)
S3BucketLifecycleRuleCreate provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3BucketLifecycleRuleDelete ¶
func (_m *ClientService) S3BucketLifecycleRuleDelete(params *clientobject_store.S3BucketLifecycleRuleDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3BucketLifecycleRuleDeleteOK, error)
S3BucketLifecycleRuleDelete provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3BucketLifecycleRuleGet ¶
func (_m *ClientService) S3BucketLifecycleRuleGet(params *clientobject_store.S3BucketLifecycleRuleGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3BucketLifecycleRuleGetOK, error)
S3BucketLifecycleRuleGet provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3BucketLifecycleRuleModify ¶
func (_m *ClientService) S3BucketLifecycleRuleModify(params *clientobject_store.S3BucketLifecycleRuleModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3BucketLifecycleRuleModifyOK, *clientobject_store.S3BucketLifecycleRuleModifyAccepted, error)
S3BucketLifecycleRuleModify provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3BucketModify ¶
func (_m *ClientService) S3BucketModify(params *clientobject_store.S3BucketModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3BucketModifyOK, *clientobject_store.S3BucketModifyAccepted, error)
S3BucketModify provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3BucketSnapshotCollectionGet ¶ added in v0.2.0
func (_m *ClientService) S3BucketSnapshotCollectionGet(params *clientobject_store.S3BucketSnapshotCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3BucketSnapshotCollectionGetOK, error)
S3BucketSnapshotCollectionGet provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3BucketSnapshotCreate ¶ added in v0.2.0
func (_m *ClientService) S3BucketSnapshotCreate(params *clientobject_store.S3BucketSnapshotCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3BucketSnapshotCreateCreated, *clientobject_store.S3BucketSnapshotCreateAccepted, error)
S3BucketSnapshotCreate provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3BucketSnapshotDelete ¶ added in v0.2.0
func (_m *ClientService) S3BucketSnapshotDelete(params *clientobject_store.S3BucketSnapshotDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3BucketSnapshotDeleteOK, error)
S3BucketSnapshotDelete provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3BucketSnapshotGet ¶ added in v0.2.0
func (_m *ClientService) S3BucketSnapshotGet(params *clientobject_store.S3BucketSnapshotGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3BucketSnapshotGetOK, error)
S3BucketSnapshotGet provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3BucketSvmCreate ¶
func (_m *ClientService) S3BucketSvmCreate(params *clientobject_store.S3BucketSvmCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3BucketSvmCreateCreated, *clientobject_store.S3BucketSvmCreateAccepted, error)
S3BucketSvmCreate provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3BucketSvmDelete ¶
func (_m *ClientService) S3BucketSvmDelete(params *clientobject_store.S3BucketSvmDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3BucketSvmDeleteOK, *clientobject_store.S3BucketSvmDeleteAccepted, error)
S3BucketSvmDelete provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3BucketSvmGet ¶
func (_m *ClientService) S3BucketSvmGet(params *clientobject_store.S3BucketSvmGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3BucketSvmGetOK, error)
S3BucketSvmGet provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3BucketSvmModify ¶
func (_m *ClientService) S3BucketSvmModify(params *clientobject_store.S3BucketSvmModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3BucketSvmModifyOK, *clientobject_store.S3BucketSvmModifyAccepted, error)
S3BucketSvmModify provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3GroupCollectionGet ¶
func (_m *ClientService) S3GroupCollectionGet(params *clientobject_store.S3GroupCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3GroupCollectionGetOK, error)
S3GroupCollectionGet provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3GroupCreate ¶
func (_m *ClientService) S3GroupCreate(params *clientobject_store.S3GroupCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3GroupCreateCreated, error)
S3GroupCreate provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3GroupDelete ¶
func (_m *ClientService) S3GroupDelete(params *clientobject_store.S3GroupDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3GroupDeleteOK, error)
S3GroupDelete provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3GroupGet ¶
func (_m *ClientService) S3GroupGet(params *clientobject_store.S3GroupGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3GroupGetOK, error)
S3GroupGet provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3GroupModify ¶
func (_m *ClientService) S3GroupModify(params *clientobject_store.S3GroupModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3GroupModifyOK, error)
S3GroupModify provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3PolicyCollectionGet ¶
func (_m *ClientService) S3PolicyCollectionGet(params *clientobject_store.S3PolicyCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3PolicyCollectionGetOK, error)
S3PolicyCollectionGet provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3PolicyCreate ¶
func (_m *ClientService) S3PolicyCreate(params *clientobject_store.S3PolicyCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3PolicyCreateCreated, error)
S3PolicyCreate provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3PolicyDelete ¶
func (_m *ClientService) S3PolicyDelete(params *clientobject_store.S3PolicyDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3PolicyDeleteOK, error)
S3PolicyDelete provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3PolicyGet ¶
func (_m *ClientService) S3PolicyGet(params *clientobject_store.S3PolicyGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3PolicyGetOK, error)
S3PolicyGet provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3PolicyModify ¶
func (_m *ClientService) S3PolicyModify(params *clientobject_store.S3PolicyModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3PolicyModifyOK, error)
S3PolicyModify provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3ServiceCollectionGet ¶
func (_m *ClientService) S3ServiceCollectionGet(params *clientobject_store.S3ServiceCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3ServiceCollectionGetOK, error)
S3ServiceCollectionGet provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3ServiceCreate ¶
func (_m *ClientService) S3ServiceCreate(params *clientobject_store.S3ServiceCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3ServiceCreateCreated, error)
S3ServiceCreate provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3ServiceDelete ¶
func (_m *ClientService) S3ServiceDelete(params *clientobject_store.S3ServiceDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3ServiceDeleteOK, error)
S3ServiceDelete provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3ServiceGet ¶
func (_m *ClientService) S3ServiceGet(params *clientobject_store.S3ServiceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3ServiceGetOK, error)
S3ServiceGet provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3ServiceModify ¶
func (_m *ClientService) S3ServiceModify(params *clientobject_store.S3ServiceModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3ServiceModifyOK, error)
S3ServiceModify provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3UserCollectionGet ¶
func (_m *ClientService) S3UserCollectionGet(params *clientobject_store.S3UserCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3UserCollectionGetOK, error)
S3UserCollectionGet provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3UserCreate ¶
func (_m *ClientService) S3UserCreate(params *clientobject_store.S3UserCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3UserCreateCreated, error)
S3UserCreate provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3UserDelete ¶
func (_m *ClientService) S3UserDelete(params *clientobject_store.S3UserDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3UserDeleteOK, error)
S3UserDelete provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3UserGet ¶
func (_m *ClientService) S3UserGet(params *clientobject_store.S3UserGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3UserGetOK, error)
S3UserGet provides a mock function with given fields: params, authInfo, opts
func (*ClientService) S3UserModify ¶
func (_m *ClientService) S3UserModify(params *clientobject_store.S3UserModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientobject_store.ClientOption) (*clientobject_store.S3UserModifyOK, error)
S3UserModify provides a mock function with given fields: params, authInfo, opts
func (*ClientService) SetTransport ¶
func (_m *ClientService) SetTransport(transport runtime.ClientTransport)
SetTransport provides a mock function with given fields: transport