Documentation ¶
Index ¶
- type MockCACertificatesSDK
- func (_m *MockCACertificatesSDK) CreateCaCertificate(ctx context.Context, controlPlaneID string, ...) (*operations.CreateCaCertificateResponse, error)
- func (_m *MockCACertificatesSDK) DeleteCaCertificate(ctx context.Context, controlPlaneID string, caCertificateID string, ...) (*operations.DeleteCaCertificateResponse, error)
- func (_m *MockCACertificatesSDK) EXPECT() *MockCACertificatesSDK_Expecter
- func (_m *MockCACertificatesSDK) ListCaCertificate(ctx context.Context, request operations.ListCaCertificateRequest, ...) (*operations.ListCaCertificateResponse, error)
- func (_m *MockCACertificatesSDK) UpsertCaCertificate(ctx context.Context, request operations.UpsertCaCertificateRequest, ...) (*operations.UpsertCaCertificateResponse, error)
- type MockCACertificatesSDK_CreateCaCertificate_Call
- func (_c *MockCACertificatesSDK_CreateCaCertificate_Call) Return(_a0 *operations.CreateCaCertificateResponse, _a1 error) *MockCACertificatesSDK_CreateCaCertificate_Call
- func (_c *MockCACertificatesSDK_CreateCaCertificate_Call) Run(run func(ctx context.Context, controlPlaneID string, ...)) *MockCACertificatesSDK_CreateCaCertificate_Call
- func (_c *MockCACertificatesSDK_CreateCaCertificate_Call) RunAndReturn(...) *MockCACertificatesSDK_CreateCaCertificate_Call
- type MockCACertificatesSDK_DeleteCaCertificate_Call
- func (_c *MockCACertificatesSDK_DeleteCaCertificate_Call) Return(_a0 *operations.DeleteCaCertificateResponse, _a1 error) *MockCACertificatesSDK_DeleteCaCertificate_Call
- func (_c *MockCACertificatesSDK_DeleteCaCertificate_Call) Run(...) *MockCACertificatesSDK_DeleteCaCertificate_Call
- func (_c *MockCACertificatesSDK_DeleteCaCertificate_Call) RunAndReturn(...) *MockCACertificatesSDK_DeleteCaCertificate_Call
- type MockCACertificatesSDK_Expecter
- func (_e *MockCACertificatesSDK_Expecter) CreateCaCertificate(ctx interface{}, controlPlaneID interface{}, caCertificate interface{}, ...) *MockCACertificatesSDK_CreateCaCertificate_Call
- func (_e *MockCACertificatesSDK_Expecter) DeleteCaCertificate(ctx interface{}, controlPlaneID interface{}, caCertificateID interface{}, ...) *MockCACertificatesSDK_DeleteCaCertificate_Call
- func (_e *MockCACertificatesSDK_Expecter) ListCaCertificate(ctx interface{}, request interface{}, opts ...interface{}) *MockCACertificatesSDK_ListCaCertificate_Call
- func (_e *MockCACertificatesSDK_Expecter) UpsertCaCertificate(ctx interface{}, request interface{}, opts ...interface{}) *MockCACertificatesSDK_UpsertCaCertificate_Call
- type MockCACertificatesSDK_ListCaCertificate_Call
- func (_c *MockCACertificatesSDK_ListCaCertificate_Call) Return(_a0 *operations.ListCaCertificateResponse, _a1 error) *MockCACertificatesSDK_ListCaCertificate_Call
- func (_c *MockCACertificatesSDK_ListCaCertificate_Call) Run(...) *MockCACertificatesSDK_ListCaCertificate_Call
- func (_c *MockCACertificatesSDK_ListCaCertificate_Call) RunAndReturn(...) *MockCACertificatesSDK_ListCaCertificate_Call
- type MockCACertificatesSDK_UpsertCaCertificate_Call
- func (_c *MockCACertificatesSDK_UpsertCaCertificate_Call) Return(_a0 *operations.UpsertCaCertificateResponse, _a1 error) *MockCACertificatesSDK_UpsertCaCertificate_Call
- func (_c *MockCACertificatesSDK_UpsertCaCertificate_Call) Run(...) *MockCACertificatesSDK_UpsertCaCertificate_Call
- func (_c *MockCACertificatesSDK_UpsertCaCertificate_Call) RunAndReturn(...) *MockCACertificatesSDK_UpsertCaCertificate_Call
- type MockCertificatesSDK
- func (_m *MockCertificatesSDK) CreateCertificate(ctx context.Context, controlPlaneID string, ...) (*operations.CreateCertificateResponse, error)
- func (_m *MockCertificatesSDK) DeleteCertificate(ctx context.Context, controlPlaneID string, certificateID string, ...) (*operations.DeleteCertificateResponse, error)
- func (_m *MockCertificatesSDK) EXPECT() *MockCertificatesSDK_Expecter
- func (_m *MockCertificatesSDK) ListCertificate(ctx context.Context, request operations.ListCertificateRequest, ...) (*operations.ListCertificateResponse, error)
- func (_m *MockCertificatesSDK) UpsertCertificate(ctx context.Context, request operations.UpsertCertificateRequest, ...) (*operations.UpsertCertificateResponse, error)
- type MockCertificatesSDK_CreateCertificate_Call
- func (_c *MockCertificatesSDK_CreateCertificate_Call) Return(_a0 *operations.CreateCertificateResponse, _a1 error) *MockCertificatesSDK_CreateCertificate_Call
- func (_c *MockCertificatesSDK_CreateCertificate_Call) Run(run func(ctx context.Context, controlPlaneID string, ...)) *MockCertificatesSDK_CreateCertificate_Call
- func (_c *MockCertificatesSDK_CreateCertificate_Call) RunAndReturn(...) *MockCertificatesSDK_CreateCertificate_Call
- type MockCertificatesSDK_DeleteCertificate_Call
- func (_c *MockCertificatesSDK_DeleteCertificate_Call) Return(_a0 *operations.DeleteCertificateResponse, _a1 error) *MockCertificatesSDK_DeleteCertificate_Call
- func (_c *MockCertificatesSDK_DeleteCertificate_Call) Run(...) *MockCertificatesSDK_DeleteCertificate_Call
- func (_c *MockCertificatesSDK_DeleteCertificate_Call) RunAndReturn(...) *MockCertificatesSDK_DeleteCertificate_Call
- type MockCertificatesSDK_Expecter
- func (_e *MockCertificatesSDK_Expecter) CreateCertificate(ctx interface{}, controlPlaneID interface{}, certificate interface{}, ...) *MockCertificatesSDK_CreateCertificate_Call
- func (_e *MockCertificatesSDK_Expecter) DeleteCertificate(ctx interface{}, controlPlaneID interface{}, certificateID interface{}, ...) *MockCertificatesSDK_DeleteCertificate_Call
- func (_e *MockCertificatesSDK_Expecter) ListCertificate(ctx interface{}, request interface{}, opts ...interface{}) *MockCertificatesSDK_ListCertificate_Call
- func (_e *MockCertificatesSDK_Expecter) UpsertCertificate(ctx interface{}, request interface{}, opts ...interface{}) *MockCertificatesSDK_UpsertCertificate_Call
- type MockCertificatesSDK_ListCertificate_Call
- func (_c *MockCertificatesSDK_ListCertificate_Call) Return(_a0 *operations.ListCertificateResponse, _a1 error) *MockCertificatesSDK_ListCertificate_Call
- func (_c *MockCertificatesSDK_ListCertificate_Call) Run(run func(ctx context.Context, request operations.ListCertificateRequest, ...)) *MockCertificatesSDK_ListCertificate_Call
- func (_c *MockCertificatesSDK_ListCertificate_Call) RunAndReturn(...) *MockCertificatesSDK_ListCertificate_Call
- type MockCertificatesSDK_UpsertCertificate_Call
- func (_c *MockCertificatesSDK_UpsertCertificate_Call) Return(_a0 *operations.UpsertCertificateResponse, _a1 error) *MockCertificatesSDK_UpsertCertificate_Call
- func (_c *MockCertificatesSDK_UpsertCertificate_Call) Run(...) *MockCertificatesSDK_UpsertCertificate_Call
- func (_c *MockCertificatesSDK_UpsertCertificate_Call) RunAndReturn(...) *MockCertificatesSDK_UpsertCertificate_Call
- type MockConsumerGroupSDK
- func (_m *MockConsumerGroupSDK) AddConsumerToGroup(ctx context.Context, request operations.AddConsumerToGroupRequest, ...) (*operations.AddConsumerToGroupResponse, error)
- func (_m *MockConsumerGroupSDK) CreateConsumerGroup(ctx context.Context, controlPlaneID string, ...) (*operations.CreateConsumerGroupResponse, error)
- func (_m *MockConsumerGroupSDK) DeleteConsumerGroup(ctx context.Context, controlPlaneID string, consumerID string, ...) (*operations.DeleteConsumerGroupResponse, error)
- func (_m *MockConsumerGroupSDK) EXPECT() *MockConsumerGroupSDK_Expecter
- func (_m *MockConsumerGroupSDK) ListConsumerGroup(ctx context.Context, request operations.ListConsumerGroupRequest, ...) (*operations.ListConsumerGroupResponse, error)
- func (_m *MockConsumerGroupSDK) ListConsumerGroupsForConsumer(ctx context.Context, request operations.ListConsumerGroupsForConsumerRequest, ...) (*operations.ListConsumerGroupsForConsumerResponse, error)
- func (_m *MockConsumerGroupSDK) RemoveConsumerFromGroup(ctx context.Context, request operations.RemoveConsumerFromGroupRequest, ...) (*operations.RemoveConsumerFromGroupResponse, error)
- func (_m *MockConsumerGroupSDK) UpsertConsumerGroup(ctx context.Context, ...) (*operations.UpsertConsumerGroupResponse, error)
- type MockConsumerGroupSDK_AddConsumerToGroup_Call
- func (_c *MockConsumerGroupSDK_AddConsumerToGroup_Call) Return(_a0 *operations.AddConsumerToGroupResponse, _a1 error) *MockConsumerGroupSDK_AddConsumerToGroup_Call
- func (_c *MockConsumerGroupSDK_AddConsumerToGroup_Call) Run(...) *MockConsumerGroupSDK_AddConsumerToGroup_Call
- func (_c *MockConsumerGroupSDK_AddConsumerToGroup_Call) RunAndReturn(...) *MockConsumerGroupSDK_AddConsumerToGroup_Call
- type MockConsumerGroupSDK_CreateConsumerGroup_Call
- func (_c *MockConsumerGroupSDK_CreateConsumerGroup_Call) Return(_a0 *operations.CreateConsumerGroupResponse, _a1 error) *MockConsumerGroupSDK_CreateConsumerGroup_Call
- func (_c *MockConsumerGroupSDK_CreateConsumerGroup_Call) Run(run func(ctx context.Context, controlPlaneID string, ...)) *MockConsumerGroupSDK_CreateConsumerGroup_Call
- func (_c *MockConsumerGroupSDK_CreateConsumerGroup_Call) RunAndReturn(...) *MockConsumerGroupSDK_CreateConsumerGroup_Call
- type MockConsumerGroupSDK_DeleteConsumerGroup_Call
- func (_c *MockConsumerGroupSDK_DeleteConsumerGroup_Call) Return(_a0 *operations.DeleteConsumerGroupResponse, _a1 error) *MockConsumerGroupSDK_DeleteConsumerGroup_Call
- func (_c *MockConsumerGroupSDK_DeleteConsumerGroup_Call) Run(run func(ctx context.Context, controlPlaneID string, consumerID string, ...)) *MockConsumerGroupSDK_DeleteConsumerGroup_Call
- func (_c *MockConsumerGroupSDK_DeleteConsumerGroup_Call) RunAndReturn(...) *MockConsumerGroupSDK_DeleteConsumerGroup_Call
- type MockConsumerGroupSDK_Expecter
- func (_e *MockConsumerGroupSDK_Expecter) AddConsumerToGroup(ctx interface{}, request interface{}, opts ...interface{}) *MockConsumerGroupSDK_AddConsumerToGroup_Call
- func (_e *MockConsumerGroupSDK_Expecter) CreateConsumerGroup(ctx interface{}, controlPlaneID interface{}, consumerInput interface{}, ...) *MockConsumerGroupSDK_CreateConsumerGroup_Call
- func (_e *MockConsumerGroupSDK_Expecter) DeleteConsumerGroup(ctx interface{}, controlPlaneID interface{}, consumerID interface{}, ...) *MockConsumerGroupSDK_DeleteConsumerGroup_Call
- func (_e *MockConsumerGroupSDK_Expecter) ListConsumerGroup(ctx interface{}, request interface{}, opts ...interface{}) *MockConsumerGroupSDK_ListConsumerGroup_Call
- func (_e *MockConsumerGroupSDK_Expecter) ListConsumerGroupsForConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockConsumerGroupSDK_ListConsumerGroupsForConsumer_Call
- func (_e *MockConsumerGroupSDK_Expecter) RemoveConsumerFromGroup(ctx interface{}, request interface{}, opts ...interface{}) *MockConsumerGroupSDK_RemoveConsumerFromGroup_Call
- func (_e *MockConsumerGroupSDK_Expecter) UpsertConsumerGroup(ctx interface{}, upsertConsumerRequest interface{}, opts ...interface{}) *MockConsumerGroupSDK_UpsertConsumerGroup_Call
- type MockConsumerGroupSDK_ListConsumerGroup_Call
- func (_c *MockConsumerGroupSDK_ListConsumerGroup_Call) Return(_a0 *operations.ListConsumerGroupResponse, _a1 error) *MockConsumerGroupSDK_ListConsumerGroup_Call
- func (_c *MockConsumerGroupSDK_ListConsumerGroup_Call) Run(...) *MockConsumerGroupSDK_ListConsumerGroup_Call
- func (_c *MockConsumerGroupSDK_ListConsumerGroup_Call) RunAndReturn(...) *MockConsumerGroupSDK_ListConsumerGroup_Call
- type MockConsumerGroupSDK_ListConsumerGroupsForConsumer_Call
- func (_c *MockConsumerGroupSDK_ListConsumerGroupsForConsumer_Call) Return(_a0 *operations.ListConsumerGroupsForConsumerResponse, _a1 error) *MockConsumerGroupSDK_ListConsumerGroupsForConsumer_Call
- func (_c *MockConsumerGroupSDK_ListConsumerGroupsForConsumer_Call) Run(...) *MockConsumerGroupSDK_ListConsumerGroupsForConsumer_Call
- func (_c *MockConsumerGroupSDK_ListConsumerGroupsForConsumer_Call) RunAndReturn(...) *MockConsumerGroupSDK_ListConsumerGroupsForConsumer_Call
- type MockConsumerGroupSDK_RemoveConsumerFromGroup_Call
- func (_c *MockConsumerGroupSDK_RemoveConsumerFromGroup_Call) Return(_a0 *operations.RemoveConsumerFromGroupResponse, _a1 error) *MockConsumerGroupSDK_RemoveConsumerFromGroup_Call
- func (_c *MockConsumerGroupSDK_RemoveConsumerFromGroup_Call) Run(...) *MockConsumerGroupSDK_RemoveConsumerFromGroup_Call
- func (_c *MockConsumerGroupSDK_RemoveConsumerFromGroup_Call) RunAndReturn(...) *MockConsumerGroupSDK_RemoveConsumerFromGroup_Call
- type MockConsumerGroupSDK_UpsertConsumerGroup_Call
- func (_c *MockConsumerGroupSDK_UpsertConsumerGroup_Call) Return(_a0 *operations.UpsertConsumerGroupResponse, _a1 error) *MockConsumerGroupSDK_UpsertConsumerGroup_Call
- func (_c *MockConsumerGroupSDK_UpsertConsumerGroup_Call) Run(run func(ctx context.Context, ...)) *MockConsumerGroupSDK_UpsertConsumerGroup_Call
- func (_c *MockConsumerGroupSDK_UpsertConsumerGroup_Call) RunAndReturn(...) *MockConsumerGroupSDK_UpsertConsumerGroup_Call
- type MockConsumersSDK
- func (_m *MockConsumersSDK) CreateConsumer(ctx context.Context, controlPlaneID string, ...) (*operations.CreateConsumerResponse, error)
- func (_m *MockConsumersSDK) DeleteConsumer(ctx context.Context, controlPlaneID string, consumerID string, ...) (*operations.DeleteConsumerResponse, error)
- func (_m *MockConsumersSDK) EXPECT() *MockConsumersSDK_Expecter
- func (_m *MockConsumersSDK) ListConsumer(ctx context.Context, request operations.ListConsumerRequest, ...) (*operations.ListConsumerResponse, error)
- func (_m *MockConsumersSDK) UpsertConsumer(ctx context.Context, upsertConsumerRequest operations.UpsertConsumerRequest, ...) (*operations.UpsertConsumerResponse, error)
- type MockConsumersSDK_CreateConsumer_Call
- func (_c *MockConsumersSDK_CreateConsumer_Call) Return(_a0 *operations.CreateConsumerResponse, _a1 error) *MockConsumersSDK_CreateConsumer_Call
- func (_c *MockConsumersSDK_CreateConsumer_Call) Run(run func(ctx context.Context, controlPlaneID string, ...)) *MockConsumersSDK_CreateConsumer_Call
- func (_c *MockConsumersSDK_CreateConsumer_Call) RunAndReturn(...) *MockConsumersSDK_CreateConsumer_Call
- type MockConsumersSDK_DeleteConsumer_Call
- func (_c *MockConsumersSDK_DeleteConsumer_Call) Return(_a0 *operations.DeleteConsumerResponse, _a1 error) *MockConsumersSDK_DeleteConsumer_Call
- func (_c *MockConsumersSDK_DeleteConsumer_Call) Run(run func(ctx context.Context, controlPlaneID string, consumerID string, ...)) *MockConsumersSDK_DeleteConsumer_Call
- func (_c *MockConsumersSDK_DeleteConsumer_Call) RunAndReturn(...) *MockConsumersSDK_DeleteConsumer_Call
- type MockConsumersSDK_Expecter
- func (_e *MockConsumersSDK_Expecter) CreateConsumer(ctx interface{}, controlPlaneID interface{}, consumerInput interface{}, ...) *MockConsumersSDK_CreateConsumer_Call
- func (_e *MockConsumersSDK_Expecter) DeleteConsumer(ctx interface{}, controlPlaneID interface{}, consumerID interface{}, ...) *MockConsumersSDK_DeleteConsumer_Call
- func (_e *MockConsumersSDK_Expecter) ListConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockConsumersSDK_ListConsumer_Call
- func (_e *MockConsumersSDK_Expecter) UpsertConsumer(ctx interface{}, upsertConsumerRequest interface{}, opts ...interface{}) *MockConsumersSDK_UpsertConsumer_Call
- type MockConsumersSDK_ListConsumer_Call
- func (_c *MockConsumersSDK_ListConsumer_Call) Return(_a0 *operations.ListConsumerResponse, _a1 error) *MockConsumersSDK_ListConsumer_Call
- func (_c *MockConsumersSDK_ListConsumer_Call) Run(run func(ctx context.Context, request operations.ListConsumerRequest, ...)) *MockConsumersSDK_ListConsumer_Call
- func (_c *MockConsumersSDK_ListConsumer_Call) RunAndReturn(...) *MockConsumersSDK_ListConsumer_Call
- type MockConsumersSDK_UpsertConsumer_Call
- func (_c *MockConsumersSDK_UpsertConsumer_Call) Return(_a0 *operations.UpsertConsumerResponse, _a1 error) *MockConsumersSDK_UpsertConsumer_Call
- func (_c *MockConsumersSDK_UpsertConsumer_Call) Run(...) *MockConsumersSDK_UpsertConsumer_Call
- func (_c *MockConsumersSDK_UpsertConsumer_Call) RunAndReturn(...) *MockConsumersSDK_UpsertConsumer_Call
- type MockControlPlaneGroupSDK
- type MockControlPlaneGroupSDK_Expecter
- type MockControlPlaneGroupSDK_PutControlPlanesIDGroupMemberships_Call
- func (_c *MockControlPlaneGroupSDK_PutControlPlanesIDGroupMemberships_Call) Return(_a0 *operations.PutControlPlanesIDGroupMembershipsResponse, _a1 error) *MockControlPlaneGroupSDK_PutControlPlanesIDGroupMemberships_Call
- func (_c *MockControlPlaneGroupSDK_PutControlPlanesIDGroupMemberships_Call) Run(...) *MockControlPlaneGroupSDK_PutControlPlanesIDGroupMemberships_Call
- func (_c *MockControlPlaneGroupSDK_PutControlPlanesIDGroupMemberships_Call) RunAndReturn(...) *MockControlPlaneGroupSDK_PutControlPlanesIDGroupMemberships_Call
- type MockControlPlaneSDK
- func (_m *MockControlPlaneSDK) CreateControlPlane(ctx context.Context, req components.CreateControlPlaneRequest, ...) (*operations.CreateControlPlaneResponse, error)
- func (_m *MockControlPlaneSDK) DeleteControlPlane(ctx context.Context, id string, opts ...operations.Option) (*operations.DeleteControlPlaneResponse, error)
- func (_m *MockControlPlaneSDK) EXPECT() *MockControlPlaneSDK_Expecter
- func (_m *MockControlPlaneSDK) ListControlPlanes(ctx context.Context, request operations.ListControlPlanesRequest, ...) (*operations.ListControlPlanesResponse, error)
- func (_m *MockControlPlaneSDK) UpdateControlPlane(ctx context.Context, id string, req components.UpdateControlPlaneRequest, ...) (*operations.UpdateControlPlaneResponse, error)
- type MockControlPlaneSDK_CreateControlPlane_Call
- func (_c *MockControlPlaneSDK_CreateControlPlane_Call) Return(_a0 *operations.CreateControlPlaneResponse, _a1 error) *MockControlPlaneSDK_CreateControlPlane_Call
- func (_c *MockControlPlaneSDK_CreateControlPlane_Call) Run(run func(ctx context.Context, req components.CreateControlPlaneRequest, ...)) *MockControlPlaneSDK_CreateControlPlane_Call
- func (_c *MockControlPlaneSDK_CreateControlPlane_Call) RunAndReturn(...) *MockControlPlaneSDK_CreateControlPlane_Call
- type MockControlPlaneSDK_DeleteControlPlane_Call
- func (_c *MockControlPlaneSDK_DeleteControlPlane_Call) Return(_a0 *operations.DeleteControlPlaneResponse, _a1 error) *MockControlPlaneSDK_DeleteControlPlane_Call
- func (_c *MockControlPlaneSDK_DeleteControlPlane_Call) Run(run func(ctx context.Context, id string, opts ...operations.Option)) *MockControlPlaneSDK_DeleteControlPlane_Call
- func (_c *MockControlPlaneSDK_DeleteControlPlane_Call) RunAndReturn(...) *MockControlPlaneSDK_DeleteControlPlane_Call
- type MockControlPlaneSDK_Expecter
- func (_e *MockControlPlaneSDK_Expecter) CreateControlPlane(ctx interface{}, req interface{}, opts ...interface{}) *MockControlPlaneSDK_CreateControlPlane_Call
- func (_e *MockControlPlaneSDK_Expecter) DeleteControlPlane(ctx interface{}, id interface{}, opts ...interface{}) *MockControlPlaneSDK_DeleteControlPlane_Call
- func (_e *MockControlPlaneSDK_Expecter) ListControlPlanes(ctx interface{}, request interface{}, opts ...interface{}) *MockControlPlaneSDK_ListControlPlanes_Call
- func (_e *MockControlPlaneSDK_Expecter) UpdateControlPlane(ctx interface{}, id interface{}, req interface{}, opts ...interface{}) *MockControlPlaneSDK_UpdateControlPlane_Call
- type MockControlPlaneSDK_ListControlPlanes_Call
- func (_c *MockControlPlaneSDK_ListControlPlanes_Call) Return(_a0 *operations.ListControlPlanesResponse, _a1 error) *MockControlPlaneSDK_ListControlPlanes_Call
- func (_c *MockControlPlaneSDK_ListControlPlanes_Call) Run(...) *MockControlPlaneSDK_ListControlPlanes_Call
- func (_c *MockControlPlaneSDK_ListControlPlanes_Call) RunAndReturn(...) *MockControlPlaneSDK_ListControlPlanes_Call
- type MockControlPlaneSDK_UpdateControlPlane_Call
- func (_c *MockControlPlaneSDK_UpdateControlPlane_Call) Return(_a0 *operations.UpdateControlPlaneResponse, _a1 error) *MockControlPlaneSDK_UpdateControlPlane_Call
- func (_c *MockControlPlaneSDK_UpdateControlPlane_Call) Run(...) *MockControlPlaneSDK_UpdateControlPlane_Call
- func (_c *MockControlPlaneSDK_UpdateControlPlane_Call) RunAndReturn(...) *MockControlPlaneSDK_UpdateControlPlane_Call
- type MockDataPlaneClientCertificatesSDK
- func (_m *MockDataPlaneClientCertificatesSDK) CreateDataplaneCertificate(ctx context.Context, cpID string, ...) (*operations.CreateDataplaneCertificateResponse, error)
- func (_m *MockDataPlaneClientCertificatesSDK) DeleteDataplaneCertificate(ctx context.Context, controlPlaneID string, certificateID string, ...) (*operations.DeleteDataplaneCertificateResponse, error)
- func (_m *MockDataPlaneClientCertificatesSDK) EXPECT() *MockDataPlaneClientCertificatesSDK_Expecter
- type MockDataPlaneClientCertificatesSDK_CreateDataplaneCertificate_Call
- func (_c *MockDataPlaneClientCertificatesSDK_CreateDataplaneCertificate_Call) Return(_a0 *operations.CreateDataplaneCertificateResponse, _a1 error) *MockDataPlaneClientCertificatesSDK_CreateDataplaneCertificate_Call
- func (_c *MockDataPlaneClientCertificatesSDK_CreateDataplaneCertificate_Call) Run(run func(ctx context.Context, cpID string, ...)) *MockDataPlaneClientCertificatesSDK_CreateDataplaneCertificate_Call
- func (_c *MockDataPlaneClientCertificatesSDK_CreateDataplaneCertificate_Call) RunAndReturn(...) *MockDataPlaneClientCertificatesSDK_CreateDataplaneCertificate_Call
- type MockDataPlaneClientCertificatesSDK_DeleteDataplaneCertificate_Call
- func (_c *MockDataPlaneClientCertificatesSDK_DeleteDataplaneCertificate_Call) Return(_a0 *operations.DeleteDataplaneCertificateResponse, _a1 error) *MockDataPlaneClientCertificatesSDK_DeleteDataplaneCertificate_Call
- func (_c *MockDataPlaneClientCertificatesSDK_DeleteDataplaneCertificate_Call) Run(...) *MockDataPlaneClientCertificatesSDK_DeleteDataplaneCertificate_Call
- func (_c *MockDataPlaneClientCertificatesSDK_DeleteDataplaneCertificate_Call) RunAndReturn(...) *MockDataPlaneClientCertificatesSDK_DeleteDataplaneCertificate_Call
- type MockDataPlaneClientCertificatesSDK_Expecter
- func (_e *MockDataPlaneClientCertificatesSDK_Expecter) CreateDataplaneCertificate(ctx interface{}, cpID interface{}, dpReq interface{}, opts ...interface{}) *MockDataPlaneClientCertificatesSDK_CreateDataplaneCertificate_Call
- func (_e *MockDataPlaneClientCertificatesSDK_Expecter) DeleteDataplaneCertificate(ctx interface{}, controlPlaneID interface{}, certificateID interface{}, ...) *MockDataPlaneClientCertificatesSDK_DeleteDataplaneCertificate_Call
- type MockKeySetsSDK
- func (_m *MockKeySetsSDK) CreateKeySet(ctx context.Context, controlPlaneID string, keySet components.KeySetInput, ...) (*operations.CreateKeySetResponse, error)
- func (_m *MockKeySetsSDK) DeleteKeySet(ctx context.Context, controlPlaneID string, keySetID string, ...) (*operations.DeleteKeySetResponse, error)
- func (_m *MockKeySetsSDK) EXPECT() *MockKeySetsSDK_Expecter
- func (_m *MockKeySetsSDK) ListKeySet(ctx context.Context, request operations.ListKeySetRequest, ...) (*operations.ListKeySetResponse, error)
- func (_m *MockKeySetsSDK) UpsertKeySet(ctx context.Context, request operations.UpsertKeySetRequest, ...) (*operations.UpsertKeySetResponse, error)
- type MockKeySetsSDK_CreateKeySet_Call
- func (_c *MockKeySetsSDK_CreateKeySet_Call) Return(_a0 *operations.CreateKeySetResponse, _a1 error) *MockKeySetsSDK_CreateKeySet_Call
- func (_c *MockKeySetsSDK_CreateKeySet_Call) Run(...) *MockKeySetsSDK_CreateKeySet_Call
- func (_c *MockKeySetsSDK_CreateKeySet_Call) RunAndReturn(...) *MockKeySetsSDK_CreateKeySet_Call
- type MockKeySetsSDK_DeleteKeySet_Call
- func (_c *MockKeySetsSDK_DeleteKeySet_Call) Return(_a0 *operations.DeleteKeySetResponse, _a1 error) *MockKeySetsSDK_DeleteKeySet_Call
- func (_c *MockKeySetsSDK_DeleteKeySet_Call) Run(run func(ctx context.Context, controlPlaneID string, keySetID string, ...)) *MockKeySetsSDK_DeleteKeySet_Call
- func (_c *MockKeySetsSDK_DeleteKeySet_Call) RunAndReturn(...) *MockKeySetsSDK_DeleteKeySet_Call
- type MockKeySetsSDK_Expecter
- func (_e *MockKeySetsSDK_Expecter) CreateKeySet(ctx interface{}, controlPlaneID interface{}, keySet interface{}, ...) *MockKeySetsSDK_CreateKeySet_Call
- func (_e *MockKeySetsSDK_Expecter) DeleteKeySet(ctx interface{}, controlPlaneID interface{}, keySetID interface{}, ...) *MockKeySetsSDK_DeleteKeySet_Call
- func (_e *MockKeySetsSDK_Expecter) ListKeySet(ctx interface{}, request interface{}, opts ...interface{}) *MockKeySetsSDK_ListKeySet_Call
- func (_e *MockKeySetsSDK_Expecter) UpsertKeySet(ctx interface{}, request interface{}, opts ...interface{}) *MockKeySetsSDK_UpsertKeySet_Call
- type MockKeySetsSDK_ListKeySet_Call
- func (_c *MockKeySetsSDK_ListKeySet_Call) Return(_a0 *operations.ListKeySetResponse, _a1 error) *MockKeySetsSDK_ListKeySet_Call
- func (_c *MockKeySetsSDK_ListKeySet_Call) Run(run func(ctx context.Context, request operations.ListKeySetRequest, ...)) *MockKeySetsSDK_ListKeySet_Call
- func (_c *MockKeySetsSDK_ListKeySet_Call) RunAndReturn(...) *MockKeySetsSDK_ListKeySet_Call
- type MockKeySetsSDK_UpsertKeySet_Call
- func (_c *MockKeySetsSDK_UpsertKeySet_Call) Return(_a0 *operations.UpsertKeySetResponse, _a1 error) *MockKeySetsSDK_UpsertKeySet_Call
- func (_c *MockKeySetsSDK_UpsertKeySet_Call) Run(run func(ctx context.Context, request operations.UpsertKeySetRequest, ...)) *MockKeySetsSDK_UpsertKeySet_Call
- func (_c *MockKeySetsSDK_UpsertKeySet_Call) RunAndReturn(...) *MockKeySetsSDK_UpsertKeySet_Call
- type MockKeysSDK
- func (_m *MockKeysSDK) CreateKey(ctx context.Context, controlPlaneID string, Key components.KeyInput, ...) (*operations.CreateKeyResponse, error)
- func (_m *MockKeysSDK) DeleteKey(ctx context.Context, controlPlaneID string, KeyID string, ...) (*operations.DeleteKeyResponse, error)
- func (_m *MockKeysSDK) EXPECT() *MockKeysSDK_Expecter
- func (_m *MockKeysSDK) ListKey(ctx context.Context, request operations.ListKeyRequest, ...) (*operations.ListKeyResponse, error)
- func (_m *MockKeysSDK) UpsertKey(ctx context.Context, request operations.UpsertKeyRequest, ...) (*operations.UpsertKeyResponse, error)
- type MockKeysSDK_CreateKey_Call
- type MockKeysSDK_DeleteKey_Call
- func (_c *MockKeysSDK_DeleteKey_Call) Return(_a0 *operations.DeleteKeyResponse, _a1 error) *MockKeysSDK_DeleteKey_Call
- func (_c *MockKeysSDK_DeleteKey_Call) Run(run func(ctx context.Context, controlPlaneID string, KeyID string, ...)) *MockKeysSDK_DeleteKey_Call
- func (_c *MockKeysSDK_DeleteKey_Call) RunAndReturn(...) *MockKeysSDK_DeleteKey_Call
- type MockKeysSDK_Expecter
- func (_e *MockKeysSDK_Expecter) CreateKey(ctx interface{}, controlPlaneID interface{}, Key interface{}, ...) *MockKeysSDK_CreateKey_Call
- func (_e *MockKeysSDK_Expecter) DeleteKey(ctx interface{}, controlPlaneID interface{}, KeyID interface{}, ...) *MockKeysSDK_DeleteKey_Call
- func (_e *MockKeysSDK_Expecter) ListKey(ctx interface{}, request interface{}, opts ...interface{}) *MockKeysSDK_ListKey_Call
- func (_e *MockKeysSDK_Expecter) UpsertKey(ctx interface{}, request interface{}, opts ...interface{}) *MockKeysSDK_UpsertKey_Call
- type MockKeysSDK_ListKey_Call
- func (_c *MockKeysSDK_ListKey_Call) Return(_a0 *operations.ListKeyResponse, _a1 error) *MockKeysSDK_ListKey_Call
- func (_c *MockKeysSDK_ListKey_Call) Run(run func(ctx context.Context, request operations.ListKeyRequest, ...)) *MockKeysSDK_ListKey_Call
- func (_c *MockKeysSDK_ListKey_Call) RunAndReturn(...) *MockKeysSDK_ListKey_Call
- type MockKeysSDK_UpsertKey_Call
- func (_c *MockKeysSDK_UpsertKey_Call) Return(_a0 *operations.UpsertKeyResponse, _a1 error) *MockKeysSDK_UpsertKey_Call
- func (_c *MockKeysSDK_UpsertKey_Call) Run(run func(ctx context.Context, request operations.UpsertKeyRequest, ...)) *MockKeysSDK_UpsertKey_Call
- func (_c *MockKeysSDK_UpsertKey_Call) RunAndReturn(...) *MockKeysSDK_UpsertKey_Call
- type MockKongCredentialACLSDK
- func (_m *MockKongCredentialACLSDK) CreateACLWithConsumer(ctx context.Context, req operations.CreateACLWithConsumerRequest, ...) (*operations.CreateACLWithConsumerResponse, error)
- func (_m *MockKongCredentialACLSDK) DeleteACLWithConsumer(ctx context.Context, request operations.DeleteACLWithConsumerRequest, ...) (*operations.DeleteACLWithConsumerResponse, error)
- func (_m *MockKongCredentialACLSDK) EXPECT() *MockKongCredentialACLSDK_Expecter
- func (_m *MockKongCredentialACLSDK) ListACL(ctx context.Context, request operations.ListACLRequest, ...) (*operations.ListACLResponse, error)
- func (_m *MockKongCredentialACLSDK) UpsertACLWithConsumer(ctx context.Context, request operations.UpsertACLWithConsumerRequest, ...) (*operations.UpsertACLWithConsumerResponse, error)
- type MockKongCredentialACLSDK_CreateACLWithConsumer_Call
- func (_c *MockKongCredentialACLSDK_CreateACLWithConsumer_Call) Return(_a0 *operations.CreateACLWithConsumerResponse, _a1 error) *MockKongCredentialACLSDK_CreateACLWithConsumer_Call
- func (_c *MockKongCredentialACLSDK_CreateACLWithConsumer_Call) Run(...) *MockKongCredentialACLSDK_CreateACLWithConsumer_Call
- func (_c *MockKongCredentialACLSDK_CreateACLWithConsumer_Call) RunAndReturn(...) *MockKongCredentialACLSDK_CreateACLWithConsumer_Call
- type MockKongCredentialACLSDK_DeleteACLWithConsumer_Call
- func (_c *MockKongCredentialACLSDK_DeleteACLWithConsumer_Call) Return(_a0 *operations.DeleteACLWithConsumerResponse, _a1 error) *MockKongCredentialACLSDK_DeleteACLWithConsumer_Call
- func (_c *MockKongCredentialACLSDK_DeleteACLWithConsumer_Call) Run(...) *MockKongCredentialACLSDK_DeleteACLWithConsumer_Call
- func (_c *MockKongCredentialACLSDK_DeleteACLWithConsumer_Call) RunAndReturn(...) *MockKongCredentialACLSDK_DeleteACLWithConsumer_Call
- type MockKongCredentialACLSDK_Expecter
- func (_e *MockKongCredentialACLSDK_Expecter) CreateACLWithConsumer(ctx interface{}, req interface{}, opts ...interface{}) *MockKongCredentialACLSDK_CreateACLWithConsumer_Call
- func (_e *MockKongCredentialACLSDK_Expecter) DeleteACLWithConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialACLSDK_DeleteACLWithConsumer_Call
- func (_e *MockKongCredentialACLSDK_Expecter) ListACL(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialACLSDK_ListACL_Call
- func (_e *MockKongCredentialACLSDK_Expecter) UpsertACLWithConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialACLSDK_UpsertACLWithConsumer_Call
- type MockKongCredentialACLSDK_ListACL_Call
- func (_c *MockKongCredentialACLSDK_ListACL_Call) Return(_a0 *operations.ListACLResponse, _a1 error) *MockKongCredentialACLSDK_ListACL_Call
- func (_c *MockKongCredentialACLSDK_ListACL_Call) Run(run func(ctx context.Context, request operations.ListACLRequest, ...)) *MockKongCredentialACLSDK_ListACL_Call
- func (_c *MockKongCredentialACLSDK_ListACL_Call) RunAndReturn(...) *MockKongCredentialACLSDK_ListACL_Call
- type MockKongCredentialACLSDK_UpsertACLWithConsumer_Call
- func (_c *MockKongCredentialACLSDK_UpsertACLWithConsumer_Call) Return(_a0 *operations.UpsertACLWithConsumerResponse, _a1 error) *MockKongCredentialACLSDK_UpsertACLWithConsumer_Call
- func (_c *MockKongCredentialACLSDK_UpsertACLWithConsumer_Call) Run(...) *MockKongCredentialACLSDK_UpsertACLWithConsumer_Call
- func (_c *MockKongCredentialACLSDK_UpsertACLWithConsumer_Call) RunAndReturn(...) *MockKongCredentialACLSDK_UpsertACLWithConsumer_Call
- type MockKongCredentialAPIKeySDK
- func (_m *MockKongCredentialAPIKeySDK) CreateKeyAuthWithConsumer(ctx context.Context, req operations.CreateKeyAuthWithConsumerRequest, ...) (*operations.CreateKeyAuthWithConsumerResponse, error)
- func (_m *MockKongCredentialAPIKeySDK) DeleteKeyAuthWithConsumer(ctx context.Context, request operations.DeleteKeyAuthWithConsumerRequest, ...) (*operations.DeleteKeyAuthWithConsumerResponse, error)
- func (_m *MockKongCredentialAPIKeySDK) EXPECT() *MockKongCredentialAPIKeySDK_Expecter
- func (_m *MockKongCredentialAPIKeySDK) ListKeyAuth(ctx context.Context, request operations.ListKeyAuthRequest, ...) (*operations.ListKeyAuthResponse, error)
- func (_m *MockKongCredentialAPIKeySDK) UpsertKeyAuthWithConsumer(ctx context.Context, request operations.UpsertKeyAuthWithConsumerRequest, ...) (*operations.UpsertKeyAuthWithConsumerResponse, error)
- type MockKongCredentialAPIKeySDK_CreateKeyAuthWithConsumer_Call
- func (_c *MockKongCredentialAPIKeySDK_CreateKeyAuthWithConsumer_Call) Return(_a0 *operations.CreateKeyAuthWithConsumerResponse, _a1 error) *MockKongCredentialAPIKeySDK_CreateKeyAuthWithConsumer_Call
- func (_c *MockKongCredentialAPIKeySDK_CreateKeyAuthWithConsumer_Call) Run(...) *MockKongCredentialAPIKeySDK_CreateKeyAuthWithConsumer_Call
- func (_c *MockKongCredentialAPIKeySDK_CreateKeyAuthWithConsumer_Call) RunAndReturn(...) *MockKongCredentialAPIKeySDK_CreateKeyAuthWithConsumer_Call
- type MockKongCredentialAPIKeySDK_DeleteKeyAuthWithConsumer_Call
- func (_c *MockKongCredentialAPIKeySDK_DeleteKeyAuthWithConsumer_Call) Return(_a0 *operations.DeleteKeyAuthWithConsumerResponse, _a1 error) *MockKongCredentialAPIKeySDK_DeleteKeyAuthWithConsumer_Call
- func (_c *MockKongCredentialAPIKeySDK_DeleteKeyAuthWithConsumer_Call) Run(...) *MockKongCredentialAPIKeySDK_DeleteKeyAuthWithConsumer_Call
- func (_c *MockKongCredentialAPIKeySDK_DeleteKeyAuthWithConsumer_Call) RunAndReturn(...) *MockKongCredentialAPIKeySDK_DeleteKeyAuthWithConsumer_Call
- type MockKongCredentialAPIKeySDK_Expecter
- func (_e *MockKongCredentialAPIKeySDK_Expecter) CreateKeyAuthWithConsumer(ctx interface{}, req interface{}, opts ...interface{}) *MockKongCredentialAPIKeySDK_CreateKeyAuthWithConsumer_Call
- func (_e *MockKongCredentialAPIKeySDK_Expecter) DeleteKeyAuthWithConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialAPIKeySDK_DeleteKeyAuthWithConsumer_Call
- func (_e *MockKongCredentialAPIKeySDK_Expecter) ListKeyAuth(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialAPIKeySDK_ListKeyAuth_Call
- func (_e *MockKongCredentialAPIKeySDK_Expecter) UpsertKeyAuthWithConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialAPIKeySDK_UpsertKeyAuthWithConsumer_Call
- type MockKongCredentialAPIKeySDK_ListKeyAuth_Call
- func (_c *MockKongCredentialAPIKeySDK_ListKeyAuth_Call) Return(_a0 *operations.ListKeyAuthResponse, _a1 error) *MockKongCredentialAPIKeySDK_ListKeyAuth_Call
- func (_c *MockKongCredentialAPIKeySDK_ListKeyAuth_Call) Run(run func(ctx context.Context, request operations.ListKeyAuthRequest, ...)) *MockKongCredentialAPIKeySDK_ListKeyAuth_Call
- func (_c *MockKongCredentialAPIKeySDK_ListKeyAuth_Call) RunAndReturn(...) *MockKongCredentialAPIKeySDK_ListKeyAuth_Call
- type MockKongCredentialAPIKeySDK_UpsertKeyAuthWithConsumer_Call
- func (_c *MockKongCredentialAPIKeySDK_UpsertKeyAuthWithConsumer_Call) Return(_a0 *operations.UpsertKeyAuthWithConsumerResponse, _a1 error) *MockKongCredentialAPIKeySDK_UpsertKeyAuthWithConsumer_Call
- func (_c *MockKongCredentialAPIKeySDK_UpsertKeyAuthWithConsumer_Call) Run(...) *MockKongCredentialAPIKeySDK_UpsertKeyAuthWithConsumer_Call
- func (_c *MockKongCredentialAPIKeySDK_UpsertKeyAuthWithConsumer_Call) RunAndReturn(...) *MockKongCredentialAPIKeySDK_UpsertKeyAuthWithConsumer_Call
- type MockKongCredentialBasicAuthSDK
- func (_m *MockKongCredentialBasicAuthSDK) CreateBasicAuthWithConsumer(ctx context.Context, req operations.CreateBasicAuthWithConsumerRequest, ...) (*operations.CreateBasicAuthWithConsumerResponse, error)
- func (_m *MockKongCredentialBasicAuthSDK) DeleteBasicAuthWithConsumer(ctx context.Context, request operations.DeleteBasicAuthWithConsumerRequest, ...) (*operations.DeleteBasicAuthWithConsumerResponse, error)
- func (_m *MockKongCredentialBasicAuthSDK) EXPECT() *MockKongCredentialBasicAuthSDK_Expecter
- func (_m *MockKongCredentialBasicAuthSDK) ListBasicAuth(ctx context.Context, request operations.ListBasicAuthRequest, ...) (*operations.ListBasicAuthResponse, error)
- func (_m *MockKongCredentialBasicAuthSDK) UpsertBasicAuthWithConsumer(ctx context.Context, request operations.UpsertBasicAuthWithConsumerRequest, ...) (*operations.UpsertBasicAuthWithConsumerResponse, error)
- type MockKongCredentialBasicAuthSDK_CreateBasicAuthWithConsumer_Call
- func (_c *MockKongCredentialBasicAuthSDK_CreateBasicAuthWithConsumer_Call) Return(_a0 *operations.CreateBasicAuthWithConsumerResponse, _a1 error) *MockKongCredentialBasicAuthSDK_CreateBasicAuthWithConsumer_Call
- func (_c *MockKongCredentialBasicAuthSDK_CreateBasicAuthWithConsumer_Call) Run(...) *MockKongCredentialBasicAuthSDK_CreateBasicAuthWithConsumer_Call
- func (_c *MockKongCredentialBasicAuthSDK_CreateBasicAuthWithConsumer_Call) RunAndReturn(...) *MockKongCredentialBasicAuthSDK_CreateBasicAuthWithConsumer_Call
- type MockKongCredentialBasicAuthSDK_DeleteBasicAuthWithConsumer_Call
- func (_c *MockKongCredentialBasicAuthSDK_DeleteBasicAuthWithConsumer_Call) Return(_a0 *operations.DeleteBasicAuthWithConsumerResponse, _a1 error) *MockKongCredentialBasicAuthSDK_DeleteBasicAuthWithConsumer_Call
- func (_c *MockKongCredentialBasicAuthSDK_DeleteBasicAuthWithConsumer_Call) Run(...) *MockKongCredentialBasicAuthSDK_DeleteBasicAuthWithConsumer_Call
- func (_c *MockKongCredentialBasicAuthSDK_DeleteBasicAuthWithConsumer_Call) RunAndReturn(...) *MockKongCredentialBasicAuthSDK_DeleteBasicAuthWithConsumer_Call
- type MockKongCredentialBasicAuthSDK_Expecter
- func (_e *MockKongCredentialBasicAuthSDK_Expecter) CreateBasicAuthWithConsumer(ctx interface{}, req interface{}, opts ...interface{}) *MockKongCredentialBasicAuthSDK_CreateBasicAuthWithConsumer_Call
- func (_e *MockKongCredentialBasicAuthSDK_Expecter) DeleteBasicAuthWithConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialBasicAuthSDK_DeleteBasicAuthWithConsumer_Call
- func (_e *MockKongCredentialBasicAuthSDK_Expecter) ListBasicAuth(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialBasicAuthSDK_ListBasicAuth_Call
- func (_e *MockKongCredentialBasicAuthSDK_Expecter) UpsertBasicAuthWithConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialBasicAuthSDK_UpsertBasicAuthWithConsumer_Call
- type MockKongCredentialBasicAuthSDK_ListBasicAuth_Call
- func (_c *MockKongCredentialBasicAuthSDK_ListBasicAuth_Call) Return(_a0 *operations.ListBasicAuthResponse, _a1 error) *MockKongCredentialBasicAuthSDK_ListBasicAuth_Call
- func (_c *MockKongCredentialBasicAuthSDK_ListBasicAuth_Call) Run(run func(ctx context.Context, request operations.ListBasicAuthRequest, ...)) *MockKongCredentialBasicAuthSDK_ListBasicAuth_Call
- func (_c *MockKongCredentialBasicAuthSDK_ListBasicAuth_Call) RunAndReturn(...) *MockKongCredentialBasicAuthSDK_ListBasicAuth_Call
- type MockKongCredentialBasicAuthSDK_UpsertBasicAuthWithConsumer_Call
- func (_c *MockKongCredentialBasicAuthSDK_UpsertBasicAuthWithConsumer_Call) Return(_a0 *operations.UpsertBasicAuthWithConsumerResponse, _a1 error) *MockKongCredentialBasicAuthSDK_UpsertBasicAuthWithConsumer_Call
- func (_c *MockKongCredentialBasicAuthSDK_UpsertBasicAuthWithConsumer_Call) Run(...) *MockKongCredentialBasicAuthSDK_UpsertBasicAuthWithConsumer_Call
- func (_c *MockKongCredentialBasicAuthSDK_UpsertBasicAuthWithConsumer_Call) RunAndReturn(...) *MockKongCredentialBasicAuthSDK_UpsertBasicAuthWithConsumer_Call
- type MockKongCredentialHMACSDK
- func (_m *MockKongCredentialHMACSDK) CreateHmacAuthWithConsumer(ctx context.Context, req operations.CreateHmacAuthWithConsumerRequest, ...) (*operations.CreateHmacAuthWithConsumerResponse, error)
- func (_m *MockKongCredentialHMACSDK) DeleteHmacAuthWithConsumer(ctx context.Context, request operations.DeleteHmacAuthWithConsumerRequest, ...) (*operations.DeleteHmacAuthWithConsumerResponse, error)
- func (_m *MockKongCredentialHMACSDK) EXPECT() *MockKongCredentialHMACSDK_Expecter
- func (_m *MockKongCredentialHMACSDK) ListHmacAuth(ctx context.Context, request operations.ListHmacAuthRequest, ...) (*operations.ListHmacAuthResponse, error)
- func (_m *MockKongCredentialHMACSDK) UpsertHmacAuthWithConsumer(ctx context.Context, request operations.UpsertHmacAuthWithConsumerRequest, ...) (*operations.UpsertHmacAuthWithConsumerResponse, error)
- type MockKongCredentialHMACSDK_CreateHmacAuthWithConsumer_Call
- func (_c *MockKongCredentialHMACSDK_CreateHmacAuthWithConsumer_Call) Return(_a0 *operations.CreateHmacAuthWithConsumerResponse, _a1 error) *MockKongCredentialHMACSDK_CreateHmacAuthWithConsumer_Call
- func (_c *MockKongCredentialHMACSDK_CreateHmacAuthWithConsumer_Call) Run(...) *MockKongCredentialHMACSDK_CreateHmacAuthWithConsumer_Call
- func (_c *MockKongCredentialHMACSDK_CreateHmacAuthWithConsumer_Call) RunAndReturn(...) *MockKongCredentialHMACSDK_CreateHmacAuthWithConsumer_Call
- type MockKongCredentialHMACSDK_DeleteHmacAuthWithConsumer_Call
- func (_c *MockKongCredentialHMACSDK_DeleteHmacAuthWithConsumer_Call) Return(_a0 *operations.DeleteHmacAuthWithConsumerResponse, _a1 error) *MockKongCredentialHMACSDK_DeleteHmacAuthWithConsumer_Call
- func (_c *MockKongCredentialHMACSDK_DeleteHmacAuthWithConsumer_Call) Run(...) *MockKongCredentialHMACSDK_DeleteHmacAuthWithConsumer_Call
- func (_c *MockKongCredentialHMACSDK_DeleteHmacAuthWithConsumer_Call) RunAndReturn(...) *MockKongCredentialHMACSDK_DeleteHmacAuthWithConsumer_Call
- type MockKongCredentialHMACSDK_Expecter
- func (_e *MockKongCredentialHMACSDK_Expecter) CreateHmacAuthWithConsumer(ctx interface{}, req interface{}, opts ...interface{}) *MockKongCredentialHMACSDK_CreateHmacAuthWithConsumer_Call
- func (_e *MockKongCredentialHMACSDK_Expecter) DeleteHmacAuthWithConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialHMACSDK_DeleteHmacAuthWithConsumer_Call
- func (_e *MockKongCredentialHMACSDK_Expecter) ListHmacAuth(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialHMACSDK_ListHmacAuth_Call
- func (_e *MockKongCredentialHMACSDK_Expecter) UpsertHmacAuthWithConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialHMACSDK_UpsertHmacAuthWithConsumer_Call
- type MockKongCredentialHMACSDK_ListHmacAuth_Call
- func (_c *MockKongCredentialHMACSDK_ListHmacAuth_Call) Return(_a0 *operations.ListHmacAuthResponse, _a1 error) *MockKongCredentialHMACSDK_ListHmacAuth_Call
- func (_c *MockKongCredentialHMACSDK_ListHmacAuth_Call) Run(run func(ctx context.Context, request operations.ListHmacAuthRequest, ...)) *MockKongCredentialHMACSDK_ListHmacAuth_Call
- func (_c *MockKongCredentialHMACSDK_ListHmacAuth_Call) RunAndReturn(...) *MockKongCredentialHMACSDK_ListHmacAuth_Call
- type MockKongCredentialHMACSDK_UpsertHmacAuthWithConsumer_Call
- func (_c *MockKongCredentialHMACSDK_UpsertHmacAuthWithConsumer_Call) Return(_a0 *operations.UpsertHmacAuthWithConsumerResponse, _a1 error) *MockKongCredentialHMACSDK_UpsertHmacAuthWithConsumer_Call
- func (_c *MockKongCredentialHMACSDK_UpsertHmacAuthWithConsumer_Call) Run(...) *MockKongCredentialHMACSDK_UpsertHmacAuthWithConsumer_Call
- func (_c *MockKongCredentialHMACSDK_UpsertHmacAuthWithConsumer_Call) RunAndReturn(...) *MockKongCredentialHMACSDK_UpsertHmacAuthWithConsumer_Call
- type MockKongCredentialJWTSDK
- func (_m *MockKongCredentialJWTSDK) CreateJwtWithConsumer(ctx context.Context, req operations.CreateJwtWithConsumerRequest, ...) (*operations.CreateJwtWithConsumerResponse, error)
- func (_m *MockKongCredentialJWTSDK) DeleteJwtWithConsumer(ctx context.Context, request operations.DeleteJwtWithConsumerRequest, ...) (*operations.DeleteJwtWithConsumerResponse, error)
- func (_m *MockKongCredentialJWTSDK) EXPECT() *MockKongCredentialJWTSDK_Expecter
- func (_m *MockKongCredentialJWTSDK) ListJwt(ctx context.Context, request operations.ListJwtRequest, ...) (*operations.ListJwtResponse, error)
- func (_m *MockKongCredentialJWTSDK) UpsertJwtWithConsumer(ctx context.Context, request operations.UpsertJwtWithConsumerRequest, ...) (*operations.UpsertJwtWithConsumerResponse, error)
- type MockKongCredentialJWTSDK_CreateJwtWithConsumer_Call
- func (_c *MockKongCredentialJWTSDK_CreateJwtWithConsumer_Call) Return(_a0 *operations.CreateJwtWithConsumerResponse, _a1 error) *MockKongCredentialJWTSDK_CreateJwtWithConsumer_Call
- func (_c *MockKongCredentialJWTSDK_CreateJwtWithConsumer_Call) Run(...) *MockKongCredentialJWTSDK_CreateJwtWithConsumer_Call
- func (_c *MockKongCredentialJWTSDK_CreateJwtWithConsumer_Call) RunAndReturn(...) *MockKongCredentialJWTSDK_CreateJwtWithConsumer_Call
- type MockKongCredentialJWTSDK_DeleteJwtWithConsumer_Call
- func (_c *MockKongCredentialJWTSDK_DeleteJwtWithConsumer_Call) Return(_a0 *operations.DeleteJwtWithConsumerResponse, _a1 error) *MockKongCredentialJWTSDK_DeleteJwtWithConsumer_Call
- func (_c *MockKongCredentialJWTSDK_DeleteJwtWithConsumer_Call) Run(...) *MockKongCredentialJWTSDK_DeleteJwtWithConsumer_Call
- func (_c *MockKongCredentialJWTSDK_DeleteJwtWithConsumer_Call) RunAndReturn(...) *MockKongCredentialJWTSDK_DeleteJwtWithConsumer_Call
- type MockKongCredentialJWTSDK_Expecter
- func (_e *MockKongCredentialJWTSDK_Expecter) CreateJwtWithConsumer(ctx interface{}, req interface{}, opts ...interface{}) *MockKongCredentialJWTSDK_CreateJwtWithConsumer_Call
- func (_e *MockKongCredentialJWTSDK_Expecter) DeleteJwtWithConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialJWTSDK_DeleteJwtWithConsumer_Call
- func (_e *MockKongCredentialJWTSDK_Expecter) ListJwt(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialJWTSDK_ListJwt_Call
- func (_e *MockKongCredentialJWTSDK_Expecter) UpsertJwtWithConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialJWTSDK_UpsertJwtWithConsumer_Call
- type MockKongCredentialJWTSDK_ListJwt_Call
- func (_c *MockKongCredentialJWTSDK_ListJwt_Call) Return(_a0 *operations.ListJwtResponse, _a1 error) *MockKongCredentialJWTSDK_ListJwt_Call
- func (_c *MockKongCredentialJWTSDK_ListJwt_Call) Run(run func(ctx context.Context, request operations.ListJwtRequest, ...)) *MockKongCredentialJWTSDK_ListJwt_Call
- func (_c *MockKongCredentialJWTSDK_ListJwt_Call) RunAndReturn(...) *MockKongCredentialJWTSDK_ListJwt_Call
- type MockKongCredentialJWTSDK_UpsertJwtWithConsumer_Call
- func (_c *MockKongCredentialJWTSDK_UpsertJwtWithConsumer_Call) Return(_a0 *operations.UpsertJwtWithConsumerResponse, _a1 error) *MockKongCredentialJWTSDK_UpsertJwtWithConsumer_Call
- func (_c *MockKongCredentialJWTSDK_UpsertJwtWithConsumer_Call) Run(...) *MockKongCredentialJWTSDK_UpsertJwtWithConsumer_Call
- func (_c *MockKongCredentialJWTSDK_UpsertJwtWithConsumer_Call) RunAndReturn(...) *MockKongCredentialJWTSDK_UpsertJwtWithConsumer_Call
- type MockMeSDK
- type MockMeSDK_Expecter
- type MockMeSDK_GetOrganizationsMe_Call
- func (_c *MockMeSDK_GetOrganizationsMe_Call) Return(_a0 *operations.GetOrganizationsMeResponse, _a1 error) *MockMeSDK_GetOrganizationsMe_Call
- func (_c *MockMeSDK_GetOrganizationsMe_Call) Run(run func(ctx context.Context, opts ...operations.Option)) *MockMeSDK_GetOrganizationsMe_Call
- func (_c *MockMeSDK_GetOrganizationsMe_Call) RunAndReturn(...) *MockMeSDK_GetOrganizationsMe_Call
- type MockPluginSDK
- func (_m *MockPluginSDK) CreatePlugin(ctx context.Context, controlPlaneID string, plugin components.PluginInput, ...) (*operations.CreatePluginResponse, error)
- func (_m *MockPluginSDK) DeletePlugin(ctx context.Context, controlPlaneID string, pluginID string, ...) (*operations.DeletePluginResponse, error)
- func (_m *MockPluginSDK) EXPECT() *MockPluginSDK_Expecter
- func (_m *MockPluginSDK) ListPlugin(ctx context.Context, request operations.ListPluginRequest, ...) (*operations.ListPluginResponse, error)
- func (_m *MockPluginSDK) UpsertPlugin(ctx context.Context, request operations.UpsertPluginRequest, ...) (*operations.UpsertPluginResponse, error)
- type MockPluginSDK_CreatePlugin_Call
- func (_c *MockPluginSDK_CreatePlugin_Call) Return(_a0 *operations.CreatePluginResponse, _a1 error) *MockPluginSDK_CreatePlugin_Call
- func (_c *MockPluginSDK_CreatePlugin_Call) Run(...) *MockPluginSDK_CreatePlugin_Call
- func (_c *MockPluginSDK_CreatePlugin_Call) RunAndReturn(...) *MockPluginSDK_CreatePlugin_Call
- type MockPluginSDK_DeletePlugin_Call
- func (_c *MockPluginSDK_DeletePlugin_Call) Return(_a0 *operations.DeletePluginResponse, _a1 error) *MockPluginSDK_DeletePlugin_Call
- func (_c *MockPluginSDK_DeletePlugin_Call) Run(run func(ctx context.Context, controlPlaneID string, pluginID string, ...)) *MockPluginSDK_DeletePlugin_Call
- func (_c *MockPluginSDK_DeletePlugin_Call) RunAndReturn(...) *MockPluginSDK_DeletePlugin_Call
- type MockPluginSDK_Expecter
- func (_e *MockPluginSDK_Expecter) CreatePlugin(ctx interface{}, controlPlaneID interface{}, plugin interface{}, ...) *MockPluginSDK_CreatePlugin_Call
- func (_e *MockPluginSDK_Expecter) DeletePlugin(ctx interface{}, controlPlaneID interface{}, pluginID interface{}, ...) *MockPluginSDK_DeletePlugin_Call
- func (_e *MockPluginSDK_Expecter) ListPlugin(ctx interface{}, request interface{}, opts ...interface{}) *MockPluginSDK_ListPlugin_Call
- func (_e *MockPluginSDK_Expecter) UpsertPlugin(ctx interface{}, request interface{}, opts ...interface{}) *MockPluginSDK_UpsertPlugin_Call
- type MockPluginSDK_ListPlugin_Call
- func (_c *MockPluginSDK_ListPlugin_Call) Return(_a0 *operations.ListPluginResponse, _a1 error) *MockPluginSDK_ListPlugin_Call
- func (_c *MockPluginSDK_ListPlugin_Call) Run(run func(ctx context.Context, request operations.ListPluginRequest, ...)) *MockPluginSDK_ListPlugin_Call
- func (_c *MockPluginSDK_ListPlugin_Call) RunAndReturn(...) *MockPluginSDK_ListPlugin_Call
- type MockPluginSDK_UpsertPlugin_Call
- func (_c *MockPluginSDK_UpsertPlugin_Call) Return(_a0 *operations.UpsertPluginResponse, _a1 error) *MockPluginSDK_UpsertPlugin_Call
- func (_c *MockPluginSDK_UpsertPlugin_Call) Run(run func(ctx context.Context, request operations.UpsertPluginRequest, ...)) *MockPluginSDK_UpsertPlugin_Call
- func (_c *MockPluginSDK_UpsertPlugin_Call) RunAndReturn(...) *MockPluginSDK_UpsertPlugin_Call
- type MockRoutesSDK
- func (_m *MockRoutesSDK) CreateRoute(ctx context.Context, controlPlaneID string, route components.RouteInput, ...) (*operations.CreateRouteResponse, error)
- func (_m *MockRoutesSDK) DeleteRoute(ctx context.Context, controlPlaneID string, routeID string, ...) (*operations.DeleteRouteResponse, error)
- func (_m *MockRoutesSDK) EXPECT() *MockRoutesSDK_Expecter
- func (_m *MockRoutesSDK) ListRoute(ctx context.Context, request operations.ListRouteRequest, ...) (*operations.ListRouteResponse, error)
- func (_m *MockRoutesSDK) UpsertRoute(ctx context.Context, req operations.UpsertRouteRequest, ...) (*operations.UpsertRouteResponse, error)
- type MockRoutesSDK_CreateRoute_Call
- func (_c *MockRoutesSDK_CreateRoute_Call) Return(_a0 *operations.CreateRouteResponse, _a1 error) *MockRoutesSDK_CreateRoute_Call
- func (_c *MockRoutesSDK_CreateRoute_Call) Run(...) *MockRoutesSDK_CreateRoute_Call
- func (_c *MockRoutesSDK_CreateRoute_Call) RunAndReturn(...) *MockRoutesSDK_CreateRoute_Call
- type MockRoutesSDK_DeleteRoute_Call
- func (_c *MockRoutesSDK_DeleteRoute_Call) Return(_a0 *operations.DeleteRouteResponse, _a1 error) *MockRoutesSDK_DeleteRoute_Call
- func (_c *MockRoutesSDK_DeleteRoute_Call) Run(run func(ctx context.Context, controlPlaneID string, routeID string, ...)) *MockRoutesSDK_DeleteRoute_Call
- func (_c *MockRoutesSDK_DeleteRoute_Call) RunAndReturn(...) *MockRoutesSDK_DeleteRoute_Call
- type MockRoutesSDK_Expecter
- func (_e *MockRoutesSDK_Expecter) CreateRoute(ctx interface{}, controlPlaneID interface{}, route interface{}, ...) *MockRoutesSDK_CreateRoute_Call
- func (_e *MockRoutesSDK_Expecter) DeleteRoute(ctx interface{}, controlPlaneID interface{}, routeID interface{}, ...) *MockRoutesSDK_DeleteRoute_Call
- func (_e *MockRoutesSDK_Expecter) ListRoute(ctx interface{}, request interface{}, opts ...interface{}) *MockRoutesSDK_ListRoute_Call
- func (_e *MockRoutesSDK_Expecter) UpsertRoute(ctx interface{}, req interface{}, opts ...interface{}) *MockRoutesSDK_UpsertRoute_Call
- type MockRoutesSDK_ListRoute_Call
- func (_c *MockRoutesSDK_ListRoute_Call) Return(_a0 *operations.ListRouteResponse, _a1 error) *MockRoutesSDK_ListRoute_Call
- func (_c *MockRoutesSDK_ListRoute_Call) Run(run func(ctx context.Context, request operations.ListRouteRequest, ...)) *MockRoutesSDK_ListRoute_Call
- func (_c *MockRoutesSDK_ListRoute_Call) RunAndReturn(...) *MockRoutesSDK_ListRoute_Call
- type MockRoutesSDK_UpsertRoute_Call
- func (_c *MockRoutesSDK_UpsertRoute_Call) Return(_a0 *operations.UpsertRouteResponse, _a1 error) *MockRoutesSDK_UpsertRoute_Call
- func (_c *MockRoutesSDK_UpsertRoute_Call) Run(run func(ctx context.Context, req operations.UpsertRouteRequest, ...)) *MockRoutesSDK_UpsertRoute_Call
- func (_c *MockRoutesSDK_UpsertRoute_Call) RunAndReturn(...) *MockRoutesSDK_UpsertRoute_Call
- type MockSDKFactory
- type MockSDKWrapper
- func (m MockSDKWrapper) GetACLCredentialsSDK() sdkops.KongCredentialACLSDK
- func (m MockSDKWrapper) GetAPIKeyCredentialsSDK() sdkops.KongCredentialAPIKeySDK
- func (m MockSDKWrapper) GetBasicAuthCredentialsSDK() sdkops.KongCredentialBasicAuthSDK
- func (m MockSDKWrapper) GetCACertificatesSDK() sdkops.CACertificatesSDK
- func (m MockSDKWrapper) GetCertificatesSDK() sdkops.CertificatesSDK
- func (m MockSDKWrapper) GetConsumerGroupsSDK() sdkops.ConsumerGroupSDK
- func (m MockSDKWrapper) GetConsumersSDK() sdkops.ConsumersSDK
- func (m MockSDKWrapper) GetControlPlaneGroupSDK() sdkops.ControlPlaneGroupSDK
- func (m MockSDKWrapper) GetControlPlaneSDK() sdkops.ControlPlaneSDK
- func (m MockSDKWrapper) GetDataPlaneCertificatesSDK() sdkops.DataPlaneClientCertificatesSDK
- func (m MockSDKWrapper) GetHMACCredentialsSDK() sdkops.KongCredentialHMACSDK
- func (m MockSDKWrapper) GetJWTCredentialsSDK() sdkops.KongCredentialJWTSDK
- func (m MockSDKWrapper) GetKeySetsSDK() sdkops.KeySetsSDK
- func (m MockSDKWrapper) GetKeysSDK() sdkops.KeysSDK
- func (m MockSDKWrapper) GetMeSDK() sdkops.MeSDK
- func (m MockSDKWrapper) GetPluginSDK() sdkops.PluginSDK
- func (m MockSDKWrapper) GetRoutesSDK() sdkops.RoutesSDK
- func (m MockSDKWrapper) GetSNIsSDK() sdkops.SNIsSDK
- func (m MockSDKWrapper) GetServicesSDK() sdkops.ServicesSDK
- func (m MockSDKWrapper) GetTargetsSDK() sdkops.TargetsSDK
- func (m MockSDKWrapper) GetUpstreamsSDK() sdkops.UpstreamsSDK
- func (m MockSDKWrapper) GetVaultSDK() sdkops.VaultSDK
- type MockSNIsSDK
- func (_m *MockSNIsSDK) CreateSniWithCertificate(_a0 context.Context, _a1 operations.CreateSniWithCertificateRequest, ...) (*operations.CreateSniWithCertificateResponse, error)
- func (_m *MockSNIsSDK) DeleteSniWithCertificate(ctx context.Context, request operations.DeleteSniWithCertificateRequest, ...) (*operations.DeleteSniWithCertificateResponse, error)
- func (_m *MockSNIsSDK) EXPECT() *MockSNIsSDK_Expecter
- func (_m *MockSNIsSDK) ListSni(ctx context.Context, request operations.ListSniRequest, ...) (*operations.ListSniResponse, error)
- func (_m *MockSNIsSDK) UpsertSniWithCertificate(ctx context.Context, request operations.UpsertSniWithCertificateRequest, ...) (*operations.UpsertSniWithCertificateResponse, error)
- type MockSNIsSDK_CreateSniWithCertificate_Call
- func (_c *MockSNIsSDK_CreateSniWithCertificate_Call) Return(_a0 *operations.CreateSniWithCertificateResponse, _a1 error) *MockSNIsSDK_CreateSniWithCertificate_Call
- func (_c *MockSNIsSDK_CreateSniWithCertificate_Call) Run(...) *MockSNIsSDK_CreateSniWithCertificate_Call
- func (_c *MockSNIsSDK_CreateSniWithCertificate_Call) RunAndReturn(...) *MockSNIsSDK_CreateSniWithCertificate_Call
- type MockSNIsSDK_DeleteSniWithCertificate_Call
- func (_c *MockSNIsSDK_DeleteSniWithCertificate_Call) Return(_a0 *operations.DeleteSniWithCertificateResponse, _a1 error) *MockSNIsSDK_DeleteSniWithCertificate_Call
- func (_c *MockSNIsSDK_DeleteSniWithCertificate_Call) Run(...) *MockSNIsSDK_DeleteSniWithCertificate_Call
- func (_c *MockSNIsSDK_DeleteSniWithCertificate_Call) RunAndReturn(...) *MockSNIsSDK_DeleteSniWithCertificate_Call
- type MockSNIsSDK_Expecter
- func (_e *MockSNIsSDK_Expecter) CreateSniWithCertificate(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockSNIsSDK_CreateSniWithCertificate_Call
- func (_e *MockSNIsSDK_Expecter) DeleteSniWithCertificate(ctx interface{}, request interface{}, opts ...interface{}) *MockSNIsSDK_DeleteSniWithCertificate_Call
- func (_e *MockSNIsSDK_Expecter) ListSni(ctx interface{}, request interface{}, opts ...interface{}) *MockSNIsSDK_ListSni_Call
- func (_e *MockSNIsSDK_Expecter) UpsertSniWithCertificate(ctx interface{}, request interface{}, opts ...interface{}) *MockSNIsSDK_UpsertSniWithCertificate_Call
- type MockSNIsSDK_ListSni_Call
- func (_c *MockSNIsSDK_ListSni_Call) Return(_a0 *operations.ListSniResponse, _a1 error) *MockSNIsSDK_ListSni_Call
- func (_c *MockSNIsSDK_ListSni_Call) Run(run func(ctx context.Context, request operations.ListSniRequest, ...)) *MockSNIsSDK_ListSni_Call
- func (_c *MockSNIsSDK_ListSni_Call) RunAndReturn(...) *MockSNIsSDK_ListSni_Call
- type MockSNIsSDK_UpsertSniWithCertificate_Call
- func (_c *MockSNIsSDK_UpsertSniWithCertificate_Call) Return(_a0 *operations.UpsertSniWithCertificateResponse, _a1 error) *MockSNIsSDK_UpsertSniWithCertificate_Call
- func (_c *MockSNIsSDK_UpsertSniWithCertificate_Call) Run(...) *MockSNIsSDK_UpsertSniWithCertificate_Call
- func (_c *MockSNIsSDK_UpsertSniWithCertificate_Call) RunAndReturn(...) *MockSNIsSDK_UpsertSniWithCertificate_Call
- type MockServicesSDK
- func (_m *MockServicesSDK) CreateService(ctx context.Context, controlPlaneID string, service components.ServiceInput, ...) (*operations.CreateServiceResponse, error)
- func (_m *MockServicesSDK) DeleteService(ctx context.Context, controlPlaneID string, serviceID string, ...) (*operations.DeleteServiceResponse, error)
- func (_m *MockServicesSDK) EXPECT() *MockServicesSDK_Expecter
- func (_m *MockServicesSDK) ListService(ctx context.Context, request operations.ListServiceRequest, ...) (*operations.ListServiceResponse, error)
- func (_m *MockServicesSDK) UpsertService(ctx context.Context, req operations.UpsertServiceRequest, ...) (*operations.UpsertServiceResponse, error)
- type MockServicesSDK_CreateService_Call
- func (_c *MockServicesSDK_CreateService_Call) Return(_a0 *operations.CreateServiceResponse, _a1 error) *MockServicesSDK_CreateService_Call
- func (_c *MockServicesSDK_CreateService_Call) Run(...) *MockServicesSDK_CreateService_Call
- func (_c *MockServicesSDK_CreateService_Call) RunAndReturn(...) *MockServicesSDK_CreateService_Call
- type MockServicesSDK_DeleteService_Call
- func (_c *MockServicesSDK_DeleteService_Call) Return(_a0 *operations.DeleteServiceResponse, _a1 error) *MockServicesSDK_DeleteService_Call
- func (_c *MockServicesSDK_DeleteService_Call) Run(run func(ctx context.Context, controlPlaneID string, serviceID string, ...)) *MockServicesSDK_DeleteService_Call
- func (_c *MockServicesSDK_DeleteService_Call) RunAndReturn(...) *MockServicesSDK_DeleteService_Call
- type MockServicesSDK_Expecter
- func (_e *MockServicesSDK_Expecter) CreateService(ctx interface{}, controlPlaneID interface{}, service interface{}, ...) *MockServicesSDK_CreateService_Call
- func (_e *MockServicesSDK_Expecter) DeleteService(ctx interface{}, controlPlaneID interface{}, serviceID interface{}, ...) *MockServicesSDK_DeleteService_Call
- func (_e *MockServicesSDK_Expecter) ListService(ctx interface{}, request interface{}, opts ...interface{}) *MockServicesSDK_ListService_Call
- func (_e *MockServicesSDK_Expecter) UpsertService(ctx interface{}, req interface{}, opts ...interface{}) *MockServicesSDK_UpsertService_Call
- type MockServicesSDK_ListService_Call
- func (_c *MockServicesSDK_ListService_Call) Return(_a0 *operations.ListServiceResponse, _a1 error) *MockServicesSDK_ListService_Call
- func (_c *MockServicesSDK_ListService_Call) Run(run func(ctx context.Context, request operations.ListServiceRequest, ...)) *MockServicesSDK_ListService_Call
- func (_c *MockServicesSDK_ListService_Call) RunAndReturn(...) *MockServicesSDK_ListService_Call
- type MockServicesSDK_UpsertService_Call
- func (_c *MockServicesSDK_UpsertService_Call) Return(_a0 *operations.UpsertServiceResponse, _a1 error) *MockServicesSDK_UpsertService_Call
- func (_c *MockServicesSDK_UpsertService_Call) Run(run func(ctx context.Context, req operations.UpsertServiceRequest, ...)) *MockServicesSDK_UpsertService_Call
- func (_c *MockServicesSDK_UpsertService_Call) RunAndReturn(...) *MockServicesSDK_UpsertService_Call
- type MockTargetsSDK
- func (_m *MockTargetsSDK) CreateTargetWithUpstream(ctx context.Context, req operations.CreateTargetWithUpstreamRequest, ...) (*operations.CreateTargetWithUpstreamResponse, error)
- func (_m *MockTargetsSDK) DeleteTargetWithUpstream(ctx context.Context, req operations.DeleteTargetWithUpstreamRequest, ...) (*operations.DeleteTargetWithUpstreamResponse, error)
- func (_m *MockTargetsSDK) EXPECT() *MockTargetsSDK_Expecter
- func (_m *MockTargetsSDK) ListTargetWithUpstream(ctx context.Context, request operations.ListTargetWithUpstreamRequest, ...) (*operations.ListTargetWithUpstreamResponse, error)
- func (_m *MockTargetsSDK) UpsertTargetWithUpstream(ctx context.Context, req operations.UpsertTargetWithUpstreamRequest, ...) (*operations.UpsertTargetWithUpstreamResponse, error)
- type MockTargetsSDK_CreateTargetWithUpstream_Call
- func (_c *MockTargetsSDK_CreateTargetWithUpstream_Call) Return(_a0 *operations.CreateTargetWithUpstreamResponse, _a1 error) *MockTargetsSDK_CreateTargetWithUpstream_Call
- func (_c *MockTargetsSDK_CreateTargetWithUpstream_Call) Run(...) *MockTargetsSDK_CreateTargetWithUpstream_Call
- func (_c *MockTargetsSDK_CreateTargetWithUpstream_Call) RunAndReturn(...) *MockTargetsSDK_CreateTargetWithUpstream_Call
- type MockTargetsSDK_DeleteTargetWithUpstream_Call
- func (_c *MockTargetsSDK_DeleteTargetWithUpstream_Call) Return(_a0 *operations.DeleteTargetWithUpstreamResponse, _a1 error) *MockTargetsSDK_DeleteTargetWithUpstream_Call
- func (_c *MockTargetsSDK_DeleteTargetWithUpstream_Call) Run(...) *MockTargetsSDK_DeleteTargetWithUpstream_Call
- func (_c *MockTargetsSDK_DeleteTargetWithUpstream_Call) RunAndReturn(...) *MockTargetsSDK_DeleteTargetWithUpstream_Call
- type MockTargetsSDK_Expecter
- func (_e *MockTargetsSDK_Expecter) CreateTargetWithUpstream(ctx interface{}, req interface{}, opts ...interface{}) *MockTargetsSDK_CreateTargetWithUpstream_Call
- func (_e *MockTargetsSDK_Expecter) DeleteTargetWithUpstream(ctx interface{}, req interface{}, opts ...interface{}) *MockTargetsSDK_DeleteTargetWithUpstream_Call
- func (_e *MockTargetsSDK_Expecter) ListTargetWithUpstream(ctx interface{}, request interface{}, opts ...interface{}) *MockTargetsSDK_ListTargetWithUpstream_Call
- func (_e *MockTargetsSDK_Expecter) UpsertTargetWithUpstream(ctx interface{}, req interface{}, opts ...interface{}) *MockTargetsSDK_UpsertTargetWithUpstream_Call
- type MockTargetsSDK_ListTargetWithUpstream_Call
- func (_c *MockTargetsSDK_ListTargetWithUpstream_Call) Return(_a0 *operations.ListTargetWithUpstreamResponse, _a1 error) *MockTargetsSDK_ListTargetWithUpstream_Call
- func (_c *MockTargetsSDK_ListTargetWithUpstream_Call) Run(...) *MockTargetsSDK_ListTargetWithUpstream_Call
- func (_c *MockTargetsSDK_ListTargetWithUpstream_Call) RunAndReturn(...) *MockTargetsSDK_ListTargetWithUpstream_Call
- type MockTargetsSDK_UpsertTargetWithUpstream_Call
- func (_c *MockTargetsSDK_UpsertTargetWithUpstream_Call) Return(_a0 *operations.UpsertTargetWithUpstreamResponse, _a1 error) *MockTargetsSDK_UpsertTargetWithUpstream_Call
- func (_c *MockTargetsSDK_UpsertTargetWithUpstream_Call) Run(...) *MockTargetsSDK_UpsertTargetWithUpstream_Call
- func (_c *MockTargetsSDK_UpsertTargetWithUpstream_Call) RunAndReturn(...) *MockTargetsSDK_UpsertTargetWithUpstream_Call
- type MockUpstreamsSDK
- func (_m *MockUpstreamsSDK) CreateUpstream(ctx context.Context, controlPlaneID string, upstream components.UpstreamInput, ...) (*operations.CreateUpstreamResponse, error)
- func (_m *MockUpstreamsSDK) DeleteUpstream(ctx context.Context, controlPlaneID string, upstreamID string, ...) (*operations.DeleteUpstreamResponse, error)
- func (_m *MockUpstreamsSDK) EXPECT() *MockUpstreamsSDK_Expecter
- func (_m *MockUpstreamsSDK) ListUpstream(ctx context.Context, request operations.ListUpstreamRequest, ...) (*operations.ListUpstreamResponse, error)
- func (_m *MockUpstreamsSDK) UpsertUpstream(ctx context.Context, req operations.UpsertUpstreamRequest, ...) (*operations.UpsertUpstreamResponse, error)
- type MockUpstreamsSDK_CreateUpstream_Call
- func (_c *MockUpstreamsSDK_CreateUpstream_Call) Return(_a0 *operations.CreateUpstreamResponse, _a1 error) *MockUpstreamsSDK_CreateUpstream_Call
- func (_c *MockUpstreamsSDK_CreateUpstream_Call) Run(...) *MockUpstreamsSDK_CreateUpstream_Call
- func (_c *MockUpstreamsSDK_CreateUpstream_Call) RunAndReturn(...) *MockUpstreamsSDK_CreateUpstream_Call
- type MockUpstreamsSDK_DeleteUpstream_Call
- func (_c *MockUpstreamsSDK_DeleteUpstream_Call) Return(_a0 *operations.DeleteUpstreamResponse, _a1 error) *MockUpstreamsSDK_DeleteUpstream_Call
- func (_c *MockUpstreamsSDK_DeleteUpstream_Call) Run(run func(ctx context.Context, controlPlaneID string, upstreamID string, ...)) *MockUpstreamsSDK_DeleteUpstream_Call
- func (_c *MockUpstreamsSDK_DeleteUpstream_Call) RunAndReturn(...) *MockUpstreamsSDK_DeleteUpstream_Call
- type MockUpstreamsSDK_Expecter
- func (_e *MockUpstreamsSDK_Expecter) CreateUpstream(ctx interface{}, controlPlaneID interface{}, upstream interface{}, ...) *MockUpstreamsSDK_CreateUpstream_Call
- func (_e *MockUpstreamsSDK_Expecter) DeleteUpstream(ctx interface{}, controlPlaneID interface{}, upstreamID interface{}, ...) *MockUpstreamsSDK_DeleteUpstream_Call
- func (_e *MockUpstreamsSDK_Expecter) ListUpstream(ctx interface{}, request interface{}, opts ...interface{}) *MockUpstreamsSDK_ListUpstream_Call
- func (_e *MockUpstreamsSDK_Expecter) UpsertUpstream(ctx interface{}, req interface{}, opts ...interface{}) *MockUpstreamsSDK_UpsertUpstream_Call
- type MockUpstreamsSDK_ListUpstream_Call
- func (_c *MockUpstreamsSDK_ListUpstream_Call) Return(_a0 *operations.ListUpstreamResponse, _a1 error) *MockUpstreamsSDK_ListUpstream_Call
- func (_c *MockUpstreamsSDK_ListUpstream_Call) Run(run func(ctx context.Context, request operations.ListUpstreamRequest, ...)) *MockUpstreamsSDK_ListUpstream_Call
- func (_c *MockUpstreamsSDK_ListUpstream_Call) RunAndReturn(...) *MockUpstreamsSDK_ListUpstream_Call
- type MockUpstreamsSDK_UpsertUpstream_Call
- func (_c *MockUpstreamsSDK_UpsertUpstream_Call) Return(_a0 *operations.UpsertUpstreamResponse, _a1 error) *MockUpstreamsSDK_UpsertUpstream_Call
- func (_c *MockUpstreamsSDK_UpsertUpstream_Call) Run(run func(ctx context.Context, req operations.UpsertUpstreamRequest, ...)) *MockUpstreamsSDK_UpsertUpstream_Call
- func (_c *MockUpstreamsSDK_UpsertUpstream_Call) RunAndReturn(...) *MockUpstreamsSDK_UpsertUpstream_Call
- type MockVaultSDK
- func (_m *MockVaultSDK) CreateVault(ctx context.Context, controlPlaneID string, vault components.VaultInput, ...) (*operations.CreateVaultResponse, error)
- func (_m *MockVaultSDK) DeleteVault(ctx context.Context, controlPlaneID string, vaultID string, ...) (*operations.DeleteVaultResponse, error)
- func (_m *MockVaultSDK) EXPECT() *MockVaultSDK_Expecter
- func (_m *MockVaultSDK) ListVault(ctx context.Context, request operations.ListVaultRequest, ...) (*operations.ListVaultResponse, error)
- func (_m *MockVaultSDK) UpsertVault(ctx context.Context, request operations.UpsertVaultRequest, ...) (*operations.UpsertVaultResponse, error)
- type MockVaultSDK_CreateVault_Call
- type MockVaultSDK_DeleteVault_Call
- func (_c *MockVaultSDK_DeleteVault_Call) Return(_a0 *operations.DeleteVaultResponse, _a1 error) *MockVaultSDK_DeleteVault_Call
- func (_c *MockVaultSDK_DeleteVault_Call) Run(run func(ctx context.Context, controlPlaneID string, vaultID string, ...)) *MockVaultSDK_DeleteVault_Call
- func (_c *MockVaultSDK_DeleteVault_Call) RunAndReturn(...) *MockVaultSDK_DeleteVault_Call
- type MockVaultSDK_Expecter
- func (_e *MockVaultSDK_Expecter) CreateVault(ctx interface{}, controlPlaneID interface{}, vault interface{}, ...) *MockVaultSDK_CreateVault_Call
- func (_e *MockVaultSDK_Expecter) DeleteVault(ctx interface{}, controlPlaneID interface{}, vaultID interface{}, ...) *MockVaultSDK_DeleteVault_Call
- func (_e *MockVaultSDK_Expecter) ListVault(ctx interface{}, request interface{}, opts ...interface{}) *MockVaultSDK_ListVault_Call
- func (_e *MockVaultSDK_Expecter) UpsertVault(ctx interface{}, request interface{}, opts ...interface{}) *MockVaultSDK_UpsertVault_Call
- type MockVaultSDK_ListVault_Call
- func (_c *MockVaultSDK_ListVault_Call) Return(_a0 *operations.ListVaultResponse, _a1 error) *MockVaultSDK_ListVault_Call
- func (_c *MockVaultSDK_ListVault_Call) Run(run func(ctx context.Context, request operations.ListVaultRequest, ...)) *MockVaultSDK_ListVault_Call
- func (_c *MockVaultSDK_ListVault_Call) RunAndReturn(...) *MockVaultSDK_ListVault_Call
- type MockVaultSDK_UpsertVault_Call
- func (_c *MockVaultSDK_UpsertVault_Call) Return(_a0 *operations.UpsertVaultResponse, _a1 error) *MockVaultSDK_UpsertVault_Call
- func (_c *MockVaultSDK_UpsertVault_Call) Run(run func(ctx context.Context, request operations.UpsertVaultRequest, ...)) *MockVaultSDK_UpsertVault_Call
- func (_c *MockVaultSDK_UpsertVault_Call) RunAndReturn(...) *MockVaultSDK_UpsertVault_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCACertificatesSDK ¶
MockCACertificatesSDK is an autogenerated mock type for the CACertificatesSDK type
func NewMockCACertificatesSDK ¶
func NewMockCACertificatesSDK(t interface { mock.TestingT Cleanup(func()) }) *MockCACertificatesSDK
NewMockCACertificatesSDK creates a new instance of MockCACertificatesSDK. 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 (*MockCACertificatesSDK) CreateCaCertificate ¶
func (_m *MockCACertificatesSDK) CreateCaCertificate(ctx context.Context, controlPlaneID string, caCertificate components.CACertificateInput, opts ...operations.Option) (*operations.CreateCaCertificateResponse, error)
CreateCaCertificate provides a mock function with given fields: ctx, controlPlaneID, caCertificate, opts
func (*MockCACertificatesSDK) DeleteCaCertificate ¶
func (_m *MockCACertificatesSDK) DeleteCaCertificate(ctx context.Context, controlPlaneID string, caCertificateID string, opts ...operations.Option) (*operations.DeleteCaCertificateResponse, error)
DeleteCaCertificate provides a mock function with given fields: ctx, controlPlaneID, caCertificateID, opts
func (*MockCACertificatesSDK) EXPECT ¶
func (_m *MockCACertificatesSDK) EXPECT() *MockCACertificatesSDK_Expecter
func (*MockCACertificatesSDK) ListCaCertificate ¶
func (_m *MockCACertificatesSDK) ListCaCertificate(ctx context.Context, request operations.ListCaCertificateRequest, opts ...operations.Option) (*operations.ListCaCertificateResponse, error)
ListCaCertificate provides a mock function with given fields: ctx, request, opts
func (*MockCACertificatesSDK) UpsertCaCertificate ¶
func (_m *MockCACertificatesSDK) UpsertCaCertificate(ctx context.Context, request operations.UpsertCaCertificateRequest, opts ...operations.Option) (*operations.UpsertCaCertificateResponse, error)
UpsertCaCertificate provides a mock function with given fields: ctx, request, opts
type MockCACertificatesSDK_CreateCaCertificate_Call ¶
MockCACertificatesSDK_CreateCaCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCaCertificate'
func (*MockCACertificatesSDK_CreateCaCertificate_Call) Return ¶
func (_c *MockCACertificatesSDK_CreateCaCertificate_Call) Return(_a0 *operations.CreateCaCertificateResponse, _a1 error) *MockCACertificatesSDK_CreateCaCertificate_Call
func (*MockCACertificatesSDK_CreateCaCertificate_Call) Run ¶
func (_c *MockCACertificatesSDK_CreateCaCertificate_Call) Run(run func(ctx context.Context, controlPlaneID string, caCertificate components.CACertificateInput, opts ...operations.Option)) *MockCACertificatesSDK_CreateCaCertificate_Call
func (*MockCACertificatesSDK_CreateCaCertificate_Call) RunAndReturn ¶
func (_c *MockCACertificatesSDK_CreateCaCertificate_Call) RunAndReturn(run func(context.Context, string, components.CACertificateInput, ...operations.Option) (*operations.CreateCaCertificateResponse, error)) *MockCACertificatesSDK_CreateCaCertificate_Call
type MockCACertificatesSDK_DeleteCaCertificate_Call ¶
MockCACertificatesSDK_DeleteCaCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCaCertificate'
func (*MockCACertificatesSDK_DeleteCaCertificate_Call) Return ¶
func (_c *MockCACertificatesSDK_DeleteCaCertificate_Call) Return(_a0 *operations.DeleteCaCertificateResponse, _a1 error) *MockCACertificatesSDK_DeleteCaCertificate_Call
func (*MockCACertificatesSDK_DeleteCaCertificate_Call) Run ¶
func (_c *MockCACertificatesSDK_DeleteCaCertificate_Call) Run(run func(ctx context.Context, controlPlaneID string, caCertificateID string, opts ...operations.Option)) *MockCACertificatesSDK_DeleteCaCertificate_Call
func (*MockCACertificatesSDK_DeleteCaCertificate_Call) RunAndReturn ¶
func (_c *MockCACertificatesSDK_DeleteCaCertificate_Call) RunAndReturn(run func(context.Context, string, string, ...operations.Option) (*operations.DeleteCaCertificateResponse, error)) *MockCACertificatesSDK_DeleteCaCertificate_Call
type MockCACertificatesSDK_Expecter ¶
type MockCACertificatesSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCACertificatesSDK_Expecter) CreateCaCertificate ¶
func (_e *MockCACertificatesSDK_Expecter) CreateCaCertificate(ctx interface{}, controlPlaneID interface{}, caCertificate interface{}, opts ...interface{}) *MockCACertificatesSDK_CreateCaCertificate_Call
CreateCaCertificate is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- caCertificate components.CACertificateInput
- opts ...operations.Option
func (*MockCACertificatesSDK_Expecter) DeleteCaCertificate ¶
func (_e *MockCACertificatesSDK_Expecter) DeleteCaCertificate(ctx interface{}, controlPlaneID interface{}, caCertificateID interface{}, opts ...interface{}) *MockCACertificatesSDK_DeleteCaCertificate_Call
DeleteCaCertificate is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- caCertificateID string
- opts ...operations.Option
func (*MockCACertificatesSDK_Expecter) ListCaCertificate ¶
func (_e *MockCACertificatesSDK_Expecter) ListCaCertificate(ctx interface{}, request interface{}, opts ...interface{}) *MockCACertificatesSDK_ListCaCertificate_Call
ListCaCertificate is a helper method to define mock.On call
- ctx context.Context
- request operations.ListCaCertificateRequest
- opts ...operations.Option
func (*MockCACertificatesSDK_Expecter) UpsertCaCertificate ¶
func (_e *MockCACertificatesSDK_Expecter) UpsertCaCertificate(ctx interface{}, request interface{}, opts ...interface{}) *MockCACertificatesSDK_UpsertCaCertificate_Call
UpsertCaCertificate is a helper method to define mock.On call
- ctx context.Context
- request operations.UpsertCaCertificateRequest
- opts ...operations.Option
type MockCACertificatesSDK_ListCaCertificate_Call ¶
MockCACertificatesSDK_ListCaCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListCaCertificate'
func (*MockCACertificatesSDK_ListCaCertificate_Call) Return ¶
func (_c *MockCACertificatesSDK_ListCaCertificate_Call) Return(_a0 *operations.ListCaCertificateResponse, _a1 error) *MockCACertificatesSDK_ListCaCertificate_Call
func (*MockCACertificatesSDK_ListCaCertificate_Call) Run ¶
func (_c *MockCACertificatesSDK_ListCaCertificate_Call) Run(run func(ctx context.Context, request operations.ListCaCertificateRequest, opts ...operations.Option)) *MockCACertificatesSDK_ListCaCertificate_Call
func (*MockCACertificatesSDK_ListCaCertificate_Call) RunAndReturn ¶
func (_c *MockCACertificatesSDK_ListCaCertificate_Call) RunAndReturn(run func(context.Context, operations.ListCaCertificateRequest, ...operations.Option) (*operations.ListCaCertificateResponse, error)) *MockCACertificatesSDK_ListCaCertificate_Call
type MockCACertificatesSDK_UpsertCaCertificate_Call ¶
MockCACertificatesSDK_UpsertCaCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertCaCertificate'
func (*MockCACertificatesSDK_UpsertCaCertificate_Call) Return ¶
func (_c *MockCACertificatesSDK_UpsertCaCertificate_Call) Return(_a0 *operations.UpsertCaCertificateResponse, _a1 error) *MockCACertificatesSDK_UpsertCaCertificate_Call
func (*MockCACertificatesSDK_UpsertCaCertificate_Call) Run ¶
func (_c *MockCACertificatesSDK_UpsertCaCertificate_Call) Run(run func(ctx context.Context, request operations.UpsertCaCertificateRequest, opts ...operations.Option)) *MockCACertificatesSDK_UpsertCaCertificate_Call
func (*MockCACertificatesSDK_UpsertCaCertificate_Call) RunAndReturn ¶
func (_c *MockCACertificatesSDK_UpsertCaCertificate_Call) RunAndReturn(run func(context.Context, operations.UpsertCaCertificateRequest, ...operations.Option) (*operations.UpsertCaCertificateResponse, error)) *MockCACertificatesSDK_UpsertCaCertificate_Call
type MockCertificatesSDK ¶
MockCertificatesSDK is an autogenerated mock type for the CertificatesSDK type
func NewMockCertificatesSDK ¶
func NewMockCertificatesSDK(t interface { mock.TestingT Cleanup(func()) }) *MockCertificatesSDK
NewMockCertificatesSDK creates a new instance of MockCertificatesSDK. 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 (*MockCertificatesSDK) CreateCertificate ¶
func (_m *MockCertificatesSDK) CreateCertificate(ctx context.Context, controlPlaneID string, certificate components.CertificateInput, opts ...operations.Option) (*operations.CreateCertificateResponse, error)
CreateCertificate provides a mock function with given fields: ctx, controlPlaneID, certificate, opts
func (*MockCertificatesSDK) DeleteCertificate ¶
func (_m *MockCertificatesSDK) DeleteCertificate(ctx context.Context, controlPlaneID string, certificateID string, opts ...operations.Option) (*operations.DeleteCertificateResponse, error)
DeleteCertificate provides a mock function with given fields: ctx, controlPlaneID, certificateID, opts
func (*MockCertificatesSDK) EXPECT ¶
func (_m *MockCertificatesSDK) EXPECT() *MockCertificatesSDK_Expecter
func (*MockCertificatesSDK) ListCertificate ¶
func (_m *MockCertificatesSDK) ListCertificate(ctx context.Context, request operations.ListCertificateRequest, opts ...operations.Option) (*operations.ListCertificateResponse, error)
ListCertificate provides a mock function with given fields: ctx, request, opts
func (*MockCertificatesSDK) UpsertCertificate ¶
func (_m *MockCertificatesSDK) UpsertCertificate(ctx context.Context, request operations.UpsertCertificateRequest, opts ...operations.Option) (*operations.UpsertCertificateResponse, error)
UpsertCertificate provides a mock function with given fields: ctx, request, opts
type MockCertificatesSDK_CreateCertificate_Call ¶
MockCertificatesSDK_CreateCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCertificate'
func (*MockCertificatesSDK_CreateCertificate_Call) Return ¶
func (_c *MockCertificatesSDK_CreateCertificate_Call) Return(_a0 *operations.CreateCertificateResponse, _a1 error) *MockCertificatesSDK_CreateCertificate_Call
func (*MockCertificatesSDK_CreateCertificate_Call) Run ¶
func (_c *MockCertificatesSDK_CreateCertificate_Call) Run(run func(ctx context.Context, controlPlaneID string, certificate components.CertificateInput, opts ...operations.Option)) *MockCertificatesSDK_CreateCertificate_Call
func (*MockCertificatesSDK_CreateCertificate_Call) RunAndReturn ¶
func (_c *MockCertificatesSDK_CreateCertificate_Call) RunAndReturn(run func(context.Context, string, components.CertificateInput, ...operations.Option) (*operations.CreateCertificateResponse, error)) *MockCertificatesSDK_CreateCertificate_Call
type MockCertificatesSDK_DeleteCertificate_Call ¶
MockCertificatesSDK_DeleteCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCertificate'
func (*MockCertificatesSDK_DeleteCertificate_Call) Return ¶
func (_c *MockCertificatesSDK_DeleteCertificate_Call) Return(_a0 *operations.DeleteCertificateResponse, _a1 error) *MockCertificatesSDK_DeleteCertificate_Call
func (*MockCertificatesSDK_DeleteCertificate_Call) Run ¶
func (_c *MockCertificatesSDK_DeleteCertificate_Call) Run(run func(ctx context.Context, controlPlaneID string, certificateID string, opts ...operations.Option)) *MockCertificatesSDK_DeleteCertificate_Call
func (*MockCertificatesSDK_DeleteCertificate_Call) RunAndReturn ¶
func (_c *MockCertificatesSDK_DeleteCertificate_Call) RunAndReturn(run func(context.Context, string, string, ...operations.Option) (*operations.DeleteCertificateResponse, error)) *MockCertificatesSDK_DeleteCertificate_Call
type MockCertificatesSDK_Expecter ¶
type MockCertificatesSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCertificatesSDK_Expecter) CreateCertificate ¶
func (_e *MockCertificatesSDK_Expecter) CreateCertificate(ctx interface{}, controlPlaneID interface{}, certificate interface{}, opts ...interface{}) *MockCertificatesSDK_CreateCertificate_Call
CreateCertificate is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- certificate components.CertificateInput
- opts ...operations.Option
func (*MockCertificatesSDK_Expecter) DeleteCertificate ¶
func (_e *MockCertificatesSDK_Expecter) DeleteCertificate(ctx interface{}, controlPlaneID interface{}, certificateID interface{}, opts ...interface{}) *MockCertificatesSDK_DeleteCertificate_Call
DeleteCertificate is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- certificateID string
- opts ...operations.Option
func (*MockCertificatesSDK_Expecter) ListCertificate ¶
func (_e *MockCertificatesSDK_Expecter) ListCertificate(ctx interface{}, request interface{}, opts ...interface{}) *MockCertificatesSDK_ListCertificate_Call
ListCertificate is a helper method to define mock.On call
- ctx context.Context
- request operations.ListCertificateRequest
- opts ...operations.Option
func (*MockCertificatesSDK_Expecter) UpsertCertificate ¶
func (_e *MockCertificatesSDK_Expecter) UpsertCertificate(ctx interface{}, request interface{}, opts ...interface{}) *MockCertificatesSDK_UpsertCertificate_Call
UpsertCertificate is a helper method to define mock.On call
- ctx context.Context
- request operations.UpsertCertificateRequest
- opts ...operations.Option
type MockCertificatesSDK_ListCertificate_Call ¶
MockCertificatesSDK_ListCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListCertificate'
func (*MockCertificatesSDK_ListCertificate_Call) Return ¶
func (_c *MockCertificatesSDK_ListCertificate_Call) Return(_a0 *operations.ListCertificateResponse, _a1 error) *MockCertificatesSDK_ListCertificate_Call
func (*MockCertificatesSDK_ListCertificate_Call) Run ¶
func (_c *MockCertificatesSDK_ListCertificate_Call) Run(run func(ctx context.Context, request operations.ListCertificateRequest, opts ...operations.Option)) *MockCertificatesSDK_ListCertificate_Call
func (*MockCertificatesSDK_ListCertificate_Call) RunAndReturn ¶
func (_c *MockCertificatesSDK_ListCertificate_Call) RunAndReturn(run func(context.Context, operations.ListCertificateRequest, ...operations.Option) (*operations.ListCertificateResponse, error)) *MockCertificatesSDK_ListCertificate_Call
type MockCertificatesSDK_UpsertCertificate_Call ¶
MockCertificatesSDK_UpsertCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertCertificate'
func (*MockCertificatesSDK_UpsertCertificate_Call) Return ¶
func (_c *MockCertificatesSDK_UpsertCertificate_Call) Return(_a0 *operations.UpsertCertificateResponse, _a1 error) *MockCertificatesSDK_UpsertCertificate_Call
func (*MockCertificatesSDK_UpsertCertificate_Call) Run ¶
func (_c *MockCertificatesSDK_UpsertCertificate_Call) Run(run func(ctx context.Context, request operations.UpsertCertificateRequest, opts ...operations.Option)) *MockCertificatesSDK_UpsertCertificate_Call
func (*MockCertificatesSDK_UpsertCertificate_Call) RunAndReturn ¶
func (_c *MockCertificatesSDK_UpsertCertificate_Call) RunAndReturn(run func(context.Context, operations.UpsertCertificateRequest, ...operations.Option) (*operations.UpsertCertificateResponse, error)) *MockCertificatesSDK_UpsertCertificate_Call
type MockConsumerGroupSDK ¶
MockConsumerGroupSDK is an autogenerated mock type for the ConsumerGroupSDK type
func NewMockConsumerGroupSDK ¶
func NewMockConsumerGroupSDK(t interface { mock.TestingT Cleanup(func()) }) *MockConsumerGroupSDK
NewMockConsumerGroupSDK creates a new instance of MockConsumerGroupSDK. 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 (*MockConsumerGroupSDK) AddConsumerToGroup ¶
func (_m *MockConsumerGroupSDK) AddConsumerToGroup(ctx context.Context, request operations.AddConsumerToGroupRequest, opts ...operations.Option) (*operations.AddConsumerToGroupResponse, error)
AddConsumerToGroup provides a mock function with given fields: ctx, request, opts
func (*MockConsumerGroupSDK) CreateConsumerGroup ¶
func (_m *MockConsumerGroupSDK) CreateConsumerGroup(ctx context.Context, controlPlaneID string, consumerInput components.ConsumerGroupInput, opts ...operations.Option) (*operations.CreateConsumerGroupResponse, error)
CreateConsumerGroup provides a mock function with given fields: ctx, controlPlaneID, consumerInput, opts
func (*MockConsumerGroupSDK) DeleteConsumerGroup ¶
func (_m *MockConsumerGroupSDK) DeleteConsumerGroup(ctx context.Context, controlPlaneID string, consumerID string, opts ...operations.Option) (*operations.DeleteConsumerGroupResponse, error)
DeleteConsumerGroup provides a mock function with given fields: ctx, controlPlaneID, consumerID, opts
func (*MockConsumerGroupSDK) EXPECT ¶
func (_m *MockConsumerGroupSDK) EXPECT() *MockConsumerGroupSDK_Expecter
func (*MockConsumerGroupSDK) ListConsumerGroup ¶
func (_m *MockConsumerGroupSDK) ListConsumerGroup(ctx context.Context, request operations.ListConsumerGroupRequest, opts ...operations.Option) (*operations.ListConsumerGroupResponse, error)
ListConsumerGroup provides a mock function with given fields: ctx, request, opts
func (*MockConsumerGroupSDK) ListConsumerGroupsForConsumer ¶
func (_m *MockConsumerGroupSDK) ListConsumerGroupsForConsumer(ctx context.Context, request operations.ListConsumerGroupsForConsumerRequest, opts ...operations.Option) (*operations.ListConsumerGroupsForConsumerResponse, error)
ListConsumerGroupsForConsumer provides a mock function with given fields: ctx, request, opts
func (*MockConsumerGroupSDK) RemoveConsumerFromGroup ¶
func (_m *MockConsumerGroupSDK) RemoveConsumerFromGroup(ctx context.Context, request operations.RemoveConsumerFromGroupRequest, opts ...operations.Option) (*operations.RemoveConsumerFromGroupResponse, error)
RemoveConsumerFromGroup provides a mock function with given fields: ctx, request, opts
func (*MockConsumerGroupSDK) UpsertConsumerGroup ¶
func (_m *MockConsumerGroupSDK) UpsertConsumerGroup(ctx context.Context, upsertConsumerRequest operations.UpsertConsumerGroupRequest, opts ...operations.Option) (*operations.UpsertConsumerGroupResponse, error)
UpsertConsumerGroup provides a mock function with given fields: ctx, upsertConsumerRequest, opts
type MockConsumerGroupSDK_AddConsumerToGroup_Call ¶
MockConsumerGroupSDK_AddConsumerToGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddConsumerToGroup'
func (*MockConsumerGroupSDK_AddConsumerToGroup_Call) Return ¶
func (_c *MockConsumerGroupSDK_AddConsumerToGroup_Call) Return(_a0 *operations.AddConsumerToGroupResponse, _a1 error) *MockConsumerGroupSDK_AddConsumerToGroup_Call
func (*MockConsumerGroupSDK_AddConsumerToGroup_Call) Run ¶
func (_c *MockConsumerGroupSDK_AddConsumerToGroup_Call) Run(run func(ctx context.Context, request operations.AddConsumerToGroupRequest, opts ...operations.Option)) *MockConsumerGroupSDK_AddConsumerToGroup_Call
func (*MockConsumerGroupSDK_AddConsumerToGroup_Call) RunAndReturn ¶
func (_c *MockConsumerGroupSDK_AddConsumerToGroup_Call) RunAndReturn(run func(context.Context, operations.AddConsumerToGroupRequest, ...operations.Option) (*operations.AddConsumerToGroupResponse, error)) *MockConsumerGroupSDK_AddConsumerToGroup_Call
type MockConsumerGroupSDK_CreateConsumerGroup_Call ¶
MockConsumerGroupSDK_CreateConsumerGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateConsumerGroup'
func (*MockConsumerGroupSDK_CreateConsumerGroup_Call) Return ¶
func (_c *MockConsumerGroupSDK_CreateConsumerGroup_Call) Return(_a0 *operations.CreateConsumerGroupResponse, _a1 error) *MockConsumerGroupSDK_CreateConsumerGroup_Call
func (*MockConsumerGroupSDK_CreateConsumerGroup_Call) Run ¶
func (_c *MockConsumerGroupSDK_CreateConsumerGroup_Call) Run(run func(ctx context.Context, controlPlaneID string, consumerInput components.ConsumerGroupInput, opts ...operations.Option)) *MockConsumerGroupSDK_CreateConsumerGroup_Call
func (*MockConsumerGroupSDK_CreateConsumerGroup_Call) RunAndReturn ¶
func (_c *MockConsumerGroupSDK_CreateConsumerGroup_Call) RunAndReturn(run func(context.Context, string, components.ConsumerGroupInput, ...operations.Option) (*operations.CreateConsumerGroupResponse, error)) *MockConsumerGroupSDK_CreateConsumerGroup_Call
type MockConsumerGroupSDK_DeleteConsumerGroup_Call ¶
MockConsumerGroupSDK_DeleteConsumerGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteConsumerGroup'
func (*MockConsumerGroupSDK_DeleteConsumerGroup_Call) Return ¶
func (_c *MockConsumerGroupSDK_DeleteConsumerGroup_Call) Return(_a0 *operations.DeleteConsumerGroupResponse, _a1 error) *MockConsumerGroupSDK_DeleteConsumerGroup_Call
func (*MockConsumerGroupSDK_DeleteConsumerGroup_Call) Run ¶
func (_c *MockConsumerGroupSDK_DeleteConsumerGroup_Call) Run(run func(ctx context.Context, controlPlaneID string, consumerID string, opts ...operations.Option)) *MockConsumerGroupSDK_DeleteConsumerGroup_Call
func (*MockConsumerGroupSDK_DeleteConsumerGroup_Call) RunAndReturn ¶
func (_c *MockConsumerGroupSDK_DeleteConsumerGroup_Call) RunAndReturn(run func(context.Context, string, string, ...operations.Option) (*operations.DeleteConsumerGroupResponse, error)) *MockConsumerGroupSDK_DeleteConsumerGroup_Call
type MockConsumerGroupSDK_Expecter ¶
type MockConsumerGroupSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockConsumerGroupSDK_Expecter) AddConsumerToGroup ¶
func (_e *MockConsumerGroupSDK_Expecter) AddConsumerToGroup(ctx interface{}, request interface{}, opts ...interface{}) *MockConsumerGroupSDK_AddConsumerToGroup_Call
AddConsumerToGroup is a helper method to define mock.On call
- ctx context.Context
- request operations.AddConsumerToGroupRequest
- opts ...operations.Option
func (*MockConsumerGroupSDK_Expecter) CreateConsumerGroup ¶
func (_e *MockConsumerGroupSDK_Expecter) CreateConsumerGroup(ctx interface{}, controlPlaneID interface{}, consumerInput interface{}, opts ...interface{}) *MockConsumerGroupSDK_CreateConsumerGroup_Call
CreateConsumerGroup is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- consumerInput components.ConsumerGroupInput
- opts ...operations.Option
func (*MockConsumerGroupSDK_Expecter) DeleteConsumerGroup ¶
func (_e *MockConsumerGroupSDK_Expecter) DeleteConsumerGroup(ctx interface{}, controlPlaneID interface{}, consumerID interface{}, opts ...interface{}) *MockConsumerGroupSDK_DeleteConsumerGroup_Call
DeleteConsumerGroup is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- consumerID string
- opts ...operations.Option
func (*MockConsumerGroupSDK_Expecter) ListConsumerGroup ¶
func (_e *MockConsumerGroupSDK_Expecter) ListConsumerGroup(ctx interface{}, request interface{}, opts ...interface{}) *MockConsumerGroupSDK_ListConsumerGroup_Call
ListConsumerGroup is a helper method to define mock.On call
- ctx context.Context
- request operations.ListConsumerGroupRequest
- opts ...operations.Option
func (*MockConsumerGroupSDK_Expecter) ListConsumerGroupsForConsumer ¶
func (_e *MockConsumerGroupSDK_Expecter) ListConsumerGroupsForConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockConsumerGroupSDK_ListConsumerGroupsForConsumer_Call
ListConsumerGroupsForConsumer is a helper method to define mock.On call
- ctx context.Context
- request operations.ListConsumerGroupsForConsumerRequest
- opts ...operations.Option
func (*MockConsumerGroupSDK_Expecter) RemoveConsumerFromGroup ¶
func (_e *MockConsumerGroupSDK_Expecter) RemoveConsumerFromGroup(ctx interface{}, request interface{}, opts ...interface{}) *MockConsumerGroupSDK_RemoveConsumerFromGroup_Call
RemoveConsumerFromGroup is a helper method to define mock.On call
- ctx context.Context
- request operations.RemoveConsumerFromGroupRequest
- opts ...operations.Option
func (*MockConsumerGroupSDK_Expecter) UpsertConsumerGroup ¶
func (_e *MockConsumerGroupSDK_Expecter) UpsertConsumerGroup(ctx interface{}, upsertConsumerRequest interface{}, opts ...interface{}) *MockConsumerGroupSDK_UpsertConsumerGroup_Call
UpsertConsumerGroup is a helper method to define mock.On call
- ctx context.Context
- upsertConsumerRequest operations.UpsertConsumerGroupRequest
- opts ...operations.Option
type MockConsumerGroupSDK_ListConsumerGroup_Call ¶
MockConsumerGroupSDK_ListConsumerGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListConsumerGroup'
func (*MockConsumerGroupSDK_ListConsumerGroup_Call) Return ¶
func (_c *MockConsumerGroupSDK_ListConsumerGroup_Call) Return(_a0 *operations.ListConsumerGroupResponse, _a1 error) *MockConsumerGroupSDK_ListConsumerGroup_Call
func (*MockConsumerGroupSDK_ListConsumerGroup_Call) Run ¶
func (_c *MockConsumerGroupSDK_ListConsumerGroup_Call) Run(run func(ctx context.Context, request operations.ListConsumerGroupRequest, opts ...operations.Option)) *MockConsumerGroupSDK_ListConsumerGroup_Call
func (*MockConsumerGroupSDK_ListConsumerGroup_Call) RunAndReturn ¶
func (_c *MockConsumerGroupSDK_ListConsumerGroup_Call) RunAndReturn(run func(context.Context, operations.ListConsumerGroupRequest, ...operations.Option) (*operations.ListConsumerGroupResponse, error)) *MockConsumerGroupSDK_ListConsumerGroup_Call
type MockConsumerGroupSDK_ListConsumerGroupsForConsumer_Call ¶
MockConsumerGroupSDK_ListConsumerGroupsForConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListConsumerGroupsForConsumer'
func (*MockConsumerGroupSDK_ListConsumerGroupsForConsumer_Call) Run ¶
func (_c *MockConsumerGroupSDK_ListConsumerGroupsForConsumer_Call) Run(run func(ctx context.Context, request operations.ListConsumerGroupsForConsumerRequest, opts ...operations.Option)) *MockConsumerGroupSDK_ListConsumerGroupsForConsumer_Call
func (*MockConsumerGroupSDK_ListConsumerGroupsForConsumer_Call) RunAndReturn ¶
type MockConsumerGroupSDK_RemoveConsumerFromGroup_Call ¶
MockConsumerGroupSDK_RemoveConsumerFromGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveConsumerFromGroup'
func (*MockConsumerGroupSDK_RemoveConsumerFromGroup_Call) Run ¶
func (_c *MockConsumerGroupSDK_RemoveConsumerFromGroup_Call) Run(run func(ctx context.Context, request operations.RemoveConsumerFromGroupRequest, opts ...operations.Option)) *MockConsumerGroupSDK_RemoveConsumerFromGroup_Call
func (*MockConsumerGroupSDK_RemoveConsumerFromGroup_Call) RunAndReturn ¶
func (_c *MockConsumerGroupSDK_RemoveConsumerFromGroup_Call) RunAndReturn(run func(context.Context, operations.RemoveConsumerFromGroupRequest, ...operations.Option) (*operations.RemoveConsumerFromGroupResponse, error)) *MockConsumerGroupSDK_RemoveConsumerFromGroup_Call
type MockConsumerGroupSDK_UpsertConsumerGroup_Call ¶
MockConsumerGroupSDK_UpsertConsumerGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertConsumerGroup'
func (*MockConsumerGroupSDK_UpsertConsumerGroup_Call) Return ¶
func (_c *MockConsumerGroupSDK_UpsertConsumerGroup_Call) Return(_a0 *operations.UpsertConsumerGroupResponse, _a1 error) *MockConsumerGroupSDK_UpsertConsumerGroup_Call
func (*MockConsumerGroupSDK_UpsertConsumerGroup_Call) Run ¶
func (_c *MockConsumerGroupSDK_UpsertConsumerGroup_Call) Run(run func(ctx context.Context, upsertConsumerRequest operations.UpsertConsumerGroupRequest, opts ...operations.Option)) *MockConsumerGroupSDK_UpsertConsumerGroup_Call
func (*MockConsumerGroupSDK_UpsertConsumerGroup_Call) RunAndReturn ¶
func (_c *MockConsumerGroupSDK_UpsertConsumerGroup_Call) RunAndReturn(run func(context.Context, operations.UpsertConsumerGroupRequest, ...operations.Option) (*operations.UpsertConsumerGroupResponse, error)) *MockConsumerGroupSDK_UpsertConsumerGroup_Call
type MockConsumersSDK ¶
MockConsumersSDK is an autogenerated mock type for the ConsumersSDK type
func NewMockConsumersSDK ¶
func NewMockConsumersSDK(t interface { mock.TestingT Cleanup(func()) }) *MockConsumersSDK
NewMockConsumersSDK creates a new instance of MockConsumersSDK. 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 (*MockConsumersSDK) CreateConsumer ¶
func (_m *MockConsumersSDK) CreateConsumer(ctx context.Context, controlPlaneID string, consumerInput components.ConsumerInput, opts ...operations.Option) (*operations.CreateConsumerResponse, error)
CreateConsumer provides a mock function with given fields: ctx, controlPlaneID, consumerInput, opts
func (*MockConsumersSDK) DeleteConsumer ¶
func (_m *MockConsumersSDK) DeleteConsumer(ctx context.Context, controlPlaneID string, consumerID string, opts ...operations.Option) (*operations.DeleteConsumerResponse, error)
DeleteConsumer provides a mock function with given fields: ctx, controlPlaneID, consumerID, opts
func (*MockConsumersSDK) EXPECT ¶
func (_m *MockConsumersSDK) EXPECT() *MockConsumersSDK_Expecter
func (*MockConsumersSDK) ListConsumer ¶
func (_m *MockConsumersSDK) ListConsumer(ctx context.Context, request operations.ListConsumerRequest, opts ...operations.Option) (*operations.ListConsumerResponse, error)
ListConsumer provides a mock function with given fields: ctx, request, opts
func (*MockConsumersSDK) UpsertConsumer ¶
func (_m *MockConsumersSDK) UpsertConsumer(ctx context.Context, upsertConsumerRequest operations.UpsertConsumerRequest, opts ...operations.Option) (*operations.UpsertConsumerResponse, error)
UpsertConsumer provides a mock function with given fields: ctx, upsertConsumerRequest, opts
type MockConsumersSDK_CreateConsumer_Call ¶
MockConsumersSDK_CreateConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateConsumer'
func (*MockConsumersSDK_CreateConsumer_Call) Return ¶
func (_c *MockConsumersSDK_CreateConsumer_Call) Return(_a0 *operations.CreateConsumerResponse, _a1 error) *MockConsumersSDK_CreateConsumer_Call
func (*MockConsumersSDK_CreateConsumer_Call) Run ¶
func (_c *MockConsumersSDK_CreateConsumer_Call) Run(run func(ctx context.Context, controlPlaneID string, consumerInput components.ConsumerInput, opts ...operations.Option)) *MockConsumersSDK_CreateConsumer_Call
func (*MockConsumersSDK_CreateConsumer_Call) RunAndReturn ¶
func (_c *MockConsumersSDK_CreateConsumer_Call) RunAndReturn(run func(context.Context, string, components.ConsumerInput, ...operations.Option) (*operations.CreateConsumerResponse, error)) *MockConsumersSDK_CreateConsumer_Call
type MockConsumersSDK_DeleteConsumer_Call ¶
MockConsumersSDK_DeleteConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteConsumer'
func (*MockConsumersSDK_DeleteConsumer_Call) Return ¶
func (_c *MockConsumersSDK_DeleteConsumer_Call) Return(_a0 *operations.DeleteConsumerResponse, _a1 error) *MockConsumersSDK_DeleteConsumer_Call
func (*MockConsumersSDK_DeleteConsumer_Call) Run ¶
func (_c *MockConsumersSDK_DeleteConsumer_Call) Run(run func(ctx context.Context, controlPlaneID string, consumerID string, opts ...operations.Option)) *MockConsumersSDK_DeleteConsumer_Call
func (*MockConsumersSDK_DeleteConsumer_Call) RunAndReturn ¶
func (_c *MockConsumersSDK_DeleteConsumer_Call) RunAndReturn(run func(context.Context, string, string, ...operations.Option) (*operations.DeleteConsumerResponse, error)) *MockConsumersSDK_DeleteConsumer_Call
type MockConsumersSDK_Expecter ¶
type MockConsumersSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockConsumersSDK_Expecter) CreateConsumer ¶
func (_e *MockConsumersSDK_Expecter) CreateConsumer(ctx interface{}, controlPlaneID interface{}, consumerInput interface{}, opts ...interface{}) *MockConsumersSDK_CreateConsumer_Call
CreateConsumer is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- consumerInput components.ConsumerInput
- opts ...operations.Option
func (*MockConsumersSDK_Expecter) DeleteConsumer ¶
func (_e *MockConsumersSDK_Expecter) DeleteConsumer(ctx interface{}, controlPlaneID interface{}, consumerID interface{}, opts ...interface{}) *MockConsumersSDK_DeleteConsumer_Call
DeleteConsumer is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- consumerID string
- opts ...operations.Option
func (*MockConsumersSDK_Expecter) ListConsumer ¶
func (_e *MockConsumersSDK_Expecter) ListConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockConsumersSDK_ListConsumer_Call
ListConsumer is a helper method to define mock.On call
- ctx context.Context
- request operations.ListConsumerRequest
- opts ...operations.Option
func (*MockConsumersSDK_Expecter) UpsertConsumer ¶
func (_e *MockConsumersSDK_Expecter) UpsertConsumer(ctx interface{}, upsertConsumerRequest interface{}, opts ...interface{}) *MockConsumersSDK_UpsertConsumer_Call
UpsertConsumer is a helper method to define mock.On call
- ctx context.Context
- upsertConsumerRequest operations.UpsertConsumerRequest
- opts ...operations.Option
type MockConsumersSDK_ListConsumer_Call ¶
MockConsumersSDK_ListConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListConsumer'
func (*MockConsumersSDK_ListConsumer_Call) Return ¶
func (_c *MockConsumersSDK_ListConsumer_Call) Return(_a0 *operations.ListConsumerResponse, _a1 error) *MockConsumersSDK_ListConsumer_Call
func (*MockConsumersSDK_ListConsumer_Call) Run ¶
func (_c *MockConsumersSDK_ListConsumer_Call) Run(run func(ctx context.Context, request operations.ListConsumerRequest, opts ...operations.Option)) *MockConsumersSDK_ListConsumer_Call
func (*MockConsumersSDK_ListConsumer_Call) RunAndReturn ¶
func (_c *MockConsumersSDK_ListConsumer_Call) RunAndReturn(run func(context.Context, operations.ListConsumerRequest, ...operations.Option) (*operations.ListConsumerResponse, error)) *MockConsumersSDK_ListConsumer_Call
type MockConsumersSDK_UpsertConsumer_Call ¶
MockConsumersSDK_UpsertConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertConsumer'
func (*MockConsumersSDK_UpsertConsumer_Call) Return ¶
func (_c *MockConsumersSDK_UpsertConsumer_Call) Return(_a0 *operations.UpsertConsumerResponse, _a1 error) *MockConsumersSDK_UpsertConsumer_Call
func (*MockConsumersSDK_UpsertConsumer_Call) Run ¶
func (_c *MockConsumersSDK_UpsertConsumer_Call) Run(run func(ctx context.Context, upsertConsumerRequest operations.UpsertConsumerRequest, opts ...operations.Option)) *MockConsumersSDK_UpsertConsumer_Call
func (*MockConsumersSDK_UpsertConsumer_Call) RunAndReturn ¶
func (_c *MockConsumersSDK_UpsertConsumer_Call) RunAndReturn(run func(context.Context, operations.UpsertConsumerRequest, ...operations.Option) (*operations.UpsertConsumerResponse, error)) *MockConsumersSDK_UpsertConsumer_Call
type MockControlPlaneGroupSDK ¶
MockControlPlaneGroupSDK is an autogenerated mock type for the ControlPlaneGroupSDK type
func NewMockControlPlaneGroupSDK ¶
func NewMockControlPlaneGroupSDK(t interface { mock.TestingT Cleanup(func()) }) *MockControlPlaneGroupSDK
NewMockControlPlaneGroupSDK creates a new instance of MockControlPlaneGroupSDK. 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 (*MockControlPlaneGroupSDK) EXPECT ¶
func (_m *MockControlPlaneGroupSDK) EXPECT() *MockControlPlaneGroupSDK_Expecter
func (*MockControlPlaneGroupSDK) PutControlPlanesIDGroupMemberships ¶
func (_m *MockControlPlaneGroupSDK) PutControlPlanesIDGroupMemberships(ctx context.Context, id string, groupMembership *components.GroupMembership, opts ...operations.Option) (*operations.PutControlPlanesIDGroupMembershipsResponse, error)
PutControlPlanesIDGroupMemberships provides a mock function with given fields: ctx, id, groupMembership, opts
type MockControlPlaneGroupSDK_Expecter ¶
type MockControlPlaneGroupSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockControlPlaneGroupSDK_Expecter) PutControlPlanesIDGroupMemberships ¶
func (_e *MockControlPlaneGroupSDK_Expecter) PutControlPlanesIDGroupMemberships(ctx interface{}, id interface{}, groupMembership interface{}, opts ...interface{}) *MockControlPlaneGroupSDK_PutControlPlanesIDGroupMemberships_Call
PutControlPlanesIDGroupMemberships is a helper method to define mock.On call
- ctx context.Context
- id string
- groupMembership *components.GroupMembership
- opts ...operations.Option
type MockControlPlaneGroupSDK_PutControlPlanesIDGroupMemberships_Call ¶
MockControlPlaneGroupSDK_PutControlPlanesIDGroupMemberships_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutControlPlanesIDGroupMemberships'
func (*MockControlPlaneGroupSDK_PutControlPlanesIDGroupMemberships_Call) Run ¶
func (_c *MockControlPlaneGroupSDK_PutControlPlanesIDGroupMemberships_Call) Run(run func(ctx context.Context, id string, groupMembership *components.GroupMembership, opts ...operations.Option)) *MockControlPlaneGroupSDK_PutControlPlanesIDGroupMemberships_Call
func (*MockControlPlaneGroupSDK_PutControlPlanesIDGroupMemberships_Call) RunAndReturn ¶
func (_c *MockControlPlaneGroupSDK_PutControlPlanesIDGroupMemberships_Call) RunAndReturn(run func(context.Context, string, *components.GroupMembership, ...operations.Option) (*operations.PutControlPlanesIDGroupMembershipsResponse, error)) *MockControlPlaneGroupSDK_PutControlPlanesIDGroupMemberships_Call
type MockControlPlaneSDK ¶
MockControlPlaneSDK is an autogenerated mock type for the ControlPlaneSDK type
func NewMockControlPlaneSDK ¶
func NewMockControlPlaneSDK(t interface { mock.TestingT Cleanup(func()) }) *MockControlPlaneSDK
NewMockControlPlaneSDK creates a new instance of MockControlPlaneSDK. 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 (*MockControlPlaneSDK) CreateControlPlane ¶
func (_m *MockControlPlaneSDK) CreateControlPlane(ctx context.Context, req components.CreateControlPlaneRequest, opts ...operations.Option) (*operations.CreateControlPlaneResponse, error)
CreateControlPlane provides a mock function with given fields: ctx, req, opts
func (*MockControlPlaneSDK) DeleteControlPlane ¶
func (_m *MockControlPlaneSDK) DeleteControlPlane(ctx context.Context, id string, opts ...operations.Option) (*operations.DeleteControlPlaneResponse, error)
DeleteControlPlane provides a mock function with given fields: ctx, id, opts
func (*MockControlPlaneSDK) EXPECT ¶
func (_m *MockControlPlaneSDK) EXPECT() *MockControlPlaneSDK_Expecter
func (*MockControlPlaneSDK) ListControlPlanes ¶
func (_m *MockControlPlaneSDK) ListControlPlanes(ctx context.Context, request operations.ListControlPlanesRequest, opts ...operations.Option) (*operations.ListControlPlanesResponse, error)
ListControlPlanes provides a mock function with given fields: ctx, request, opts
func (*MockControlPlaneSDK) UpdateControlPlane ¶
func (_m *MockControlPlaneSDK) UpdateControlPlane(ctx context.Context, id string, req components.UpdateControlPlaneRequest, opts ...operations.Option) (*operations.UpdateControlPlaneResponse, error)
UpdateControlPlane provides a mock function with given fields: ctx, id, req, opts
type MockControlPlaneSDK_CreateControlPlane_Call ¶
MockControlPlaneSDK_CreateControlPlane_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateControlPlane'
func (*MockControlPlaneSDK_CreateControlPlane_Call) Return ¶
func (_c *MockControlPlaneSDK_CreateControlPlane_Call) Return(_a0 *operations.CreateControlPlaneResponse, _a1 error) *MockControlPlaneSDK_CreateControlPlane_Call
func (*MockControlPlaneSDK_CreateControlPlane_Call) Run ¶
func (_c *MockControlPlaneSDK_CreateControlPlane_Call) Run(run func(ctx context.Context, req components.CreateControlPlaneRequest, opts ...operations.Option)) *MockControlPlaneSDK_CreateControlPlane_Call
func (*MockControlPlaneSDK_CreateControlPlane_Call) RunAndReturn ¶
func (_c *MockControlPlaneSDK_CreateControlPlane_Call) RunAndReturn(run func(context.Context, components.CreateControlPlaneRequest, ...operations.Option) (*operations.CreateControlPlaneResponse, error)) *MockControlPlaneSDK_CreateControlPlane_Call
type MockControlPlaneSDK_DeleteControlPlane_Call ¶
MockControlPlaneSDK_DeleteControlPlane_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteControlPlane'
func (*MockControlPlaneSDK_DeleteControlPlane_Call) Return ¶
func (_c *MockControlPlaneSDK_DeleteControlPlane_Call) Return(_a0 *operations.DeleteControlPlaneResponse, _a1 error) *MockControlPlaneSDK_DeleteControlPlane_Call
func (*MockControlPlaneSDK_DeleteControlPlane_Call) Run ¶
func (_c *MockControlPlaneSDK_DeleteControlPlane_Call) Run(run func(ctx context.Context, id string, opts ...operations.Option)) *MockControlPlaneSDK_DeleteControlPlane_Call
func (*MockControlPlaneSDK_DeleteControlPlane_Call) RunAndReturn ¶
func (_c *MockControlPlaneSDK_DeleteControlPlane_Call) RunAndReturn(run func(context.Context, string, ...operations.Option) (*operations.DeleteControlPlaneResponse, error)) *MockControlPlaneSDK_DeleteControlPlane_Call
type MockControlPlaneSDK_Expecter ¶
type MockControlPlaneSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockControlPlaneSDK_Expecter) CreateControlPlane ¶
func (_e *MockControlPlaneSDK_Expecter) CreateControlPlane(ctx interface{}, req interface{}, opts ...interface{}) *MockControlPlaneSDK_CreateControlPlane_Call
CreateControlPlane is a helper method to define mock.On call
- ctx context.Context
- req components.CreateControlPlaneRequest
- opts ...operations.Option
func (*MockControlPlaneSDK_Expecter) DeleteControlPlane ¶
func (_e *MockControlPlaneSDK_Expecter) DeleteControlPlane(ctx interface{}, id interface{}, opts ...interface{}) *MockControlPlaneSDK_DeleteControlPlane_Call
DeleteControlPlane is a helper method to define mock.On call
- ctx context.Context
- id string
- opts ...operations.Option
func (*MockControlPlaneSDK_Expecter) ListControlPlanes ¶
func (_e *MockControlPlaneSDK_Expecter) ListControlPlanes(ctx interface{}, request interface{}, opts ...interface{}) *MockControlPlaneSDK_ListControlPlanes_Call
ListControlPlanes is a helper method to define mock.On call
- ctx context.Context
- request operations.ListControlPlanesRequest
- opts ...operations.Option
func (*MockControlPlaneSDK_Expecter) UpdateControlPlane ¶
func (_e *MockControlPlaneSDK_Expecter) UpdateControlPlane(ctx interface{}, id interface{}, req interface{}, opts ...interface{}) *MockControlPlaneSDK_UpdateControlPlane_Call
UpdateControlPlane is a helper method to define mock.On call
- ctx context.Context
- id string
- req components.UpdateControlPlaneRequest
- opts ...operations.Option
type MockControlPlaneSDK_ListControlPlanes_Call ¶
MockControlPlaneSDK_ListControlPlanes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListControlPlanes'
func (*MockControlPlaneSDK_ListControlPlanes_Call) Return ¶
func (_c *MockControlPlaneSDK_ListControlPlanes_Call) Return(_a0 *operations.ListControlPlanesResponse, _a1 error) *MockControlPlaneSDK_ListControlPlanes_Call
func (*MockControlPlaneSDK_ListControlPlanes_Call) Run ¶
func (_c *MockControlPlaneSDK_ListControlPlanes_Call) Run(run func(ctx context.Context, request operations.ListControlPlanesRequest, opts ...operations.Option)) *MockControlPlaneSDK_ListControlPlanes_Call
func (*MockControlPlaneSDK_ListControlPlanes_Call) RunAndReturn ¶
func (_c *MockControlPlaneSDK_ListControlPlanes_Call) RunAndReturn(run func(context.Context, operations.ListControlPlanesRequest, ...operations.Option) (*operations.ListControlPlanesResponse, error)) *MockControlPlaneSDK_ListControlPlanes_Call
type MockControlPlaneSDK_UpdateControlPlane_Call ¶
MockControlPlaneSDK_UpdateControlPlane_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateControlPlane'
func (*MockControlPlaneSDK_UpdateControlPlane_Call) Return ¶
func (_c *MockControlPlaneSDK_UpdateControlPlane_Call) Return(_a0 *operations.UpdateControlPlaneResponse, _a1 error) *MockControlPlaneSDK_UpdateControlPlane_Call
func (*MockControlPlaneSDK_UpdateControlPlane_Call) Run ¶
func (_c *MockControlPlaneSDK_UpdateControlPlane_Call) Run(run func(ctx context.Context, id string, req components.UpdateControlPlaneRequest, opts ...operations.Option)) *MockControlPlaneSDK_UpdateControlPlane_Call
func (*MockControlPlaneSDK_UpdateControlPlane_Call) RunAndReturn ¶
func (_c *MockControlPlaneSDK_UpdateControlPlane_Call) RunAndReturn(run func(context.Context, string, components.UpdateControlPlaneRequest, ...operations.Option) (*operations.UpdateControlPlaneResponse, error)) *MockControlPlaneSDK_UpdateControlPlane_Call
type MockDataPlaneClientCertificatesSDK ¶
MockDataPlaneClientCertificatesSDK is an autogenerated mock type for the DataPlaneClientCertificatesSDK type
func NewMockDataPlaneClientCertificatesSDK ¶
func NewMockDataPlaneClientCertificatesSDK(t interface { mock.TestingT Cleanup(func()) }) *MockDataPlaneClientCertificatesSDK
NewMockDataPlaneClientCertificatesSDK creates a new instance of MockDataPlaneClientCertificatesSDK. 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 (*MockDataPlaneClientCertificatesSDK) CreateDataplaneCertificate ¶
func (_m *MockDataPlaneClientCertificatesSDK) CreateDataplaneCertificate(ctx context.Context, cpID string, dpReq *components.DataPlaneClientCertificateRequest, opts ...operations.Option) (*operations.CreateDataplaneCertificateResponse, error)
CreateDataplaneCertificate provides a mock function with given fields: ctx, cpID, dpReq, opts
func (*MockDataPlaneClientCertificatesSDK) DeleteDataplaneCertificate ¶
func (_m *MockDataPlaneClientCertificatesSDK) DeleteDataplaneCertificate(ctx context.Context, controlPlaneID string, certificateID string, opts ...operations.Option) (*operations.DeleteDataplaneCertificateResponse, error)
DeleteDataplaneCertificate provides a mock function with given fields: ctx, controlPlaneID, certificateID, opts
func (*MockDataPlaneClientCertificatesSDK) EXPECT ¶
func (_m *MockDataPlaneClientCertificatesSDK) EXPECT() *MockDataPlaneClientCertificatesSDK_Expecter
type MockDataPlaneClientCertificatesSDK_CreateDataplaneCertificate_Call ¶
MockDataPlaneClientCertificatesSDK_CreateDataplaneCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateDataplaneCertificate'
func (*MockDataPlaneClientCertificatesSDK_CreateDataplaneCertificate_Call) Run ¶
func (_c *MockDataPlaneClientCertificatesSDK_CreateDataplaneCertificate_Call) Run(run func(ctx context.Context, cpID string, dpReq *components.DataPlaneClientCertificateRequest, opts ...operations.Option)) *MockDataPlaneClientCertificatesSDK_CreateDataplaneCertificate_Call
func (*MockDataPlaneClientCertificatesSDK_CreateDataplaneCertificate_Call) RunAndReturn ¶
func (_c *MockDataPlaneClientCertificatesSDK_CreateDataplaneCertificate_Call) RunAndReturn(run func(context.Context, string, *components.DataPlaneClientCertificateRequest, ...operations.Option) (*operations.CreateDataplaneCertificateResponse, error)) *MockDataPlaneClientCertificatesSDK_CreateDataplaneCertificate_Call
type MockDataPlaneClientCertificatesSDK_DeleteDataplaneCertificate_Call ¶
MockDataPlaneClientCertificatesSDK_DeleteDataplaneCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDataplaneCertificate'
func (*MockDataPlaneClientCertificatesSDK_DeleteDataplaneCertificate_Call) Run ¶
func (_c *MockDataPlaneClientCertificatesSDK_DeleteDataplaneCertificate_Call) Run(run func(ctx context.Context, controlPlaneID string, certificateID string, opts ...operations.Option)) *MockDataPlaneClientCertificatesSDK_DeleteDataplaneCertificate_Call
func (*MockDataPlaneClientCertificatesSDK_DeleteDataplaneCertificate_Call) RunAndReturn ¶
func (_c *MockDataPlaneClientCertificatesSDK_DeleteDataplaneCertificate_Call) RunAndReturn(run func(context.Context, string, string, ...operations.Option) (*operations.DeleteDataplaneCertificateResponse, error)) *MockDataPlaneClientCertificatesSDK_DeleteDataplaneCertificate_Call
type MockDataPlaneClientCertificatesSDK_Expecter ¶
type MockDataPlaneClientCertificatesSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockDataPlaneClientCertificatesSDK_Expecter) CreateDataplaneCertificate ¶
func (_e *MockDataPlaneClientCertificatesSDK_Expecter) CreateDataplaneCertificate(ctx interface{}, cpID interface{}, dpReq interface{}, opts ...interface{}) *MockDataPlaneClientCertificatesSDK_CreateDataplaneCertificate_Call
CreateDataplaneCertificate is a helper method to define mock.On call
- ctx context.Context
- cpID string
- dpReq *components.DataPlaneClientCertificateRequest
- opts ...operations.Option
func (*MockDataPlaneClientCertificatesSDK_Expecter) DeleteDataplaneCertificate ¶
func (_e *MockDataPlaneClientCertificatesSDK_Expecter) DeleteDataplaneCertificate(ctx interface{}, controlPlaneID interface{}, certificateID interface{}, opts ...interface{}) *MockDataPlaneClientCertificatesSDK_DeleteDataplaneCertificate_Call
DeleteDataplaneCertificate is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- certificateID string
- opts ...operations.Option
type MockKeySetsSDK ¶
MockKeySetsSDK is an autogenerated mock type for the KeySetsSDK type
func NewMockKeySetsSDK ¶
func NewMockKeySetsSDK(t interface { mock.TestingT Cleanup(func()) }) *MockKeySetsSDK
NewMockKeySetsSDK creates a new instance of MockKeySetsSDK. 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 (*MockKeySetsSDK) CreateKeySet ¶
func (_m *MockKeySetsSDK) CreateKeySet(ctx context.Context, controlPlaneID string, keySet components.KeySetInput, opts ...operations.Option) (*operations.CreateKeySetResponse, error)
CreateKeySet provides a mock function with given fields: ctx, controlPlaneID, keySet, opts
func (*MockKeySetsSDK) DeleteKeySet ¶
func (_m *MockKeySetsSDK) DeleteKeySet(ctx context.Context, controlPlaneID string, keySetID string, opts ...operations.Option) (*operations.DeleteKeySetResponse, error)
DeleteKeySet provides a mock function with given fields: ctx, controlPlaneID, keySetID, opts
func (*MockKeySetsSDK) EXPECT ¶
func (_m *MockKeySetsSDK) EXPECT() *MockKeySetsSDK_Expecter
func (*MockKeySetsSDK) ListKeySet ¶
func (_m *MockKeySetsSDK) ListKeySet(ctx context.Context, request operations.ListKeySetRequest, opts ...operations.Option) (*operations.ListKeySetResponse, error)
ListKeySet provides a mock function with given fields: ctx, request, opts
func (*MockKeySetsSDK) UpsertKeySet ¶
func (_m *MockKeySetsSDK) UpsertKeySet(ctx context.Context, request operations.UpsertKeySetRequest, opts ...operations.Option) (*operations.UpsertKeySetResponse, error)
UpsertKeySet provides a mock function with given fields: ctx, request, opts
type MockKeySetsSDK_CreateKeySet_Call ¶
MockKeySetsSDK_CreateKeySet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateKeySet'
func (*MockKeySetsSDK_CreateKeySet_Call) Return ¶
func (_c *MockKeySetsSDK_CreateKeySet_Call) Return(_a0 *operations.CreateKeySetResponse, _a1 error) *MockKeySetsSDK_CreateKeySet_Call
func (*MockKeySetsSDK_CreateKeySet_Call) Run ¶
func (_c *MockKeySetsSDK_CreateKeySet_Call) Run(run func(ctx context.Context, controlPlaneID string, keySet components.KeySetInput, opts ...operations.Option)) *MockKeySetsSDK_CreateKeySet_Call
func (*MockKeySetsSDK_CreateKeySet_Call) RunAndReturn ¶
func (_c *MockKeySetsSDK_CreateKeySet_Call) RunAndReturn(run func(context.Context, string, components.KeySetInput, ...operations.Option) (*operations.CreateKeySetResponse, error)) *MockKeySetsSDK_CreateKeySet_Call
type MockKeySetsSDK_DeleteKeySet_Call ¶
MockKeySetsSDK_DeleteKeySet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteKeySet'
func (*MockKeySetsSDK_DeleteKeySet_Call) Return ¶
func (_c *MockKeySetsSDK_DeleteKeySet_Call) Return(_a0 *operations.DeleteKeySetResponse, _a1 error) *MockKeySetsSDK_DeleteKeySet_Call
func (*MockKeySetsSDK_DeleteKeySet_Call) Run ¶
func (_c *MockKeySetsSDK_DeleteKeySet_Call) Run(run func(ctx context.Context, controlPlaneID string, keySetID string, opts ...operations.Option)) *MockKeySetsSDK_DeleteKeySet_Call
func (*MockKeySetsSDK_DeleteKeySet_Call) RunAndReturn ¶
func (_c *MockKeySetsSDK_DeleteKeySet_Call) RunAndReturn(run func(context.Context, string, string, ...operations.Option) (*operations.DeleteKeySetResponse, error)) *MockKeySetsSDK_DeleteKeySet_Call
type MockKeySetsSDK_Expecter ¶
type MockKeySetsSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockKeySetsSDK_Expecter) CreateKeySet ¶
func (_e *MockKeySetsSDK_Expecter) CreateKeySet(ctx interface{}, controlPlaneID interface{}, keySet interface{}, opts ...interface{}) *MockKeySetsSDK_CreateKeySet_Call
CreateKeySet is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- keySet components.KeySetInput
- opts ...operations.Option
func (*MockKeySetsSDK_Expecter) DeleteKeySet ¶
func (_e *MockKeySetsSDK_Expecter) DeleteKeySet(ctx interface{}, controlPlaneID interface{}, keySetID interface{}, opts ...interface{}) *MockKeySetsSDK_DeleteKeySet_Call
DeleteKeySet is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- keySetID string
- opts ...operations.Option
func (*MockKeySetsSDK_Expecter) ListKeySet ¶
func (_e *MockKeySetsSDK_Expecter) ListKeySet(ctx interface{}, request interface{}, opts ...interface{}) *MockKeySetsSDK_ListKeySet_Call
ListKeySet is a helper method to define mock.On call
- ctx context.Context
- request operations.ListKeySetRequest
- opts ...operations.Option
func (*MockKeySetsSDK_Expecter) UpsertKeySet ¶
func (_e *MockKeySetsSDK_Expecter) UpsertKeySet(ctx interface{}, request interface{}, opts ...interface{}) *MockKeySetsSDK_UpsertKeySet_Call
UpsertKeySet is a helper method to define mock.On call
- ctx context.Context
- request operations.UpsertKeySetRequest
- opts ...operations.Option
type MockKeySetsSDK_ListKeySet_Call ¶
MockKeySetsSDK_ListKeySet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListKeySet'
func (*MockKeySetsSDK_ListKeySet_Call) Return ¶
func (_c *MockKeySetsSDK_ListKeySet_Call) Return(_a0 *operations.ListKeySetResponse, _a1 error) *MockKeySetsSDK_ListKeySet_Call
func (*MockKeySetsSDK_ListKeySet_Call) Run ¶
func (_c *MockKeySetsSDK_ListKeySet_Call) Run(run func(ctx context.Context, request operations.ListKeySetRequest, opts ...operations.Option)) *MockKeySetsSDK_ListKeySet_Call
func (*MockKeySetsSDK_ListKeySet_Call) RunAndReturn ¶
func (_c *MockKeySetsSDK_ListKeySet_Call) RunAndReturn(run func(context.Context, operations.ListKeySetRequest, ...operations.Option) (*operations.ListKeySetResponse, error)) *MockKeySetsSDK_ListKeySet_Call
type MockKeySetsSDK_UpsertKeySet_Call ¶
MockKeySetsSDK_UpsertKeySet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertKeySet'
func (*MockKeySetsSDK_UpsertKeySet_Call) Return ¶
func (_c *MockKeySetsSDK_UpsertKeySet_Call) Return(_a0 *operations.UpsertKeySetResponse, _a1 error) *MockKeySetsSDK_UpsertKeySet_Call
func (*MockKeySetsSDK_UpsertKeySet_Call) Run ¶
func (_c *MockKeySetsSDK_UpsertKeySet_Call) Run(run func(ctx context.Context, request operations.UpsertKeySetRequest, opts ...operations.Option)) *MockKeySetsSDK_UpsertKeySet_Call
func (*MockKeySetsSDK_UpsertKeySet_Call) RunAndReturn ¶
func (_c *MockKeySetsSDK_UpsertKeySet_Call) RunAndReturn(run func(context.Context, operations.UpsertKeySetRequest, ...operations.Option) (*operations.UpsertKeySetResponse, error)) *MockKeySetsSDK_UpsertKeySet_Call
type MockKeysSDK ¶
MockKeysSDK is an autogenerated mock type for the KeysSDK type
func NewMockKeysSDK ¶
func NewMockKeysSDK(t interface { mock.TestingT Cleanup(func()) }) *MockKeysSDK
NewMockKeysSDK creates a new instance of MockKeysSDK. 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 (*MockKeysSDK) CreateKey ¶
func (_m *MockKeysSDK) CreateKey(ctx context.Context, controlPlaneID string, Key components.KeyInput, opts ...operations.Option) (*operations.CreateKeyResponse, error)
CreateKey provides a mock function with given fields: ctx, controlPlaneID, Key, opts
func (*MockKeysSDK) DeleteKey ¶
func (_m *MockKeysSDK) DeleteKey(ctx context.Context, controlPlaneID string, KeyID string, opts ...operations.Option) (*operations.DeleteKeyResponse, error)
DeleteKey provides a mock function with given fields: ctx, controlPlaneID, KeyID, opts
func (*MockKeysSDK) EXPECT ¶
func (_m *MockKeysSDK) EXPECT() *MockKeysSDK_Expecter
func (*MockKeysSDK) ListKey ¶
func (_m *MockKeysSDK) ListKey(ctx context.Context, request operations.ListKeyRequest, opts ...operations.Option) (*operations.ListKeyResponse, error)
ListKey provides a mock function with given fields: ctx, request, opts
func (*MockKeysSDK) UpsertKey ¶
func (_m *MockKeysSDK) UpsertKey(ctx context.Context, request operations.UpsertKeyRequest, opts ...operations.Option) (*operations.UpsertKeyResponse, error)
UpsertKey provides a mock function with given fields: ctx, request, opts
type MockKeysSDK_CreateKey_Call ¶
MockKeysSDK_CreateKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateKey'
func (*MockKeysSDK_CreateKey_Call) Return ¶
func (_c *MockKeysSDK_CreateKey_Call) Return(_a0 *operations.CreateKeyResponse, _a1 error) *MockKeysSDK_CreateKey_Call
func (*MockKeysSDK_CreateKey_Call) Run ¶
func (_c *MockKeysSDK_CreateKey_Call) Run(run func(ctx context.Context, controlPlaneID string, Key components.KeyInput, opts ...operations.Option)) *MockKeysSDK_CreateKey_Call
func (*MockKeysSDK_CreateKey_Call) RunAndReturn ¶
func (_c *MockKeysSDK_CreateKey_Call) RunAndReturn(run func(context.Context, string, components.KeyInput, ...operations.Option) (*operations.CreateKeyResponse, error)) *MockKeysSDK_CreateKey_Call
type MockKeysSDK_DeleteKey_Call ¶
MockKeysSDK_DeleteKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteKey'
func (*MockKeysSDK_DeleteKey_Call) Return ¶
func (_c *MockKeysSDK_DeleteKey_Call) Return(_a0 *operations.DeleteKeyResponse, _a1 error) *MockKeysSDK_DeleteKey_Call
func (*MockKeysSDK_DeleteKey_Call) Run ¶
func (_c *MockKeysSDK_DeleteKey_Call) Run(run func(ctx context.Context, controlPlaneID string, KeyID string, opts ...operations.Option)) *MockKeysSDK_DeleteKey_Call
func (*MockKeysSDK_DeleteKey_Call) RunAndReturn ¶
func (_c *MockKeysSDK_DeleteKey_Call) RunAndReturn(run func(context.Context, string, string, ...operations.Option) (*operations.DeleteKeyResponse, error)) *MockKeysSDK_DeleteKey_Call
type MockKeysSDK_Expecter ¶
type MockKeysSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockKeysSDK_Expecter) CreateKey ¶
func (_e *MockKeysSDK_Expecter) CreateKey(ctx interface{}, controlPlaneID interface{}, Key interface{}, opts ...interface{}) *MockKeysSDK_CreateKey_Call
CreateKey is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- Key components.KeyInput
- opts ...operations.Option
func (*MockKeysSDK_Expecter) DeleteKey ¶
func (_e *MockKeysSDK_Expecter) DeleteKey(ctx interface{}, controlPlaneID interface{}, KeyID interface{}, opts ...interface{}) *MockKeysSDK_DeleteKey_Call
DeleteKey is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- KeyID string
- opts ...operations.Option
func (*MockKeysSDK_Expecter) ListKey ¶
func (_e *MockKeysSDK_Expecter) ListKey(ctx interface{}, request interface{}, opts ...interface{}) *MockKeysSDK_ListKey_Call
ListKey is a helper method to define mock.On call
- ctx context.Context
- request operations.ListKeyRequest
- opts ...operations.Option
func (*MockKeysSDK_Expecter) UpsertKey ¶
func (_e *MockKeysSDK_Expecter) UpsertKey(ctx interface{}, request interface{}, opts ...interface{}) *MockKeysSDK_UpsertKey_Call
UpsertKey is a helper method to define mock.On call
- ctx context.Context
- request operations.UpsertKeyRequest
- opts ...operations.Option
type MockKeysSDK_ListKey_Call ¶
MockKeysSDK_ListKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListKey'
func (*MockKeysSDK_ListKey_Call) Return ¶
func (_c *MockKeysSDK_ListKey_Call) Return(_a0 *operations.ListKeyResponse, _a1 error) *MockKeysSDK_ListKey_Call
func (*MockKeysSDK_ListKey_Call) Run ¶
func (_c *MockKeysSDK_ListKey_Call) Run(run func(ctx context.Context, request operations.ListKeyRequest, opts ...operations.Option)) *MockKeysSDK_ListKey_Call
func (*MockKeysSDK_ListKey_Call) RunAndReturn ¶
func (_c *MockKeysSDK_ListKey_Call) RunAndReturn(run func(context.Context, operations.ListKeyRequest, ...operations.Option) (*operations.ListKeyResponse, error)) *MockKeysSDK_ListKey_Call
type MockKeysSDK_UpsertKey_Call ¶
MockKeysSDK_UpsertKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertKey'
func (*MockKeysSDK_UpsertKey_Call) Return ¶
func (_c *MockKeysSDK_UpsertKey_Call) Return(_a0 *operations.UpsertKeyResponse, _a1 error) *MockKeysSDK_UpsertKey_Call
func (*MockKeysSDK_UpsertKey_Call) Run ¶
func (_c *MockKeysSDK_UpsertKey_Call) Run(run func(ctx context.Context, request operations.UpsertKeyRequest, opts ...operations.Option)) *MockKeysSDK_UpsertKey_Call
func (*MockKeysSDK_UpsertKey_Call) RunAndReturn ¶
func (_c *MockKeysSDK_UpsertKey_Call) RunAndReturn(run func(context.Context, operations.UpsertKeyRequest, ...operations.Option) (*operations.UpsertKeyResponse, error)) *MockKeysSDK_UpsertKey_Call
type MockKongCredentialACLSDK ¶
MockKongCredentialACLSDK is an autogenerated mock type for the KongCredentialACLSDK type
func NewMockKongCredentialACLSDK ¶
func NewMockKongCredentialACLSDK(t interface { mock.TestingT Cleanup(func()) }) *MockKongCredentialACLSDK
NewMockKongCredentialACLSDK creates a new instance of MockKongCredentialACLSDK. 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 (*MockKongCredentialACLSDK) CreateACLWithConsumer ¶
func (_m *MockKongCredentialACLSDK) CreateACLWithConsumer(ctx context.Context, req operations.CreateACLWithConsumerRequest, opts ...operations.Option) (*operations.CreateACLWithConsumerResponse, error)
CreateACLWithConsumer provides a mock function with given fields: ctx, req, opts
func (*MockKongCredentialACLSDK) DeleteACLWithConsumer ¶
func (_m *MockKongCredentialACLSDK) DeleteACLWithConsumer(ctx context.Context, request operations.DeleteACLWithConsumerRequest, opts ...operations.Option) (*operations.DeleteACLWithConsumerResponse, error)
DeleteACLWithConsumer provides a mock function with given fields: ctx, request, opts
func (*MockKongCredentialACLSDK) EXPECT ¶
func (_m *MockKongCredentialACLSDK) EXPECT() *MockKongCredentialACLSDK_Expecter
func (*MockKongCredentialACLSDK) ListACL ¶
func (_m *MockKongCredentialACLSDK) ListACL(ctx context.Context, request operations.ListACLRequest, opts ...operations.Option) (*operations.ListACLResponse, error)
ListACL provides a mock function with given fields: ctx, request, opts
func (*MockKongCredentialACLSDK) UpsertACLWithConsumer ¶
func (_m *MockKongCredentialACLSDK) UpsertACLWithConsumer(ctx context.Context, request operations.UpsertACLWithConsumerRequest, opts ...operations.Option) (*operations.UpsertACLWithConsumerResponse, error)
UpsertACLWithConsumer provides a mock function with given fields: ctx, request, opts
type MockKongCredentialACLSDK_CreateACLWithConsumer_Call ¶
MockKongCredentialACLSDK_CreateACLWithConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateACLWithConsumer'
func (*MockKongCredentialACLSDK_CreateACLWithConsumer_Call) Run ¶
func (_c *MockKongCredentialACLSDK_CreateACLWithConsumer_Call) Run(run func(ctx context.Context, req operations.CreateACLWithConsumerRequest, opts ...operations.Option)) *MockKongCredentialACLSDK_CreateACLWithConsumer_Call
func (*MockKongCredentialACLSDK_CreateACLWithConsumer_Call) RunAndReturn ¶
func (_c *MockKongCredentialACLSDK_CreateACLWithConsumer_Call) RunAndReturn(run func(context.Context, operations.CreateACLWithConsumerRequest, ...operations.Option) (*operations.CreateACLWithConsumerResponse, error)) *MockKongCredentialACLSDK_CreateACLWithConsumer_Call
type MockKongCredentialACLSDK_DeleteACLWithConsumer_Call ¶
MockKongCredentialACLSDK_DeleteACLWithConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteACLWithConsumer'
func (*MockKongCredentialACLSDK_DeleteACLWithConsumer_Call) Run ¶
func (_c *MockKongCredentialACLSDK_DeleteACLWithConsumer_Call) Run(run func(ctx context.Context, request operations.DeleteACLWithConsumerRequest, opts ...operations.Option)) *MockKongCredentialACLSDK_DeleteACLWithConsumer_Call
func (*MockKongCredentialACLSDK_DeleteACLWithConsumer_Call) RunAndReturn ¶
func (_c *MockKongCredentialACLSDK_DeleteACLWithConsumer_Call) RunAndReturn(run func(context.Context, operations.DeleteACLWithConsumerRequest, ...operations.Option) (*operations.DeleteACLWithConsumerResponse, error)) *MockKongCredentialACLSDK_DeleteACLWithConsumer_Call
type MockKongCredentialACLSDK_Expecter ¶
type MockKongCredentialACLSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockKongCredentialACLSDK_Expecter) CreateACLWithConsumer ¶
func (_e *MockKongCredentialACLSDK_Expecter) CreateACLWithConsumer(ctx interface{}, req interface{}, opts ...interface{}) *MockKongCredentialACLSDK_CreateACLWithConsumer_Call
CreateACLWithConsumer is a helper method to define mock.On call
- ctx context.Context
- req operations.CreateACLWithConsumerRequest
- opts ...operations.Option
func (*MockKongCredentialACLSDK_Expecter) DeleteACLWithConsumer ¶
func (_e *MockKongCredentialACLSDK_Expecter) DeleteACLWithConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialACLSDK_DeleteACLWithConsumer_Call
DeleteACLWithConsumer is a helper method to define mock.On call
- ctx context.Context
- request operations.DeleteACLWithConsumerRequest
- opts ...operations.Option
func (*MockKongCredentialACLSDK_Expecter) ListACL ¶
func (_e *MockKongCredentialACLSDK_Expecter) ListACL(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialACLSDK_ListACL_Call
ListACL is a helper method to define mock.On call
- ctx context.Context
- request operations.ListACLRequest
- opts ...operations.Option
func (*MockKongCredentialACLSDK_Expecter) UpsertACLWithConsumer ¶
func (_e *MockKongCredentialACLSDK_Expecter) UpsertACLWithConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialACLSDK_UpsertACLWithConsumer_Call
UpsertACLWithConsumer is a helper method to define mock.On call
- ctx context.Context
- request operations.UpsertACLWithConsumerRequest
- opts ...operations.Option
type MockKongCredentialACLSDK_ListACL_Call ¶
MockKongCredentialACLSDK_ListACL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListACL'
func (*MockKongCredentialACLSDK_ListACL_Call) Return ¶
func (_c *MockKongCredentialACLSDK_ListACL_Call) Return(_a0 *operations.ListACLResponse, _a1 error) *MockKongCredentialACLSDK_ListACL_Call
func (*MockKongCredentialACLSDK_ListACL_Call) Run ¶
func (_c *MockKongCredentialACLSDK_ListACL_Call) Run(run func(ctx context.Context, request operations.ListACLRequest, opts ...operations.Option)) *MockKongCredentialACLSDK_ListACL_Call
func (*MockKongCredentialACLSDK_ListACL_Call) RunAndReturn ¶
func (_c *MockKongCredentialACLSDK_ListACL_Call) RunAndReturn(run func(context.Context, operations.ListACLRequest, ...operations.Option) (*operations.ListACLResponse, error)) *MockKongCredentialACLSDK_ListACL_Call
type MockKongCredentialACLSDK_UpsertACLWithConsumer_Call ¶
MockKongCredentialACLSDK_UpsertACLWithConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertACLWithConsumer'
func (*MockKongCredentialACLSDK_UpsertACLWithConsumer_Call) Run ¶
func (_c *MockKongCredentialACLSDK_UpsertACLWithConsumer_Call) Run(run func(ctx context.Context, request operations.UpsertACLWithConsumerRequest, opts ...operations.Option)) *MockKongCredentialACLSDK_UpsertACLWithConsumer_Call
func (*MockKongCredentialACLSDK_UpsertACLWithConsumer_Call) RunAndReturn ¶
func (_c *MockKongCredentialACLSDK_UpsertACLWithConsumer_Call) RunAndReturn(run func(context.Context, operations.UpsertACLWithConsumerRequest, ...operations.Option) (*operations.UpsertACLWithConsumerResponse, error)) *MockKongCredentialACLSDK_UpsertACLWithConsumer_Call
type MockKongCredentialAPIKeySDK ¶
MockKongCredentialAPIKeySDK is an autogenerated mock type for the KongCredentialAPIKeySDK type
func NewMockKongCredentialAPIKeySDK ¶
func NewMockKongCredentialAPIKeySDK(t interface { mock.TestingT Cleanup(func()) }) *MockKongCredentialAPIKeySDK
NewMockKongCredentialAPIKeySDK creates a new instance of MockKongCredentialAPIKeySDK. 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 (*MockKongCredentialAPIKeySDK) CreateKeyAuthWithConsumer ¶
func (_m *MockKongCredentialAPIKeySDK) CreateKeyAuthWithConsumer(ctx context.Context, req operations.CreateKeyAuthWithConsumerRequest, opts ...operations.Option) (*operations.CreateKeyAuthWithConsumerResponse, error)
CreateKeyAuthWithConsumer provides a mock function with given fields: ctx, req, opts
func (*MockKongCredentialAPIKeySDK) DeleteKeyAuthWithConsumer ¶
func (_m *MockKongCredentialAPIKeySDK) DeleteKeyAuthWithConsumer(ctx context.Context, request operations.DeleteKeyAuthWithConsumerRequest, opts ...operations.Option) (*operations.DeleteKeyAuthWithConsumerResponse, error)
DeleteKeyAuthWithConsumer provides a mock function with given fields: ctx, request, opts
func (*MockKongCredentialAPIKeySDK) EXPECT ¶
func (_m *MockKongCredentialAPIKeySDK) EXPECT() *MockKongCredentialAPIKeySDK_Expecter
func (*MockKongCredentialAPIKeySDK) ListKeyAuth ¶
func (_m *MockKongCredentialAPIKeySDK) ListKeyAuth(ctx context.Context, request operations.ListKeyAuthRequest, opts ...operations.Option) (*operations.ListKeyAuthResponse, error)
ListKeyAuth provides a mock function with given fields: ctx, request, opts
func (*MockKongCredentialAPIKeySDK) UpsertKeyAuthWithConsumer ¶
func (_m *MockKongCredentialAPIKeySDK) UpsertKeyAuthWithConsumer(ctx context.Context, request operations.UpsertKeyAuthWithConsumerRequest, opts ...operations.Option) (*operations.UpsertKeyAuthWithConsumerResponse, error)
UpsertKeyAuthWithConsumer provides a mock function with given fields: ctx, request, opts
type MockKongCredentialAPIKeySDK_CreateKeyAuthWithConsumer_Call ¶
MockKongCredentialAPIKeySDK_CreateKeyAuthWithConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateKeyAuthWithConsumer'
func (*MockKongCredentialAPIKeySDK_CreateKeyAuthWithConsumer_Call) Run ¶
func (_c *MockKongCredentialAPIKeySDK_CreateKeyAuthWithConsumer_Call) Run(run func(ctx context.Context, req operations.CreateKeyAuthWithConsumerRequest, opts ...operations.Option)) *MockKongCredentialAPIKeySDK_CreateKeyAuthWithConsumer_Call
func (*MockKongCredentialAPIKeySDK_CreateKeyAuthWithConsumer_Call) RunAndReturn ¶
type MockKongCredentialAPIKeySDK_DeleteKeyAuthWithConsumer_Call ¶
MockKongCredentialAPIKeySDK_DeleteKeyAuthWithConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteKeyAuthWithConsumer'
func (*MockKongCredentialAPIKeySDK_DeleteKeyAuthWithConsumer_Call) Run ¶
func (_c *MockKongCredentialAPIKeySDK_DeleteKeyAuthWithConsumer_Call) Run(run func(ctx context.Context, request operations.DeleteKeyAuthWithConsumerRequest, opts ...operations.Option)) *MockKongCredentialAPIKeySDK_DeleteKeyAuthWithConsumer_Call
func (*MockKongCredentialAPIKeySDK_DeleteKeyAuthWithConsumer_Call) RunAndReturn ¶
type MockKongCredentialAPIKeySDK_Expecter ¶
type MockKongCredentialAPIKeySDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockKongCredentialAPIKeySDK_Expecter) CreateKeyAuthWithConsumer ¶
func (_e *MockKongCredentialAPIKeySDK_Expecter) CreateKeyAuthWithConsumer(ctx interface{}, req interface{}, opts ...interface{}) *MockKongCredentialAPIKeySDK_CreateKeyAuthWithConsumer_Call
CreateKeyAuthWithConsumer is a helper method to define mock.On call
- ctx context.Context
- req operations.CreateKeyAuthWithConsumerRequest
- opts ...operations.Option
func (*MockKongCredentialAPIKeySDK_Expecter) DeleteKeyAuthWithConsumer ¶
func (_e *MockKongCredentialAPIKeySDK_Expecter) DeleteKeyAuthWithConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialAPIKeySDK_DeleteKeyAuthWithConsumer_Call
DeleteKeyAuthWithConsumer is a helper method to define mock.On call
- ctx context.Context
- request operations.DeleteKeyAuthWithConsumerRequest
- opts ...operations.Option
func (*MockKongCredentialAPIKeySDK_Expecter) ListKeyAuth ¶
func (_e *MockKongCredentialAPIKeySDK_Expecter) ListKeyAuth(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialAPIKeySDK_ListKeyAuth_Call
ListKeyAuth is a helper method to define mock.On call
- ctx context.Context
- request operations.ListKeyAuthRequest
- opts ...operations.Option
func (*MockKongCredentialAPIKeySDK_Expecter) UpsertKeyAuthWithConsumer ¶
func (_e *MockKongCredentialAPIKeySDK_Expecter) UpsertKeyAuthWithConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialAPIKeySDK_UpsertKeyAuthWithConsumer_Call
UpsertKeyAuthWithConsumer is a helper method to define mock.On call
- ctx context.Context
- request operations.UpsertKeyAuthWithConsumerRequest
- opts ...operations.Option
type MockKongCredentialAPIKeySDK_ListKeyAuth_Call ¶
MockKongCredentialAPIKeySDK_ListKeyAuth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListKeyAuth'
func (*MockKongCredentialAPIKeySDK_ListKeyAuth_Call) Return ¶
func (_c *MockKongCredentialAPIKeySDK_ListKeyAuth_Call) Return(_a0 *operations.ListKeyAuthResponse, _a1 error) *MockKongCredentialAPIKeySDK_ListKeyAuth_Call
func (*MockKongCredentialAPIKeySDK_ListKeyAuth_Call) Run ¶
func (_c *MockKongCredentialAPIKeySDK_ListKeyAuth_Call) Run(run func(ctx context.Context, request operations.ListKeyAuthRequest, opts ...operations.Option)) *MockKongCredentialAPIKeySDK_ListKeyAuth_Call
func (*MockKongCredentialAPIKeySDK_ListKeyAuth_Call) RunAndReturn ¶
func (_c *MockKongCredentialAPIKeySDK_ListKeyAuth_Call) RunAndReturn(run func(context.Context, operations.ListKeyAuthRequest, ...operations.Option) (*operations.ListKeyAuthResponse, error)) *MockKongCredentialAPIKeySDK_ListKeyAuth_Call
type MockKongCredentialAPIKeySDK_UpsertKeyAuthWithConsumer_Call ¶
MockKongCredentialAPIKeySDK_UpsertKeyAuthWithConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertKeyAuthWithConsumer'
func (*MockKongCredentialAPIKeySDK_UpsertKeyAuthWithConsumer_Call) Run ¶
func (_c *MockKongCredentialAPIKeySDK_UpsertKeyAuthWithConsumer_Call) Run(run func(ctx context.Context, request operations.UpsertKeyAuthWithConsumerRequest, opts ...operations.Option)) *MockKongCredentialAPIKeySDK_UpsertKeyAuthWithConsumer_Call
func (*MockKongCredentialAPIKeySDK_UpsertKeyAuthWithConsumer_Call) RunAndReturn ¶
type MockKongCredentialBasicAuthSDK ¶
MockKongCredentialBasicAuthSDK is an autogenerated mock type for the KongCredentialBasicAuthSDK type
func NewMockKongCredentialBasicAuthSDK ¶
func NewMockKongCredentialBasicAuthSDK(t interface { mock.TestingT Cleanup(func()) }) *MockKongCredentialBasicAuthSDK
NewMockKongCredentialBasicAuthSDK creates a new instance of MockKongCredentialBasicAuthSDK. 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 (*MockKongCredentialBasicAuthSDK) CreateBasicAuthWithConsumer ¶
func (_m *MockKongCredentialBasicAuthSDK) CreateBasicAuthWithConsumer(ctx context.Context, req operations.CreateBasicAuthWithConsumerRequest, opts ...operations.Option) (*operations.CreateBasicAuthWithConsumerResponse, error)
CreateBasicAuthWithConsumer provides a mock function with given fields: ctx, req, opts
func (*MockKongCredentialBasicAuthSDK) DeleteBasicAuthWithConsumer ¶
func (_m *MockKongCredentialBasicAuthSDK) DeleteBasicAuthWithConsumer(ctx context.Context, request operations.DeleteBasicAuthWithConsumerRequest, opts ...operations.Option) (*operations.DeleteBasicAuthWithConsumerResponse, error)
DeleteBasicAuthWithConsumer provides a mock function with given fields: ctx, request, opts
func (*MockKongCredentialBasicAuthSDK) EXPECT ¶
func (_m *MockKongCredentialBasicAuthSDK) EXPECT() *MockKongCredentialBasicAuthSDK_Expecter
func (*MockKongCredentialBasicAuthSDK) ListBasicAuth ¶
func (_m *MockKongCredentialBasicAuthSDK) ListBasicAuth(ctx context.Context, request operations.ListBasicAuthRequest, opts ...operations.Option) (*operations.ListBasicAuthResponse, error)
ListBasicAuth provides a mock function with given fields: ctx, request, opts
func (*MockKongCredentialBasicAuthSDK) UpsertBasicAuthWithConsumer ¶
func (_m *MockKongCredentialBasicAuthSDK) UpsertBasicAuthWithConsumer(ctx context.Context, request operations.UpsertBasicAuthWithConsumerRequest, opts ...operations.Option) (*operations.UpsertBasicAuthWithConsumerResponse, error)
UpsertBasicAuthWithConsumer provides a mock function with given fields: ctx, request, opts
type MockKongCredentialBasicAuthSDK_CreateBasicAuthWithConsumer_Call ¶
MockKongCredentialBasicAuthSDK_CreateBasicAuthWithConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateBasicAuthWithConsumer'
func (*MockKongCredentialBasicAuthSDK_CreateBasicAuthWithConsumer_Call) Run ¶
func (_c *MockKongCredentialBasicAuthSDK_CreateBasicAuthWithConsumer_Call) Run(run func(ctx context.Context, req operations.CreateBasicAuthWithConsumerRequest, opts ...operations.Option)) *MockKongCredentialBasicAuthSDK_CreateBasicAuthWithConsumer_Call
func (*MockKongCredentialBasicAuthSDK_CreateBasicAuthWithConsumer_Call) RunAndReturn ¶
func (_c *MockKongCredentialBasicAuthSDK_CreateBasicAuthWithConsumer_Call) RunAndReturn(run func(context.Context, operations.CreateBasicAuthWithConsumerRequest, ...operations.Option) (*operations.CreateBasicAuthWithConsumerResponse, error)) *MockKongCredentialBasicAuthSDK_CreateBasicAuthWithConsumer_Call
type MockKongCredentialBasicAuthSDK_DeleteBasicAuthWithConsumer_Call ¶
MockKongCredentialBasicAuthSDK_DeleteBasicAuthWithConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteBasicAuthWithConsumer'
func (*MockKongCredentialBasicAuthSDK_DeleteBasicAuthWithConsumer_Call) Run ¶
func (_c *MockKongCredentialBasicAuthSDK_DeleteBasicAuthWithConsumer_Call) Run(run func(ctx context.Context, request operations.DeleteBasicAuthWithConsumerRequest, opts ...operations.Option)) *MockKongCredentialBasicAuthSDK_DeleteBasicAuthWithConsumer_Call
func (*MockKongCredentialBasicAuthSDK_DeleteBasicAuthWithConsumer_Call) RunAndReturn ¶
func (_c *MockKongCredentialBasicAuthSDK_DeleteBasicAuthWithConsumer_Call) RunAndReturn(run func(context.Context, operations.DeleteBasicAuthWithConsumerRequest, ...operations.Option) (*operations.DeleteBasicAuthWithConsumerResponse, error)) *MockKongCredentialBasicAuthSDK_DeleteBasicAuthWithConsumer_Call
type MockKongCredentialBasicAuthSDK_Expecter ¶
type MockKongCredentialBasicAuthSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockKongCredentialBasicAuthSDK_Expecter) CreateBasicAuthWithConsumer ¶
func (_e *MockKongCredentialBasicAuthSDK_Expecter) CreateBasicAuthWithConsumer(ctx interface{}, req interface{}, opts ...interface{}) *MockKongCredentialBasicAuthSDK_CreateBasicAuthWithConsumer_Call
CreateBasicAuthWithConsumer is a helper method to define mock.On call
- ctx context.Context
- req operations.CreateBasicAuthWithConsumerRequest
- opts ...operations.Option
func (*MockKongCredentialBasicAuthSDK_Expecter) DeleteBasicAuthWithConsumer ¶
func (_e *MockKongCredentialBasicAuthSDK_Expecter) DeleteBasicAuthWithConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialBasicAuthSDK_DeleteBasicAuthWithConsumer_Call
DeleteBasicAuthWithConsumer is a helper method to define mock.On call
- ctx context.Context
- request operations.DeleteBasicAuthWithConsumerRequest
- opts ...operations.Option
func (*MockKongCredentialBasicAuthSDK_Expecter) ListBasicAuth ¶
func (_e *MockKongCredentialBasicAuthSDK_Expecter) ListBasicAuth(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialBasicAuthSDK_ListBasicAuth_Call
ListBasicAuth is a helper method to define mock.On call
- ctx context.Context
- request operations.ListBasicAuthRequest
- opts ...operations.Option
func (*MockKongCredentialBasicAuthSDK_Expecter) UpsertBasicAuthWithConsumer ¶
func (_e *MockKongCredentialBasicAuthSDK_Expecter) UpsertBasicAuthWithConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialBasicAuthSDK_UpsertBasicAuthWithConsumer_Call
UpsertBasicAuthWithConsumer is a helper method to define mock.On call
- ctx context.Context
- request operations.UpsertBasicAuthWithConsumerRequest
- opts ...operations.Option
type MockKongCredentialBasicAuthSDK_ListBasicAuth_Call ¶
MockKongCredentialBasicAuthSDK_ListBasicAuth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListBasicAuth'
func (*MockKongCredentialBasicAuthSDK_ListBasicAuth_Call) Return ¶
func (_c *MockKongCredentialBasicAuthSDK_ListBasicAuth_Call) Return(_a0 *operations.ListBasicAuthResponse, _a1 error) *MockKongCredentialBasicAuthSDK_ListBasicAuth_Call
func (*MockKongCredentialBasicAuthSDK_ListBasicAuth_Call) Run ¶
func (_c *MockKongCredentialBasicAuthSDK_ListBasicAuth_Call) Run(run func(ctx context.Context, request operations.ListBasicAuthRequest, opts ...operations.Option)) *MockKongCredentialBasicAuthSDK_ListBasicAuth_Call
func (*MockKongCredentialBasicAuthSDK_ListBasicAuth_Call) RunAndReturn ¶
func (_c *MockKongCredentialBasicAuthSDK_ListBasicAuth_Call) RunAndReturn(run func(context.Context, operations.ListBasicAuthRequest, ...operations.Option) (*operations.ListBasicAuthResponse, error)) *MockKongCredentialBasicAuthSDK_ListBasicAuth_Call
type MockKongCredentialBasicAuthSDK_UpsertBasicAuthWithConsumer_Call ¶
MockKongCredentialBasicAuthSDK_UpsertBasicAuthWithConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertBasicAuthWithConsumer'
func (*MockKongCredentialBasicAuthSDK_UpsertBasicAuthWithConsumer_Call) Run ¶
func (_c *MockKongCredentialBasicAuthSDK_UpsertBasicAuthWithConsumer_Call) Run(run func(ctx context.Context, request operations.UpsertBasicAuthWithConsumerRequest, opts ...operations.Option)) *MockKongCredentialBasicAuthSDK_UpsertBasicAuthWithConsumer_Call
func (*MockKongCredentialBasicAuthSDK_UpsertBasicAuthWithConsumer_Call) RunAndReturn ¶
func (_c *MockKongCredentialBasicAuthSDK_UpsertBasicAuthWithConsumer_Call) RunAndReturn(run func(context.Context, operations.UpsertBasicAuthWithConsumerRequest, ...operations.Option) (*operations.UpsertBasicAuthWithConsumerResponse, error)) *MockKongCredentialBasicAuthSDK_UpsertBasicAuthWithConsumer_Call
type MockKongCredentialHMACSDK ¶
MockKongCredentialHMACSDK is an autogenerated mock type for the KongCredentialHMACSDK type
func NewMockKongCredentialHMACSDK ¶
func NewMockKongCredentialHMACSDK(t interface { mock.TestingT Cleanup(func()) }) *MockKongCredentialHMACSDK
NewMockKongCredentialHMACSDK creates a new instance of MockKongCredentialHMACSDK. 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 (*MockKongCredentialHMACSDK) CreateHmacAuthWithConsumer ¶
func (_m *MockKongCredentialHMACSDK) CreateHmacAuthWithConsumer(ctx context.Context, req operations.CreateHmacAuthWithConsumerRequest, opts ...operations.Option) (*operations.CreateHmacAuthWithConsumerResponse, error)
CreateHmacAuthWithConsumer provides a mock function with given fields: ctx, req, opts
func (*MockKongCredentialHMACSDK) DeleteHmacAuthWithConsumer ¶
func (_m *MockKongCredentialHMACSDK) DeleteHmacAuthWithConsumer(ctx context.Context, request operations.DeleteHmacAuthWithConsumerRequest, opts ...operations.Option) (*operations.DeleteHmacAuthWithConsumerResponse, error)
DeleteHmacAuthWithConsumer provides a mock function with given fields: ctx, request, opts
func (*MockKongCredentialHMACSDK) EXPECT ¶
func (_m *MockKongCredentialHMACSDK) EXPECT() *MockKongCredentialHMACSDK_Expecter
func (*MockKongCredentialHMACSDK) ListHmacAuth ¶
func (_m *MockKongCredentialHMACSDK) ListHmacAuth(ctx context.Context, request operations.ListHmacAuthRequest, opts ...operations.Option) (*operations.ListHmacAuthResponse, error)
ListHmacAuth provides a mock function with given fields: ctx, request, opts
func (*MockKongCredentialHMACSDK) UpsertHmacAuthWithConsumer ¶
func (_m *MockKongCredentialHMACSDK) UpsertHmacAuthWithConsumer(ctx context.Context, request operations.UpsertHmacAuthWithConsumerRequest, opts ...operations.Option) (*operations.UpsertHmacAuthWithConsumerResponse, error)
UpsertHmacAuthWithConsumer provides a mock function with given fields: ctx, request, opts
type MockKongCredentialHMACSDK_CreateHmacAuthWithConsumer_Call ¶
MockKongCredentialHMACSDK_CreateHmacAuthWithConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateHmacAuthWithConsumer'
func (*MockKongCredentialHMACSDK_CreateHmacAuthWithConsumer_Call) Run ¶
func (_c *MockKongCredentialHMACSDK_CreateHmacAuthWithConsumer_Call) Run(run func(ctx context.Context, req operations.CreateHmacAuthWithConsumerRequest, opts ...operations.Option)) *MockKongCredentialHMACSDK_CreateHmacAuthWithConsumer_Call
func (*MockKongCredentialHMACSDK_CreateHmacAuthWithConsumer_Call) RunAndReturn ¶
type MockKongCredentialHMACSDK_DeleteHmacAuthWithConsumer_Call ¶
MockKongCredentialHMACSDK_DeleteHmacAuthWithConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteHmacAuthWithConsumer'
func (*MockKongCredentialHMACSDK_DeleteHmacAuthWithConsumer_Call) Run ¶
func (_c *MockKongCredentialHMACSDK_DeleteHmacAuthWithConsumer_Call) Run(run func(ctx context.Context, request operations.DeleteHmacAuthWithConsumerRequest, opts ...operations.Option)) *MockKongCredentialHMACSDK_DeleteHmacAuthWithConsumer_Call
func (*MockKongCredentialHMACSDK_DeleteHmacAuthWithConsumer_Call) RunAndReturn ¶
type MockKongCredentialHMACSDK_Expecter ¶
type MockKongCredentialHMACSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockKongCredentialHMACSDK_Expecter) CreateHmacAuthWithConsumer ¶
func (_e *MockKongCredentialHMACSDK_Expecter) CreateHmacAuthWithConsumer(ctx interface{}, req interface{}, opts ...interface{}) *MockKongCredentialHMACSDK_CreateHmacAuthWithConsumer_Call
CreateHmacAuthWithConsumer is a helper method to define mock.On call
- ctx context.Context
- req operations.CreateHmacAuthWithConsumerRequest
- opts ...operations.Option
func (*MockKongCredentialHMACSDK_Expecter) DeleteHmacAuthWithConsumer ¶
func (_e *MockKongCredentialHMACSDK_Expecter) DeleteHmacAuthWithConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialHMACSDK_DeleteHmacAuthWithConsumer_Call
DeleteHmacAuthWithConsumer is a helper method to define mock.On call
- ctx context.Context
- request operations.DeleteHmacAuthWithConsumerRequest
- opts ...operations.Option
func (*MockKongCredentialHMACSDK_Expecter) ListHmacAuth ¶
func (_e *MockKongCredentialHMACSDK_Expecter) ListHmacAuth(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialHMACSDK_ListHmacAuth_Call
ListHmacAuth is a helper method to define mock.On call
- ctx context.Context
- request operations.ListHmacAuthRequest
- opts ...operations.Option
func (*MockKongCredentialHMACSDK_Expecter) UpsertHmacAuthWithConsumer ¶
func (_e *MockKongCredentialHMACSDK_Expecter) UpsertHmacAuthWithConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialHMACSDK_UpsertHmacAuthWithConsumer_Call
UpsertHmacAuthWithConsumer is a helper method to define mock.On call
- ctx context.Context
- request operations.UpsertHmacAuthWithConsumerRequest
- opts ...operations.Option
type MockKongCredentialHMACSDK_ListHmacAuth_Call ¶
MockKongCredentialHMACSDK_ListHmacAuth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListHmacAuth'
func (*MockKongCredentialHMACSDK_ListHmacAuth_Call) Return ¶
func (_c *MockKongCredentialHMACSDK_ListHmacAuth_Call) Return(_a0 *operations.ListHmacAuthResponse, _a1 error) *MockKongCredentialHMACSDK_ListHmacAuth_Call
func (*MockKongCredentialHMACSDK_ListHmacAuth_Call) Run ¶
func (_c *MockKongCredentialHMACSDK_ListHmacAuth_Call) Run(run func(ctx context.Context, request operations.ListHmacAuthRequest, opts ...operations.Option)) *MockKongCredentialHMACSDK_ListHmacAuth_Call
func (*MockKongCredentialHMACSDK_ListHmacAuth_Call) RunAndReturn ¶
func (_c *MockKongCredentialHMACSDK_ListHmacAuth_Call) RunAndReturn(run func(context.Context, operations.ListHmacAuthRequest, ...operations.Option) (*operations.ListHmacAuthResponse, error)) *MockKongCredentialHMACSDK_ListHmacAuth_Call
type MockKongCredentialHMACSDK_UpsertHmacAuthWithConsumer_Call ¶
MockKongCredentialHMACSDK_UpsertHmacAuthWithConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertHmacAuthWithConsumer'
func (*MockKongCredentialHMACSDK_UpsertHmacAuthWithConsumer_Call) Run ¶
func (_c *MockKongCredentialHMACSDK_UpsertHmacAuthWithConsumer_Call) Run(run func(ctx context.Context, request operations.UpsertHmacAuthWithConsumerRequest, opts ...operations.Option)) *MockKongCredentialHMACSDK_UpsertHmacAuthWithConsumer_Call
func (*MockKongCredentialHMACSDK_UpsertHmacAuthWithConsumer_Call) RunAndReturn ¶
type MockKongCredentialJWTSDK ¶
MockKongCredentialJWTSDK is an autogenerated mock type for the KongCredentialJWTSDK type
func NewMockKongCredentialJWTSDK ¶
func NewMockKongCredentialJWTSDK(t interface { mock.TestingT Cleanup(func()) }) *MockKongCredentialJWTSDK
NewMockKongCredentialJWTSDK creates a new instance of MockKongCredentialJWTSDK. 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 (*MockKongCredentialJWTSDK) CreateJwtWithConsumer ¶
func (_m *MockKongCredentialJWTSDK) CreateJwtWithConsumer(ctx context.Context, req operations.CreateJwtWithConsumerRequest, opts ...operations.Option) (*operations.CreateJwtWithConsumerResponse, error)
CreateJwtWithConsumer provides a mock function with given fields: ctx, req, opts
func (*MockKongCredentialJWTSDK) DeleteJwtWithConsumer ¶
func (_m *MockKongCredentialJWTSDK) DeleteJwtWithConsumer(ctx context.Context, request operations.DeleteJwtWithConsumerRequest, opts ...operations.Option) (*operations.DeleteJwtWithConsumerResponse, error)
DeleteJwtWithConsumer provides a mock function with given fields: ctx, request, opts
func (*MockKongCredentialJWTSDK) EXPECT ¶
func (_m *MockKongCredentialJWTSDK) EXPECT() *MockKongCredentialJWTSDK_Expecter
func (*MockKongCredentialJWTSDK) ListJwt ¶
func (_m *MockKongCredentialJWTSDK) ListJwt(ctx context.Context, request operations.ListJwtRequest, opts ...operations.Option) (*operations.ListJwtResponse, error)
ListJwt provides a mock function with given fields: ctx, request, opts
func (*MockKongCredentialJWTSDK) UpsertJwtWithConsumer ¶
func (_m *MockKongCredentialJWTSDK) UpsertJwtWithConsumer(ctx context.Context, request operations.UpsertJwtWithConsumerRequest, opts ...operations.Option) (*operations.UpsertJwtWithConsumerResponse, error)
UpsertJwtWithConsumer provides a mock function with given fields: ctx, request, opts
type MockKongCredentialJWTSDK_CreateJwtWithConsumer_Call ¶
MockKongCredentialJWTSDK_CreateJwtWithConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateJwtWithConsumer'
func (*MockKongCredentialJWTSDK_CreateJwtWithConsumer_Call) Run ¶
func (_c *MockKongCredentialJWTSDK_CreateJwtWithConsumer_Call) Run(run func(ctx context.Context, req operations.CreateJwtWithConsumerRequest, opts ...operations.Option)) *MockKongCredentialJWTSDK_CreateJwtWithConsumer_Call
func (*MockKongCredentialJWTSDK_CreateJwtWithConsumer_Call) RunAndReturn ¶
func (_c *MockKongCredentialJWTSDK_CreateJwtWithConsumer_Call) RunAndReturn(run func(context.Context, operations.CreateJwtWithConsumerRequest, ...operations.Option) (*operations.CreateJwtWithConsumerResponse, error)) *MockKongCredentialJWTSDK_CreateJwtWithConsumer_Call
type MockKongCredentialJWTSDK_DeleteJwtWithConsumer_Call ¶
MockKongCredentialJWTSDK_DeleteJwtWithConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteJwtWithConsumer'
func (*MockKongCredentialJWTSDK_DeleteJwtWithConsumer_Call) Run ¶
func (_c *MockKongCredentialJWTSDK_DeleteJwtWithConsumer_Call) Run(run func(ctx context.Context, request operations.DeleteJwtWithConsumerRequest, opts ...operations.Option)) *MockKongCredentialJWTSDK_DeleteJwtWithConsumer_Call
func (*MockKongCredentialJWTSDK_DeleteJwtWithConsumer_Call) RunAndReturn ¶
func (_c *MockKongCredentialJWTSDK_DeleteJwtWithConsumer_Call) RunAndReturn(run func(context.Context, operations.DeleteJwtWithConsumerRequest, ...operations.Option) (*operations.DeleteJwtWithConsumerResponse, error)) *MockKongCredentialJWTSDK_DeleteJwtWithConsumer_Call
type MockKongCredentialJWTSDK_Expecter ¶
type MockKongCredentialJWTSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockKongCredentialJWTSDK_Expecter) CreateJwtWithConsumer ¶
func (_e *MockKongCredentialJWTSDK_Expecter) CreateJwtWithConsumer(ctx interface{}, req interface{}, opts ...interface{}) *MockKongCredentialJWTSDK_CreateJwtWithConsumer_Call
CreateJwtWithConsumer is a helper method to define mock.On call
- ctx context.Context
- req operations.CreateJwtWithConsumerRequest
- opts ...operations.Option
func (*MockKongCredentialJWTSDK_Expecter) DeleteJwtWithConsumer ¶
func (_e *MockKongCredentialJWTSDK_Expecter) DeleteJwtWithConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialJWTSDK_DeleteJwtWithConsumer_Call
DeleteJwtWithConsumer is a helper method to define mock.On call
- ctx context.Context
- request operations.DeleteJwtWithConsumerRequest
- opts ...operations.Option
func (*MockKongCredentialJWTSDK_Expecter) ListJwt ¶
func (_e *MockKongCredentialJWTSDK_Expecter) ListJwt(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialJWTSDK_ListJwt_Call
ListJwt is a helper method to define mock.On call
- ctx context.Context
- request operations.ListJwtRequest
- opts ...operations.Option
func (*MockKongCredentialJWTSDK_Expecter) UpsertJwtWithConsumer ¶
func (_e *MockKongCredentialJWTSDK_Expecter) UpsertJwtWithConsumer(ctx interface{}, request interface{}, opts ...interface{}) *MockKongCredentialJWTSDK_UpsertJwtWithConsumer_Call
UpsertJwtWithConsumer is a helper method to define mock.On call
- ctx context.Context
- request operations.UpsertJwtWithConsumerRequest
- opts ...operations.Option
type MockKongCredentialJWTSDK_ListJwt_Call ¶
MockKongCredentialJWTSDK_ListJwt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListJwt'
func (*MockKongCredentialJWTSDK_ListJwt_Call) Return ¶
func (_c *MockKongCredentialJWTSDK_ListJwt_Call) Return(_a0 *operations.ListJwtResponse, _a1 error) *MockKongCredentialJWTSDK_ListJwt_Call
func (*MockKongCredentialJWTSDK_ListJwt_Call) Run ¶
func (_c *MockKongCredentialJWTSDK_ListJwt_Call) Run(run func(ctx context.Context, request operations.ListJwtRequest, opts ...operations.Option)) *MockKongCredentialJWTSDK_ListJwt_Call
func (*MockKongCredentialJWTSDK_ListJwt_Call) RunAndReturn ¶
func (_c *MockKongCredentialJWTSDK_ListJwt_Call) RunAndReturn(run func(context.Context, operations.ListJwtRequest, ...operations.Option) (*operations.ListJwtResponse, error)) *MockKongCredentialJWTSDK_ListJwt_Call
type MockKongCredentialJWTSDK_UpsertJwtWithConsumer_Call ¶
MockKongCredentialJWTSDK_UpsertJwtWithConsumer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertJwtWithConsumer'
func (*MockKongCredentialJWTSDK_UpsertJwtWithConsumer_Call) Run ¶
func (_c *MockKongCredentialJWTSDK_UpsertJwtWithConsumer_Call) Run(run func(ctx context.Context, request operations.UpsertJwtWithConsumerRequest, opts ...operations.Option)) *MockKongCredentialJWTSDK_UpsertJwtWithConsumer_Call
func (*MockKongCredentialJWTSDK_UpsertJwtWithConsumer_Call) RunAndReturn ¶
func (_c *MockKongCredentialJWTSDK_UpsertJwtWithConsumer_Call) RunAndReturn(run func(context.Context, operations.UpsertJwtWithConsumerRequest, ...operations.Option) (*operations.UpsertJwtWithConsumerResponse, error)) *MockKongCredentialJWTSDK_UpsertJwtWithConsumer_Call
type MockMeSDK ¶
MockMeSDK is an autogenerated mock type for the MeSDK type
func NewMockMeSDK ¶
NewMockMeSDK creates a new instance of MockMeSDK. 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 (*MockMeSDK) EXPECT ¶
func (_m *MockMeSDK) EXPECT() *MockMeSDK_Expecter
func (*MockMeSDK) GetOrganizationsMe ¶
func (_m *MockMeSDK) GetOrganizationsMe(ctx context.Context, opts ...operations.Option) (*operations.GetOrganizationsMeResponse, error)
GetOrganizationsMe provides a mock function with given fields: ctx, opts
type MockMeSDK_Expecter ¶
type MockMeSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockMeSDK_Expecter) GetOrganizationsMe ¶
func (_e *MockMeSDK_Expecter) GetOrganizationsMe(ctx interface{}, opts ...interface{}) *MockMeSDK_GetOrganizationsMe_Call
GetOrganizationsMe is a helper method to define mock.On call
- ctx context.Context
- opts ...operations.Option
type MockMeSDK_GetOrganizationsMe_Call ¶
MockMeSDK_GetOrganizationsMe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOrganizationsMe'
func (*MockMeSDK_GetOrganizationsMe_Call) Return ¶
func (_c *MockMeSDK_GetOrganizationsMe_Call) Return(_a0 *operations.GetOrganizationsMeResponse, _a1 error) *MockMeSDK_GetOrganizationsMe_Call
func (*MockMeSDK_GetOrganizationsMe_Call) Run ¶
func (_c *MockMeSDK_GetOrganizationsMe_Call) Run(run func(ctx context.Context, opts ...operations.Option)) *MockMeSDK_GetOrganizationsMe_Call
func (*MockMeSDK_GetOrganizationsMe_Call) RunAndReturn ¶
func (_c *MockMeSDK_GetOrganizationsMe_Call) RunAndReturn(run func(context.Context, ...operations.Option) (*operations.GetOrganizationsMeResponse, error)) *MockMeSDK_GetOrganizationsMe_Call
type MockPluginSDK ¶
MockPluginSDK is an autogenerated mock type for the PluginSDK type
func NewMockPluginSDK ¶
func NewMockPluginSDK(t interface { mock.TestingT Cleanup(func()) }) *MockPluginSDK
NewMockPluginSDK creates a new instance of MockPluginSDK. 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 (*MockPluginSDK) CreatePlugin ¶
func (_m *MockPluginSDK) CreatePlugin(ctx context.Context, controlPlaneID string, plugin components.PluginInput, opts ...operations.Option) (*operations.CreatePluginResponse, error)
CreatePlugin provides a mock function with given fields: ctx, controlPlaneID, plugin, opts
func (*MockPluginSDK) DeletePlugin ¶
func (_m *MockPluginSDK) DeletePlugin(ctx context.Context, controlPlaneID string, pluginID string, opts ...operations.Option) (*operations.DeletePluginResponse, error)
DeletePlugin provides a mock function with given fields: ctx, controlPlaneID, pluginID, opts
func (*MockPluginSDK) EXPECT ¶
func (_m *MockPluginSDK) EXPECT() *MockPluginSDK_Expecter
func (*MockPluginSDK) ListPlugin ¶
func (_m *MockPluginSDK) ListPlugin(ctx context.Context, request operations.ListPluginRequest, opts ...operations.Option) (*operations.ListPluginResponse, error)
ListPlugin provides a mock function with given fields: ctx, request, opts
func (*MockPluginSDK) UpsertPlugin ¶
func (_m *MockPluginSDK) UpsertPlugin(ctx context.Context, request operations.UpsertPluginRequest, opts ...operations.Option) (*operations.UpsertPluginResponse, error)
UpsertPlugin provides a mock function with given fields: ctx, request, opts
type MockPluginSDK_CreatePlugin_Call ¶
MockPluginSDK_CreatePlugin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePlugin'
func (*MockPluginSDK_CreatePlugin_Call) Return ¶
func (_c *MockPluginSDK_CreatePlugin_Call) Return(_a0 *operations.CreatePluginResponse, _a1 error) *MockPluginSDK_CreatePlugin_Call
func (*MockPluginSDK_CreatePlugin_Call) Run ¶
func (_c *MockPluginSDK_CreatePlugin_Call) Run(run func(ctx context.Context, controlPlaneID string, plugin components.PluginInput, opts ...operations.Option)) *MockPluginSDK_CreatePlugin_Call
func (*MockPluginSDK_CreatePlugin_Call) RunAndReturn ¶
func (_c *MockPluginSDK_CreatePlugin_Call) RunAndReturn(run func(context.Context, string, components.PluginInput, ...operations.Option) (*operations.CreatePluginResponse, error)) *MockPluginSDK_CreatePlugin_Call
type MockPluginSDK_DeletePlugin_Call ¶
MockPluginSDK_DeletePlugin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeletePlugin'
func (*MockPluginSDK_DeletePlugin_Call) Return ¶
func (_c *MockPluginSDK_DeletePlugin_Call) Return(_a0 *operations.DeletePluginResponse, _a1 error) *MockPluginSDK_DeletePlugin_Call
func (*MockPluginSDK_DeletePlugin_Call) Run ¶
func (_c *MockPluginSDK_DeletePlugin_Call) Run(run func(ctx context.Context, controlPlaneID string, pluginID string, opts ...operations.Option)) *MockPluginSDK_DeletePlugin_Call
func (*MockPluginSDK_DeletePlugin_Call) RunAndReturn ¶
func (_c *MockPluginSDK_DeletePlugin_Call) RunAndReturn(run func(context.Context, string, string, ...operations.Option) (*operations.DeletePluginResponse, error)) *MockPluginSDK_DeletePlugin_Call
type MockPluginSDK_Expecter ¶
type MockPluginSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockPluginSDK_Expecter) CreatePlugin ¶
func (_e *MockPluginSDK_Expecter) CreatePlugin(ctx interface{}, controlPlaneID interface{}, plugin interface{}, opts ...interface{}) *MockPluginSDK_CreatePlugin_Call
CreatePlugin is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- plugin components.PluginInput
- opts ...operations.Option
func (*MockPluginSDK_Expecter) DeletePlugin ¶
func (_e *MockPluginSDK_Expecter) DeletePlugin(ctx interface{}, controlPlaneID interface{}, pluginID interface{}, opts ...interface{}) *MockPluginSDK_DeletePlugin_Call
DeletePlugin is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- pluginID string
- opts ...operations.Option
func (*MockPluginSDK_Expecter) ListPlugin ¶
func (_e *MockPluginSDK_Expecter) ListPlugin(ctx interface{}, request interface{}, opts ...interface{}) *MockPluginSDK_ListPlugin_Call
ListPlugin is a helper method to define mock.On call
- ctx context.Context
- request operations.ListPluginRequest
- opts ...operations.Option
func (*MockPluginSDK_Expecter) UpsertPlugin ¶
func (_e *MockPluginSDK_Expecter) UpsertPlugin(ctx interface{}, request interface{}, opts ...interface{}) *MockPluginSDK_UpsertPlugin_Call
UpsertPlugin is a helper method to define mock.On call
- ctx context.Context
- request operations.UpsertPluginRequest
- opts ...operations.Option
type MockPluginSDK_ListPlugin_Call ¶
MockPluginSDK_ListPlugin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPlugin'
func (*MockPluginSDK_ListPlugin_Call) Return ¶
func (_c *MockPluginSDK_ListPlugin_Call) Return(_a0 *operations.ListPluginResponse, _a1 error) *MockPluginSDK_ListPlugin_Call
func (*MockPluginSDK_ListPlugin_Call) Run ¶
func (_c *MockPluginSDK_ListPlugin_Call) Run(run func(ctx context.Context, request operations.ListPluginRequest, opts ...operations.Option)) *MockPluginSDK_ListPlugin_Call
func (*MockPluginSDK_ListPlugin_Call) RunAndReturn ¶
func (_c *MockPluginSDK_ListPlugin_Call) RunAndReturn(run func(context.Context, operations.ListPluginRequest, ...operations.Option) (*operations.ListPluginResponse, error)) *MockPluginSDK_ListPlugin_Call
type MockPluginSDK_UpsertPlugin_Call ¶
MockPluginSDK_UpsertPlugin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertPlugin'
func (*MockPluginSDK_UpsertPlugin_Call) Return ¶
func (_c *MockPluginSDK_UpsertPlugin_Call) Return(_a0 *operations.UpsertPluginResponse, _a1 error) *MockPluginSDK_UpsertPlugin_Call
func (*MockPluginSDK_UpsertPlugin_Call) Run ¶
func (_c *MockPluginSDK_UpsertPlugin_Call) Run(run func(ctx context.Context, request operations.UpsertPluginRequest, opts ...operations.Option)) *MockPluginSDK_UpsertPlugin_Call
func (*MockPluginSDK_UpsertPlugin_Call) RunAndReturn ¶
func (_c *MockPluginSDK_UpsertPlugin_Call) RunAndReturn(run func(context.Context, operations.UpsertPluginRequest, ...operations.Option) (*operations.UpsertPluginResponse, error)) *MockPluginSDK_UpsertPlugin_Call
type MockRoutesSDK ¶
MockRoutesSDK is an autogenerated mock type for the RoutesSDK type
func NewMockRoutesSDK ¶
func NewMockRoutesSDK(t interface { mock.TestingT Cleanup(func()) }) *MockRoutesSDK
NewMockRoutesSDK creates a new instance of MockRoutesSDK. 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 (*MockRoutesSDK) CreateRoute ¶
func (_m *MockRoutesSDK) CreateRoute(ctx context.Context, controlPlaneID string, route components.RouteInput, opts ...operations.Option) (*operations.CreateRouteResponse, error)
CreateRoute provides a mock function with given fields: ctx, controlPlaneID, route, opts
func (*MockRoutesSDK) DeleteRoute ¶
func (_m *MockRoutesSDK) DeleteRoute(ctx context.Context, controlPlaneID string, routeID string, opts ...operations.Option) (*operations.DeleteRouteResponse, error)
DeleteRoute provides a mock function with given fields: ctx, controlPlaneID, routeID, opts
func (*MockRoutesSDK) EXPECT ¶
func (_m *MockRoutesSDK) EXPECT() *MockRoutesSDK_Expecter
func (*MockRoutesSDK) ListRoute ¶
func (_m *MockRoutesSDK) ListRoute(ctx context.Context, request operations.ListRouteRequest, opts ...operations.Option) (*operations.ListRouteResponse, error)
ListRoute provides a mock function with given fields: ctx, request, opts
func (*MockRoutesSDK) UpsertRoute ¶
func (_m *MockRoutesSDK) UpsertRoute(ctx context.Context, req operations.UpsertRouteRequest, opts ...operations.Option) (*operations.UpsertRouteResponse, error)
UpsertRoute provides a mock function with given fields: ctx, req, opts
type MockRoutesSDK_CreateRoute_Call ¶
MockRoutesSDK_CreateRoute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRoute'
func (*MockRoutesSDK_CreateRoute_Call) Return ¶
func (_c *MockRoutesSDK_CreateRoute_Call) Return(_a0 *operations.CreateRouteResponse, _a1 error) *MockRoutesSDK_CreateRoute_Call
func (*MockRoutesSDK_CreateRoute_Call) Run ¶
func (_c *MockRoutesSDK_CreateRoute_Call) Run(run func(ctx context.Context, controlPlaneID string, route components.RouteInput, opts ...operations.Option)) *MockRoutesSDK_CreateRoute_Call
func (*MockRoutesSDK_CreateRoute_Call) RunAndReturn ¶
func (_c *MockRoutesSDK_CreateRoute_Call) RunAndReturn(run func(context.Context, string, components.RouteInput, ...operations.Option) (*operations.CreateRouteResponse, error)) *MockRoutesSDK_CreateRoute_Call
type MockRoutesSDK_DeleteRoute_Call ¶
MockRoutesSDK_DeleteRoute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRoute'
func (*MockRoutesSDK_DeleteRoute_Call) Return ¶
func (_c *MockRoutesSDK_DeleteRoute_Call) Return(_a0 *operations.DeleteRouteResponse, _a1 error) *MockRoutesSDK_DeleteRoute_Call
func (*MockRoutesSDK_DeleteRoute_Call) Run ¶
func (_c *MockRoutesSDK_DeleteRoute_Call) Run(run func(ctx context.Context, controlPlaneID string, routeID string, opts ...operations.Option)) *MockRoutesSDK_DeleteRoute_Call
func (*MockRoutesSDK_DeleteRoute_Call) RunAndReturn ¶
func (_c *MockRoutesSDK_DeleteRoute_Call) RunAndReturn(run func(context.Context, string, string, ...operations.Option) (*operations.DeleteRouteResponse, error)) *MockRoutesSDK_DeleteRoute_Call
type MockRoutesSDK_Expecter ¶
type MockRoutesSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockRoutesSDK_Expecter) CreateRoute ¶
func (_e *MockRoutesSDK_Expecter) CreateRoute(ctx interface{}, controlPlaneID interface{}, route interface{}, opts ...interface{}) *MockRoutesSDK_CreateRoute_Call
CreateRoute is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- route components.RouteInput
- opts ...operations.Option
func (*MockRoutesSDK_Expecter) DeleteRoute ¶
func (_e *MockRoutesSDK_Expecter) DeleteRoute(ctx interface{}, controlPlaneID interface{}, routeID interface{}, opts ...interface{}) *MockRoutesSDK_DeleteRoute_Call
DeleteRoute is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- routeID string
- opts ...operations.Option
func (*MockRoutesSDK_Expecter) ListRoute ¶
func (_e *MockRoutesSDK_Expecter) ListRoute(ctx interface{}, request interface{}, opts ...interface{}) *MockRoutesSDK_ListRoute_Call
ListRoute is a helper method to define mock.On call
- ctx context.Context
- request operations.ListRouteRequest
- opts ...operations.Option
func (*MockRoutesSDK_Expecter) UpsertRoute ¶
func (_e *MockRoutesSDK_Expecter) UpsertRoute(ctx interface{}, req interface{}, opts ...interface{}) *MockRoutesSDK_UpsertRoute_Call
UpsertRoute is a helper method to define mock.On call
- ctx context.Context
- req operations.UpsertRouteRequest
- opts ...operations.Option
type MockRoutesSDK_ListRoute_Call ¶
MockRoutesSDK_ListRoute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRoute'
func (*MockRoutesSDK_ListRoute_Call) Return ¶
func (_c *MockRoutesSDK_ListRoute_Call) Return(_a0 *operations.ListRouteResponse, _a1 error) *MockRoutesSDK_ListRoute_Call
func (*MockRoutesSDK_ListRoute_Call) Run ¶
func (_c *MockRoutesSDK_ListRoute_Call) Run(run func(ctx context.Context, request operations.ListRouteRequest, opts ...operations.Option)) *MockRoutesSDK_ListRoute_Call
func (*MockRoutesSDK_ListRoute_Call) RunAndReturn ¶
func (_c *MockRoutesSDK_ListRoute_Call) RunAndReturn(run func(context.Context, operations.ListRouteRequest, ...operations.Option) (*operations.ListRouteResponse, error)) *MockRoutesSDK_ListRoute_Call
type MockRoutesSDK_UpsertRoute_Call ¶
MockRoutesSDK_UpsertRoute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertRoute'
func (*MockRoutesSDK_UpsertRoute_Call) Return ¶
func (_c *MockRoutesSDK_UpsertRoute_Call) Return(_a0 *operations.UpsertRouteResponse, _a1 error) *MockRoutesSDK_UpsertRoute_Call
func (*MockRoutesSDK_UpsertRoute_Call) Run ¶
func (_c *MockRoutesSDK_UpsertRoute_Call) Run(run func(ctx context.Context, req operations.UpsertRouteRequest, opts ...operations.Option)) *MockRoutesSDK_UpsertRoute_Call
func (*MockRoutesSDK_UpsertRoute_Call) RunAndReturn ¶
func (_c *MockRoutesSDK_UpsertRoute_Call) RunAndReturn(run func(context.Context, operations.UpsertRouteRequest, ...operations.Option) (*operations.UpsertRouteResponse, error)) *MockRoutesSDK_UpsertRoute_Call
type MockSDKFactory ¶
type MockSDKFactory struct { SDK *MockSDKWrapper // contains filtered or unexported fields }
func NewMockSDKFactory ¶
func NewMockSDKFactory(t *testing.T) *MockSDKFactory
func (MockSDKFactory) NewKonnectSDK ¶
func (m MockSDKFactory) NewKonnectSDK(_ string, _ sdkops.SDKToken) sdkops.SDKWrapper
type MockSDKWrapper ¶
type MockSDKWrapper struct { ControlPlaneSDK *MockControlPlaneSDK ControlPlaneGroupSDK *MockControlPlaneGroupSDK ServicesSDK *MockServicesSDK RoutesSDK *MockRoutesSDK ConsumersSDK *MockConsumersSDK ConsumerGroupSDK *MockConsumerGroupSDK PluginSDK *MockPluginSDK UpstreamsSDK *MockUpstreamsSDK TargetsSDK *MockTargetsSDK MeSDK *MockMeSDK KongCredentialsBasicAuthSDK *MockKongCredentialBasicAuthSDK KongCredentialsAPIKeySDK *MockKongCredentialAPIKeySDK KongCredentialsACLSDK *MockKongCredentialACLSDK KongCredentialsJWTSDK *MockKongCredentialJWTSDK KongCredentialsHMACSDK *MockKongCredentialHMACSDK CACertificatesSDK *MockCACertificatesSDK CertificatesSDK *MockCertificatesSDK VaultSDK *MockVaultSDK KeysSDK *MockKeysSDK KeySetsSDK *MockKeySetsSDK SNIsSDK *MockSNIsSDK DataPlaneCertificatesSDK *MockDataPlaneClientCertificatesSDK }
func NewMockSDKWrapperWithT ¶
func NewMockSDKWrapperWithT(t *testing.T) *MockSDKWrapper
func (MockSDKWrapper) GetACLCredentialsSDK ¶
func (m MockSDKWrapper) GetACLCredentialsSDK() sdkops.KongCredentialACLSDK
func (MockSDKWrapper) GetAPIKeyCredentialsSDK ¶
func (m MockSDKWrapper) GetAPIKeyCredentialsSDK() sdkops.KongCredentialAPIKeySDK
func (MockSDKWrapper) GetBasicAuthCredentialsSDK ¶
func (m MockSDKWrapper) GetBasicAuthCredentialsSDK() sdkops.KongCredentialBasicAuthSDK
func (MockSDKWrapper) GetCACertificatesSDK ¶
func (m MockSDKWrapper) GetCACertificatesSDK() sdkops.CACertificatesSDK
func (MockSDKWrapper) GetCertificatesSDK ¶
func (m MockSDKWrapper) GetCertificatesSDK() sdkops.CertificatesSDK
func (MockSDKWrapper) GetConsumerGroupsSDK ¶
func (m MockSDKWrapper) GetConsumerGroupsSDK() sdkops.ConsumerGroupSDK
func (MockSDKWrapper) GetConsumersSDK ¶
func (m MockSDKWrapper) GetConsumersSDK() sdkops.ConsumersSDK
func (MockSDKWrapper) GetControlPlaneGroupSDK ¶
func (m MockSDKWrapper) GetControlPlaneGroupSDK() sdkops.ControlPlaneGroupSDK
func (MockSDKWrapper) GetControlPlaneSDK ¶
func (m MockSDKWrapper) GetControlPlaneSDK() sdkops.ControlPlaneSDK
func (MockSDKWrapper) GetDataPlaneCertificatesSDK ¶
func (m MockSDKWrapper) GetDataPlaneCertificatesSDK() sdkops.DataPlaneClientCertificatesSDK
func (MockSDKWrapper) GetHMACCredentialsSDK ¶
func (m MockSDKWrapper) GetHMACCredentialsSDK() sdkops.KongCredentialHMACSDK
func (MockSDKWrapper) GetJWTCredentialsSDK ¶
func (m MockSDKWrapper) GetJWTCredentialsSDK() sdkops.KongCredentialJWTSDK
func (MockSDKWrapper) GetKeySetsSDK ¶
func (m MockSDKWrapper) GetKeySetsSDK() sdkops.KeySetsSDK
func (MockSDKWrapper) GetKeysSDK ¶
func (m MockSDKWrapper) GetKeysSDK() sdkops.KeysSDK
func (MockSDKWrapper) GetMeSDK ¶
func (m MockSDKWrapper) GetMeSDK() sdkops.MeSDK
func (MockSDKWrapper) GetPluginSDK ¶
func (m MockSDKWrapper) GetPluginSDK() sdkops.PluginSDK
func (MockSDKWrapper) GetRoutesSDK ¶
func (m MockSDKWrapper) GetRoutesSDK() sdkops.RoutesSDK
func (MockSDKWrapper) GetSNIsSDK ¶
func (m MockSDKWrapper) GetSNIsSDK() sdkops.SNIsSDK
func (MockSDKWrapper) GetServicesSDK ¶
func (m MockSDKWrapper) GetServicesSDK() sdkops.ServicesSDK
func (MockSDKWrapper) GetTargetsSDK ¶
func (m MockSDKWrapper) GetTargetsSDK() sdkops.TargetsSDK
func (MockSDKWrapper) GetUpstreamsSDK ¶
func (m MockSDKWrapper) GetUpstreamsSDK() sdkops.UpstreamsSDK
func (MockSDKWrapper) GetVaultSDK ¶
func (m MockSDKWrapper) GetVaultSDK() sdkops.VaultSDK
type MockSNIsSDK ¶
MockSNIsSDK is an autogenerated mock type for the SNIsSDK type
func NewMockSNIsSDK ¶
func NewMockSNIsSDK(t interface { mock.TestingT Cleanup(func()) }) *MockSNIsSDK
NewMockSNIsSDK creates a new instance of MockSNIsSDK. 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 (*MockSNIsSDK) CreateSniWithCertificate ¶
func (_m *MockSNIsSDK) CreateSniWithCertificate(_a0 context.Context, _a1 operations.CreateSniWithCertificateRequest, _a2 ...operations.Option) (*operations.CreateSniWithCertificateResponse, error)
CreateSniWithCertificate provides a mock function with given fields: _a0, _a1, _a2
func (*MockSNIsSDK) DeleteSniWithCertificate ¶
func (_m *MockSNIsSDK) DeleteSniWithCertificate(ctx context.Context, request operations.DeleteSniWithCertificateRequest, opts ...operations.Option) (*operations.DeleteSniWithCertificateResponse, error)
DeleteSniWithCertificate provides a mock function with given fields: ctx, request, opts
func (*MockSNIsSDK) EXPECT ¶
func (_m *MockSNIsSDK) EXPECT() *MockSNIsSDK_Expecter
func (*MockSNIsSDK) ListSni ¶
func (_m *MockSNIsSDK) ListSni(ctx context.Context, request operations.ListSniRequest, opts ...operations.Option) (*operations.ListSniResponse, error)
ListSni provides a mock function with given fields: ctx, request, opts
func (*MockSNIsSDK) UpsertSniWithCertificate ¶
func (_m *MockSNIsSDK) UpsertSniWithCertificate(ctx context.Context, request operations.UpsertSniWithCertificateRequest, opts ...operations.Option) (*operations.UpsertSniWithCertificateResponse, error)
UpsertSniWithCertificate provides a mock function with given fields: ctx, request, opts
type MockSNIsSDK_CreateSniWithCertificate_Call ¶
MockSNIsSDK_CreateSniWithCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateSniWithCertificate'
func (*MockSNIsSDK_CreateSniWithCertificate_Call) Return ¶
func (_c *MockSNIsSDK_CreateSniWithCertificate_Call) Return(_a0 *operations.CreateSniWithCertificateResponse, _a1 error) *MockSNIsSDK_CreateSniWithCertificate_Call
func (*MockSNIsSDK_CreateSniWithCertificate_Call) Run ¶
func (_c *MockSNIsSDK_CreateSniWithCertificate_Call) Run(run func(_a0 context.Context, _a1 operations.CreateSniWithCertificateRequest, _a2 ...operations.Option)) *MockSNIsSDK_CreateSniWithCertificate_Call
func (*MockSNIsSDK_CreateSniWithCertificate_Call) RunAndReturn ¶
func (_c *MockSNIsSDK_CreateSniWithCertificate_Call) RunAndReturn(run func(context.Context, operations.CreateSniWithCertificateRequest, ...operations.Option) (*operations.CreateSniWithCertificateResponse, error)) *MockSNIsSDK_CreateSniWithCertificate_Call
type MockSNIsSDK_DeleteSniWithCertificate_Call ¶
MockSNIsSDK_DeleteSniWithCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSniWithCertificate'
func (*MockSNIsSDK_DeleteSniWithCertificate_Call) Return ¶
func (_c *MockSNIsSDK_DeleteSniWithCertificate_Call) Return(_a0 *operations.DeleteSniWithCertificateResponse, _a1 error) *MockSNIsSDK_DeleteSniWithCertificate_Call
func (*MockSNIsSDK_DeleteSniWithCertificate_Call) Run ¶
func (_c *MockSNIsSDK_DeleteSniWithCertificate_Call) Run(run func(ctx context.Context, request operations.DeleteSniWithCertificateRequest, opts ...operations.Option)) *MockSNIsSDK_DeleteSniWithCertificate_Call
func (*MockSNIsSDK_DeleteSniWithCertificate_Call) RunAndReturn ¶
func (_c *MockSNIsSDK_DeleteSniWithCertificate_Call) RunAndReturn(run func(context.Context, operations.DeleteSniWithCertificateRequest, ...operations.Option) (*operations.DeleteSniWithCertificateResponse, error)) *MockSNIsSDK_DeleteSniWithCertificate_Call
type MockSNIsSDK_Expecter ¶
type MockSNIsSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSNIsSDK_Expecter) CreateSniWithCertificate ¶
func (_e *MockSNIsSDK_Expecter) CreateSniWithCertificate(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockSNIsSDK_CreateSniWithCertificate_Call
CreateSniWithCertificate is a helper method to define mock.On call
- _a0 context.Context
- _a1 operations.CreateSniWithCertificateRequest
- _a2 ...operations.Option
func (*MockSNIsSDK_Expecter) DeleteSniWithCertificate ¶
func (_e *MockSNIsSDK_Expecter) DeleteSniWithCertificate(ctx interface{}, request interface{}, opts ...interface{}) *MockSNIsSDK_DeleteSniWithCertificate_Call
DeleteSniWithCertificate is a helper method to define mock.On call
- ctx context.Context
- request operations.DeleteSniWithCertificateRequest
- opts ...operations.Option
func (*MockSNIsSDK_Expecter) ListSni ¶
func (_e *MockSNIsSDK_Expecter) ListSni(ctx interface{}, request interface{}, opts ...interface{}) *MockSNIsSDK_ListSni_Call
ListSni is a helper method to define mock.On call
- ctx context.Context
- request operations.ListSniRequest
- opts ...operations.Option
func (*MockSNIsSDK_Expecter) UpsertSniWithCertificate ¶
func (_e *MockSNIsSDK_Expecter) UpsertSniWithCertificate(ctx interface{}, request interface{}, opts ...interface{}) *MockSNIsSDK_UpsertSniWithCertificate_Call
UpsertSniWithCertificate is a helper method to define mock.On call
- ctx context.Context
- request operations.UpsertSniWithCertificateRequest
- opts ...operations.Option
type MockSNIsSDK_ListSni_Call ¶
MockSNIsSDK_ListSni_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSni'
func (*MockSNIsSDK_ListSni_Call) Return ¶
func (_c *MockSNIsSDK_ListSni_Call) Return(_a0 *operations.ListSniResponse, _a1 error) *MockSNIsSDK_ListSni_Call
func (*MockSNIsSDK_ListSni_Call) Run ¶
func (_c *MockSNIsSDK_ListSni_Call) Run(run func(ctx context.Context, request operations.ListSniRequest, opts ...operations.Option)) *MockSNIsSDK_ListSni_Call
func (*MockSNIsSDK_ListSni_Call) RunAndReturn ¶
func (_c *MockSNIsSDK_ListSni_Call) RunAndReturn(run func(context.Context, operations.ListSniRequest, ...operations.Option) (*operations.ListSniResponse, error)) *MockSNIsSDK_ListSni_Call
type MockSNIsSDK_UpsertSniWithCertificate_Call ¶
MockSNIsSDK_UpsertSniWithCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertSniWithCertificate'
func (*MockSNIsSDK_UpsertSniWithCertificate_Call) Return ¶
func (_c *MockSNIsSDK_UpsertSniWithCertificate_Call) Return(_a0 *operations.UpsertSniWithCertificateResponse, _a1 error) *MockSNIsSDK_UpsertSniWithCertificate_Call
func (*MockSNIsSDK_UpsertSniWithCertificate_Call) Run ¶
func (_c *MockSNIsSDK_UpsertSniWithCertificate_Call) Run(run func(ctx context.Context, request operations.UpsertSniWithCertificateRequest, opts ...operations.Option)) *MockSNIsSDK_UpsertSniWithCertificate_Call
func (*MockSNIsSDK_UpsertSniWithCertificate_Call) RunAndReturn ¶
func (_c *MockSNIsSDK_UpsertSniWithCertificate_Call) RunAndReturn(run func(context.Context, operations.UpsertSniWithCertificateRequest, ...operations.Option) (*operations.UpsertSniWithCertificateResponse, error)) *MockSNIsSDK_UpsertSniWithCertificate_Call
type MockServicesSDK ¶
MockServicesSDK is an autogenerated mock type for the ServicesSDK type
func NewMockServicesSDK ¶
func NewMockServicesSDK(t interface { mock.TestingT Cleanup(func()) }) *MockServicesSDK
NewMockServicesSDK creates a new instance of MockServicesSDK. 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 (*MockServicesSDK) CreateService ¶
func (_m *MockServicesSDK) CreateService(ctx context.Context, controlPlaneID string, service components.ServiceInput, opts ...operations.Option) (*operations.CreateServiceResponse, error)
CreateService provides a mock function with given fields: ctx, controlPlaneID, service, opts
func (*MockServicesSDK) DeleteService ¶
func (_m *MockServicesSDK) DeleteService(ctx context.Context, controlPlaneID string, serviceID string, opts ...operations.Option) (*operations.DeleteServiceResponse, error)
DeleteService provides a mock function with given fields: ctx, controlPlaneID, serviceID, opts
func (*MockServicesSDK) EXPECT ¶
func (_m *MockServicesSDK) EXPECT() *MockServicesSDK_Expecter
func (*MockServicesSDK) ListService ¶
func (_m *MockServicesSDK) ListService(ctx context.Context, request operations.ListServiceRequest, opts ...operations.Option) (*operations.ListServiceResponse, error)
ListService provides a mock function with given fields: ctx, request, opts
func (*MockServicesSDK) UpsertService ¶
func (_m *MockServicesSDK) UpsertService(ctx context.Context, req operations.UpsertServiceRequest, opts ...operations.Option) (*operations.UpsertServiceResponse, error)
UpsertService provides a mock function with given fields: ctx, req, opts
type MockServicesSDK_CreateService_Call ¶
MockServicesSDK_CreateService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateService'
func (*MockServicesSDK_CreateService_Call) Return ¶
func (_c *MockServicesSDK_CreateService_Call) Return(_a0 *operations.CreateServiceResponse, _a1 error) *MockServicesSDK_CreateService_Call
func (*MockServicesSDK_CreateService_Call) Run ¶
func (_c *MockServicesSDK_CreateService_Call) Run(run func(ctx context.Context, controlPlaneID string, service components.ServiceInput, opts ...operations.Option)) *MockServicesSDK_CreateService_Call
func (*MockServicesSDK_CreateService_Call) RunAndReturn ¶
func (_c *MockServicesSDK_CreateService_Call) RunAndReturn(run func(context.Context, string, components.ServiceInput, ...operations.Option) (*operations.CreateServiceResponse, error)) *MockServicesSDK_CreateService_Call
type MockServicesSDK_DeleteService_Call ¶
MockServicesSDK_DeleteService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteService'
func (*MockServicesSDK_DeleteService_Call) Return ¶
func (_c *MockServicesSDK_DeleteService_Call) Return(_a0 *operations.DeleteServiceResponse, _a1 error) *MockServicesSDK_DeleteService_Call
func (*MockServicesSDK_DeleteService_Call) Run ¶
func (_c *MockServicesSDK_DeleteService_Call) Run(run func(ctx context.Context, controlPlaneID string, serviceID string, opts ...operations.Option)) *MockServicesSDK_DeleteService_Call
func (*MockServicesSDK_DeleteService_Call) RunAndReturn ¶
func (_c *MockServicesSDK_DeleteService_Call) RunAndReturn(run func(context.Context, string, string, ...operations.Option) (*operations.DeleteServiceResponse, error)) *MockServicesSDK_DeleteService_Call
type MockServicesSDK_Expecter ¶
type MockServicesSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockServicesSDK_Expecter) CreateService ¶
func (_e *MockServicesSDK_Expecter) CreateService(ctx interface{}, controlPlaneID interface{}, service interface{}, opts ...interface{}) *MockServicesSDK_CreateService_Call
CreateService is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- service components.ServiceInput
- opts ...operations.Option
func (*MockServicesSDK_Expecter) DeleteService ¶
func (_e *MockServicesSDK_Expecter) DeleteService(ctx interface{}, controlPlaneID interface{}, serviceID interface{}, opts ...interface{}) *MockServicesSDK_DeleteService_Call
DeleteService is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- serviceID string
- opts ...operations.Option
func (*MockServicesSDK_Expecter) ListService ¶
func (_e *MockServicesSDK_Expecter) ListService(ctx interface{}, request interface{}, opts ...interface{}) *MockServicesSDK_ListService_Call
ListService is a helper method to define mock.On call
- ctx context.Context
- request operations.ListServiceRequest
- opts ...operations.Option
func (*MockServicesSDK_Expecter) UpsertService ¶
func (_e *MockServicesSDK_Expecter) UpsertService(ctx interface{}, req interface{}, opts ...interface{}) *MockServicesSDK_UpsertService_Call
UpsertService is a helper method to define mock.On call
- ctx context.Context
- req operations.UpsertServiceRequest
- opts ...operations.Option
type MockServicesSDK_ListService_Call ¶
MockServicesSDK_ListService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListService'
func (*MockServicesSDK_ListService_Call) Return ¶
func (_c *MockServicesSDK_ListService_Call) Return(_a0 *operations.ListServiceResponse, _a1 error) *MockServicesSDK_ListService_Call
func (*MockServicesSDK_ListService_Call) Run ¶
func (_c *MockServicesSDK_ListService_Call) Run(run func(ctx context.Context, request operations.ListServiceRequest, opts ...operations.Option)) *MockServicesSDK_ListService_Call
func (*MockServicesSDK_ListService_Call) RunAndReturn ¶
func (_c *MockServicesSDK_ListService_Call) RunAndReturn(run func(context.Context, operations.ListServiceRequest, ...operations.Option) (*operations.ListServiceResponse, error)) *MockServicesSDK_ListService_Call
type MockServicesSDK_UpsertService_Call ¶
MockServicesSDK_UpsertService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertService'
func (*MockServicesSDK_UpsertService_Call) Return ¶
func (_c *MockServicesSDK_UpsertService_Call) Return(_a0 *operations.UpsertServiceResponse, _a1 error) *MockServicesSDK_UpsertService_Call
func (*MockServicesSDK_UpsertService_Call) Run ¶
func (_c *MockServicesSDK_UpsertService_Call) Run(run func(ctx context.Context, req operations.UpsertServiceRequest, opts ...operations.Option)) *MockServicesSDK_UpsertService_Call
func (*MockServicesSDK_UpsertService_Call) RunAndReturn ¶
func (_c *MockServicesSDK_UpsertService_Call) RunAndReturn(run func(context.Context, operations.UpsertServiceRequest, ...operations.Option) (*operations.UpsertServiceResponse, error)) *MockServicesSDK_UpsertService_Call
type MockTargetsSDK ¶
MockTargetsSDK is an autogenerated mock type for the TargetsSDK type
func NewMockTargetsSDK ¶
func NewMockTargetsSDK(t interface { mock.TestingT Cleanup(func()) }) *MockTargetsSDK
NewMockTargetsSDK creates a new instance of MockTargetsSDK. 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 (*MockTargetsSDK) CreateTargetWithUpstream ¶
func (_m *MockTargetsSDK) CreateTargetWithUpstream(ctx context.Context, req operations.CreateTargetWithUpstreamRequest, opts ...operations.Option) (*operations.CreateTargetWithUpstreamResponse, error)
CreateTargetWithUpstream provides a mock function with given fields: ctx, req, opts
func (*MockTargetsSDK) DeleteTargetWithUpstream ¶
func (_m *MockTargetsSDK) DeleteTargetWithUpstream(ctx context.Context, req operations.DeleteTargetWithUpstreamRequest, opts ...operations.Option) (*operations.DeleteTargetWithUpstreamResponse, error)
DeleteTargetWithUpstream provides a mock function with given fields: ctx, req, opts
func (*MockTargetsSDK) EXPECT ¶
func (_m *MockTargetsSDK) EXPECT() *MockTargetsSDK_Expecter
func (*MockTargetsSDK) ListTargetWithUpstream ¶
func (_m *MockTargetsSDK) ListTargetWithUpstream(ctx context.Context, request operations.ListTargetWithUpstreamRequest, opts ...operations.Option) (*operations.ListTargetWithUpstreamResponse, error)
ListTargetWithUpstream provides a mock function with given fields: ctx, request, opts
func (*MockTargetsSDK) UpsertTargetWithUpstream ¶
func (_m *MockTargetsSDK) UpsertTargetWithUpstream(ctx context.Context, req operations.UpsertTargetWithUpstreamRequest, opts ...operations.Option) (*operations.UpsertTargetWithUpstreamResponse, error)
UpsertTargetWithUpstream provides a mock function with given fields: ctx, req, opts
type MockTargetsSDK_CreateTargetWithUpstream_Call ¶
MockTargetsSDK_CreateTargetWithUpstream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTargetWithUpstream'
func (*MockTargetsSDK_CreateTargetWithUpstream_Call) Return ¶
func (_c *MockTargetsSDK_CreateTargetWithUpstream_Call) Return(_a0 *operations.CreateTargetWithUpstreamResponse, _a1 error) *MockTargetsSDK_CreateTargetWithUpstream_Call
func (*MockTargetsSDK_CreateTargetWithUpstream_Call) Run ¶
func (_c *MockTargetsSDK_CreateTargetWithUpstream_Call) Run(run func(ctx context.Context, req operations.CreateTargetWithUpstreamRequest, opts ...operations.Option)) *MockTargetsSDK_CreateTargetWithUpstream_Call
func (*MockTargetsSDK_CreateTargetWithUpstream_Call) RunAndReturn ¶
func (_c *MockTargetsSDK_CreateTargetWithUpstream_Call) RunAndReturn(run func(context.Context, operations.CreateTargetWithUpstreamRequest, ...operations.Option) (*operations.CreateTargetWithUpstreamResponse, error)) *MockTargetsSDK_CreateTargetWithUpstream_Call
type MockTargetsSDK_DeleteTargetWithUpstream_Call ¶
MockTargetsSDK_DeleteTargetWithUpstream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTargetWithUpstream'
func (*MockTargetsSDK_DeleteTargetWithUpstream_Call) Return ¶
func (_c *MockTargetsSDK_DeleteTargetWithUpstream_Call) Return(_a0 *operations.DeleteTargetWithUpstreamResponse, _a1 error) *MockTargetsSDK_DeleteTargetWithUpstream_Call
func (*MockTargetsSDK_DeleteTargetWithUpstream_Call) Run ¶
func (_c *MockTargetsSDK_DeleteTargetWithUpstream_Call) Run(run func(ctx context.Context, req operations.DeleteTargetWithUpstreamRequest, opts ...operations.Option)) *MockTargetsSDK_DeleteTargetWithUpstream_Call
func (*MockTargetsSDK_DeleteTargetWithUpstream_Call) RunAndReturn ¶
func (_c *MockTargetsSDK_DeleteTargetWithUpstream_Call) RunAndReturn(run func(context.Context, operations.DeleteTargetWithUpstreamRequest, ...operations.Option) (*operations.DeleteTargetWithUpstreamResponse, error)) *MockTargetsSDK_DeleteTargetWithUpstream_Call
type MockTargetsSDK_Expecter ¶
type MockTargetsSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTargetsSDK_Expecter) CreateTargetWithUpstream ¶
func (_e *MockTargetsSDK_Expecter) CreateTargetWithUpstream(ctx interface{}, req interface{}, opts ...interface{}) *MockTargetsSDK_CreateTargetWithUpstream_Call
CreateTargetWithUpstream is a helper method to define mock.On call
- ctx context.Context
- req operations.CreateTargetWithUpstreamRequest
- opts ...operations.Option
func (*MockTargetsSDK_Expecter) DeleteTargetWithUpstream ¶
func (_e *MockTargetsSDK_Expecter) DeleteTargetWithUpstream(ctx interface{}, req interface{}, opts ...interface{}) *MockTargetsSDK_DeleteTargetWithUpstream_Call
DeleteTargetWithUpstream is a helper method to define mock.On call
- ctx context.Context
- req operations.DeleteTargetWithUpstreamRequest
- opts ...operations.Option
func (*MockTargetsSDK_Expecter) ListTargetWithUpstream ¶
func (_e *MockTargetsSDK_Expecter) ListTargetWithUpstream(ctx interface{}, request interface{}, opts ...interface{}) *MockTargetsSDK_ListTargetWithUpstream_Call
ListTargetWithUpstream is a helper method to define mock.On call
- ctx context.Context
- request operations.ListTargetWithUpstreamRequest
- opts ...operations.Option
func (*MockTargetsSDK_Expecter) UpsertTargetWithUpstream ¶
func (_e *MockTargetsSDK_Expecter) UpsertTargetWithUpstream(ctx interface{}, req interface{}, opts ...interface{}) *MockTargetsSDK_UpsertTargetWithUpstream_Call
UpsertTargetWithUpstream is a helper method to define mock.On call
- ctx context.Context
- req operations.UpsertTargetWithUpstreamRequest
- opts ...operations.Option
type MockTargetsSDK_ListTargetWithUpstream_Call ¶
MockTargetsSDK_ListTargetWithUpstream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTargetWithUpstream'
func (*MockTargetsSDK_ListTargetWithUpstream_Call) Return ¶
func (_c *MockTargetsSDK_ListTargetWithUpstream_Call) Return(_a0 *operations.ListTargetWithUpstreamResponse, _a1 error) *MockTargetsSDK_ListTargetWithUpstream_Call
func (*MockTargetsSDK_ListTargetWithUpstream_Call) Run ¶
func (_c *MockTargetsSDK_ListTargetWithUpstream_Call) Run(run func(ctx context.Context, request operations.ListTargetWithUpstreamRequest, opts ...operations.Option)) *MockTargetsSDK_ListTargetWithUpstream_Call
func (*MockTargetsSDK_ListTargetWithUpstream_Call) RunAndReturn ¶
func (_c *MockTargetsSDK_ListTargetWithUpstream_Call) RunAndReturn(run func(context.Context, operations.ListTargetWithUpstreamRequest, ...operations.Option) (*operations.ListTargetWithUpstreamResponse, error)) *MockTargetsSDK_ListTargetWithUpstream_Call
type MockTargetsSDK_UpsertTargetWithUpstream_Call ¶
MockTargetsSDK_UpsertTargetWithUpstream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertTargetWithUpstream'
func (*MockTargetsSDK_UpsertTargetWithUpstream_Call) Return ¶
func (_c *MockTargetsSDK_UpsertTargetWithUpstream_Call) Return(_a0 *operations.UpsertTargetWithUpstreamResponse, _a1 error) *MockTargetsSDK_UpsertTargetWithUpstream_Call
func (*MockTargetsSDK_UpsertTargetWithUpstream_Call) Run ¶
func (_c *MockTargetsSDK_UpsertTargetWithUpstream_Call) Run(run func(ctx context.Context, req operations.UpsertTargetWithUpstreamRequest, opts ...operations.Option)) *MockTargetsSDK_UpsertTargetWithUpstream_Call
func (*MockTargetsSDK_UpsertTargetWithUpstream_Call) RunAndReturn ¶
func (_c *MockTargetsSDK_UpsertTargetWithUpstream_Call) RunAndReturn(run func(context.Context, operations.UpsertTargetWithUpstreamRequest, ...operations.Option) (*operations.UpsertTargetWithUpstreamResponse, error)) *MockTargetsSDK_UpsertTargetWithUpstream_Call
type MockUpstreamsSDK ¶
MockUpstreamsSDK is an autogenerated mock type for the UpstreamsSDK type
func NewMockUpstreamsSDK ¶
func NewMockUpstreamsSDK(t interface { mock.TestingT Cleanup(func()) }) *MockUpstreamsSDK
NewMockUpstreamsSDK creates a new instance of MockUpstreamsSDK. 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 (*MockUpstreamsSDK) CreateUpstream ¶
func (_m *MockUpstreamsSDK) CreateUpstream(ctx context.Context, controlPlaneID string, upstream components.UpstreamInput, opts ...operations.Option) (*operations.CreateUpstreamResponse, error)
CreateUpstream provides a mock function with given fields: ctx, controlPlaneID, upstream, opts
func (*MockUpstreamsSDK) DeleteUpstream ¶
func (_m *MockUpstreamsSDK) DeleteUpstream(ctx context.Context, controlPlaneID string, upstreamID string, opts ...operations.Option) (*operations.DeleteUpstreamResponse, error)
DeleteUpstream provides a mock function with given fields: ctx, controlPlaneID, upstreamID, opts
func (*MockUpstreamsSDK) EXPECT ¶
func (_m *MockUpstreamsSDK) EXPECT() *MockUpstreamsSDK_Expecter
func (*MockUpstreamsSDK) ListUpstream ¶
func (_m *MockUpstreamsSDK) ListUpstream(ctx context.Context, request operations.ListUpstreamRequest, opts ...operations.Option) (*operations.ListUpstreamResponse, error)
ListUpstream provides a mock function with given fields: ctx, request, opts
func (*MockUpstreamsSDK) UpsertUpstream ¶
func (_m *MockUpstreamsSDK) UpsertUpstream(ctx context.Context, req operations.UpsertUpstreamRequest, opts ...operations.Option) (*operations.UpsertUpstreamResponse, error)
UpsertUpstream provides a mock function with given fields: ctx, req, opts
type MockUpstreamsSDK_CreateUpstream_Call ¶
MockUpstreamsSDK_CreateUpstream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateUpstream'
func (*MockUpstreamsSDK_CreateUpstream_Call) Return ¶
func (_c *MockUpstreamsSDK_CreateUpstream_Call) Return(_a0 *operations.CreateUpstreamResponse, _a1 error) *MockUpstreamsSDK_CreateUpstream_Call
func (*MockUpstreamsSDK_CreateUpstream_Call) Run ¶
func (_c *MockUpstreamsSDK_CreateUpstream_Call) Run(run func(ctx context.Context, controlPlaneID string, upstream components.UpstreamInput, opts ...operations.Option)) *MockUpstreamsSDK_CreateUpstream_Call
func (*MockUpstreamsSDK_CreateUpstream_Call) RunAndReturn ¶
func (_c *MockUpstreamsSDK_CreateUpstream_Call) RunAndReturn(run func(context.Context, string, components.UpstreamInput, ...operations.Option) (*operations.CreateUpstreamResponse, error)) *MockUpstreamsSDK_CreateUpstream_Call
type MockUpstreamsSDK_DeleteUpstream_Call ¶
MockUpstreamsSDK_DeleteUpstream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteUpstream'
func (*MockUpstreamsSDK_DeleteUpstream_Call) Return ¶
func (_c *MockUpstreamsSDK_DeleteUpstream_Call) Return(_a0 *operations.DeleteUpstreamResponse, _a1 error) *MockUpstreamsSDK_DeleteUpstream_Call
func (*MockUpstreamsSDK_DeleteUpstream_Call) Run ¶
func (_c *MockUpstreamsSDK_DeleteUpstream_Call) Run(run func(ctx context.Context, controlPlaneID string, upstreamID string, opts ...operations.Option)) *MockUpstreamsSDK_DeleteUpstream_Call
func (*MockUpstreamsSDK_DeleteUpstream_Call) RunAndReturn ¶
func (_c *MockUpstreamsSDK_DeleteUpstream_Call) RunAndReturn(run func(context.Context, string, string, ...operations.Option) (*operations.DeleteUpstreamResponse, error)) *MockUpstreamsSDK_DeleteUpstream_Call
type MockUpstreamsSDK_Expecter ¶
type MockUpstreamsSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockUpstreamsSDK_Expecter) CreateUpstream ¶
func (_e *MockUpstreamsSDK_Expecter) CreateUpstream(ctx interface{}, controlPlaneID interface{}, upstream interface{}, opts ...interface{}) *MockUpstreamsSDK_CreateUpstream_Call
CreateUpstream is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- upstream components.UpstreamInput
- opts ...operations.Option
func (*MockUpstreamsSDK_Expecter) DeleteUpstream ¶
func (_e *MockUpstreamsSDK_Expecter) DeleteUpstream(ctx interface{}, controlPlaneID interface{}, upstreamID interface{}, opts ...interface{}) *MockUpstreamsSDK_DeleteUpstream_Call
DeleteUpstream is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- upstreamID string
- opts ...operations.Option
func (*MockUpstreamsSDK_Expecter) ListUpstream ¶
func (_e *MockUpstreamsSDK_Expecter) ListUpstream(ctx interface{}, request interface{}, opts ...interface{}) *MockUpstreamsSDK_ListUpstream_Call
ListUpstream is a helper method to define mock.On call
- ctx context.Context
- request operations.ListUpstreamRequest
- opts ...operations.Option
func (*MockUpstreamsSDK_Expecter) UpsertUpstream ¶
func (_e *MockUpstreamsSDK_Expecter) UpsertUpstream(ctx interface{}, req interface{}, opts ...interface{}) *MockUpstreamsSDK_UpsertUpstream_Call
UpsertUpstream is a helper method to define mock.On call
- ctx context.Context
- req operations.UpsertUpstreamRequest
- opts ...operations.Option
type MockUpstreamsSDK_ListUpstream_Call ¶
MockUpstreamsSDK_ListUpstream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUpstream'
func (*MockUpstreamsSDK_ListUpstream_Call) Return ¶
func (_c *MockUpstreamsSDK_ListUpstream_Call) Return(_a0 *operations.ListUpstreamResponse, _a1 error) *MockUpstreamsSDK_ListUpstream_Call
func (*MockUpstreamsSDK_ListUpstream_Call) Run ¶
func (_c *MockUpstreamsSDK_ListUpstream_Call) Run(run func(ctx context.Context, request operations.ListUpstreamRequest, opts ...operations.Option)) *MockUpstreamsSDK_ListUpstream_Call
func (*MockUpstreamsSDK_ListUpstream_Call) RunAndReturn ¶
func (_c *MockUpstreamsSDK_ListUpstream_Call) RunAndReturn(run func(context.Context, operations.ListUpstreamRequest, ...operations.Option) (*operations.ListUpstreamResponse, error)) *MockUpstreamsSDK_ListUpstream_Call
type MockUpstreamsSDK_UpsertUpstream_Call ¶
MockUpstreamsSDK_UpsertUpstream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertUpstream'
func (*MockUpstreamsSDK_UpsertUpstream_Call) Return ¶
func (_c *MockUpstreamsSDK_UpsertUpstream_Call) Return(_a0 *operations.UpsertUpstreamResponse, _a1 error) *MockUpstreamsSDK_UpsertUpstream_Call
func (*MockUpstreamsSDK_UpsertUpstream_Call) Run ¶
func (_c *MockUpstreamsSDK_UpsertUpstream_Call) Run(run func(ctx context.Context, req operations.UpsertUpstreamRequest, opts ...operations.Option)) *MockUpstreamsSDK_UpsertUpstream_Call
func (*MockUpstreamsSDK_UpsertUpstream_Call) RunAndReturn ¶
func (_c *MockUpstreamsSDK_UpsertUpstream_Call) RunAndReturn(run func(context.Context, operations.UpsertUpstreamRequest, ...operations.Option) (*operations.UpsertUpstreamResponse, error)) *MockUpstreamsSDK_UpsertUpstream_Call
type MockVaultSDK ¶
MockVaultSDK is an autogenerated mock type for the VaultSDK type
func NewMockVaultSDK ¶
func NewMockVaultSDK(t interface { mock.TestingT Cleanup(func()) }) *MockVaultSDK
NewMockVaultSDK creates a new instance of MockVaultSDK. 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 (*MockVaultSDK) CreateVault ¶
func (_m *MockVaultSDK) CreateVault(ctx context.Context, controlPlaneID string, vault components.VaultInput, opts ...operations.Option) (*operations.CreateVaultResponse, error)
CreateVault provides a mock function with given fields: ctx, controlPlaneID, vault, opts
func (*MockVaultSDK) DeleteVault ¶
func (_m *MockVaultSDK) DeleteVault(ctx context.Context, controlPlaneID string, vaultID string, opts ...operations.Option) (*operations.DeleteVaultResponse, error)
DeleteVault provides a mock function with given fields: ctx, controlPlaneID, vaultID, opts
func (*MockVaultSDK) EXPECT ¶
func (_m *MockVaultSDK) EXPECT() *MockVaultSDK_Expecter
func (*MockVaultSDK) ListVault ¶
func (_m *MockVaultSDK) ListVault(ctx context.Context, request operations.ListVaultRequest, opts ...operations.Option) (*operations.ListVaultResponse, error)
ListVault provides a mock function with given fields: ctx, request, opts
func (*MockVaultSDK) UpsertVault ¶
func (_m *MockVaultSDK) UpsertVault(ctx context.Context, request operations.UpsertVaultRequest, opts ...operations.Option) (*operations.UpsertVaultResponse, error)
UpsertVault provides a mock function with given fields: ctx, request, opts
type MockVaultSDK_CreateVault_Call ¶
MockVaultSDK_CreateVault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateVault'
func (*MockVaultSDK_CreateVault_Call) Return ¶
func (_c *MockVaultSDK_CreateVault_Call) Return(_a0 *operations.CreateVaultResponse, _a1 error) *MockVaultSDK_CreateVault_Call
func (*MockVaultSDK_CreateVault_Call) Run ¶
func (_c *MockVaultSDK_CreateVault_Call) Run(run func(ctx context.Context, controlPlaneID string, vault components.VaultInput, opts ...operations.Option)) *MockVaultSDK_CreateVault_Call
func (*MockVaultSDK_CreateVault_Call) RunAndReturn ¶
func (_c *MockVaultSDK_CreateVault_Call) RunAndReturn(run func(context.Context, string, components.VaultInput, ...operations.Option) (*operations.CreateVaultResponse, error)) *MockVaultSDK_CreateVault_Call
type MockVaultSDK_DeleteVault_Call ¶
MockVaultSDK_DeleteVault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteVault'
func (*MockVaultSDK_DeleteVault_Call) Return ¶
func (_c *MockVaultSDK_DeleteVault_Call) Return(_a0 *operations.DeleteVaultResponse, _a1 error) *MockVaultSDK_DeleteVault_Call
func (*MockVaultSDK_DeleteVault_Call) Run ¶
func (_c *MockVaultSDK_DeleteVault_Call) Run(run func(ctx context.Context, controlPlaneID string, vaultID string, opts ...operations.Option)) *MockVaultSDK_DeleteVault_Call
func (*MockVaultSDK_DeleteVault_Call) RunAndReturn ¶
func (_c *MockVaultSDK_DeleteVault_Call) RunAndReturn(run func(context.Context, string, string, ...operations.Option) (*operations.DeleteVaultResponse, error)) *MockVaultSDK_DeleteVault_Call
type MockVaultSDK_Expecter ¶
type MockVaultSDK_Expecter struct {
// contains filtered or unexported fields
}
func (*MockVaultSDK_Expecter) CreateVault ¶
func (_e *MockVaultSDK_Expecter) CreateVault(ctx interface{}, controlPlaneID interface{}, vault interface{}, opts ...interface{}) *MockVaultSDK_CreateVault_Call
CreateVault is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- vault components.VaultInput
- opts ...operations.Option
func (*MockVaultSDK_Expecter) DeleteVault ¶
func (_e *MockVaultSDK_Expecter) DeleteVault(ctx interface{}, controlPlaneID interface{}, vaultID interface{}, opts ...interface{}) *MockVaultSDK_DeleteVault_Call
DeleteVault is a helper method to define mock.On call
- ctx context.Context
- controlPlaneID string
- vaultID string
- opts ...operations.Option
func (*MockVaultSDK_Expecter) ListVault ¶
func (_e *MockVaultSDK_Expecter) ListVault(ctx interface{}, request interface{}, opts ...interface{}) *MockVaultSDK_ListVault_Call
ListVault is a helper method to define mock.On call
- ctx context.Context
- request operations.ListVaultRequest
- opts ...operations.Option
func (*MockVaultSDK_Expecter) UpsertVault ¶
func (_e *MockVaultSDK_Expecter) UpsertVault(ctx interface{}, request interface{}, opts ...interface{}) *MockVaultSDK_UpsertVault_Call
UpsertVault is a helper method to define mock.On call
- ctx context.Context
- request operations.UpsertVaultRequest
- opts ...operations.Option
type MockVaultSDK_ListVault_Call ¶
MockVaultSDK_ListVault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListVault'
func (*MockVaultSDK_ListVault_Call) Return ¶
func (_c *MockVaultSDK_ListVault_Call) Return(_a0 *operations.ListVaultResponse, _a1 error) *MockVaultSDK_ListVault_Call
func (*MockVaultSDK_ListVault_Call) Run ¶
func (_c *MockVaultSDK_ListVault_Call) Run(run func(ctx context.Context, request operations.ListVaultRequest, opts ...operations.Option)) *MockVaultSDK_ListVault_Call
func (*MockVaultSDK_ListVault_Call) RunAndReturn ¶
func (_c *MockVaultSDK_ListVault_Call) RunAndReturn(run func(context.Context, operations.ListVaultRequest, ...operations.Option) (*operations.ListVaultResponse, error)) *MockVaultSDK_ListVault_Call
type MockVaultSDK_UpsertVault_Call ¶
MockVaultSDK_UpsertVault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertVault'
func (*MockVaultSDK_UpsertVault_Call) Return ¶
func (_c *MockVaultSDK_UpsertVault_Call) Return(_a0 *operations.UpsertVaultResponse, _a1 error) *MockVaultSDK_UpsertVault_Call
func (*MockVaultSDK_UpsertVault_Call) Run ¶
func (_c *MockVaultSDK_UpsertVault_Call) Run(run func(ctx context.Context, request operations.UpsertVaultRequest, opts ...operations.Option)) *MockVaultSDK_UpsertVault_Call
func (*MockVaultSDK_UpsertVault_Call) RunAndReturn ¶
func (_c *MockVaultSDK_UpsertVault_Call) RunAndReturn(run func(context.Context, operations.UpsertVaultRequest, ...operations.Option) (*operations.UpsertVaultResponse, error)) *MockVaultSDK_UpsertVault_Call
Source Files ¶
- sdkfactory_mock.go
- zz_generated.controlplane_mock.go
- zz_generated.controlplanegroup_mock.go
- zz_generated.credentialacl_mock.go
- zz_generated.credentialapikey_mock.go
- zz_generated.credentialbasicauth_mock.go
- zz_generated.credentialhmac_mock.go
- zz_generated.credentialjwt_mock.go
- zz_generated.kongcacertificate_mock.go
- zz_generated.kongcertificate_mock.go
- zz_generated.kongconsumer_mock.go
- zz_generated.kongconsumergroup_mock.go
- zz_generated.kongdataplanecertificate_mock.go
- zz_generated.kongkey_mock.go
- zz_generated.kongkeyset_mock.go
- zz_generated.kongroute_mock.go
- zz_generated.kongservice_mock.go
- zz_generated.kongsni_mock.go
- zz_generated.kongtarget_mock.go
- zz_generated.kongupstream_mock.go
- zz_generated.kongvault_mock.go
- zz_generated.me_mock.go
- zz_generated.plugin_mock.go