dotgithub

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DotGithub

type DotGithub struct {
	Path            string
	VarsFile        string
	SecretsFile     string
	Vars            map[string]bool
	Secrets         map[string]bool
	Actions         map[string]*action.Action
	ExternalActions map[string]*action.Action
	Workflows       map[string]*workflow.Workflow
}

func (*DotGithub) DownloadExternalAction

func (d *DotGithub) DownloadExternalAction(path string) error

func (*DotGithub) GetAction

func (d *DotGithub) GetAction(n string) *action.Action

func (*DotGithub) GetExternalAction

func (d *DotGithub) GetExternalAction(n string) *action.Action

func (*DotGithub) InitFiles

func (d *DotGithub) InitFiles() error

func (*DotGithub) IsEnvExistInWorkflowOrItsJob

func (d *DotGithub) IsEnvExistInWorkflowOrItsJob(action string, job string, env string) bool

func (*DotGithub) IsSecretExist

func (d *DotGithub) IsSecretExist(n string) bool

func (*DotGithub) IsSecretsFileExist

func (d *DotGithub) IsSecretsFileExist() bool

func (*DotGithub) IsVarExist

func (d *DotGithub) IsVarExist(n string) bool

func (*DotGithub) IsVarsFileExist

func (d *DotGithub) IsVarsFileExist() bool

func (*DotGithub) IsWorkflowJobStepOutputExist

func (d *DotGithub) IsWorkflowJobStepOutputExist(action string, job string, step string, output string) bool

func (*DotGithub) Validate

func (d *DotGithub) Validate() ([]string, error)

Jump to

Keyboard shortcuts

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