Documentation ¶
Index ¶
- func ApplyReplacements(build *v1alpha1.Build, replacements map[string]string) *v1alpha1.Build
- func ApplyTemplate(u *v1alpha1.Build, tmpl v1alpha1.BuildTemplateInterface) (*v1alpha1.Build, error)
- func NewController(logger *zap.SugaredLogger, kubeclientset kubernetes.Interface, ...) *controller.Impl
- type Reconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyReplacements ¶ added in v0.3.0
ApplyReplacements replaces placeholders for declared parameters with the specified replacements.
func ApplyTemplate ¶ added in v0.3.0
func ApplyTemplate(u *v1alpha1.Build, tmpl v1alpha1.BuildTemplateInterface) (*v1alpha1.Build, error)
ApplyTemplate applies the values in the template to the build, and replaces placeholders for declared parameters with the build's matching arguments.
func NewController ¶
func NewController( logger *zap.SugaredLogger, kubeclientset kubernetes.Interface, podInformer coreinformers.PodInformer, buildclientset clientset.Interface, buildInformer informers.BuildInformer, buildTemplateInformer informers.BuildTemplateInformer, clusterBuildTemplateInformer informers.ClusterBuildTemplateInformer, ) *controller.Impl
NewController returns a new build template controller
Types ¶
type Reconciler ¶
type Reconciler struct { // Sugared logger is easier to use but is not as performant as the // raw logger. In performance critical paths, call logger.Desugar() // and use the returned raw logger instead. In addition to the // performance benefits, raw logger also preserves type-safety at // the expense of slightly greater verbosity. Logger *zap.SugaredLogger // contains filtered or unexported fields }
Reconciler is the controller.Reconciler implementation for Builds resources
Click to show internal directories.
Click to hide internal directories.