Documentation ¶
Index ¶
- func CloneDelete(datum *user.Delete) *user.Delete
- func CloneUser(datum *user.User) *user.User
- func CloneUserArray(datum user.UserArray) user.UserArray
- func MatchUser(datum *user.User) gomegaTypes.GomegaMatcher
- func MatchUserArray(datum user.UserArray) gomegaTypes.GomegaMatcher
- func NewObjectFromDelete(datum *user.Delete, objectFormat test.ObjectFormat) map[string]interface{}
- func NewObjectFromUser(datum *user.User, objectFormat test.ObjectFormat) map[string]interface{}
- func RandomDelete() *user.Delete
- func RandomID() string
- func RandomPassword() string
- func RandomUser() *user.User
- func RandomUserArray(minimumLength int, maximumLength int) user.UserArray
- func RandomUsername() string
- type Client
- type DeleteInput
- type DeleteOutput
- type GetOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchUser ¶ added in v1.31.0
func MatchUser(datum *user.User) gomegaTypes.GomegaMatcher
func MatchUserArray ¶ added in v1.31.0
func MatchUserArray(datum user.UserArray) gomegaTypes.GomegaMatcher
func NewObjectFromDelete ¶ added in v1.31.0
func NewObjectFromDelete(datum *user.Delete, objectFormat test.ObjectFormat) map[string]interface{}
func NewObjectFromUser ¶ added in v1.31.0
func NewObjectFromUser(datum *user.User, objectFormat test.ObjectFormat) map[string]interface{}
func RandomDelete ¶ added in v1.31.0
func RandomPassword ¶ added in v1.31.0
func RandomPassword() string
func RandomUser ¶ added in v1.31.0
func RandomUserArray ¶ added in v1.31.0
func RandomUsername ¶ added in v1.31.0
func RandomUsername() string
Types ¶
type Client ¶
type Client struct { GetInvocations int GetInputs []string GetStub func(ctx context.Context, id string) (*user.User, error) GetOutputs []GetOutput GetOutput *GetOutput DeleteInvocations int DeleteInputs []DeleteInput DeleteStub func(ctx context.Context, id string, deleet *user.Delete, condition *request.Condition) (bool, error) DeleteOutputs []DeleteOutput DeleteOutput *DeleteOutput }
func (*Client) AssertOutputsEmpty ¶ added in v1.27.0
func (c *Client) AssertOutputsEmpty()
type DeleteInput ¶ added in v1.31.0
type DeleteOutput ¶ added in v1.31.0
Click to show internal directories.
Click to hide internal directories.