user_builder

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2024 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	User             model.User
	Profile          *model.UserProfile
	Authentication   *model.UserAuthentication
	PrivateKVSBucket *model.PrivateKVSBucket
}

type KVSEntryBuilder

type KVSEntryBuilder struct {
	// contains filtered or unexported fields
}

func NewKVSEntryBuilder

func NewKVSEntryBuilder(t *testing.T) *KVSEntryBuilder

func (KVSEntryBuilder) Build

func (b KVSEntryBuilder) Build() model.KVSEntry

func (*KVSEntryBuilder) Key

func (*KVSEntryBuilder) Value

func (b *KVSEntryBuilder) Value(v []byte) *KVSEntryBuilder

type PrivateKVSBucketBuilder

type PrivateKVSBucketBuilder struct {
	// contains filtered or unexported fields
}

func NewPrivateKVSBucketBuilder

func NewPrivateKVSBucketBuilder(userID uuid.UUID) *PrivateKVSBucketBuilder

func (PrivateKVSBucketBuilder) Build

func (*PrivateKVSBucketBuilder) ETag

func (*PrivateKVSBucketBuilder) Entries

type UserAuthenticationBuilder

type UserAuthenticationBuilder struct {
	// contains filtered or unexported fields
}

func NewUserAuthentication

func NewUserAuthentication(userID uuid.UUID) *UserAuthenticationBuilder

func (UserAuthenticationBuilder) Build

type UserBuilder

type UserBuilder struct {
	// contains filtered or unexported fields
}

func New

func New(userID uuid.UUID) *UserBuilder

func (*UserBuilder) Authentication

func (b *UserBuilder) Authentication(v model.UserAuthentication) *UserBuilder

func (UserBuilder) Build

func (b UserBuilder) Build() Data

func (*UserBuilder) PrivateKVSBucket

func (b *UserBuilder) PrivateKVSBucket(v model.PrivateKVSBucket) *UserBuilder

func (*UserBuilder) Profile added in v0.3.0

func (b *UserBuilder) Profile(v model.UserProfile) *UserBuilder

func (*UserBuilder) Status

func (b *UserBuilder) Status(v model.UserStatus) *UserBuilder

type UserProfileBuilder added in v0.3.0

type UserProfileBuilder struct {
	// contains filtered or unexported fields
}

func NewUserProfile added in v0.3.0

func NewUserProfile(userID uuid.UUID) *UserProfileBuilder

func (UserProfileBuilder) Build added in v0.3.0

func (*UserProfileBuilder) Raw added in v0.3.0

Jump to

Keyboard shortcuts

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