internal

package
v0.0.0-...-807f934 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AppFs = afero.NewOsFs()

Functions

func AppendMultiStageParams

func AppendMultiStageParams(podspec *corev1.PodSpec, params map[string]string)

func CreateProwJobManifest

func CreateProwJobManifest(name string, config *prowconfig.Config) (*pjapi.ProwJob, error)

func GetGitHubFile

func GetGitHubFile(owner, repo, path string) (string, error)

GetGitHubFile accepts a repository owner and name and path and returns the contents of the file at that path.

func ProwJobFailure

func ProwJobFailure(pj *pjapi.ProwJob, config *prowconfig.Config, output string)

func ProwJobSuccess

func ProwJobSuccess(pj *pjapi.ProwJob, config *prowconfig.Config, output string)

func ProwJobWatcher

func ProwJobWatcher(namespace string, pjcs *pjclient.Clientset, selector string) (watch.Interface, error)

func SetInputHash

func SetInputHash(podspec *corev1.PodSpec, clustertype, ocpversion string)

func WriteToFileSystem

func WriteToFileSystem(fs afero.Fs, content, filename string) error

Types

type PreflightTriggerCustomError

type PreflightTriggerCustomError struct {
	Message string
	Err     error
}

func (*PreflightTriggerCustomError) Error

Jump to

Keyboard shortcuts

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