mocks

package
v1.4.48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIClientRequester

type APIClientRequester struct {
	mock.Mock
}

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

func (_m *APIClientRequester) Authenticate(ctx context.Context, opts ...auth.Option) error

Authenticate provides a mock function with given fields: ctx, opts

func (*APIClientRequester) Connector

func (_m *APIClientRequester) Connector(ctx context.Context, id string) (*client.Connector, error)

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 (*APIClientRequester) Group added in v1.4.32

func (_m *APIClientRequester) Group(ctx context.Context, id string) (*client.Group, error)

Group provides a mock function with given fields: ctx, id

func (*APIClientRequester) Policies

func (_m *APIClientRequester) Policies(ctx context.Context) ([]client.Policy, error)

Policies provides a mock function with given fields: ctx

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) Policy

func (_m *APIClientRequester) Policy(ctx context.Context, id string) (*client.Policy, error)

Policy provides a mock function with given fields: ctx, id

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

func (_m *APIClientRequester) Socket(ctx context.Context, idOrName string) (*client.Socket, error)

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) Sockets

func (_m *APIClientRequester) Sockets(ctx context.Context) ([]client.Socket, error)

Sockets provides a mock function with given fields: ctx

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

func (*APIClientRequester) User added in v1.4.32

func (_m *APIClientRequester) User(ctx context.Context, id string) (*client.User, error)

User provides a mock function with given fields: ctx, id

func (*APIClientRequester) Users added in v1.4.35

func (_m *APIClientRequester) Users(ctx context.Context) (*client.Users, error)

Users provides a mock function with given fields: ctx

type APIClientRequester_AttachPoliciesToSocket_Call

