mo_usage

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemberUsage

type MemberUsage struct {
	Raw        json.RawMessage
	Email      string  `path:"member.profile.email" json:"email"`
	UsedGB     float64 `path:"usage.used" json:"used_gb"`
	UsedBytes  uint64  `path:"usage.used" json:"used_bytes"`
	Allocation string  `path:"usage.allocation.\\.tag" json:"allocation"`
	Allocated  uint64  `path:"usage.allocation.allocated" json:"allocated"`
}

func NewMemberUsage

func NewMemberUsage(member *mo_member.Member, usage *Usage) (mu *MemberUsage)

type Usage

type Usage struct {
	Raw                               json.RawMessage
	Used                              uint64 `path:"used" json:"used"`
	Allocation                        string `path:"allocation.\\.tag" json:"allocation"`
	Allocated                         uint64 `path:"allocation.allocated" json:"allocated"`
	TeamUsed                          uint64 `path:"allocation.used" json:"team_used"`
	TeamUserWithinTeamSpaceAllocated  uint64 `path:"allocation.user_within_team_space_allocated" json:"team_user_within_team_space_allocated"`
	TeamUserWithinTeamSpaceLimitType  string `path:"allocation.user_within_team_space_limit_type.\\.tag" json:"team_user_within_team_space_limit_type"`
	TeamUserWithinTeamSpaceUsedCached uint64 `path:"allocation.user_within_team_space_used_cached" json:"team_user_within_team_space_used_cached"`
}

Jump to

Keyboard shortcuts

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