Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Condition ¶
type Condition struct {
ConnectedAccounts *ConnectedAccounts `json:"connectedAccounts,omitempty"`
ID string `json:"id,omitempty"`
OrganizationID string `json:"organization.id,omitempty"`
}
type ConnectedAccounts ¶
type ConnectedAccounts struct {
ElemMatch *ElemMatch `json:"$elemMatch"`
}
type ExecutionContext ¶
type Member ¶
type Member struct {
ID string `json:"id"`
Name string `json:"name"`
Organization Organization `json:"organization"`
Rules []Rule `json:"rules"`
}
type MockUserService ¶
type MockUserService struct {
GetExecutionContextrmationFunc func() (ExecutionContext, error)
}
MockUserService is a mock implementation of UserServicer
func NewMockUserService ¶
func NewMockUserService() *MockUserService
NewMockUserService creates a new instance of MockUserService with default behavior
func (*MockUserService) GetExecutionContext ¶
func (m *MockUserService) GetExecutionContext() (ExecutionContext, error)
GetExecutionContextrmation calls the mocked GetExecutionContextrmationFunc
type Organization ¶
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func (*UserService) GetExecutionContext ¶
func (us *UserService) GetExecutionContext() (ExecutionContext, error)
type UserServicer ¶
type UserServicer interface {
GetExecutionContext() (ExecutionContext, error)
}
func NewService ¶
func NewService() UserServicer
Click to show internal directories.
Click to hide internal directories.