builds

package
v1.3.413 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2018 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// LabelBuildName the label used on a pod for the build name
	LabelBuildName    = "build.knative.dev/buildName"
	LabelOldBuildName = "build-name"
)

Variables

This section is empty.

Functions

func GetBuildPods

func GetBuildPods(kubeClient kubernetes.Interface, ns string) ([]*corev1.Pod, error)

GetBuildPods returns all the build pods in the given namespace

Types

type JenkinsConverter

type JenkinsConverter struct {
	Indentation          string
	KubernetesPluginMode bool
	ProjectConfig        *config.ProjectConfig
	// contains filtered or unexported fields
}

func NewJenkinsConverter

func NewJenkinsConverter(projectConfig *config.ProjectConfig) *JenkinsConverter

NewJenkinsConverter creates a new JenkinsConverter instance

func (*JenkinsConverter) String

func (j *JenkinsConverter) String() string

func (*JenkinsConverter) ToJenkinsfile

func (j *JenkinsConverter) ToJenkinsfile() (string, error)

Jump to

Keyboard shortcuts

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