Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoState = fmt.Errorf("no Inngest state found")
)
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct { client.Client `json:"-"` SelectedWorkspace *Workspace `json:"workspace,omitempty"` Credentials []byte `json:"credentials"` Account client.Account `json:"account"` }
State persists across each cli invokation, allowing functionality such as workspace switching, etc.
func RequireState ¶
Click to show internal directories.
Click to hide internal directories.