type APIClientRequester_AttachPoliciesToSocket_Call struct {
	*mock.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 (*APIClientRequester_AttachPoliciesToSocket_Call) Run

func (*APIClientRequester_AttachPoliciesToSocket_Call) RunAndReturn

type APIClientRequester_AttachPolicyToSocket_Call

type APIClientRequester_AttachPolicyToSocket_Call struct {
	*mock.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 (*APIClientRequester_AttachPolicyToSocket_Call) Run

func (*APIClientRequester_AttachPolicyToSocket_Call) RunAndReturn

type APIClientRequester_Authenticate_Call added in v1.4.30

type APIClientRequester_Authenticate_Call struct {
	*mock.Call
}

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 (*APIClientRequester_Authenticate_Call) Run added in v1.4.30

func (*APIClientRequester_Authenticate_Call) RunAndReturn added in v1.4.30

type APIClientRequester_ConnectorToken_Call added in v1.4.18

type APIClientRequester_ConnectorToken_Call struct {
	*mock.Call
}

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 (*APIClientRequester_ConnectorToken_Call) Run added in v1.4.18

func (*APIClientRequester_ConnectorToken_Call) RunAndReturn added in v1.4.18

type APIClientRequester_ConnectorTokens_Call

type APIClientRequester_ConnectorTokens_Call struct {
	*mock.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 (*APIClientRequester_ConnectorTokens_Call) Run

func (*APIClientRequester_ConnectorTokens_Call) RunAndReturn

type APIClientRequester_Connector_Call

type APIClientRequester_Connector_Call struct {
	*mock.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 (*APIClientRequester_Connector_Call) Run

func (*APIClientRequester_Connector_Call) RunAndReturn

type APIClientRequester_Connectors_Call

type APIClientRequester_Connectors_Call struct {
	*mock.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 (*APIClientRequester_Connectors_Call) Run

func (*APIClientRequester_Connectors_Call) RunAndReturn

type APIClientRequester_CreateConnectorToken_Call

type APIClientRequester_CreateConnectorToken_Call struct {
	*mock.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 (*APIClientRequester_CreateConnectorToken_Call) Run

type APIClientRequester_CreateConnector_Call

type APIClientRequester_CreateConnector_Call struct {
	*mock.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 (*APIClientRequester_CreateConnector_Call) Run

func (*APIClientRequester_CreateConnector_Call) RunAndReturn

type APIClientRequester_CreateGroup_Call added in v1.4.32

type APIClientRequester_CreateGroup_Call struct {
	*mock.Call
}

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 (*APIClientRequester_CreateGroup_Call) Run added in v1.4.32

func (*APIClientRequester_CreateGroup_Call) RunAndReturn added in v1.4.32

type APIClientRequester_CreatePolicy_Call

type APIClientRequester_CreatePolicy_Call struct {
	*mock.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 (*APIClientRequester_CreatePolicy_Call) Run

func (*APIClientRequester_CreatePolicy_Call) RunAndReturn

type APIClientRequester_CreateServiceAccountToken_Call added in v1.4.32

type APIClientRequester_CreateServiceAccountToken_Call struct {
	*mock.Call
}

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 (*APIClientRequester_CreateServiceAccountToken_Call) Run added in v1.4.32

func (*APIClientRequester_CreateServiceAccountToken_Call) RunAndReturn added in v1.4.32

type APIClientRequester_CreateServiceAccount_Call added in v1.4.32

type APIClientRequester_CreateServiceAccount_Call struct {
	*mock.Call
}

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 (*APIClientRequester_CreateServiceAccount_Call) Run added in v1.4.32

func (*APIClientRequester_CreateServiceAccount_Call) RunAndReturn added in v1.4.32

type APIClientRequester_CreateSocket_Call

type APIClientRequester_CreateSocket_Call struct {
	*mock.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 (*APIClientRequester_CreateSocket_Call) Run

func (*APIClientRequester_CreateSocket_Call) RunAndReturn

type APIClientRequester_CreateUser_Call added in v1.4.32

type APIClientRequester_CreateUser_Call struct {
	*mock.Call
}

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 (*APIClientRequester_CreateUser_Call) Run added in v1.4.32

func (*APIClientRequester_CreateUser_Call) RunAndReturn added in v1.4.32

type APIClientRequester_DeleteConnectorToken_Call

type APIClientRequester_DeleteConnectorToken_Call struct {
	*mock.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 (*APIClientRequester_DeleteConnectorToken_Call) Run

func (*APIClientRequester_DeleteConnectorToken_Call) RunAndReturn

type APIClientRequester_DeleteConnector_Call

type APIClientRequester_DeleteConnector_Call struct {
	*mock.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 (*APIClientRequester_DeleteConnector_Call) Run

func (*APIClientRequester_DeleteConnector_Call) RunAndReturn

type APIClientRequester_DeleteGroup_Call added in v1.4.32

type APIClientRequester_DeleteGroup_Call struct {
	*mock.Call
}

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 (*APIClientRequester_DeleteGroup_Call) Run added in v1.4.32

func (*APIClientRequester_DeleteGroup_Call) RunAndReturn added in v1.4.32

type APIClientRequester_DeletePolicy_Call

type APIClientRequester_DeletePolicy_Call struct {
	*mock.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 (*APIClientRequester_DeletePolicy_Call) Run

func (*APIClientRequester_DeletePolicy_Call) RunAndReturn

type APIClientRequester_DeleteServiceAccountToken_Call added in v1.4.32

type APIClientRequester_DeleteServiceAccountToken_Call struct {
	*mock.Call
}

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 (*APIClientRequester_DeleteServiceAccountToken_Call) Run added in v1.4.32

func (*APIClientRequester_DeleteServiceAccountToken_Call) RunAndReturn added in v1.4.32

type APIClientRequester_DeleteServiceAccount_Call added in v1.4.32

type APIClientRequester_DeleteServiceAccount_Call struct {
	*mock.Call
}

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 (*APIClientRequester_DeleteServiceAccount_Call) Run added in v1.4.32

func (*APIClientRequester_DeleteServiceAccount_Call) RunAndReturn added in v1.4.32

type APIClientRequester_DeleteSocket_Call

type APIClientRequester_DeleteSocket_Call struct {
	*mock.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 (*APIClientRequester_DeleteSocket_Call) Run

func (*APIClientRequester_DeleteSocket_Call) RunAndReturn

type APIClientRequester_DeleteUser_Call added in v1.4.32

type APIClientRequester_DeleteUser_Call struct {
	*mock.Call
}

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 (*APIClientRequester_DeleteUser_Call) Run added in v1.4.32

func (*APIClientRequester_DeleteUser_Call) RunAndReturn added in v1.4.32

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

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

type APIClientRequester_Group_Call struct {
	*mock.Call
}

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 (*APIClientRequester_Group_Call) Run added in v1.4.32

func (*APIClientRequester_Group_Call) RunAndReturn added in v1.4.32

type APIClientRequester_PoliciesByNames_Call

type APIClientRequester_PoliciesByNames_Call struct {
	*mock.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 (*APIClientRequester_PoliciesByNames_Call) Run

func (*APIClientRequester_PoliciesByNames_Call) RunAndReturn

type APIClientRequester_Policies_Call

type APIClientRequester_Policies_Call struct {
	*mock.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 (*APIClientRequester_Policies_Call) Run

func (*APIClientRequester_Policies_Call) RunAndReturn

type APIClientRequester_Policy_Call

type APIClientRequester_Policy_Call struct {
	*mock.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 (*APIClientRequester_Policy_Call) Run

func (*APIClientRequester_Policy_Call) RunAndReturn

type APIClientRequester_RemovePoliciesFromSocket_Call

type APIClientRequester_RemovePoliciesFromSocket_Call struct {
	*mock.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 (*APIClientRequester_RemovePoliciesFromSocket_Call) Run

func (*APIClientRequester_RemovePoliciesFromSocket_Call) RunAndReturn

type APIClientRequester_RemovePolicyFromSocket_Call

type APIClientRequester_RemovePolicyFromSocket_Call struct {
	*mock.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 (*APIClientRequester_RemovePolicyFromSocket_Call) Run

func (*APIClientRequester_RemovePolicyFromSocket_Call) RunAndReturn

type APIClientRequester_ServiceAccountTokens_Call added in v1.4.36

type APIClientRequester_ServiceAccountTokens_Call struct {
	*mock.Call
}

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 (*APIClientRequester_ServiceAccountTokens_Call) Run added in v1.4.36

func (*APIClientRequester_ServiceAccountTokens_Call) RunAndReturn added in v1.4.36

type APIClientRequester_ServiceAccount_Call added in v1.4.32

type APIClientRequester_ServiceAccount_Call struct {
	*mock.Call
}

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 (*APIClientRequester_ServiceAccount_Call) Run added in v1.4.32

func (*APIClientRequester_ServiceAccount_Call) RunAndReturn added in v1.4.32

type APIClientRequester_SignSocketKey_Call

type APIClientRequester_SignSocketKey_Call struct {
	*mock.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 (*APIClientRequester_SignSocketKey_Call) Run

type APIClientRequester_SocketConnectors_Call

type APIClientRequester_SocketConnectors_Call struct {
	*mock.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 (*APIClientRequester_SocketConnectors_Call) Run

func (*APIClientRequester_SocketConnectors_Call) RunAndReturn

type APIClientRequester_SocketUpstreamConfigs_Call

type APIClientRequester_SocketUpstreamConfigs_Call struct {
	*mock.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 (*APIClientRequester_SocketUpstreamConfigs_Call) Run

func (*APIClientRequester_SocketUpstreamConfigs_Call) RunAndReturn

type APIClientRequester_Socket_Call

type APIClientRequester_Socket_Call struct {
	*mock.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 (*APIClientRequester_Socket_Call) Run

func (*APIClientRequester_Socket_Call) RunAndReturn

type APIClientRequester_Sockets_Call

type APIClientRequester_Sockets_Call struct {
	*mock.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 (*APIClientRequester_Sockets_Call) Run

func (*APIClientRequester_Sockets_Call) RunAndReturn

type APIClientRequester_TokenClaims_Call

type APIClientRequester_TokenClaims_Call struct {
	*mock.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 (*APIClientRequester_TokenClaims_Call) Run

func (*APIClientRequester_TokenClaims_Call) RunAndReturn

type APIClientRequester_UpdateConnector_Call

type APIClientRequester_UpdateConnector_Call struct {
	*mock.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 (*APIClientRequester_UpdateConnector_Call) Run

func (*APIClientRequester_UpdateConnector_Call) RunAndReturn

type APIClientRequester_UpdateGroupMemberships_Call added in v1.4.34

type APIClientRequester_UpdateGroupMemberships_Call struct {
	*mock.Call
}

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 (*APIClientRequester_UpdateGroupMemberships_Call) Run added in v1.4.34

func (*APIClientRequester_UpdateGroupMemberships_Call) RunAndReturn added in v1.4.34

type APIClientRequester_UpdateGroup_Call added in v1.4.32

type APIClientRequester_UpdateGroup_Call struct {
	*mock.Call
}

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 (*APIClientRequester_UpdateGroup_Call) Run added in v1.4.32

func (*APIClientRequester_UpdateGroup_Call) RunAndReturn added in v1.4.32

type APIClientRequester_UpdatePolicy_Call

type APIClientRequester_UpdatePolicy_Call struct {
	*mock.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 (*APIClientRequester_UpdatePolicy_Call) Run

func (*APIClientRequester_UpdatePolicy_Call) RunAndReturn

type APIClientRequester_UpdateServiceAccount_Call added in v1.4.32

type APIClientRequester_UpdateServiceAccount_Call struct {
	*mock.Call
}

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 (*APIClientRequester_UpdateServiceAccount_Call) Run added in v1.4.32

func (*APIClientRequester_UpdateServiceAccount_Call) RunAndReturn added in v1.4.32

type APIClientRequester_UpdateSocket_Call

type APIClientRequester_UpdateSocket_Call struct {
	*mock.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 (*APIClientRequester_UpdateSocket_Call) Run

func (*APIClientRequester_UpdateSocket_Call) RunAndReturn

type APIClientRequester_UpdateUser_Call added in v1.4.32

type APIClientRequester_UpdateUser_Call struct {
	*mock.Call
}

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 (*APIClientRequester_UpdateUser_Call) Run added in v1.4.32

func (*APIClientRequester_UpdateUser_Call) RunAndReturn added in v1.4.32

type APIClientRequester_User_Call added in v1.4.32

type APIClientRequester_User_Call struct {
	*mock.Call
}

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 (*APIClientRequester_User_Call) Run added in v1.4.32

func (*APIClientRequester_User_Call) RunAndReturn added in v1.4.32

type APIClientRequester_Users_Call added in v1.4.35

type APIClientRequester_Users_Call struct {
	*mock.Call
}

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 (*APIClientRequester_Users_Call) Run added in v1.4.35

func (*APIClientRequester_Users_Call) RunAndReturn added in v1.4.35

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL