environment

package
v0.0.0-...-bd37d99 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultMaxValidationWarnings = 1000
	DefaultMaxValidationErrors   = 1000
)

Variables

This section is empty.

Functions

func CreateGitRelease

func CreateGitRelease() bool

func ForceGeneration

func ForceGeneration() bool

func GetAccessToken

func GetAccessToken() string

func GetBaseDir

func GetBaseDir() string

func GetBranchName

func GetBranchName() string

func GetCliOutput

func GetCliOutput() string

func GetDocsLanguages

func GetDocsLanguages() string

func GetGPGFingerprint

func GetGPGFingerprint() string

func GetGithubServerURL

func GetGithubServerURL() string

func GetInvokeTime

func GetInvokeTime() time.Time

func GetLanguages

func GetLanguages() string

func GetMaxSuggestions

func GetMaxSuggestions() string

func GetMaxValidationErrors

func GetMaxValidationErrors() (int, error)

func GetMaxValidationWarnings

func GetMaxValidationWarnings() (int, error)

func GetOpenAPIDocAuthHeader

func GetOpenAPIDocAuthHeader() string

func GetOpenAPIDocAuthToken

func GetOpenAPIDocAuthToken() string

func GetOpenAPIDocLocation

func GetOpenAPIDocLocation() string

func GetOpenAPIDocOutput

func GetOpenAPIDocOutput() string

func GetOpenAPIDocs

func GetOpenAPIDocs() string

func GetOverlayDocs

func GetOverlayDocs() string

func GetPinnedSpeakeasyVersion

func GetPinnedSpeakeasyVersion() string

func GetPreviousGenVersion

func GetPreviousGenVersion() string

func GetRef

func GetRef() string

func GetRepo

func GetRepo() string

func GetWorkflowEventPayloadPath

func GetWorkflowEventPayloadPath() string

func GetWorkflowName

func GetWorkflowName() string

func GetWorkingDirectory

func GetWorkingDirectory() string

func GetWorkspace

func GetWorkspace() string

func IsDebugMode

func IsDebugMode() bool

func IsDocsGeneration

func IsDocsGeneration() bool

func IsLanguagePublished

func IsLanguagePublished(lang string) bool

func ShouldOutputTests

func ShouldOutputTests() bool

func SpecifiedTarget

func SpecifiedTarget() string

Types

type Action

type Action string
const (
	ActionValidate           Action = "validate"
	ActionRunWorkflow        Action = "run-workflow"
	ActionSuggest            Action = "suggest"
	ActionFinalize           Action = "finalize"
	ActionFinalizeSuggestion Action = "finalize-suggestion"
	ActionRelease            Action = "release"
	ActionLog                Action = "log-result"
)

func GetAction

func GetAction() Action

type Mode

type Mode string
const (
	ModeDirect Mode = "direct"
	ModePR     Mode = "pr"
)

func GetMode

func GetMode() Mode

Jump to

Keyboard shortcuts

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