Documentation ¶
Index ¶
- type APIClientRequester
- func (_m *APIClientRequester) AttachPoliciesToSocket(ctx context.Context, policyIDs []string, socketID string) error
- func (_m *APIClientRequester) AttachPolicyToSocket(ctx context.Context, policyID string, socketID string) error
- func (_m *APIClientRequester) Authenticate(ctx context.Context, opts ...auth.Option) error
- func (_m *APIClientRequester) Connector(ctx context.Context, id string) (*client.Connector, error)
- func (_m *APIClientRequester) ConnectorToken(ctx context.Context, connectorID string, tokenID string) (*client.ConnectorToken, error)
- func (_m *APIClientRequester) ConnectorTokens(ctx context.Context, connectorID string) (*client.ConnectorTokens, error)
- func (_m *APIClientRequester) Connectors(ctx context.Context) (*client.Connectors, error)
- func (_m *APIClientRequester) CreateConnector(ctx context.Context, in *client.Connector) (*client.Connector, error)
- func (_m *APIClientRequester) CreateConnectorToken(ctx context.Context, in *client.ConnectorToken) (*client.ConnectorToken, error)
- func (_m *APIClientRequester) CreateGroup(ctx context.Context, in *client.Group) (*client.Group, error)
- func (_m *APIClientRequester) CreatePolicy(ctx context.Context, in *client.Policy) (*client.Policy, error)
- func (_m *APIClientRequester) CreateServiceAccount(ctx context.Context, in *client.ServiceAccount) (*client.ServiceAccount, error)
- func (_m *APIClientRequester) CreateServiceAccountToken(ctx context.Context, serviceAccountName string, in *client.ServiceAccountToken) (*client.ServiceAccountToken, error)
- func (_m *APIClientRequester) CreateSocket(ctx context.Context, in *client.Socket) (*client.Socket, error)
- func (_m *APIClientRequester) CreateUser(ctx context.Context, in *client.User, opts ...client.UserOption) (*client.User, error)
- func (_m *APIClientRequester) DeleteConnector(ctx context.Context, id string) error
- func (_m *APIClientRequester) DeleteConnectorToken(ctx context.Context, connectorID string, tokenID string) error
- func (_m *APIClientRequester) DeleteGroup(ctx context.Context, id string) error
- func (_m *APIClientRequester) DeletePolicy(ctx context.Context, id string) error
- func (_m *APIClientRequester) DeleteServiceAccount(ctx context.Context, name string) error
- func (_m *APIClientRequester) DeleteServiceAccountToken(ctx context.Context, serviceAccountName string, tokenID string) error
- func (_m *APIClientRequester) DeleteSocket(ctx context.Context, idOrName string) error
- func (_m *APIClientRequester) DeleteUser(ctx context.Context, id string) error
- func (_m *APIClientRequester) EXPECT() *APIClientRequester_Expecter
- func (_m *APIClientRequester) Group(ctx context.Context, id string) (*client.Group, error)
- func (_m *APIClientRequester) Policies(ctx context.Context) ([]client.Policy, error)
- func (_m *APIClientRequester) PoliciesByNames(ctx context.Context, names ...string) ([]client.Policy, error)
- func (_m *APIClientRequester) Policy(ctx context.Context, id string) (*client.Policy, error)
- func (_m *APIClientRequester) RemovePoliciesFromSocket(ctx context.Context, policyIDs []string, socketID string) error
- func (_m *APIClientRequester) RemovePolicyFromSocket(ctx context.Context, policyID string, socketID string) error
- func (_m *APIClientRequester) ServiceAccount(ctx context.Context, name string) (*client.ServiceAccount, error)
- func (_m *APIClientRequester) ServiceAccountTokens(ctx context.Context, serviceAccountName string) (*client.ServiceAccountTokens, error)
- func (_m *APIClientRequester) SignSocketKey(ctx context.Context, idOrName string, in *client.SocketKeyToSign) (*client.SignedSocketKey, error)
- func (_m *APIClientRequester) Socket(ctx context.Context, idOrName string) (*client.Socket, error)
- func (_m *APIClientRequester) SocketConnectors(ctx context.Context, idOrName string) (*client.SocketConnectors, error)
- func (_m *APIClientRequester) SocketUpstreamConfigs(ctx context.Context, idOrName string) (*client.SocketUpstreamConfigs, error)
- func (_m *APIClientRequester) Sockets(ctx context.Context) ([]client.Socket, error)
- func (_m *APIClientRequester) TokenClaims() (jwt.MapClaims, error)
- func (_m *APIClientRequester) UpdateConnector(ctx context.Context, in *client.Connector) (*client.Connector, error)
- func (_m *APIClientRequester) UpdateGroup(ctx context.Context, in *client.Group) (*client.Group, error)
- func (_m *APIClientRequester) UpdateGroupMemberships(ctx context.Context, in *client.Group, userIDs []string) (*client.Group, error)
- func (_m *APIClientRequester) UpdatePolicy(ctx context.Context, id string, in *client.Policy) (*client.Policy, error)
- func (_m *APIClientRequester) UpdateServiceAccount(ctx context.Context, in *client.ServiceAccount) (*client.ServiceAccount, error)
- func (_m *APIClientRequester) UpdateSocket(ctx context.Context, idOrName string, in *client.Socket) (*client.Socket, error)
- func (_m *APIClientRequester) UpdateUser(ctx context.Context, in *client.User) (*client.User, error)
- func (_m *APIClientRequester) User(ctx context.Context, id string) (*client.User, error)
- func (_m *APIClientRequester) Users(ctx context.Context) (*client.Users, error)
- type APIClientRequester_AttachPoliciesToSocket_Call
- func (_c *APIClientRequester_AttachPoliciesToSocket_Call) Return(err error) *APIClientRequester_AttachPoliciesToSocket_Call
- func (_c *APIClientRequester_AttachPoliciesToSocket_Call) Run(run func(ctx context.Context, policyIDs []string, socketID string)) *APIClientRequester_AttachPoliciesToSocket_Call
- func (_c *APIClientRequester_AttachPoliciesToSocket_Call) RunAndReturn(run func(context.Context, []string, string) error) *APIClientRequester_AttachPoliciesToSocket_Call
- type APIClientRequester_AttachPolicyToSocket_Call
- func (_c *APIClientRequester_AttachPolicyToSocket_Call) Return(err error) *APIClientRequester_AttachPolicyToSocket_Call
- func (_c *APIClientRequester_AttachPolicyToSocket_Call) Run(run func(ctx context.Context, policyID string, socketID string)) *APIClientRequester_AttachPolicyToSocket_Call
- func (_c *APIClientRequester_AttachPolicyToSocket_Call) RunAndReturn(run func(context.Context, string, string) error) *APIClientRequester_AttachPolicyToSocket_Call
- type APIClientRequester_Authenticate_Call
- func (_c *APIClientRequester_Authenticate_Call) Return(_a0 error) *APIClientRequester_Authenticate_Call
- func (_c *APIClientRequester_Authenticate_Call) Run(run func(ctx context.Context, opts ...auth.Option)) *APIClientRequester_Authenticate_Call
- func (_c *APIClientRequester_Authenticate_Call) RunAndReturn(run func(context.Context, ...auth.Option) error) *APIClientRequester_Authenticate_Call
- type APIClientRequester_ConnectorToken_Call
- func (_c *APIClientRequester_ConnectorToken_Call) Return(out *client.ConnectorToken, err error) *APIClientRequester_ConnectorToken_Call
- func (_c *APIClientRequester_ConnectorToken_Call) Run(run func(ctx context.Context, connectorID string, tokenID string)) *APIClientRequester_ConnectorToken_Call
- func (_c *APIClientRequester_ConnectorToken_Call) RunAndReturn(run func(context.Context, string, string) (*client.ConnectorToken, error)) *APIClientRequester_ConnectorToken_Call
- type APIClientRequester_ConnectorTokens_Call
- func (_c *APIClientRequester_ConnectorTokens_Call) Return(out *client.ConnectorTokens, err error) *APIClientRequester_ConnectorTokens_Call
- func (_c *APIClientRequester_ConnectorTokens_Call) Run(run func(ctx context.Context, connectorID string)) *APIClientRequester_ConnectorTokens_Call
- func (_c *APIClientRequester_ConnectorTokens_Call) RunAndReturn(run func(context.Context, string) (*client.ConnectorTokens, error)) *APIClientRequester_ConnectorTokens_Call
- type APIClientRequester_Connector_Call
- func (_c *APIClientRequester_Connector_Call) Return(out *client.Connector, err error) *APIClientRequester_Connector_Call
- func (_c *APIClientRequester_Connector_Call) Run(run func(ctx context.Context, id string)) *APIClientRequester_Connector_Call
- func (_c *APIClientRequester_Connector_Call) RunAndReturn(run func(context.Context, string) (*client.Connector, error)) *APIClientRequester_Connector_Call
- type APIClientRequester_Connectors_Call
- func (_c *APIClientRequester_Connectors_Call) Return(out *client.Connectors, err error) *APIClientRequester_Connectors_Call
- func (_c *APIClientRequester_Connectors_Call) Run(run func(ctx context.Context)) *APIClientRequester_Connectors_Call
- func (_c *APIClientRequester_Connectors_Call) RunAndReturn(run func(context.Context) (*client.Connectors, error)) *APIClientRequester_Connectors_Call
- type APIClientRequester_CreateConnectorToken_Call
- func (_c *APIClientRequester_CreateConnectorToken_Call) Return(out *client.ConnectorToken, err error) *APIClientRequester_CreateConnectorToken_Call
- func (_c *APIClientRequester_CreateConnectorToken_Call) Run(run func(ctx context.Context, in *client.ConnectorToken)) *APIClientRequester_CreateConnectorToken_Call
- func (_c *APIClientRequester_CreateConnectorToken_Call) RunAndReturn(...) *APIClientRequester_CreateConnectorToken_Call
- type APIClientRequester_CreateConnector_Call
- func (_c *APIClientRequester_CreateConnector_Call) Return(out *client.Connector, err error) *APIClientRequester_CreateConnector_Call
- func (_c *APIClientRequester_CreateConnector_Call) Run(run func(ctx context.Context, in *client.Connector)) *APIClientRequester_CreateConnector_Call
- func (_c *APIClientRequester_CreateConnector_Call) RunAndReturn(run func(context.Context, *client.Connector) (*client.Connector, error)) *APIClientRequester_CreateConnector_Call
- type APIClientRequester_CreateGroup_Call
- func (_c *APIClientRequester_CreateGroup_Call) Return(out *client.Group, err error) *APIClientRequester_CreateGroup_Call
- func (_c *APIClientRequester_CreateGroup_Call) Run(run func(ctx context.Context, in *client.Group)) *APIClientRequester_CreateGroup_Call
- func (_c *APIClientRequester_CreateGroup_Call) RunAndReturn(run func(context.Context, *client.Group) (*client.Group, error)) *APIClientRequester_CreateGroup_Call
- type APIClientRequester_CreatePolicy_Call
- func (_c *APIClientRequester_CreatePolicy_Call) Return(out *client.Policy, err error) *APIClientRequester_CreatePolicy_Call
- func (_c *APIClientRequester_CreatePolicy_Call) Run(run func(ctx context.Context, in *client.Policy)) *APIClientRequester_CreatePolicy_Call
- func (_c *APIClientRequester_CreatePolicy_Call) RunAndReturn(run func(context.Context, *client.Policy) (*client.Policy, error)) *APIClientRequester_CreatePolicy_Call
- type APIClientRequester_CreateServiceAccountToken_Call
- func (_c *APIClientRequester_CreateServiceAccountToken_Call) Return(out *client.ServiceAccountToken, err error) *APIClientRequester_CreateServiceAccountToken_Call
- func (_c *APIClientRequester_CreateServiceAccountToken_Call) Run(...) *APIClientRequester_CreateServiceAccountToken_Call
- func (_c *APIClientRequester_CreateServiceAccountToken_Call) RunAndReturn(...) *APIClientRequester_CreateServiceAccountToken_Call
- type APIClientRequester_CreateServiceAccount_Call
- func (_c *APIClientRequester_CreateServiceAccount_Call) Return(out *client.ServiceAccount, err error) *APIClientRequester_CreateServiceAccount_Call
- func (_c *APIClientRequester_CreateServiceAccount_Call) Run(run func(ctx context.Context, in *client.ServiceAccount)) *APIClientRequester_CreateServiceAccount_Call
- func (_c *APIClientRequester_CreateServiceAccount_Call) RunAndReturn(...) *APIClientRequester_CreateServiceAccount_Call
- type APIClientRequester_CreateSocket_Call
- func (_c *APIClientRequester_CreateSocket_Call) Return(out *client.Socket, err error) *APIClientRequester_CreateSocket_Call
- func (_c *APIClientRequester_CreateSocket_Call) Run(run func(ctx context.Context, in *client.Socket)) *APIClientRequester_CreateSocket_Call
- func (_c *APIClientRequester_CreateSocket_Call) RunAndReturn(run func(context.Context, *client.Socket) (*client.Socket, error)) *APIClientRequester_CreateSocket_Call
- type APIClientRequester_CreateUser_Call
- func (_c *APIClientRequester_CreateUser_Call) Return(out *client.User, err error) *APIClientRequester_CreateUser_Call
- func (_c *APIClientRequester_CreateUser_Call) Run(run func(ctx context.Context, in *client.User, opts ...client.UserOption)) *APIClientRequester_CreateUser_Call
- func (_c *APIClientRequester_CreateUser_Call) RunAndReturn(...) *APIClientRequester_CreateUser_Call
- type APIClientRequester_DeleteConnectorToken_Call
- func (_c *APIClientRequester_DeleteConnectorToken_Call) Return(err error) *APIClientRequester_DeleteConnectorToken_Call
- func (_c *APIClientRequester_DeleteConnectorToken_Call) Run(run func(ctx context.Context, connectorID string, tokenID string)) *APIClientRequester_DeleteConnectorToken_Call
- func (_c *APIClientRequester_DeleteConnectorToken_Call) RunAndReturn(run func(context.Context, string, string) error) *APIClientRequester_DeleteConnectorToken_Call
- type APIClientRequester_DeleteConnector_Call
- func (_c *APIClientRequester_DeleteConnector_Call) Return(err error) *APIClientRequester_DeleteConnector_Call
- func (_c *APIClientRequester_DeleteConnector_Call) Run(run func(ctx context.Context, id string)) *APIClientRequester_DeleteConnector_Call
- func (_c *APIClientRequester_DeleteConnector_Call) RunAndReturn(run func(context.Context, string) error) *APIClientRequester_DeleteConnector_Call
- type APIClientRequester_DeleteGroup_Call
- func (_c *APIClientRequester_DeleteGroup_Call) Return(err error) *APIClientRequester_DeleteGroup_Call
- func (_c *APIClientRequester_DeleteGroup_Call) Run(run func(ctx context.Context, id string)) *APIClientRequester_DeleteGroup_Call
- func (_c *APIClientRequester_DeleteGroup_Call) RunAndReturn(run func(context.Context, string) error) *APIClientRequester_DeleteGroup_Call
- type APIClientRequester_DeletePolicy_Call
- func (_c *APIClientRequester_DeletePolicy_Call) Return(err error) *APIClientRequester_DeletePolicy_Call
- func (_c *APIClientRequester_DeletePolicy_Call) Run(run func(ctx context.Context, id string)) *APIClientRequester_DeletePolicy_Call
- func (_c *APIClientRequester_DeletePolicy_Call) RunAndReturn(run func(context.Context, string) error) *APIClientRequester_DeletePolicy_Call
- type APIClientRequester_DeleteServiceAccountToken_Call
- func (_c *APIClientRequester_DeleteServiceAccountToken_Call) Return(err error) *APIClientRequester_DeleteServiceAccountToken_Call
- func (_c *APIClientRequester_DeleteServiceAccountToken_Call) Run(run func(ctx context.Context, serviceAccountName string, tokenID string)) *APIClientRequester_DeleteServiceAccountToken_Call
- func (_c *APIClientRequester_DeleteServiceAccountToken_Call) RunAndReturn(run func(context.Context, string, string) error) *APIClientRequester_DeleteServiceAccountToken_Call
- type APIClientRequester_DeleteServiceAccount_Call
- func (_c *APIClientRequester_DeleteServiceAccount_Call) Return(err error) *APIClientRequester_DeleteServiceAccount_Call
- func (_c *APIClientRequester_DeleteServiceAccount_Call) Run(run func(ctx context.Context, name string)) *APIClientRequester_DeleteServiceAccount_Call
- func (_c *APIClientRequester_DeleteServiceAccount_Call) RunAndReturn(run func(context.Context, string) error) *APIClientRequester_DeleteServiceAccount_Call
- type APIClientRequester_DeleteSocket_Call
- func (_c *APIClientRequester_DeleteSocket_Call) Return(err error) *APIClientRequester_DeleteSocket_Call
- func (_c *APIClientRequester_DeleteSocket_Call) Run(run func(ctx context.Context, idOrName string)) *APIClientRequester_DeleteSocket_Call
- func (_c *APIClientRequester_DeleteSocket_Call) RunAndReturn(run func(context.Context, string) error) *APIClientRequester_DeleteSocket_Call
- type APIClientRequester_DeleteUser_Call
- func (_c *APIClientRequester_DeleteUser_Call) Return(err error) *APIClientRequester_DeleteUser_Call
- func (_c *APIClientRequester_DeleteUser_Call) Run(run func(ctx context.Context, id string)) *APIClientRequester_DeleteUser_Call
- func (_c *APIClientRequester_DeleteUser_Call) RunAndReturn(run func(context.Context, string) error) *APIClientRequester_DeleteUser_Call
- type APIClientRequester_Expecter
- func (_e *APIClientRequester_Expecter) AttachPoliciesToSocket(ctx interface{}, policyIDs interface{}, socketID interface{}) *APIClientRequester_AttachPoliciesToSocket_Call
- func (_e *APIClientRequester_Expecter) AttachPolicyToSocket(ctx interface{}, policyID interface{}, socketID interface{}) *APIClientRequester_AttachPolicyToSocket_Call
- func (_e *APIClientRequester_Expecter) Authenticate(ctx interface{}, opts ...interface{}) *APIClientRequester_Authenticate_Call
- func (_e *APIClientRequester_Expecter) Connector(ctx interface{}, id interface{}) *APIClientRequester_Connector_Call
- func (_e *APIClientRequester_Expecter) ConnectorToken(ctx interface{}, connectorID interface{}, tokenID interface{}) *APIClientRequester_ConnectorToken_Call
- func (_e *APIClientRequester_Expecter) ConnectorTokens(ctx interface{}, connectorID interface{}) *APIClientRequester_ConnectorTokens_Call
- func (_e *APIClientRequester_Expecter) Connectors(ctx interface{}) *APIClientRequester_Connectors_Call
- func (_e *APIClientRequester_Expecter) CreateConnector(ctx interface{}, in interface{}) *APIClientRequester_CreateConnector_Call
- func (_e *APIClientRequester_Expecter) CreateConnectorToken(ctx interface{}, in interface{}) *APIClientRequester_CreateConnectorToken_Call
- func (_e *APIClientRequester_Expecter) CreateGroup(ctx interface{}, in interface{}) *APIClientRequester_CreateGroup_Call
- func (_e *APIClientRequester_Expecter) CreatePolicy(ctx interface{}, in interface{}) *APIClientRequester_CreatePolicy_Call
- func (_e *APIClientRequester_Expecter) CreateServiceAccount(ctx interface{}, in interface{}) *APIClientRequester_CreateServiceAccount_Call
- func (_e *APIClientRequester_Expecter) CreateServiceAccountToken(ctx interface{}, serviceAccountName interface{}, in interface{}) *APIClientRequester_CreateServiceAccountToken_Call
- func (_e *APIClientRequester_Expecter) CreateSocket(ctx interface{}, in interface{}) *APIClientRequester_CreateSocket_Call
- func (_e *APIClientRequester_Expecter) CreateUser(ctx interface{}, in interface{}, opts ...interface{}) *APIClientRequester_CreateUser_Call
- func (_e *APIClientRequester_Expecter) DeleteConnector(ctx interface{}, id interface{}) *APIClientRequester_DeleteConnector_Call
- func (_e *APIClientRequester_Expecter) DeleteConnectorToken(ctx interface{}, connectorID interface{}, tokenID interface{}) *APIClientRequester_DeleteConnectorToken_Call
- func (_e *APIClientRequester_Expecter) DeleteGroup(ctx interface{}, id interface{}) *APIClientRequester_DeleteGroup_Call
- func (_e *APIClientRequester_Expecter) DeletePolicy(ctx interface{}, id interface{}) *APIClientRequester_DeletePolicy_Call
- func (_e *APIClientRequester_Expecter) DeleteServiceAccount(ctx interface{}, name interface{}) *APIClientRequester_DeleteServiceAccount_Call
- func (_e *APIClientRequester_Expecter) DeleteServiceAccountToken(ctx interface{}, serviceAccountName interface{}, tokenID interface{}) *APIClientRequester_DeleteServiceAccountToken_Call
- func (_e *APIClientRequester_Expecter) DeleteSocket(ctx interface{}, idOrName interface{}) *APIClientRequester_DeleteSocket_Call
- func (_e *APIClientRequester_Expecter) DeleteUser(ctx interface{}, id interface{}) *APIClientRequester_DeleteUser_Call
- func (_e *APIClientRequester_Expecter) Group(ctx interface{}, id interface{}) *APIClientRequester_Group_Call
- func (_e *APIClientRequester_Expecter) Policies(ctx interface{}) *APIClientRequester_Policies_Call
- func (_e *APIClientRequester_Expecter) PoliciesByNames(ctx interface{}, names ...interface{}) *APIClientRequester_PoliciesByNames_Call
- func (_e *APIClientRequester_Expecter) Policy(ctx interface{}, id interface{}) *APIClientRequester_Policy_Call
- func (_e *APIClientRequester_Expecter) RemovePoliciesFromSocket(ctx interface{}, policyIDs interface{}, socketID interface{}) *APIClientRequester_RemovePoliciesFromSocket_Call
- func (_e *APIClientRequester_Expecter) RemovePolicyFromSocket(ctx interface{}, policyID interface{}, socketID interface{}) *APIClientRequester_RemovePolicyFromSocket_Call
- func (_e *APIClientRequester_Expecter) ServiceAccount(ctx interface{}, name interface{}) *APIClientRequester_ServiceAccount_Call
- func (_e *APIClientRequester_Expecter) ServiceAccountTokens(ctx interface{}, serviceAccountName interface{}) *APIClientRequester_ServiceAccountTokens_Call
- func (_e *APIClientRequester_Expecter) SignSocketKey(ctx interface{}, idOrName interface{}, in interface{}) *APIClientRequester_SignSocketKey_Call
- func (_e *APIClientRequester_Expecter) Socket(ctx interface{}, idOrName interface{}) *APIClientRequester_Socket_Call
- func (_e *APIClientRequester_Expecter) SocketConnectors(ctx interface{}, idOrName interface{}) *APIClientRequester_SocketConnectors_Call
- func (_e *APIClientRequester_Expecter) SocketUpstreamConfigs(ctx interface{}, idOrName interface{}) *APIClientRequester_SocketUpstreamConfigs_Call
- func (_e *APIClientRequester_Expecter) Sockets(ctx interface{}) *APIClientRequester_Sockets_Call
- func (_e *APIClientRequester_Expecter) TokenClaims() *APIClientRequester_TokenClaims_Call
- func (_e *APIClientRequester_Expecter) UpdateConnector(ctx interface{}, in interface{}) *APIClientRequester_UpdateConnector_Call
- func (_e *APIClientRequester_Expecter) UpdateGroup(ctx interface{}, in interface{}) *APIClientRequester_UpdateGroup_Call
- func (_e *APIClientRequester_Expecter) UpdateGroupMemberships(ctx interface{}, in interface{}, userIDs interface{}) *APIClientRequester_UpdateGroupMemberships_Call
- func (_e *APIClientRequester_Expecter) UpdatePolicy(ctx interface{}, id interface{}, in interface{}) *APIClientRequester_UpdatePolicy_Call
- func (_e *APIClientRequester_Expecter) UpdateServiceAccount(ctx interface{}, in interface{}) *APIClientRequester_UpdateServiceAccount_Call
- func (_e *APIClientRequester_Expecter) UpdateSocket(ctx interface{}, idOrName interface{}, in interface{}) *APIClientRequester_UpdateSocket_Call
- func (_e *APIClientRequester_Expecter) UpdateUser(ctx interface{}, in interface{}) *APIClientRequester_UpdateUser_Call
- func (_e *APIClientRequester_Expecter) User(ctx interface{}, id interface{}) *APIClientRequester_User_Call
- func (_e *APIClientRequester_Expecter) Users(ctx interface{}) *APIClientRequester_Users_Call
- type APIClientRequester_Group_Call
- func (_c *APIClientRequester_Group_Call) Return(out *client.Group, err error) *APIClientRequester_Group_Call
- func (_c *APIClientRequester_Group_Call) Run(run func(ctx context.Context, id string)) *APIClientRequester_Group_Call
- func (_c *APIClientRequester_Group_Call) RunAndReturn(run func(context.Context, string) (*client.Group, error)) *APIClientRequester_Group_Call
- type APIClientRequester_PoliciesByNames_Call
- func (_c *APIClientRequester_PoliciesByNames_Call) Return(out []client.Policy, err error) *APIClientRequester_PoliciesByNames_Call
- func (_c *APIClientRequester_PoliciesByNames_Call) Run(run func(ctx context.Context, names ...string)) *APIClientRequester_PoliciesByNames_Call
- func (_c *APIClientRequester_PoliciesByNames_Call) RunAndReturn(run func(context.Context, ...string) ([]client.Policy, error)) *APIClientRequester_PoliciesByNames_Call
- type APIClientRequester_Policies_Call
- func (_c *APIClientRequester_Policies_Call) Return(out []client.Policy, err error) *APIClientRequester_Policies_Call
- func (_c *APIClientRequester_Policies_Call) Run(run func(ctx context.Context)) *APIClientRequester_Policies_Call
- func (_c *APIClientRequester_Policies_Call) RunAndReturn(run func(context.Context) ([]client.Policy, error)) *APIClientRequester_Policies_Call
- type APIClientRequester_Policy_Call
- func (_c *APIClientRequester_Policy_Call) Return(out *client.Policy, err error) *APIClientRequester_Policy_Call
- func (_c *APIClientRequester_Policy_Call) Run(run func(ctx context.Context, id string)) *APIClientRequester_Policy_Call
- func (_c *APIClientRequester_Policy_Call) RunAndReturn(run func(context.Context, string) (*client.Policy, error)) *APIClientRequester_Policy_Call
- type APIClientRequester_RemovePoliciesFromSocket_Call
- func (_c *APIClientRequester_RemovePoliciesFromSocket_Call) Return(err error) *APIClientRequester_RemovePoliciesFromSocket_Call
- func (_c *APIClientRequester_RemovePoliciesFromSocket_Call) Run(run func(ctx context.Context, policyIDs []string, socketID string)) *APIClientRequester_RemovePoliciesFromSocket_Call
- func (_c *APIClientRequester_RemovePoliciesFromSocket_Call) RunAndReturn(run func(context.Context, []string, string) error) *APIClientRequester_RemovePoliciesFromSocket_Call
- type APIClientRequester_RemovePolicyFromSocket_Call
- func (_c *APIClientRequester_RemovePolicyFromSocket_Call) Return(err error) *APIClientRequester_RemovePolicyFromSocket_Call
- func (_c *APIClientRequester_RemovePolicyFromSocket_Call) Run(run func(ctx context.Context, policyID string, socketID string)) *APIClientRequester_RemovePolicyFromSocket_Call
- func (_c *APIClientRequester_RemovePolicyFromSocket_Call) RunAndReturn(run func(context.Context, string, string) error) *APIClientRequester_RemovePolicyFromSocket_Call
- type APIClientRequester_ServiceAccountTokens_Call
- func (_c *APIClientRequester_ServiceAccountTokens_Call) Return(out *client.ServiceAccountTokens, err error) *APIClientRequester_ServiceAccountTokens_Call
- func (_c *APIClientRequester_ServiceAccountTokens_Call) Run(run func(ctx context.Context, serviceAccountName string)) *APIClientRequester_ServiceAccountTokens_Call
- func (_c *APIClientRequester_ServiceAccountTokens_Call) RunAndReturn(run func(context.Context, string) (*client.ServiceAccountTokens, error)) *APIClientRequester_ServiceAccountTokens_Call
- type APIClientRequester_ServiceAccount_Call
- func (_c *APIClientRequester_ServiceAccount_Call) Return(out *client.ServiceAccount, err error) *APIClientRequester_ServiceAccount_Call
- func (_c *APIClientRequester_ServiceAccount_Call) Run(run func(ctx context.Context, name string)) *APIClientRequester_ServiceAccount_Call
- func (_c *APIClientRequester_ServiceAccount_Call) RunAndReturn(run func(context.Context, string) (*client.ServiceAccount, error)) *APIClientRequester_ServiceAccount_Call
- type APIClientRequester_SignSocketKey_Call
- func (_c *APIClientRequester_SignSocketKey_Call) Return(out *client.SignedSocketKey, err error) *APIClientRequester_SignSocketKey_Call
- func (_c *APIClientRequester_SignSocketKey_Call) Run(run func(ctx context.Context, idOrName string, in *client.SocketKeyToSign)) *APIClientRequester_SignSocketKey_Call
- func (_c *APIClientRequester_SignSocketKey_Call) RunAndReturn(...) *APIClientRequester_SignSocketKey_Call
- type APIClientRequester_SocketConnectors_Call
- func (_c *APIClientRequester_SocketConnectors_Call) Return(out *client.SocketConnectors, err error) *APIClientRequester_SocketConnectors_Call
- func (_c *APIClientRequester_SocketConnectors_Call) Run(run func(ctx context.Context, idOrName string)) *APIClientRequester_SocketConnectors_Call
- func (_c *APIClientRequester_SocketConnectors_Call) RunAndReturn(run func(context.Context, string) (*client.SocketConnectors, error)) *APIClientRequester_SocketConnectors_Call
- type APIClientRequester_SocketUpstreamConfigs_Call
- func (_c *APIClientRequester_SocketUpstreamConfigs_Call) Return(out *client.SocketUpstreamConfigs, err error) *APIClientRequester_SocketUpstreamConfigs_Call
- func (_c *APIClientRequester_SocketUpstreamConfigs_Call) Run(run func(ctx context.Context, idOrName string)) *APIClientRequester_SocketUpstreamConfigs_Call
- func (_c *APIClientRequester_SocketUpstreamConfigs_Call) RunAndReturn(run func(context.Context, string) (*client.SocketUpstreamConfigs, error)) *APIClientRequester_SocketUpstreamConfigs_Call
- type APIClientRequester_Socket_Call
- func (_c *APIClientRequester_Socket_Call) Return(out *client.Socket, err error) *APIClientRequester_Socket_Call
- func (_c *APIClientRequester_Socket_Call) Run(run func(ctx context.Context, idOrName string)) *APIClientRequester_Socket_Call
- func (_c *APIClientRequester_Socket_Call) RunAndReturn(run func(context.Context, string) (*client.Socket, error)) *APIClientRequester_Socket_Call
- type APIClientRequester_Sockets_Call
- func (_c *APIClientRequester_Sockets_Call) Return(out []client.Socket, err error) *APIClientRequester_Sockets_Call
- func (_c *APIClientRequester_Sockets_Call) Run(run func(ctx context.Context)) *APIClientRequester_Sockets_Call
- func (_c *APIClientRequester_Sockets_Call) RunAndReturn(run func(context.Context) ([]client.Socket, error)) *APIClientRequester_Sockets_Call
- type APIClientRequester_TokenClaims_Call
- func (_c *APIClientRequester_TokenClaims_Call) Return(_a0 jwt.MapClaims, _a1 error) *APIClientRequester_TokenClaims_Call
- func (_c *APIClientRequester_TokenClaims_Call) Run(run func()) *APIClientRequester_TokenClaims_Call
- func (_c *APIClientRequester_TokenClaims_Call) RunAndReturn(run func() (jwt.MapClaims, error)) *APIClientRequester_TokenClaims_Call
- type APIClientRequester_UpdateConnector_Call
- func (_c *APIClientRequester_UpdateConnector_Call) Return(out *client.Connector, err error) *APIClientRequester_UpdateConnector_Call
- func (_c *APIClientRequester_UpdateConnector_Call) Run(run func(ctx context.Context, in *client.Connector)) *APIClientRequester_UpdateConnector_Call
- func (_c *APIClientRequester_UpdateConnector_Call) RunAndReturn(run func(context.Context, *client.Connector) (*client.Connector, error)) *APIClientRequester_UpdateConnector_Call
- type APIClientRequester_UpdateGroupMemberships_Call
- func (_c *APIClientRequester_UpdateGroupMemberships_Call) Return(out *client.Group, err error) *APIClientRequester_UpdateGroupMemberships_Call
- func (_c *APIClientRequester_UpdateGroupMemberships_Call) Run(run func(ctx context.Context, in *client.Group, userIDs []string)) *APIClientRequester_UpdateGroupMemberships_Call
- func (_c *APIClientRequester_UpdateGroupMemberships_Call) RunAndReturn(run func(context.Context, *client.Group, []string) (*client.Group, error)) *APIClientRequester_UpdateGroupMemberships_Call
- type APIClientRequester_UpdateGroup_Call
- func (_c *APIClientRequester_UpdateGroup_Call) Return(out *client.Group, err error) *APIClientRequester_UpdateGroup_Call
- func (_c *APIClientRequester_UpdateGroup_Call) Run(run func(ctx context.Context, in *client.Group)) *APIClientRequester_UpdateGroup_Call
- func (_c *APIClientRequester_UpdateGroup_Call) RunAndReturn(run func(context.Context, *client.Group) (*client.Group, error)) *APIClientRequester_UpdateGroup_Call
- type APIClientRequester_UpdatePolicy_Call
- func (_c *APIClientRequester_UpdatePolicy_Call) Return(out *client.Policy, err error) *APIClientRequester_UpdatePolicy_Call
- func (_c *APIClientRequester_UpdatePolicy_Call) Run(run func(ctx context.Context, id string, in *client.Policy)) *APIClientRequester_UpdatePolicy_Call
- func (_c *APIClientRequester_UpdatePolicy_Call) RunAndReturn(run func(context.Context, string, *client.Policy) (*client.Policy, error)) *APIClientRequester_UpdatePolicy_Call
- type APIClientRequester_UpdateServiceAccount_Call
- func (_c *APIClientRequester_UpdateServiceAccount_Call) Return(out *client.ServiceAccount, err error) *APIClientRequester_UpdateServiceAccount_Call
- func (_c *APIClientRequester_UpdateServiceAccount_Call) Run(run func(ctx context.Context, in *client.ServiceAccount)) *APIClientRequester_UpdateServiceAccount_Call
- func (_c *APIClientRequester_UpdateServiceAccount_Call) RunAndReturn(...) *APIClientRequester_UpdateServiceAccount_Call
- type APIClientRequester_UpdateSocket_Call
- func (_c *APIClientRequester_UpdateSocket_Call) Return(out *client.Socket, err error) *APIClientRequester_UpdateSocket_Call
- func (_c *APIClientRequester_UpdateSocket_Call) Run(run func(ctx context.Context, idOrName string, in *client.Socket)) *APIClientRequester_UpdateSocket_Call
- func (_c *APIClientRequester_UpdateSocket_Call) RunAndReturn(run func(context.Context, string, *client.Socket) (*client.Socket, error)) *APIClientRequester_UpdateSocket_Call
- type APIClientRequester_UpdateUser_Call
- func (_c *APIClientRequester_UpdateUser_Call) Return(out *client.User, err error) *APIClientRequester_UpdateUser_Call
- func (_c *APIClientRequester_UpdateUser_Call) Run(run func(ctx context.Context, in *client.User)) *APIClientRequester_UpdateUser_Call
- func (_c *APIClientRequester_UpdateUser_Call) RunAndReturn(run func(context.Context, *client.User) (*client.User, error)) *APIClientRequester_UpdateUser_Call
- type APIClientRequester_User_Call
- func (_c *APIClientRequester_User_Call) Return(out *client.User, err error) *APIClientRequester_User_Call
- func (_c *APIClientRequester_User_Call) Run(run func(ctx context.Context, id string)) *APIClientRequester_User_Call
- func (_c *APIClientRequester_User_Call) RunAndReturn(run func(context.Context, string) (*client.User, error)) *APIClientRequester_User_Call
- type APIClientRequester_Users_Call
- func (_c *APIClientRequester_Users_Call) Return(out *client.Users, err error) *APIClientRequester_Users_Call
- func (_c *APIClientRequester_Users_Call) Run(run func(ctx context.Context)) *APIClientRequester_Users_Call
- func (_c *APIClientRequester_Users_Call) RunAndReturn(run func(context.Context) (*client.Users, error)) *APIClientRequester_Users_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClientRequester ¶
APIClientRequester is an autogenerated mock type for the Requester type
func NewAPIClientRequester ¶
func NewAPIClientRequester(t interface { mock.TestingT Cleanup(func()) }) *APIClientRequester
NewAPIClientRequester creates a new instance of APIClientRequester. 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 (*APIClientRequester) AttachPoliciesToSocket ¶
func (_m *APIClientRequester) AttachPoliciesToSocket(ctx context.Context, policyIDs []string, socketID string) error
AttachPoliciesToSocket provides a mock function with given fields: ctx, policyIDs, socketID
func (*APIClientRequester) AttachPolicyToSocket ¶
func (_m *APIClientRequester) AttachPolicyToSocket(ctx context.Context, policyID string, socketID string) error
AttachPolicyToSocket provides a mock function with given fields: ctx, policyID, socketID
func (*APIClientRequester) Authenticate ¶ added in v1.4.30
Authenticate provides a mock function with given fields: ctx, opts
func (*APIClientRequester) Connector ¶
Connector provides a mock function with given fields: ctx, id
func (*APIClientRequester) ConnectorToken ¶ added in v1.4.18
func (_m *APIClientRequester) ConnectorToken(ctx context.Context, connectorID string, tokenID string) (*client.ConnectorToken, error)
ConnectorToken provides a mock function with given fields: ctx, connectorID, tokenID
func (*APIClientRequester) ConnectorTokens ¶
func (_m *APIClientRequester) ConnectorTokens(ctx context.Context, connectorID string) (*client.ConnectorTokens, error)
ConnectorTokens provides a mock function with given fields: ctx, connectorID
func (*APIClientRequester) Connectors ¶
func (_m *APIClientRequester) Connectors(ctx context.Context) (*client.Connectors, error)
Connectors provides a mock function with given fields: ctx
func (*APIClientRequester) CreateConnector ¶
func (_m *APIClientRequester) CreateConnector(ctx context.Context, in *client.Connector) (*client.Connector, error)
CreateConnector provides a mock function with given fields: ctx, in
func (*APIClientRequester) CreateConnectorToken ¶
func (_m *APIClientRequester) CreateConnectorToken(ctx context.Context, in *client.ConnectorToken) (*client.ConnectorToken, error)
CreateConnectorToken provides a mock function with given fields: ctx, in
func (*APIClientRequester) CreateGroup ¶ added in v1.4.32
func (_m *APIClientRequester) CreateGroup(ctx context.Context, in *client.Group) (*client.Group, error)
CreateGroup provides a mock function with given fields: ctx, in
func (*APIClientRequester) CreatePolicy ¶
func (_m *APIClientRequester) CreatePolicy(ctx context.Context, in *client.Policy) (*client.Policy, error)
CreatePolicy provides a mock function with given fields: ctx, in
func (*APIClientRequester) CreateServiceAccount ¶ added in v1.4.32
func (_m *APIClientRequester) CreateServiceAccount(ctx context.Context, in *client.ServiceAccount) (*client.ServiceAccount, error)
CreateServiceAccount provides a mock function with given fields: ctx, in
func (*APIClientRequester) CreateServiceAccountToken ¶ added in v1.4.32
func (_m *APIClientRequester) CreateServiceAccountToken(ctx context.Context, serviceAccountName string, in *client.ServiceAccountToken) (*client.ServiceAccountToken, error)
CreateServiceAccountToken provides a mock function with given fields: ctx, serviceAccountName, in
func (*APIClientRequester) CreateSocket ¶
func (_m *APIClientRequester) CreateSocket(ctx context.Context, in *client.Socket) (*client.Socket, error)
CreateSocket provides a mock function with given fields: ctx, in
func (*APIClientRequester) CreateUser ¶ added in v1.4.32
func (_m *APIClientRequester) CreateUser(ctx context.Context, in *client.User, opts ...client.UserOption) (*client.User, error)
CreateUser provides a mock function with given fields: ctx, in, opts
func (*APIClientRequester) DeleteConnector ¶
func (_m *APIClientRequester) DeleteConnector(ctx context.Context, id string) error
DeleteConnector provides a mock function with given fields: ctx, id
func (*APIClientRequester) DeleteConnectorToken ¶
func (_m *APIClientRequester) DeleteConnectorToken(ctx context.Context, connectorID string, tokenID string) error
DeleteConnectorToken provides a mock function with given fields: ctx, connectorID, tokenID
func (*APIClientRequester) DeleteGroup ¶ added in v1.4.32
func (_m *APIClientRequester) DeleteGroup(ctx context.Context, id string) error
DeleteGroup provides a mock function with given fields: ctx, id
func (*APIClientRequester) DeletePolicy ¶
func (_m *APIClientRequester) DeletePolicy(ctx context.Context, id string) error
DeletePolicy provides a mock function with given fields: ctx, id
func (*APIClientRequester) DeleteServiceAccount ¶ added in v1.4.32
func (_m *APIClientRequester) DeleteServiceAccount(ctx context.Context, name string) error
DeleteServiceAccount provides a mock function with given fields: ctx, name
func (*APIClientRequester) DeleteServiceAccountToken ¶ added in v1.4.32
func (_m *APIClientRequester) DeleteServiceAccountToken(ctx context.Context, serviceAccountName string, tokenID string) error
DeleteServiceAccountToken provides a mock function with given fields: ctx, serviceAccountName, tokenID
func (*APIClientRequester) DeleteSocket ¶
func (_m *APIClientRequester) DeleteSocket(ctx context.Context, idOrName string) error
DeleteSocket provides a mock function with given fields: ctx, idOrName
func (*APIClientRequester) DeleteUser ¶ added in v1.4.32
func (_m *APIClientRequester) DeleteUser(ctx context.Context, id string) error
DeleteUser provides a mock function with given fields: ctx, id
func (*APIClientRequester) EXPECT ¶
func (_m *APIClientRequester) EXPECT() *APIClientRequester_Expecter
func (*APIClientRequester) Group ¶ added in v1.4.32
Group provides a mock function with given fields: ctx, id
func (*APIClientRequester) PoliciesByNames ¶
func (_m *APIClientRequester) PoliciesByNames(ctx context.Context, names ...string) ([]client.Policy, error)
PoliciesByNames provides a mock function with given fields: ctx, names
func (*APIClientRequester) RemovePoliciesFromSocket ¶
func (_m *APIClientRequester) RemovePoliciesFromSocket(ctx context.Context, policyIDs []string, socketID string) error
RemovePoliciesFromSocket provides a mock function with given fields: ctx, policyIDs, socketID
func (*APIClientRequester) RemovePolicyFromSocket ¶
func (_m *APIClientRequester) RemovePolicyFromSocket(ctx context.Context, policyID string, socketID string) error
RemovePolicyFromSocket provides a mock function with given fields: ctx, policyID, socketID
func (*APIClientRequester) ServiceAccount ¶ added in v1.4.32
func (_m *APIClientRequester) ServiceAccount(ctx context.Context, name string) (*client.ServiceAccount, error)
ServiceAccount provides a mock function with given fields: ctx, name
func (*APIClientRequester) ServiceAccountTokens ¶ added in v1.4.36
func (_m *APIClientRequester) ServiceAccountTokens(ctx context.Context, serviceAccountName string) (*client.ServiceAccountTokens, error)
ServiceAccountTokens provides a mock function with given fields: ctx, serviceAccountName
func (*APIClientRequester) SignSocketKey ¶
func (_m *APIClientRequester) SignSocketKey(ctx context.Context, idOrName string, in *client.SocketKeyToSign) (*client.SignedSocketKey, error)
SignSocketKey provides a mock function with given fields: ctx, idOrName, in
func (*APIClientRequester) Socket ¶
Socket provides a mock function with given fields: ctx, idOrName
func (*APIClientRequester) SocketConnectors ¶
func (_m *APIClientRequester) SocketConnectors(ctx context.Context, idOrName string) (*client.SocketConnectors, error)
SocketConnectors provides a mock function with given fields: ctx, idOrName
func (*APIClientRequester) SocketUpstreamConfigs ¶
func (_m *APIClientRequester) SocketUpstreamConfigs(ctx context.Context, idOrName string) (*client.SocketUpstreamConfigs, error)
SocketUpstreamConfigs provides a mock function with given fields: ctx, idOrName
func (*APIClientRequester) TokenClaims ¶
func (_m *APIClientRequester) TokenClaims() (jwt.MapClaims, error)
TokenClaims provides a mock function with given fields:
func (*APIClientRequester) UpdateConnector ¶
func (_m *APIClientRequester) UpdateConnector(ctx context.Context, in *client.Connector) (*client.Connector, error)
UpdateConnector provides a mock function with given fields: ctx, in
func (*APIClientRequester) UpdateGroup ¶ added in v1.4.32
func (_m *APIClientRequester) UpdateGroup(ctx context.Context, in *client.Group) (*client.Group, error)
UpdateGroup provides a mock function with given fields: ctx, in
func (*APIClientRequester) UpdateGroupMemberships ¶ added in v1.4.34
func (_m *APIClientRequester) UpdateGroupMemberships(ctx context.Context, in *client.Group, userIDs []string) (*client.Group, error)
UpdateGroupMemberships provides a mock function with given fields: ctx, in, userIDs
func (*APIClientRequester) UpdatePolicy ¶
func (_m *APIClientRequester) UpdatePolicy(ctx context.Context, id string, in *client.Policy) (*client.Policy, error)
UpdatePolicy provides a mock function with given fields: ctx, id, in
func (*APIClientRequester) UpdateServiceAccount ¶ added in v1.4.32
func (_m *APIClientRequester) UpdateServiceAccount(ctx context.Context, in *client.ServiceAccount) (*client.ServiceAccount, error)
UpdateServiceAccount provides a mock function with given fields: ctx, in
func (*APIClientRequester) UpdateSocket ¶
func (_m *APIClientRequester) UpdateSocket(ctx context.Context, idOrName string, in *client.Socket) (*client.Socket, error)
UpdateSocket provides a mock function with given fields: ctx, idOrName, in
func (*APIClientRequester) UpdateUser ¶ added in v1.4.32
func (_m *APIClientRequester) UpdateUser(ctx context.Context, in *client.User) (*client.User, error)
UpdateUser provides a mock function with given fields: ctx, in
type APIClientRequester_AttachPoliciesToSocket_Call ¶
APIClientRequester_AttachPoliciesToSocket_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AttachPoliciesToSocket'
func (*APIClientRequester_AttachPoliciesToSocket_Call) Return ¶
func (_c *APIClientRequester_AttachPoliciesToSocket_Call) Return(err error) *APIClientRequester_AttachPoliciesToSocket_Call
func (*APIClientRequester_AttachPoliciesToSocket_Call) Run ¶
func (_c *APIClientRequester_AttachPoliciesToSocket_Call) Run(run func(ctx context.Context, policyIDs []string, socketID string)) *APIClientRequester_AttachPoliciesToSocket_Call
func (*APIClientRequester_AttachPoliciesToSocket_Call) RunAndReturn ¶
func (_c *APIClientRequester_AttachPoliciesToSocket_Call) RunAndReturn(run func(context.Context, []string, string) error) *APIClientRequester_AttachPoliciesToSocket_Call
type APIClientRequester_AttachPolicyToSocket_Call ¶
APIClientRequester_AttachPolicyToSocket_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AttachPolicyToSocket'
func (*APIClientRequester_AttachPolicyToSocket_Call) Return ¶
func (_c *APIClientRequester_AttachPolicyToSocket_Call) Return(err error) *APIClientRequester_AttachPolicyToSocket_Call
func (*APIClientRequester_AttachPolicyToSocket_Call) Run ¶
func (_c *APIClientRequester_AttachPolicyToSocket_Call) Run(run func(ctx context.Context, policyID string, socketID string)) *APIClientRequester_AttachPolicyToSocket_Call
func (*APIClientRequester_AttachPolicyToSocket_Call) RunAndReturn ¶
func (_c *APIClientRequester_AttachPolicyToSocket_Call) RunAndReturn(run func(context.Context, string, string) error) *APIClientRequester_AttachPolicyToSocket_Call
type APIClientRequester_Authenticate_Call ¶ added in v1.4.30
APIClientRequester_Authenticate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Authenticate'
func (*APIClientRequester_Authenticate_Call) Return ¶ added in v1.4.30
func (_c *APIClientRequester_Authenticate_Call) Return(_a0 error) *APIClientRequester_Authenticate_Call
func (*APIClientRequester_Authenticate_Call) Run ¶ added in v1.4.30
func (_c *APIClientRequester_Authenticate_Call) Run(run func(ctx context.Context, opts ...auth.Option)) *APIClientRequester_Authenticate_Call
func (*APIClientRequester_Authenticate_Call) RunAndReturn ¶ added in v1.4.30
func (_c *APIClientRequester_Authenticate_Call) RunAndReturn(run func(context.Context, ...auth.Option) error) *APIClientRequester_Authenticate_Call
type APIClientRequester_ConnectorToken_Call ¶ added in v1.4.18
APIClientRequester_ConnectorToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectorToken'
func (*APIClientRequester_ConnectorToken_Call) Return ¶ added in v1.4.18
func (_c *APIClientRequester_ConnectorToken_Call) Return(out *client.ConnectorToken, err error) *APIClientRequester_ConnectorToken_Call
func (*APIClientRequester_ConnectorToken_Call) Run ¶ added in v1.4.18
func (_c *APIClientRequester_ConnectorToken_Call) Run(run func(ctx context.Context, connectorID string, tokenID string)) *APIClientRequester_ConnectorToken_Call
func (*APIClientRequester_ConnectorToken_Call) RunAndReturn ¶ added in v1.4.18
func (_c *APIClientRequester_ConnectorToken_Call) RunAndReturn(run func(context.Context, string, string) (*client.ConnectorToken, error)) *APIClientRequester_ConnectorToken_Call
type APIClientRequester_ConnectorTokens_Call ¶
APIClientRequester_ConnectorTokens_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectorTokens'
func (*APIClientRequester_ConnectorTokens_Call) Return ¶
func (_c *APIClientRequester_ConnectorTokens_Call) Return(out *client.ConnectorTokens, err error) *APIClientRequester_ConnectorTokens_Call
func (*APIClientRequester_ConnectorTokens_Call) Run ¶
func (_c *APIClientRequester_ConnectorTokens_Call) Run(run func(ctx context.Context, connectorID string)) *APIClientRequester_ConnectorTokens_Call
func (*APIClientRequester_ConnectorTokens_Call) RunAndReturn ¶
func (_c *APIClientRequester_ConnectorTokens_Call) RunAndReturn(run func(context.Context, string) (*client.ConnectorTokens, error)) *APIClientRequester_ConnectorTokens_Call
type APIClientRequester_Connector_Call ¶
APIClientRequester_Connector_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Connector'
func (*APIClientRequester_Connector_Call) Return ¶
func (_c *APIClientRequester_Connector_Call) Return(out *client.Connector, err error) *APIClientRequester_Connector_Call
func (*APIClientRequester_Connector_Call) Run ¶
func (_c *APIClientRequester_Connector_Call) Run(run func(ctx context.Context, id string)) *APIClientRequester_Connector_Call
func (*APIClientRequester_Connector_Call) RunAndReturn ¶
func (_c *APIClientRequester_Connector_Call) RunAndReturn(run func(context.Context, string) (*client.Connector, error)) *APIClientRequester_Connector_Call
type APIClientRequester_Connectors_Call ¶
APIClientRequester_Connectors_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Connectors'
func (*APIClientRequester_Connectors_Call) Return ¶
func (_c *APIClientRequester_Connectors_Call) Return(out *client.Connectors, err error) *APIClientRequester_Connectors_Call
func (*APIClientRequester_Connectors_Call) Run ¶
func (_c *APIClientRequester_Connectors_Call) Run(run func(ctx context.Context)) *APIClientRequester_Connectors_Call
func (*APIClientRequester_Connectors_Call) RunAndReturn ¶
func (_c *APIClientRequester_Connectors_Call) RunAndReturn(run func(context.Context) (*client.Connectors, error)) *APIClientRequester_Connectors_Call
type APIClientRequester_CreateConnectorToken_Call ¶
APIClientRequester_CreateConnectorToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateConnectorToken'
func (*APIClientRequester_CreateConnectorToken_Call) Return ¶
func (_c *APIClientRequester_CreateConnectorToken_Call) Return(out *client.ConnectorToken, err error) *APIClientRequester_CreateConnectorToken_Call
func (*APIClientRequester_CreateConnectorToken_Call) Run ¶
func (_c *APIClientRequester_CreateConnectorToken_Call) Run(run func(ctx context.Context, in *client.ConnectorToken)) *APIClientRequester_CreateConnectorToken_Call
func (*APIClientRequester_CreateConnectorToken_Call) RunAndReturn ¶
func (_c *APIClientRequester_CreateConnectorToken_Call) RunAndReturn(run func(context.Context, *client.ConnectorToken) (*client.ConnectorToken, error)) *APIClientRequester_CreateConnectorToken_Call
type APIClientRequester_CreateConnector_Call ¶
APIClientRequester_CreateConnector_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateConnector'
func (*APIClientRequester_CreateConnector_Call) Return ¶
func (_c *APIClientRequester_CreateConnector_Call) Return(out *client.Connector, err error) *APIClientRequester_CreateConnector_Call
func (*APIClientRequester_CreateConnector_Call) Run ¶
func (_c *APIClientRequester_CreateConnector_Call) Run(run func(ctx context.Context, in *client.Connector)) *APIClientRequester_CreateConnector_Call
func (*APIClientRequester_CreateConnector_Call) RunAndReturn ¶
func (_c *APIClientRequester_CreateConnector_Call) RunAndReturn(run func(context.Context, *client.Connector) (*client.Connector, error)) *APIClientRequester_CreateConnector_Call
type APIClientRequester_CreateGroup_Call ¶ added in v1.4.32
APIClientRequester_CreateGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateGroup'
func (*APIClientRequester_CreateGroup_Call) Return ¶ added in v1.4.32
func (_c *APIClientRequester_CreateGroup_Call) Return(out *client.Group, err error) *APIClientRequester_CreateGroup_Call
func (*APIClientRequester_CreateGroup_Call) Run ¶ added in v1.4.32
func (_c *APIClientRequester_CreateGroup_Call) Run(run func(ctx context.Context, in *client.Group)) *APIClientRequester_CreateGroup_Call
func (*APIClientRequester_CreateGroup_Call) RunAndReturn ¶ added in v1.4.32
func (_c *APIClientRequester_CreateGroup_Call) RunAndReturn(run func(context.Context, *client.Group) (*client.Group, error)) *APIClientRequester_CreateGroup_Call
type APIClientRequester_CreatePolicy_Call ¶
APIClientRequester_CreatePolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePolicy'
func (*APIClientRequester_CreatePolicy_Call) Return ¶
func (_c *APIClientRequester_CreatePolicy_Call) Return(out *client.Policy, err error) *APIClientRequester_CreatePolicy_Call
func (*APIClientRequester_CreatePolicy_Call) Run ¶
func (_c *APIClientRequester_CreatePolicy_Call) Run(run func(ctx context.Context, in *client.Policy)) *APIClientRequester_CreatePolicy_Call
func (*APIClientRequester_CreatePolicy_Call) RunAndReturn ¶
func (_c *APIClientRequester_CreatePolicy_Call) RunAndReturn(run func(context.Context, *client.Policy) (*client.Policy, error)) *APIClientRequester_CreatePolicy_Call
type APIClientRequester_CreateServiceAccountToken_Call ¶ added in v1.4.32
APIClientRequester_CreateServiceAccountToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateServiceAccountToken'
func (*APIClientRequester_CreateServiceAccountToken_Call) Return ¶ added in v1.4.32
func (_c *APIClientRequester_CreateServiceAccountToken_Call) Return(out *client.ServiceAccountToken, err error) *APIClientRequester_CreateServiceAccountToken_Call
func (*APIClientRequester_CreateServiceAccountToken_Call) Run ¶ added in v1.4.32
func (_c *APIClientRequester_CreateServiceAccountToken_Call) Run(run func(ctx context.Context, serviceAccountName string, in *client.ServiceAccountToken)) *APIClientRequester_CreateServiceAccountToken_Call
func (*APIClientRequester_CreateServiceAccountToken_Call) RunAndReturn ¶ added in v1.4.32
func (_c *APIClientRequester_CreateServiceAccountToken_Call) RunAndReturn(run func(context.Context, string, *client.ServiceAccountToken) (*client.ServiceAccountToken, error)) *APIClientRequester_CreateServiceAccountToken_Call
type APIClientRequester_CreateServiceAccount_Call ¶ added in v1.4.32
APIClientRequester_CreateServiceAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateServiceAccount'
func (*APIClientRequester_CreateServiceAccount_Call) Return ¶ added in v1.4.32
func (_c *APIClientRequester_CreateServiceAccount_Call) Return(out *client.ServiceAccount, err error) *APIClientRequester_CreateServiceAccount_Call
func (*APIClientRequester_CreateServiceAccount_Call) Run ¶ added in v1.4.32
func (_c *APIClientRequester_CreateServiceAccount_Call) Run(run func(ctx context.Context, in *client.ServiceAccount)) *APIClientRequester_CreateServiceAccount_Call
func (*APIClientRequester_CreateServiceAccount_Call) RunAndReturn ¶ added in v1.4.32
func (_c *APIClientRequester_CreateServiceAccount_Call) RunAndReturn(run func(context.Context, *client.ServiceAccount) (*client.ServiceAccount, error)) *APIClientRequester_CreateServiceAccount_Call
type APIClientRequester_CreateSocket_Call ¶
APIClientRequester_CreateSocket_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateSocket'
func (*APIClientRequester_CreateSocket_Call) Return ¶
func (_c *APIClientRequester_CreateSocket_Call) Return(out *client.Socket, err error) *APIClientRequester_CreateSocket_Call
func (*APIClientRequester_CreateSocket_Call) Run ¶
func (_c *APIClientRequester_CreateSocket_Call) Run(run func(ctx context.Context, in *client.Socket)) *APIClientRequester_CreateSocket_Call
func (*APIClientRequester_CreateSocket_Call) RunAndReturn ¶
func (_c *APIClientRequester_CreateSocket_Call) RunAndReturn(run func(context.Context, *client.Socket) (*client.Socket, error)) *APIClientRequester_CreateSocket_Call
type APIClientRequester_CreateUser_Call ¶ added in v1.4.32
APIClientRequester_CreateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateUser'
func (*APIClientRequester_CreateUser_Call) Return ¶ added in v1.4.32
func (_c *APIClientRequester_CreateUser_Call) Return(out *client.User, err error) *APIClientRequester_CreateUser_Call
func (*APIClientRequester_CreateUser_Call) Run ¶ added in v1.4.32
func (_c *APIClientRequester_CreateUser_Call) Run(run func(ctx context.Context, in *client.User, opts ...client.UserOption)) *APIClientRequester_CreateUser_Call
func (*APIClientRequester_CreateUser_Call) RunAndReturn ¶ added in v1.4.32
func (_c *APIClientRequester_CreateUser_Call) RunAndReturn(run func(context.Context, *client.User, ...client.UserOption) (*client.User, error)) *APIClientRequester_CreateUser_Call
type APIClientRequester_DeleteConnectorToken_Call ¶
APIClientRequester_DeleteConnectorToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteConnectorToken'
func (*APIClientRequester_DeleteConnectorToken_Call) Return ¶
func (_c *APIClientRequester_DeleteConnectorToken_Call) Return(err error) *APIClientRequester_DeleteConnectorToken_Call
func (*APIClientRequester_DeleteConnectorToken_Call) Run ¶
func (_c *APIClientRequester_DeleteConnectorToken_Call) Run(run func(ctx context.Context, connectorID string, tokenID string)) *APIClientRequester_DeleteConnectorToken_Call
func (*APIClientRequester_DeleteConnectorToken_Call) RunAndReturn ¶
func (_c *APIClientRequester_DeleteConnectorToken_Call) RunAndReturn(run func(context.Context, string, string) error) *APIClientRequester_DeleteConnectorToken_Call
type APIClientRequester_DeleteConnector_Call ¶
APIClientRequester_DeleteConnector_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteConnector'
func (*APIClientRequester_DeleteConnector_Call) Return ¶
func (_c *APIClientRequester_DeleteConnector_Call) Return(err error) *APIClientRequester_DeleteConnector_Call
func (*APIClientRequester_DeleteConnector_Call) Run ¶
func (_c *APIClientRequester_DeleteConnector_Call) Run(run func(ctx context.Context, id string)) *APIClientRequester_DeleteConnector_Call
func (*APIClientRequester_DeleteConnector_Call) RunAndReturn ¶
func (_c *APIClientRequester_DeleteConnector_Call) RunAndReturn(run func(context.Context, string) error) *APIClientRequester_DeleteConnector_Call
type APIClientRequester_DeleteGroup_Call ¶ added in v1.4.32
APIClientRequester_DeleteGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteGroup'
func (*APIClientRequester_DeleteGroup_Call) Return ¶ added in v1.4.32
func (_c *APIClientRequester_DeleteGroup_Call) Return(err error) *APIClientRequester_DeleteGroup_Call
func (*APIClientRequester_DeleteGroup_Call) Run ¶ added in v1.4.32
func (_c *APIClientRequester_DeleteGroup_Call) Run(run func(ctx context.Context, id string)) *APIClientRequester_DeleteGroup_Call
func (*APIClientRequester_DeleteGroup_Call) RunAndReturn ¶ added in v1.4.32
func (_c *APIClientRequester_DeleteGroup_Call) RunAndReturn(run func(context.Context, string) error) *APIClientRequester_DeleteGroup_Call
type APIClientRequester_DeletePolicy_Call ¶
APIClientRequester_DeletePolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeletePolicy'
func (*APIClientRequester_DeletePolicy_Call) Return ¶
func (_c *APIClientRequester_DeletePolicy_Call) Return(err error) *APIClientRequester_DeletePolicy_Call
func (*APIClientRequester_DeletePolicy_Call) Run ¶
func (_c *APIClientRequester_DeletePolicy_Call) Run(run func(ctx context.Context, id string)) *APIClientRequester_DeletePolicy_Call
func (*APIClientRequester_DeletePolicy_Call) RunAndReturn ¶
func (_c *APIClientRequester_DeletePolicy_Call) RunAndReturn(run func(context.Context, string) error) *APIClientRequester_DeletePolicy_Call
type APIClientRequester_DeleteServiceAccountToken_Call ¶ added in v1.4.32
APIClientRequester_DeleteServiceAccountToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteServiceAccountToken'
func (*APIClientRequester_DeleteServiceAccountToken_Call) Return ¶ added in v1.4.32
func (_c *APIClientRequester_DeleteServiceAccountToken_Call) Return(err error) *APIClientRequester_DeleteServiceAccountToken_Call
func (*APIClientRequester_DeleteServiceAccountToken_Call) Run ¶ added in v1.4.32
func (_c *APIClientRequester_DeleteServiceAccountToken_Call) Run(run func(ctx context.Context, serviceAccountName string, tokenID string)) *APIClientRequester_DeleteServiceAccountToken_Call
func (*APIClientRequester_DeleteServiceAccountToken_Call) RunAndReturn ¶ added in v1.4.32
func (_c *APIClientRequester_DeleteServiceAccountToken_Call) RunAndReturn(run func(context.Context, string, string) error) *APIClientRequester_DeleteServiceAccountToken_Call
type APIClientRequester_DeleteServiceAccount_Call ¶ added in v1.4.32
APIClientRequester_DeleteServiceAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteServiceAccount'
func (*APIClientRequester_DeleteServiceAccount_Call) Return ¶ added in v1.4.32
func (_c *APIClientRequester_DeleteServiceAccount_Call) Return(err error) *APIClientRequester_DeleteServiceAccount_Call
func (*APIClientRequester_DeleteServiceAccount_Call) Run ¶ added in v1.4.32
func (_c *APIClientRequester_DeleteServiceAccount_Call) Run(run func(ctx context.Context, name string)) *APIClientRequester_DeleteServiceAccount_Call
func (*APIClientRequester_DeleteServiceAccount_Call) RunAndReturn ¶ added in v1.4.32
func (_c *APIClientRequester_DeleteServiceAccount_Call) RunAndReturn(run func(context.Context, string) error) *APIClientRequester_DeleteServiceAccount_Call
type APIClientRequester_DeleteSocket_Call ¶
APIClientRequester_DeleteSocket_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSocket'
func (*APIClientRequester_DeleteSocket_Call) Return ¶
func (_c *APIClientRequester_DeleteSocket_Call) Return(err error) *APIClientRequester_DeleteSocket_Call
func (*APIClientRequester_DeleteSocket_Call) Run ¶
func (_c *APIClientRequester_DeleteSocket_Call) Run(run func(ctx context.Context, idOrName string)) *APIClientRequester_DeleteSocket_Call
func (*APIClientRequester_DeleteSocket_Call) RunAndReturn ¶
func (_c *APIClientRequester_DeleteSocket_Call) RunAndReturn(run func(context.Context, string) error) *APIClientRequester_DeleteSocket_Call
type APIClientRequester_DeleteUser_Call ¶ added in v1.4.32
APIClientRequester_DeleteUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteUser'
func (*APIClientRequester_DeleteUser_Call) Return ¶ added in v1.4.32
func (_c *APIClientRequester_DeleteUser_Call) Return(err error) *APIClientRequester_DeleteUser_Call
func (*APIClientRequester_DeleteUser_Call) Run ¶ added in v1.4.32
func (_c *APIClientRequester_DeleteUser_Call) Run(run func(ctx context.Context, id string)) *APIClientRequester_DeleteUser_Call
func (*APIClientRequester_DeleteUser_Call) RunAndReturn ¶ added in v1.4.32
func (_c *APIClientRequester_DeleteUser_Call) RunAndReturn(run func(context.Context, string) error) *APIClientRequester_DeleteUser_Call
type APIClientRequester_Expecter ¶
type APIClientRequester_Expecter struct {
// contains filtered or unexported fields
}
func (*APIClientRequester_Expecter) AttachPoliciesToSocket ¶
func (_e *APIClientRequester_Expecter) AttachPoliciesToSocket(ctx interface{}, policyIDs interface{}, socketID interface{}) *APIClientRequester_AttachPoliciesToSocket_Call
AttachPoliciesToSocket is a helper method to define mock.On call
- ctx context.Context
- policyIDs []string
- socketID string
func (*APIClientRequester_Expecter) AttachPolicyToSocket ¶
func (_e *APIClientRequester_Expecter) AttachPolicyToSocket(ctx interface{}, policyID interface{}, socketID interface{}) *APIClientRequester_AttachPolicyToSocket_Call
AttachPolicyToSocket is a helper method to define mock.On call
- ctx context.Context
- policyID string
- socketID string
func (*APIClientRequester_Expecter) Authenticate ¶ added in v1.4.30
func (_e *APIClientRequester_Expecter) Authenticate(ctx interface{}, opts ...interface{}) *APIClientRequester_Authenticate_Call
Authenticate is a helper method to define mock.On call
- ctx context.Context
- opts ...auth.Option
func (*APIClientRequester_Expecter) Connector ¶
func (_e *APIClientRequester_Expecter) Connector(ctx interface{}, id interface{}) *APIClientRequester_Connector_Call
Connector is a helper method to define mock.On call
- ctx context.Context
- id string
func (*APIClientRequester_Expecter) ConnectorToken ¶ added in v1.4.18
func (_e *APIClientRequester_Expecter) ConnectorToken(ctx interface{}, connectorID interface{}, tokenID interface{}) *APIClientRequester_ConnectorToken_Call
ConnectorToken is a helper method to define mock.On call
- ctx context.Context
- connectorID string
- tokenID string
func (*APIClientRequester_Expecter) ConnectorTokens ¶
func (_e *APIClientRequester_Expecter) ConnectorTokens(ctx interface{}, connectorID interface{}) *APIClientRequester_ConnectorTokens_Call
ConnectorTokens is a helper method to define mock.On call
- ctx context.Context
- connectorID string
func (*APIClientRequester_Expecter) Connectors ¶
func (_e *APIClientRequester_Expecter) Connectors(ctx interface{}) *APIClientRequester_Connectors_Call
Connectors is a helper method to define mock.On call
- ctx context.Context
func (*APIClientRequester_Expecter) CreateConnector ¶
func (_e *APIClientRequester_Expecter) CreateConnector(ctx interface{}, in interface{}) *APIClientRequester_CreateConnector_Call
CreateConnector is a helper method to define mock.On call
- ctx context.Context
- in *client.Connector
func (*APIClientRequester_Expecter) CreateConnectorToken ¶
func (_e *APIClientRequester_Expecter) CreateConnectorToken(ctx interface{}, in interface{}) *APIClientRequester_CreateConnectorToken_Call
CreateConnectorToken is a helper method to define mock.On call
- ctx context.Context
- in *client.ConnectorToken
func (*APIClientRequester_Expecter) CreateGroup ¶ added in v1.4.32
func (_e *APIClientRequester_Expecter) CreateGroup(ctx interface{}, in interface{}) *APIClientRequester_CreateGroup_Call
CreateGroup is a helper method to define mock.On call
- ctx context.Context
- in *client.Group
func (*APIClientRequester_Expecter) CreatePolicy ¶
func (_e *APIClientRequester_Expecter) CreatePolicy(ctx interface{}, in interface{}) *APIClientRequester_CreatePolicy_Call
CreatePolicy is a helper method to define mock.On call
- ctx context.Context
- in *client.Policy
func (*APIClientRequester_Expecter) CreateServiceAccount ¶ added in v1.4.32
func (_e *APIClientRequester_Expecter) CreateServiceAccount(ctx interface{}, in interface{}) *APIClientRequester_CreateServiceAccount_Call
CreateServiceAccount is a helper method to define mock.On call
- ctx context.Context
- in *client.ServiceAccount
func (*APIClientRequester_Expecter) CreateServiceAccountToken ¶ added in v1.4.32
func (_e *APIClientRequester_Expecter) CreateServiceAccountToken(ctx interface{}, serviceAccountName interface{}, in interface{}) *APIClientRequester_CreateServiceAccountToken_Call
CreateServiceAccountToken is a helper method to define mock.On call
- ctx context.Context
- serviceAccountName string
- in *client.ServiceAccountToken
func (*APIClientRequester_Expecter) CreateSocket ¶
func (_e *APIClientRequester_Expecter) CreateSocket(ctx interface{}, in interface{}) *APIClientRequester_CreateSocket_Call
CreateSocket is a helper method to define mock.On call
- ctx context.Context
- in *client.Socket
func (*APIClientRequester_Expecter) CreateUser ¶ added in v1.4.32
func (_e *APIClientRequester_Expecter) CreateUser(ctx interface{}, in interface{}, opts ...interface{}) *APIClientRequester_CreateUser_Call
CreateUser is a helper method to define mock.On call
- ctx context.Context
- in *client.User
- opts ...client.UserOption
func (*APIClientRequester_Expecter) DeleteConnector ¶
func (_e *APIClientRequester_Expecter) DeleteConnector(ctx interface{}, id interface{}) *APIClientRequester_DeleteConnector_Call
DeleteConnector is a helper method to define mock.On call
- ctx context.Context
- id string
func (*APIClientRequester_Expecter) DeleteConnectorToken ¶
func (_e *APIClientRequester_Expecter) DeleteConnectorToken(ctx interface{}, connectorID interface{}, tokenID interface{}) *APIClientRequester_DeleteConnectorToken_Call
DeleteConnectorToken is a helper method to define mock.On call
- ctx context.Context
- connectorID string
- tokenID string
func (*APIClientRequester_Expecter) DeleteGroup ¶ added in v1.4.32
func (_e *APIClientRequester_Expecter) DeleteGroup(ctx interface{}, id interface{}) *APIClientRequester_DeleteGroup_Call
DeleteGroup is a helper method to define mock.On call
- ctx context.Context
- id string
func (*APIClientRequester_Expecter) DeletePolicy ¶
func (_e *APIClientRequester_Expecter) DeletePolicy(ctx interface{}, id interface{}) *APIClientRequester_DeletePolicy_Call
DeletePolicy is a helper method to define mock.On call
- ctx context.Context
- id string
func (*APIClientRequester_Expecter) DeleteServiceAccount ¶ added in v1.4.32
func (_e *APIClientRequester_Expecter) DeleteServiceAccount(ctx interface{}, name interface{}) *APIClientRequester_DeleteServiceAccount_Call
DeleteServiceAccount is a helper method to define mock.On call
- ctx context.Context
- name string
func (*APIClientRequester_Expecter) DeleteServiceAccountToken ¶ added in v1.4.32
func (_e *APIClientRequester_Expecter) DeleteServiceAccountToken(ctx interface{}, serviceAccountName interface{}, tokenID interface{}) *APIClientRequester_DeleteServiceAccountToken_Call
DeleteServiceAccountToken is a helper method to define mock.On call
- ctx context.Context
- serviceAccountName string
- tokenID string
func (*APIClientRequester_Expecter) DeleteSocket ¶
func (_e *APIClientRequester_Expecter) DeleteSocket(ctx interface{}, idOrName interface{}) *APIClientRequester_DeleteSocket_Call
DeleteSocket is a helper method to define mock.On call
- ctx context.Context
- idOrName string
func (*APIClientRequester_Expecter) DeleteUser ¶ added in v1.4.32
func (_e *APIClientRequester_Expecter) DeleteUser(ctx interface{}, id interface{}) *APIClientRequester_DeleteUser_Call
DeleteUser is a helper method to define mock.On call
- ctx context.Context
- id string
func (*APIClientRequester_Expecter) Group ¶ added in v1.4.32
func (_e *APIClientRequester_Expecter) Group(ctx interface{}, id interface{}) *APIClientRequester_Group_Call
Group is a helper method to define mock.On call
- ctx context.Context
- id string
func (*APIClientRequester_Expecter) Policies ¶
func (_e *APIClientRequester_Expecter) Policies(ctx interface{}) *APIClientRequester_Policies_Call
Policies is a helper method to define mock.On call
- ctx context.Context
func (*APIClientRequester_Expecter) PoliciesByNames ¶
func (_e *APIClientRequester_Expecter) PoliciesByNames(ctx interface{}, names ...interface{}) *APIClientRequester_PoliciesByNames_Call
PoliciesByNames is a helper method to define mock.On call
- ctx context.Context
- names ...string
func (*APIClientRequester_Expecter) Policy ¶
func (_e *APIClientRequester_Expecter) Policy(ctx interface{}, id interface{}) *APIClientRequester_Policy_Call
Policy is a helper method to define mock.On call
- ctx context.Context
- id string
func (*APIClientRequester_Expecter) RemovePoliciesFromSocket ¶
func (_e *APIClientRequester_Expecter) RemovePoliciesFromSocket(ctx interface{}, policyIDs interface{}, socketID interface{}) *APIClientRequester_RemovePoliciesFromSocket_Call
RemovePoliciesFromSocket is a helper method to define mock.On call
- ctx context.Context
- policyIDs []string
- socketID string
func (*APIClientRequester_Expecter) RemovePolicyFromSocket ¶
func (_e *APIClientRequester_Expecter) RemovePolicyFromSocket(ctx interface{}, policyID interface{}, socketID interface{}) *APIClientRequester_RemovePolicyFromSocket_Call
RemovePolicyFromSocket is a helper method to define mock.On call
- ctx context.Context
- policyID string
- socketID string
func (*APIClientRequester_Expecter) ServiceAccount ¶ added in v1.4.32
func (_e *APIClientRequester_Expecter) ServiceAccount(ctx interface{}, name interface{}) *APIClientRequester_ServiceAccount_Call
ServiceAccount is a helper method to define mock.On call
- ctx context.Context
- name string
func (*APIClientRequester_Expecter) ServiceAccountTokens ¶ added in v1.4.36
func (_e *APIClientRequester_Expecter) ServiceAccountTokens(ctx interface{}, serviceAccountName interface{}) *APIClientRequester_ServiceAccountTokens_Call
ServiceAccountTokens is a helper method to define mock.On call
- ctx context.Context
- serviceAccountName string
func (*APIClientRequester_Expecter) SignSocketKey ¶
func (_e *APIClientRequester_Expecter) SignSocketKey(ctx interface{}, idOrName interface{}, in interface{}) *APIClientRequester_SignSocketKey_Call
SignSocketKey is a helper method to define mock.On call
- ctx context.Context
- idOrName string
- in *client.SocketKeyToSign
func (*APIClientRequester_Expecter) Socket ¶
func (_e *APIClientRequester_Expecter) Socket(ctx interface{}, idOrName interface{}) *APIClientRequester_Socket_Call
Socket is a helper method to define mock.On call
- ctx context.Context
- idOrName string
func (*APIClientRequester_Expecter) SocketConnectors ¶
func (_e *APIClientRequester_Expecter) SocketConnectors(ctx interface{}, idOrName interface{}) *APIClientRequester_SocketConnectors_Call
SocketConnectors is a helper method to define mock.On call
- ctx context.Context
- idOrName string
func (*APIClientRequester_Expecter) SocketUpstreamConfigs ¶
func (_e *APIClientRequester_Expecter) SocketUpstreamConfigs(ctx interface{}, idOrName interface{}) *APIClientRequester_SocketUpstreamConfigs_Call
SocketUpstreamConfigs is a helper method to define mock.On call
- ctx context.Context
- idOrName string
func (*APIClientRequester_Expecter) Sockets ¶
func (_e *APIClientRequester_Expecter) Sockets(ctx interface{}) *APIClientRequester_Sockets_Call
Sockets is a helper method to define mock.On call
- ctx context.Context
func (*APIClientRequester_Expecter) TokenClaims ¶
func (_e *APIClientRequester_Expecter) TokenClaims() *APIClientRequester_TokenClaims_Call
TokenClaims is a helper method to define mock.On call
func (*APIClientRequester_Expecter) UpdateConnector ¶
func (_e *APIClientRequester_Expecter) UpdateConnector(ctx interface{}, in interface{}) *APIClientRequester_UpdateConnector_Call
UpdateConnector is a helper method to define mock.On call
- ctx context.Context
- in *client.Connector
func (*APIClientRequester_Expecter) UpdateGroup ¶ added in v1.4.32
func (_e *APIClientRequester_Expecter) UpdateGroup(ctx interface{}, in interface{}) *APIClientRequester_UpdateGroup_Call
UpdateGroup is a helper method to define mock.On call
- ctx context.Context
- in *client.Group
func (*APIClientRequester_Expecter) UpdateGroupMemberships ¶ added in v1.4.34
func (_e *APIClientRequester_Expecter) UpdateGroupMemberships(ctx interface{}, in interface{}, userIDs interface{}) *APIClientRequester_UpdateGroupMemberships_Call
UpdateGroupMemberships is a helper method to define mock.On call
- ctx context.Context
- in *client.Group
- userIDs []string
func (*APIClientRequester_Expecter) UpdatePolicy ¶
func (_e *APIClientRequester_Expecter) UpdatePolicy(ctx interface{}, id interface{}, in interface{}) *APIClientRequester_UpdatePolicy_Call
UpdatePolicy is a helper method to define mock.On call
- ctx context.Context
- id string
- in *client.Policy
func (*APIClientRequester_Expecter) UpdateServiceAccount ¶ added in v1.4.32
func (_e *APIClientRequester_Expecter) UpdateServiceAccount(ctx interface{}, in interface{}) *APIClientRequester_UpdateServiceAccount_Call
UpdateServiceAccount is a helper method to define mock.On call
- ctx context.Context
- in *client.ServiceAccount
func (*APIClientRequester_Expecter) UpdateSocket ¶
func (_e *APIClientRequester_Expecter) UpdateSocket(ctx interface{}, idOrName interface{}, in interface{}) *APIClientRequester_UpdateSocket_Call
UpdateSocket is a helper method to define mock.On call
- ctx context.Context
- idOrName string
- in *client.Socket
func (*APIClientRequester_Expecter) UpdateUser ¶ added in v1.4.32
func (_e *APIClientRequester_Expecter) UpdateUser(ctx interface{}, in interface{}) *APIClientRequester_UpdateUser_Call
UpdateUser is a helper method to define mock.On call
- ctx context.Context
- in *client.User
func (*APIClientRequester_Expecter) User ¶ added in v1.4.32
func (_e *APIClientRequester_Expecter) User(ctx interface{}, id interface{}) *APIClientRequester_User_Call
User is a helper method to define mock.On call
- ctx context.Context
- id string
func (*APIClientRequester_Expecter) Users ¶ added in v1.4.35
func (_e *APIClientRequester_Expecter) Users(ctx interface{}) *APIClientRequester_Users_Call
Users is a helper method to define mock.On call
- ctx context.Context
type APIClientRequester_Group_Call ¶ added in v1.4.32
APIClientRequester_Group_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Group'
func (*APIClientRequester_Group_Call) Return ¶ added in v1.4.32
func (_c *APIClientRequester_Group_Call) Return(out *client.Group, err error) *APIClientRequester_Group_Call
func (*APIClientRequester_Group_Call) Run ¶ added in v1.4.32
func (_c *APIClientRequester_Group_Call) Run(run func(ctx context.Context, id string)) *APIClientRequester_Group_Call
func (*APIClientRequester_Group_Call) RunAndReturn ¶ added in v1.4.32
func (_c *APIClientRequester_Group_Call) RunAndReturn(run func(context.Context, string) (*client.Group, error)) *APIClientRequester_Group_Call
type APIClientRequester_PoliciesByNames_Call ¶
APIClientRequester_PoliciesByNames_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PoliciesByNames'
func (*APIClientRequester_PoliciesByNames_Call) Return ¶
func (_c *APIClientRequester_PoliciesByNames_Call) Return(out []client.Policy, err error) *APIClientRequester_PoliciesByNames_Call
func (*APIClientRequester_PoliciesByNames_Call) Run ¶
func (_c *APIClientRequester_PoliciesByNames_Call) Run(run func(ctx context.Context, names ...string)) *APIClientRequester_PoliciesByNames_Call
func (*APIClientRequester_PoliciesByNames_Call) RunAndReturn ¶
func (_c *APIClientRequester_PoliciesByNames_Call) RunAndReturn(run func(context.Context, ...string) ([]client.Policy, error)) *APIClientRequester_PoliciesByNames_Call
type APIClientRequester_Policies_Call ¶
APIClientRequester_Policies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Policies'
func (*APIClientRequester_Policies_Call) Return ¶
func (_c *APIClientRequester_Policies_Call) Return(out []client.Policy, err error) *APIClientRequester_Policies_Call
func (*APIClientRequester_Policies_Call) Run ¶
func (_c *APIClientRequester_Policies_Call) Run(run func(ctx context.Context)) *APIClientRequester_Policies_Call
func (*APIClientRequester_Policies_Call) RunAndReturn ¶
func (_c *APIClientRequester_Policies_Call) RunAndReturn(run func(context.Context) ([]client.Policy, error)) *APIClientRequester_Policies_Call
type APIClientRequester_Policy_Call ¶
APIClientRequester_Policy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Policy'
func (*APIClientRequester_Policy_Call) Return ¶
func (_c *APIClientRequester_Policy_Call) Return(out *client.Policy, err error) *APIClientRequester_Policy_Call
func (*APIClientRequester_Policy_Call) Run ¶
func (_c *APIClientRequester_Policy_Call) Run(run func(ctx context.Context, id string)) *APIClientRequester_Policy_Call
func (*APIClientRequester_Policy_Call) RunAndReturn ¶
func (_c *APIClientRequester_Policy_Call) RunAndReturn(run func(context.Context, string) (*client.Policy, error)) *APIClientRequester_Policy_Call
type APIClientRequester_RemovePoliciesFromSocket_Call ¶
APIClientRequester_RemovePoliciesFromSocket_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemovePoliciesFromSocket'
func (*APIClientRequester_RemovePoliciesFromSocket_Call) Return ¶
func (_c *APIClientRequester_RemovePoliciesFromSocket_Call) Return(err error) *APIClientRequester_RemovePoliciesFromSocket_Call
func (*APIClientRequester_RemovePoliciesFromSocket_Call) Run ¶
func (_c *APIClientRequester_RemovePoliciesFromSocket_Call) Run(run func(ctx context.Context, policyIDs []string, socketID string)) *APIClientRequester_RemovePoliciesFromSocket_Call
func (*APIClientRequester_RemovePoliciesFromSocket_Call) RunAndReturn ¶
func (_c *APIClientRequester_RemovePoliciesFromSocket_Call) RunAndReturn(run func(context.Context, []string, string) error) *APIClientRequester_RemovePoliciesFromSocket_Call
type APIClientRequester_RemovePolicyFromSocket_Call ¶
APIClientRequester_RemovePolicyFromSocket_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemovePolicyFromSocket'
func (*APIClientRequester_RemovePolicyFromSocket_Call) Return ¶
func (_c *APIClientRequester_RemovePolicyFromSocket_Call) Return(err error) *APIClientRequester_RemovePolicyFromSocket_Call
func (*APIClientRequester_RemovePolicyFromSocket_Call) Run ¶
func (_c *APIClientRequester_RemovePolicyFromSocket_Call) Run(run func(ctx context.Context, policyID string, socketID string)) *APIClientRequester_RemovePolicyFromSocket_Call
func (*APIClientRequester_RemovePolicyFromSocket_Call) RunAndReturn ¶
func (_c *APIClientRequester_RemovePolicyFromSocket_Call) RunAndReturn(run func(context.Context, string, string) error) *APIClientRequester_RemovePolicyFromSocket_Call
type APIClientRequester_ServiceAccountTokens_Call ¶ added in v1.4.36
APIClientRequester_ServiceAccountTokens_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceAccountTokens'
func (*APIClientRequester_ServiceAccountTokens_Call) Return ¶ added in v1.4.36
func (_c *APIClientRequester_ServiceAccountTokens_Call) Return(out *client.ServiceAccountTokens, err error) *APIClientRequester_ServiceAccountTokens_Call
func (*APIClientRequester_ServiceAccountTokens_Call) Run ¶ added in v1.4.36
func (_c *APIClientRequester_ServiceAccountTokens_Call) Run(run func(ctx context.Context, serviceAccountName string)) *APIClientRequester_ServiceAccountTokens_Call
func (*APIClientRequester_ServiceAccountTokens_Call) RunAndReturn ¶ added in v1.4.36
func (_c *APIClientRequester_ServiceAccountTokens_Call) RunAndReturn(run func(context.Context, string) (*client.ServiceAccountTokens, error)) *APIClientRequester_ServiceAccountTokens_Call
type APIClientRequester_ServiceAccount_Call ¶ added in v1.4.32
APIClientRequester_ServiceAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceAccount'
func (*APIClientRequester_ServiceAccount_Call) Return ¶ added in v1.4.32
func (_c *APIClientRequester_ServiceAccount_Call) Return(out *client.ServiceAccount, err error) *APIClientRequester_ServiceAccount_Call
func (*APIClientRequester_ServiceAccount_Call) Run ¶ added in v1.4.32
func (_c *APIClientRequester_ServiceAccount_Call) Run(run func(ctx context.Context, name string)) *APIClientRequester_ServiceAccount_Call
func (*APIClientRequester_ServiceAccount_Call) RunAndReturn ¶ added in v1.4.32
func (_c *APIClientRequester_ServiceAccount_Call) RunAndReturn(run func(context.Context, string) (*client.ServiceAccount, error)) *APIClientRequester_ServiceAccount_Call
type APIClientRequester_SignSocketKey_Call ¶
APIClientRequester_SignSocketKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignSocketKey'
func (*APIClientRequester_SignSocketKey_Call) Return ¶
func (_c *APIClientRequester_SignSocketKey_Call) Return(out *client.SignedSocketKey, err error) *APIClientRequester_SignSocketKey_Call
func (*APIClientRequester_SignSocketKey_Call) Run ¶
func (_c *APIClientRequester_SignSocketKey_Call) Run(run func(ctx context.Context, idOrName string, in *client.SocketKeyToSign)) *APIClientRequester_SignSocketKey_Call
func (*APIClientRequester_SignSocketKey_Call) RunAndReturn ¶
func (_c *APIClientRequester_SignSocketKey_Call) RunAndReturn(run func(context.Context, string, *client.SocketKeyToSign) (*client.SignedSocketKey, error)) *APIClientRequester_SignSocketKey_Call
type APIClientRequester_SocketConnectors_Call ¶
APIClientRequester_SocketConnectors_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SocketConnectors'
func (*APIClientRequester_SocketConnectors_Call) Return ¶
func (_c *APIClientRequester_SocketConnectors_Call) Return(out *client.SocketConnectors, err error) *APIClientRequester_SocketConnectors_Call
func (*APIClientRequester_SocketConnectors_Call) Run ¶
func (_c *APIClientRequester_SocketConnectors_Call) Run(run func(ctx context.Context, idOrName string)) *APIClientRequester_SocketConnectors_Call
func (*APIClientRequester_SocketConnectors_Call) RunAndReturn ¶
func (_c *APIClientRequester_SocketConnectors_Call) RunAndReturn(run func(context.Context, string) (*client.SocketConnectors, error)) *APIClientRequester_SocketConnectors_Call
type APIClientRequester_SocketUpstreamConfigs_Call ¶
APIClientRequester_SocketUpstreamConfigs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SocketUpstreamConfigs'
func (*APIClientRequester_SocketUpstreamConfigs_Call) Return ¶
func (_c *APIClientRequester_SocketUpstreamConfigs_Call) Return(out *client.SocketUpstreamConfigs, err error) *APIClientRequester_SocketUpstreamConfigs_Call
func (*APIClientRequester_SocketUpstreamConfigs_Call) Run ¶
func (_c *APIClientRequester_SocketUpstreamConfigs_Call) Run(run func(ctx context.Context, idOrName string)) *APIClientRequester_SocketUpstreamConfigs_Call
func (*APIClientRequester_SocketUpstreamConfigs_Call) RunAndReturn ¶
func (_c *APIClientRequester_SocketUpstreamConfigs_Call) RunAndReturn(run func(context.Context, string) (*client.SocketUpstreamConfigs, error)) *APIClientRequester_SocketUpstreamConfigs_Call
type APIClientRequester_Socket_Call ¶
APIClientRequester_Socket_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Socket'
func (*APIClientRequester_Socket_Call) Return ¶
func (_c *APIClientRequester_Socket_Call) Return(out *client.Socket, err error) *APIClientRequester_Socket_Call
func (*APIClientRequester_Socket_Call) Run ¶
func (_c *APIClientRequester_Socket_Call) Run(run func(ctx context.Context, idOrName string)) *APIClientRequester_Socket_Call
func (*APIClientRequester_Socket_Call) RunAndReturn ¶
func (_c *APIClientRequester_Socket_Call) RunAndReturn(run func(context.Context, string) (*client.Socket, error)) *APIClientRequester_Socket_Call
type APIClientRequester_Sockets_Call ¶
APIClientRequester_Sockets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sockets'
func (*APIClientRequester_Sockets_Call) Return ¶
func (_c *APIClientRequester_Sockets_Call) Return(out []client.Socket, err error) *APIClientRequester_Sockets_Call
func (*APIClientRequester_Sockets_Call) Run ¶
func (_c *APIClientRequester_Sockets_Call) Run(run func(ctx context.Context)) *APIClientRequester_Sockets_Call
func (*APIClientRequester_Sockets_Call) RunAndReturn ¶
func (_c *APIClientRequester_Sockets_Call) RunAndReturn(run func(context.Context) ([]client.Socket, error)) *APIClientRequester_Sockets_Call
type APIClientRequester_TokenClaims_Call ¶
APIClientRequester_TokenClaims_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TokenClaims'
func (*APIClientRequester_TokenClaims_Call) Return ¶
func (_c *APIClientRequester_TokenClaims_Call) Return(_a0 jwt.MapClaims, _a1 error) *APIClientRequester_TokenClaims_Call
func (*APIClientRequester_TokenClaims_Call) Run ¶
func (_c *APIClientRequester_TokenClaims_Call) Run(run func()) *APIClientRequester_TokenClaims_Call
func (*APIClientRequester_TokenClaims_Call) RunAndReturn ¶
func (_c *APIClientRequester_TokenClaims_Call) RunAndReturn(run func() (jwt.MapClaims, error)) *APIClientRequester_TokenClaims_Call
type APIClientRequester_UpdateConnector_Call ¶
APIClientRequester_UpdateConnector_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateConnector'
func (*APIClientRequester_UpdateConnector_Call) Return ¶
func (_c *APIClientRequester_UpdateConnector_Call) Return(out *client.Connector, err error) *APIClientRequester_UpdateConnector_Call
func (*APIClientRequester_UpdateConnector_Call) Run ¶
func (_c *APIClientRequester_UpdateConnector_Call) Run(run func(ctx context.Context, in *client.Connector)) *APIClientRequester_UpdateConnector_Call
func (*APIClientRequester_UpdateConnector_Call) RunAndReturn ¶
func (_c *APIClientRequester_UpdateConnector_Call) RunAndReturn(run func(context.Context, *client.Connector) (*client.Connector, error)) *APIClientRequester_UpdateConnector_Call
type APIClientRequester_UpdateGroupMemberships_Call ¶ added in v1.4.34
APIClientRequester_UpdateGroupMemberships_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateGroupMemberships'
func (*APIClientRequester_UpdateGroupMemberships_Call) Return ¶ added in v1.4.34
func (_c *APIClientRequester_UpdateGroupMemberships_Call) Return(out *client.Group, err error) *APIClientRequester_UpdateGroupMemberships_Call
func (*APIClientRequester_UpdateGroupMemberships_Call) Run ¶ added in v1.4.34
func (_c *APIClientRequester_UpdateGroupMemberships_Call) Run(run func(ctx context.Context, in *client.Group, userIDs []string)) *APIClientRequester_UpdateGroupMemberships_Call
func (*APIClientRequester_UpdateGroupMemberships_Call) RunAndReturn ¶ added in v1.4.34
func (_c *APIClientRequester_UpdateGroupMemberships_Call) RunAndReturn(run func(context.Context, *client.Group, []string) (*client.Group, error)) *APIClientRequester_UpdateGroupMemberships_Call
type APIClientRequester_UpdateGroup_Call ¶ added in v1.4.32
APIClientRequester_UpdateGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateGroup'
func (*APIClientRequester_UpdateGroup_Call) Return ¶ added in v1.4.32
func (_c *APIClientRequester_UpdateGroup_Call) Return(out *client.Group, err error) *APIClientRequester_UpdateGroup_Call
func (*APIClientRequester_UpdateGroup_Call) Run ¶ added in v1.4.32
func (_c *APIClientRequester_UpdateGroup_Call) Run(run func(ctx context.Context, in *client.Group)) *APIClientRequester_UpdateGroup_Call
func (*APIClientRequester_UpdateGroup_Call) RunAndReturn ¶ added in v1.4.32
func (_c *APIClientRequester_UpdateGroup_Call) RunAndReturn(run func(context.Context, *client.Group) (*client.Group, error)) *APIClientRequester_UpdateGroup_Call
type APIClientRequester_UpdatePolicy_Call ¶
APIClientRequester_UpdatePolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePolicy'
func (*APIClientRequester_UpdatePolicy_Call) Return ¶
func (_c *APIClientRequester_UpdatePolicy_Call) Return(out *client.Policy, err error) *APIClientRequester_UpdatePolicy_Call
func (*APIClientRequester_UpdatePolicy_Call) Run ¶
func (_c *APIClientRequester_UpdatePolicy_Call) Run(run func(ctx context.Context, id string, in *client.Policy)) *APIClientRequester_UpdatePolicy_Call
func (*APIClientRequester_UpdatePolicy_Call) RunAndReturn ¶
func (_c *APIClientRequester_UpdatePolicy_Call) RunAndReturn(run func(context.Context, string, *client.Policy) (*client.Policy, error)) *APIClientRequester_UpdatePolicy_Call
type APIClientRequester_UpdateServiceAccount_Call ¶ added in v1.4.32
APIClientRequester_UpdateServiceAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateServiceAccount'
func (*APIClientRequester_UpdateServiceAccount_Call) Return ¶ added in v1.4.32
func (_c *APIClientRequester_UpdateServiceAccount_Call) Return(out *client.ServiceAccount, err error) *APIClientRequester_UpdateServiceAccount_Call
func (*APIClientRequester_UpdateServiceAccount_Call) Run ¶ added in v1.4.32
func (_c *APIClientRequester_UpdateServiceAccount_Call) Run(run func(ctx context.Context, in *client.ServiceAccount)) *APIClientRequester_UpdateServiceAccount_Call
func (*APIClientRequester_UpdateServiceAccount_Call) RunAndReturn ¶ added in v1.4.32
func (_c *APIClientRequester_UpdateServiceAccount_Call) RunAndReturn(run func(context.Context, *client.ServiceAccount) (*client.ServiceAccount, error)) *APIClientRequester_UpdateServiceAccount_Call
type APIClientRequester_UpdateSocket_Call ¶
APIClientRequester_UpdateSocket_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateSocket'
func (*APIClientRequester_UpdateSocket_Call) Return ¶
func (_c *APIClientRequester_UpdateSocket_Call) Return(out *client.Socket, err error) *APIClientRequester_UpdateSocket_Call
func (*APIClientRequester_UpdateSocket_Call) Run ¶
func (_c *APIClientRequester_UpdateSocket_Call) Run(run func(ctx context.Context, idOrName string, in *client.Socket)) *APIClientRequester_UpdateSocket_Call
func (*APIClientRequester_UpdateSocket_Call) RunAndReturn ¶
func (_c *APIClientRequester_UpdateSocket_Call) RunAndReturn(run func(context.Context, string, *client.Socket) (*client.Socket, error)) *APIClientRequester_UpdateSocket_Call
type APIClientRequester_UpdateUser_Call ¶ added in v1.4.32
APIClientRequester_UpdateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUser'
func (*APIClientRequester_UpdateUser_Call) Return ¶ added in v1.4.32
func (_c *APIClientRequester_UpdateUser_Call) Return(out *client.User, err error) *APIClientRequester_UpdateUser_Call
func (*APIClientRequester_UpdateUser_Call) Run ¶ added in v1.4.32
func (_c *APIClientRequester_UpdateUser_Call) Run(run func(ctx context.Context, in *client.User)) *APIClientRequester_UpdateUser_Call
func (*APIClientRequester_UpdateUser_Call) RunAndReturn ¶ added in v1.4.32
func (_c *APIClientRequester_UpdateUser_Call) RunAndReturn(run func(context.Context, *client.User) (*client.User, error)) *APIClientRequester_UpdateUser_Call
type APIClientRequester_User_Call ¶ added in v1.4.32
APIClientRequester_User_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'User'
func (*APIClientRequester_User_Call) Return ¶ added in v1.4.32
func (_c *APIClientRequester_User_Call) Return(out *client.User, err error) *APIClientRequester_User_Call
func (*APIClientRequester_User_Call) Run ¶ added in v1.4.32
func (_c *APIClientRequester_User_Call) Run(run func(ctx context.Context, id string)) *APIClientRequester_User_Call
func (*APIClientRequester_User_Call) RunAndReturn ¶ added in v1.4.32
func (_c *APIClientRequester_User_Call) RunAndReturn(run func(context.Context, string) (*client.User, error)) *APIClientRequester_User_Call
type APIClientRequester_Users_Call ¶ added in v1.4.35
APIClientRequester_Users_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Users'
func (*APIClientRequester_Users_Call) Return ¶ added in v1.4.35
func (_c *APIClientRequester_Users_Call) Return(out *client.Users, err error) *APIClientRequester_Users_Call
func (*APIClientRequester_Users_Call) Run ¶ added in v1.4.35
func (_c *APIClientRequester_Users_Call) Run(run func(ctx context.Context)) *APIClientRequester_Users_Call
func (*APIClientRequester_Users_Call) RunAndReturn ¶ added in v1.4.35
func (_c *APIClientRequester_Users_Call) RunAndReturn(run func(context.Context) (*client.Users, error)) *APIClientRequester_Users_Call