Documentation ¶
Overview ¶
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the PipelineRun controller depends.
Index ¶
Constants ¶
View Source
const ( // EntrypointConfigName is the name of the configmap containing all // customizations for entrypoint. EntrypointConfigName = "config-entrypoint" // ImageKey is the name of the configuration entry that specifies // entrypoint image. ImageKey = "image" // DefaultEntrypointImage is the default value of the ImageKey. DefaultEntrypointImage = "gcr.io/k8s-prow/entrypoint@sha256:7c7cd8906ce4982ffee326218e9fc75da2d4896d53cabc9833b9cc8d2d6b2b8f" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Entrypoint *Entrypoint
}
+k8s:deepcopy-gen=false
func FromContext ¶
type Entrypoint ¶
type Entrypoint struct { // Image specifies the entrypoint image which will used by taskrun // to capture logs. Image string }
Entrypoint contains the entrypoint configuration defined in the entrypoint config map.
func NewEntrypointConfigFromConfigMap ¶
func NewEntrypointConfigFromConfigMap(configMap *corev1.ConfigMap) (*Entrypoint, error)
NewEntrypointConfigFromConfigMap creates a Entrypoint from the supplied ConfigMap
func (*Entrypoint) DeepCopy ¶
func (in *Entrypoint) DeepCopy() *Entrypoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Entrypoint.
func (*Entrypoint) DeepCopyInto ¶
func (in *Entrypoint) DeepCopyInto(out *Entrypoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Click to show internal directories.
Click to hide internal directories.