Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action interface {
GetActionData() ActionData
}
Action defines interface to get data from actions
type ActionData ¶
type ActionData struct { Workspace string Actor string Repo string RepoOwner string Inputs Inputs ReleaseInfo *github.RepositoryRelease Derived Derived }
ActionData is action data
type Inputs ¶
type Inputs struct { PluginName string Token string TokenUserHandle string TokenUserEmail string TokenUserName string UpstreamKrewIndexRepoName string UpstreamKrewIndexOwner string }
Inputs is action inputs
type LocalAction ¶
type LocalAction struct{}
LocalAction for local action
func (LocalAction) GetActionData ¶
func (l LocalAction) GetActionData() (ActionData, error)
GetActionData returns data to run on local laptop
type RealAction ¶
type RealAction struct{}
RealAction is the real action
func (RealAction) GetActionData ¶
func (r RealAction) GetActionData() (ActionData, error)
GetActionData returns action data
Click to show internal directories.
Click to hide internal directories.