dto

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2017 License: MIT Imports: 1 Imported by: 2 modules, 7 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 App

type App struct {
	Collaborators map[string]*Collaborator `json:"collaborators"`
	Deployments   []string                 `json:"deployments"`
	Name          string                   `json:"name"`
	IsOwner       bool                     `json:"-"`
}

type BlobInfo

type BlobInfo struct {
	Size uint64 `json:"size"`
	URL  string `json:"url"`
}

type Collaborator

type Collaborator struct {
	IsCurrentAccount bool   `json:"isCurrentAccount"`
	Permission       string `json:"permission"`
}

type Deployment

type Deployment struct {
	Key            string          `json:"key"`
	Name           string          `json:"name"`
	Package        *Package        `json:"package"`
	PackageMetrics *PackageMetrics `json:packageMetrics`
}

type Package

type Package struct {
	*PackageInfo
	BlobURL            string               `json:"blobUrl"`
	DiffPackageMap     map[string]*BlobInfo `json:"diffPackageMap"`
	OriginalLabel      string               `json:"originalLabel"`
	OriginalDeployment string               `json:"originalDeployment"`
	ReleasedBy         string               `json:"releasedBy"`
	ReleaseMethod      string               `json:"releaseMethod"`
	Size               int64                `json:"size"`
	UploadTime         int64                `json:"uploadTime"`
}

type PackageInfo

type PackageInfo struct {
	AppVersion  string `json:"appVersion"`
	Description string `json:"description"`
	IsDisabled  bool   `json:"isDisabled"`
	IsMandatory bool   `json:"isMandatory"`
	Label       string `json:"label"`
	PackageHash string `json:"packageHash"`
	Rollout     uint8  `json:"rollout"` // unconfirm
}

type PackageMetrics

type PackageMetrics struct {
	Active      uint64 `json:"active"`
	TotalActive uint64 `json:"totalActive"`
	Downloaded  uint64 `json:"downloaded"`
	Failed      uint64 `json:"failed"`
	Installed   uint64 `json:"installed"`
}

type UpdateCheck

type UpdateCheck struct {
	*PackageInfo
	DownloadURL            string `json:"downloadURL"`
	IsAvailable            bool   `json:"isAvailable"`
	PackageSize            int64  `json:"packageSize"`
	ShouldRunBinaryVersion bool   `json:"shouldRunBinaryVersion"`
	UpdateAppVersion       bool   `json:"updateAppVersion"`
}

type UpdateCheckCache

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

type UpdatePackageInfo

type UpdatePackageInfo struct {
	PackageInfo *PackageInfo `json:"packageInfo"`
}

type User

type User struct {
	ID              string   `json:"id"`
	Name            string   `json:"name"`
	Email           string   `json:"email"`
	LinkedProviders []string `json:"linkedProviders"`
}

type UserToken

type UserToken struct {
	ID           uint64    `json:"id"`
	Name         string    `json:"name"`
	FriendlyName string    `json:"friendlyName"`
	Expires      time.Time `json:"expires"`
	IsSession    bool      `json:"isSession"`
	CreatedBy    string    `json:"createdBy"`
	CreatedTime  time.Time `json:"createdTime"`
	Description  string    `json:"description"`
}

Jump to

Keyboard shortcuts

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