local

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: MIT Imports: 58 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

NewCmd returns the `bitrise local` parent command.

func NewInitCommand

func NewInitCommand() *cobra.Command

NewInitCommand ...

func NewRunCommand

func NewRunCommand() *cobra.Command

NewRunCommand ...

func NewSetupCommand

func NewSetupCommand() *cobra.Command

NewSetupCommand ...

func NewToolsCommand

func NewToolsCommand() *cobra.Command

NewToolsCommand ...

func NewTriggerCommand

func NewTriggerCommand() *cobra.Command

NewTriggerCommand ...

func NewWorkflowListCommand

func NewWorkflowListCommand() *cobra.Command

NewWorkflowListCommand ...

Types

type RunAndTriggerParamsModel

type RunAndTriggerParamsModel struct {
	// Run Params
	WorkflowToRunID string `json:"workflow"`

	// Trigger Params
	TriggerPattern string `json:"pattern"`

	PushBranch     string                       `json:"push-branch"`
	PRSourceBranch string                       `json:"pr-source-branch"`
	PRTargetBranch string                       `json:"pr-target-branch"`
	PRReadyState   models.PullRequestReadyState `json:"pr-ready-state"`
	Tag            string                       `json:"tag"`

	// Trigger Check Params
	Format string `json:"format"`

	// Bitrise Config Params
	BitriseConfigPath       string `json:"config"`
	BitriseConfigBase64Data string `json:"config-base64"`

	InventoryPath       string `json:"inventory"`
	InventoryBase64Data string `json:"inventory-base64"`
}

RunAndTriggerParamsModel ...

type RunConfig

type RunConfig struct {
	Modes    models.WorkflowRunModes
	Config   models.BitriseDataModel
	Workflow string
	Secrets  []envmanModels.EnvironmentItemModel
}

type WorkflowListOutputModel

type WorkflowListOutputModel struct {
	Data     map[string]map[string]string `json:"data,omitempty" yaml:"data,omitempty"`
	Warnings []string                     `json:"warnings,omitempty" yaml:"warnings,omitempty"`
	Error    string                       `json:"error,omitempty" yaml:"error,omitempty"`
}

WorkflowListOutputModel ...

func NewErrorOutput

func NewErrorOutput(err string, warnings ...string) WorkflowListOutputModel

NewErrorOutput ...

func NewOutput

func NewOutput(data map[string]map[string]string, warnings ...string) WorkflowListOutputModel

NewOutput ...

func (WorkflowListOutputModel) JSON

func (output WorkflowListOutputModel) JSON() string

JSON ...

func (WorkflowListOutputModel) String

func (output WorkflowListOutputModel) String() string

String ...

type WorkflowRunner

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

func NewWorkflowRunner

func NewWorkflowRunner(config RunConfig, agentConfig *configs.AgentConfig, tracker analytics.Tracker) WorkflowRunner

func (WorkflowRunner) RunWorkflowsWithSetupAndCheckForUpdate

func (r WorkflowRunner) RunWorkflowsWithSetupAndCheckForUpdate() (int, error)

Jump to

Keyboard shortcuts

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