build

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReconcilerName = "Builds"
	Kind           = "Build"
)

Variables

This section is empty.

Functions

func NewController

func NewController(opt Options, knClient knversioned.Interface, informer v1alpha1informer.BuildInformer, kninformer knv1alpha1informer.BuildInformer, metadataRetriever MetadataRetriever) *controller.Impl

Types

type ByCreationTimestamp

type ByCreationTimestamp []*v1alpha1.Build

func (ByCreationTimestamp) Len

func (o ByCreationTimestamp) Len() int

func (ByCreationTimestamp) Less

func (o ByCreationTimestamp) Less(i, j int) bool

func (ByCreationTimestamp) Swap

func (o ByCreationTimestamp) Swap(i, j int)

type MetadataRetriever

type MetadataRetriever interface {
	GetBuiltImage(repoName registry.ImageRef) (cnb.BuiltImage, error)
}

type Options

type Options struct {
	reconciler.Options
	BuildInitImage string
}

type Reconciler

type Reconciler struct {
	KNClient          knversioned.Interface
	Client            versioned.Interface
	Lister            v1alpha1lister.BuildLister
	KnLister          knv1alpha1lister.BuildLister
	MetadataRetriever MetadataRetriever
	BuildInitImage    string
}

func (*Reconciler) Reconcile

func (c *Reconciler) Reconcile(ctx context.Context, key string) error

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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