Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct {
// contains filtered or unexported fields
}
func NewBuild ¶
func NewBuild(waiter BuildWaiter, logs Logs, sourceFactory SourceFactory) Build
type BuildSpecOpts ¶
type BuildWaiter ¶
type BuildWaiter struct {
// contains filtered or unexported fields
}
func NewBuildWaiter ¶
func NewBuildWaiter(build *v1alpha1.Build, buildClient buildclientset.Interface) BuildWaiter
func (BuildWaiter) WaitForBuilderAssignment ¶
func (w BuildWaiter) WaitForBuilderAssignment(cancelCh chan struct{}) (*v1alpha1.Build, error)
func (BuildWaiter) WaitForClusterBuilderPodAssignment ¶
func (w BuildWaiter) WaitForClusterBuilderPodAssignment(cancelCh chan struct{}) (*v1alpha1.Build, error)
func (BuildWaiter) WaitForCompletion ¶
func (w BuildWaiter) WaitForCompletion(cancelCh chan struct{}) (*v1alpha1.Build, error)
type BuildWatcher ¶
type BuildWatcher struct {
// contains filtered or unexported fields
}
func NewBuildWatcher ¶
func NewBuildWatcher( buildsClient typedv1alpha1.BuildInterface, listOpts metav1.ListOptions, ) BuildWatcher
type ClusterBuilderLogs ¶
type ClusterBuilderLogs struct {
// contains filtered or unexported fields
}
func NewClusterBuilderLogs ¶
func NewClusterBuilderLogs( waiter BuildWaiter, podsGetterClient typedcorev1.PodsGetter, ) ClusterBuilderLogs
type ClusterBuilderSource ¶ added in v0.0.4
type ClusterBuilderSource struct {
// contains filtered or unexported fields
}
func NewClusterBuilderSource ¶ added in v0.0.4
func NewClusterBuilderSource( dirPath string, waiter BuildWaiter, coreClient kubernetes.Interface, restConfig *rest.Config, ) ClusterBuilderSource
type Factory ¶ added in v0.0.4
type Factory struct {
// contains filtered or unexported fields
}
func NewFactory ¶ added in v0.0.4
func NewFactory( buildClient buildclientset.Interface, coreClient kubernetes.Interface, restConfig *rest.Config, ) Factory
type Logs ¶
type Logs struct {
// contains filtered or unexported fields
}
func NewLogs ¶
func NewLogs(waiter BuildWaiter, podsGetterClient typedcorev1.PodsGetter) Logs
type NoopSource ¶ added in v0.0.4
type NoopSource struct {
// contains filtered or unexported fields
}
type PodInitContainerRunningWatcher ¶ added in v0.0.4
type PodInitContainerRunningWatcher struct {
Pod corev1.Pod
PodsClient typedcorev1.PodInterface
InitContainer string
}
func (PodInitContainerRunningWatcher) Wait ¶ added in v0.0.4
func (l PodInitContainerRunningWatcher) Wait(cancelCh chan struct{}) error
type PodTerminalStatusWatcher ¶
type PodTerminalStatusWatcher struct {
Pod corev1.Pod
PodsClient typedcorev1.PodInterface
}
type SourceFactory ¶ added in v0.0.4
type SourceFactory struct {
// contains filtered or unexported fields
}
func NewSourceFactory ¶ added in v0.0.4
func NewSourceFactory( waiter BuildWaiter, coreClient kubernetes.Interface, restConfig *rest.Config, ) SourceFactory
func (SourceFactory) New ¶ added in v0.0.4
func (s SourceFactory) New(t v1alpha1.BuildProvider, dirPath string) Source
Click to show internal directories.
Click to hide internal directories.