Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultState = State{
Version: 1,
}
Functions ¶
func GetDefaultStateDirpath ¶ added in v0.7.7
func GetDefaultStateFilepath ¶
func WriteStateFile ¶
Types ¶
type State ¶
type State struct { Version int `json:"version"` AccountID *int64 `json:"account_id"` MachineID *int64 `json:"machine_id"` LatestKnownVersion *semver.Version `json:"latest_known_version,omitempty"` LastestKnownVersionUpdatedAt *time.Time `json:"latest_known_version_updated_at"` IngestionToken *typesv1.AccountToken `json:"ingestion_token,omitempty"` // preferences set in the CLI/TUI when querying CurrentOrgID *int64 `json:"current_org_id,omitempty"` CurrentAccountID *int64 `json:"current_account_id,omitempty"` CurrentMachineID *int64 `json:"current_machine_id,omitempty"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.