environment

package
v0.0.0-...-d14222a Latest Latest
Warning

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

Go to latest
Published: Sep 9, 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 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 PushCodeSamplesOnly

func PushCodeSamplesOnly() bool

func RegistryTags

func RegistryTags() string

func SetCLIVersionToUse

func SetCLIVersionToUse(version string) error

func SetVersion

func SetVersion() string

func ShouldOutputTests

func ShouldOutputTests() bool

func SpecifiedCodeSamplesTargets

func SpecifiedCodeSamplesTargets() []string

func SpecifiedSources

func SpecifiedSources() []string

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"
	ActionPublishEvent       Action = "publish-event"
	ActionTag                Action = "tag"
)

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