types

package
v0.0.0-...-0a39bb5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvVar

type EnvVar struct {
	Name  string `json:"name,omitempty"`
	Value string `json:"value,omitempty"`
}

type ExtraRef

type ExtraRef struct {
	BaseRef string `json:"baseRef,omitempty"`
	Org     string `json:"org,omitempty"`
	Repo    string `json:"repo,omitempty"`
}

type HostPath

type HostPath struct {
	Path string `json:"path,omitempty"`
	Type string `json:"type,omitempty"`
}

type JobConfig

type JobConfig struct {
	Architecture                 string         `json:"architecture,omitempty"`
	JobName                      string         `json:"jobName,omitempty"`
	RunIfChanged                 string         `json:"runIfChanged,omitempty"`
	SkipIfOnlyChanged            string         `json:"skipIfOnlyChanged,omitempty"`
	Branches                     []string       `json:"branches,omitempty"`
	MaxConcurrency               int            `json:"maxConcurrency,omitempty"`
	CronExpression               string         `json:"cronExpression,omitempty"`
	Timeout                      string         `json:"timeout,omitempty"`
	ImageBuild                   bool           `json:"imageBuild,omitempty"`
	UseDockerBuildX              bool           `json:"useDockerBuildX,omitempty"`
	UseMinimalBuilderBase        bool           `json:"useMinimalBuilderBase,omitempty"`
	PRCreation                   bool           `json:"prCreation,omitempty"`
	RuntimeImage                 string         `json:"runtimeImage,omitempty"`
	LocalRegistry                bool           `json:"localRegistry,omitempty"`
	ExtraRefs                    []*ExtraRef    `json:"extraRefs,omitempty"`
	ServiceAccountName           string         `json:"serviceAccountName,omitempty"`
	EnvVars                      []*EnvVar      `json:"envVars,omitempty"`
	Commands                     []string       `json:"commands,omitempty"`
	Resources                    *Resources     `json:"resources,omitempty"`
	VolumeMounts                 []*VolumeMount `json:"volumeMounts,omitempty"`
	Volumes                      []*Volume      `json:"volumes,omitempty"`
	AutomountServiceAccountToken string         `json:"automountServiceAccountToken,omitempty"`
	Cluster                      string         `json:"cluster,omitempty"`
	Bucket                       string         `json:"bucket,omitempty"`
	ProjectPath                  string         `json:"projectPath,omitempty"`
	RunAsUser                    string         `json:"runAsUser,omitempty"`
	RunAsGroup                   string         `json:"runAsGroup,omitempty"`
}

type ResourceConfig

type ResourceConfig struct {
	CPU              string `json:"cpu,omitempty"`
	Memory           string `json:"memory,omitempty"`
	EphemeralStorage string `json:"ephemeral-storage,omitempty"`
}

type Resources

type Resources struct {
	Requests *ResourceConfig `json:"requests,omitempty"`
	Limits   *ResourceConfig `json:"limits,omitempty"`
}

type Secret

type Secret struct {
	Name        string `json:"name,omitempty"`
	DefaultMode int    `json:"defaultMode,omitempty"`
}

type Volume

type Volume struct {
	Name       string    `json:"name,omitempty"`
	VolumeType string    `json:"volumeType,omitempty"`
	HostPath   *HostPath `json:"hostPath,omitempty"`
	Secret     *Secret   `json:"secret,omitempty"`
}

type VolumeMount

type VolumeMount struct {
	Name      string `json:"name,omitempty"`
	MountPath string `json:"mountPath,omitempty"`
	ReadOnly  bool   `json:"readOnly,omitempty"`
}

Jump to

Keyboard shortcuts

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