Documentation ¶
Index ¶
- Variables
- type BackgroundTLFUpdater
- type DelayReason
- type GetTLFForUpgradeAvailableRes
- type GetTLFForUpgradeDelayRes
- type GetTLFForUpgradeDisabledRes
- type GetTLFForUpgradeErrRes
- type GetTLFForUpgradeRes
- func NewGetTLFForUpgradeResWithDelay(v GetTLFForUpgradeDelayRes) GetTLFForUpgradeRes
- func NewGetTLFForUpgradeResWithDisabled(v GetTLFForUpgradeDisabledRes) GetTLFForUpgradeRes
- func NewGetTLFForUpgradeResWithErr(v GetTLFForUpgradeErrRes) GetTLFForUpgradeRes
- func NewGetTLFForUpgradeResWithTlfavailable(v GetTLFForUpgradeAvailableRes) GetTLFForUpgradeRes
- func (o GetTLFForUpgradeRes) DeepCopy() GetTLFForUpgradeRes
- func (o GetTLFForUpgradeRes) Delay() (res GetTLFForUpgradeDelayRes)
- func (o GetTLFForUpgradeRes) Disabled() (res GetTLFForUpgradeDisabledRes)
- func (o GetTLFForUpgradeRes) Err() (res GetTLFForUpgradeErrRes)
- func (o GetTLFForUpgradeRes) Tlfavailable() (res GetTLFForUpgradeAvailableRes)
- func (o *GetTLFForUpgradeRes) Typ() (ret GetTLFForUpgradeResType, err error)
- type GetTLFForUpgradeResType
Constants ¶
This section is empty.
Variables ¶
View Source
var DelayReasonMap = map[string]DelayReason{
"MISS": 0,
"INFLIGHT": 1,
}
View Source
var DelayReasonRevMap = map[DelayReason]string{
0: "MISS",
1: "INFLIGHT",
}
View Source
var GetTLFForUpgradeResTypeMap = map[string]GetTLFForUpgradeResType{
"TLFAVAILABLE": 0,
"DELAY": 1,
"ERR": 2,
"DISABLED": 3,
}
View Source
var GetTLFForUpgradeResTypeRevMap = map[GetTLFForUpgradeResType]string{
0: "TLFAVAILABLE",
1: "DELAY",
2: "ERR",
3: "DISABLED",
}
Functions ¶
This section is empty.
Types ¶
type BackgroundTLFUpdater ¶
type BackgroundTLFUpdater struct { libkb.Contextified sync.Mutex // contains filtered or unexported fields }
func NewBackgroundTLFUpdater ¶
func NewBackgroundTLFUpdater(g *libkb.GlobalContext) *BackgroundTLFUpdater
func (*BackgroundTLFUpdater) Run ¶
func (b *BackgroundTLFUpdater) Run()
func (*BackgroundTLFUpdater) Shutdown ¶
func (b *BackgroundTLFUpdater) Shutdown() error
type DelayReason ¶
type DelayReason int
const ( DelayReason_MISS DelayReason = 0 DelayReason_INFLIGHT DelayReason = 1 )
func (DelayReason) DeepCopy ¶
func (o DelayReason) DeepCopy() DelayReason
func (DelayReason) String ¶
func (e DelayReason) String() string
type GetTLFForUpgradeAvailableRes ¶
type GetTLFForUpgradeAvailableRes struct { TlfID keybase1.TLFID `codec:"tlfID" json:"tlfID"` TlfName string `codec:"tlfName" json:"tlfName"` IsPublic bool `codec:"isPublic" json:"isPublic"` }
func (GetTLFForUpgradeAvailableRes) DeepCopy ¶
func (o GetTLFForUpgradeAvailableRes) DeepCopy() GetTLFForUpgradeAvailableRes
type GetTLFForUpgradeDelayRes ¶
type GetTLFForUpgradeDelayRes struct { Delay gregor1.Time `codec:"delay" json:"delay"` Reason DelayReason `codec:"reason" json:"reason"` }
func (GetTLFForUpgradeDelayRes) DeepCopy ¶
func (o GetTLFForUpgradeDelayRes) DeepCopy() GetTLFForUpgradeDelayRes
type GetTLFForUpgradeDisabledRes ¶
func (GetTLFForUpgradeDisabledRes) DeepCopy ¶
func (o GetTLFForUpgradeDisabledRes) DeepCopy() GetTLFForUpgradeDisabledRes
type GetTLFForUpgradeErrRes ¶
type GetTLFForUpgradeErrRes struct { Error string `codec:"error" json:"error"` Delay gregor1.Time `codec:"delay" json:"delay"` }
func (GetTLFForUpgradeErrRes) DeepCopy ¶
func (o GetTLFForUpgradeErrRes) DeepCopy() GetTLFForUpgradeErrRes
type GetTLFForUpgradeRes ¶
type GetTLFForUpgradeRes struct { Typ__ GetTLFForUpgradeResType `codec:"typ" json:"typ"` Tlfavailable__ *GetTLFForUpgradeAvailableRes `codec:"tlfavailable,omitempty" json:"tlfavailable,omitempty"` Delay__ *GetTLFForUpgradeDelayRes `codec:"delay,omitempty" json:"delay,omitempty"` Err__ *GetTLFForUpgradeErrRes `codec:"err,omitempty" json:"err,omitempty"` Disabled__ *GetTLFForUpgradeDisabledRes `codec:"disabled,omitempty" json:"disabled,omitempty"` }
func NewGetTLFForUpgradeResWithDelay ¶
func NewGetTLFForUpgradeResWithDelay(v GetTLFForUpgradeDelayRes) GetTLFForUpgradeRes
func NewGetTLFForUpgradeResWithDisabled ¶
func NewGetTLFForUpgradeResWithDisabled(v GetTLFForUpgradeDisabledRes) GetTLFForUpgradeRes
func NewGetTLFForUpgradeResWithErr ¶
func NewGetTLFForUpgradeResWithErr(v GetTLFForUpgradeErrRes) GetTLFForUpgradeRes
func NewGetTLFForUpgradeResWithTlfavailable ¶
func NewGetTLFForUpgradeResWithTlfavailable(v GetTLFForUpgradeAvailableRes) GetTLFForUpgradeRes
func (GetTLFForUpgradeRes) DeepCopy ¶
func (o GetTLFForUpgradeRes) DeepCopy() GetTLFForUpgradeRes
func (GetTLFForUpgradeRes) Delay ¶
func (o GetTLFForUpgradeRes) Delay() (res GetTLFForUpgradeDelayRes)
func (GetTLFForUpgradeRes) Disabled ¶
func (o GetTLFForUpgradeRes) Disabled() (res GetTLFForUpgradeDisabledRes)
func (GetTLFForUpgradeRes) Err ¶
func (o GetTLFForUpgradeRes) Err() (res GetTLFForUpgradeErrRes)
func (GetTLFForUpgradeRes) Tlfavailable ¶
func (o GetTLFForUpgradeRes) Tlfavailable() (res GetTLFForUpgradeAvailableRes)
func (*GetTLFForUpgradeRes) Typ ¶
func (o *GetTLFForUpgradeRes) Typ() (ret GetTLFForUpgradeResType, err error)
type GetTLFForUpgradeResType ¶
type GetTLFForUpgradeResType int
const ( GetTLFForUpgradeResType_TLFAVAILABLE GetTLFForUpgradeResType = 0 GetTLFForUpgradeResType_DELAY GetTLFForUpgradeResType = 1 GetTLFForUpgradeResType_ERR GetTLFForUpgradeResType = 2 GetTLFForUpgradeResType_DISABLED GetTLFForUpgradeResType = 3 )
func (GetTLFForUpgradeResType) DeepCopy ¶
func (o GetTLFForUpgradeResType) DeepCopy() GetTLFForUpgradeResType
func (GetTLFForUpgradeResType) String ¶
func (e GetTLFForUpgradeResType) String() string
Click to show internal directories.
Click to hide internal directories.