Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildPodable ¶
type BuildPodable interface {
GetName() string
GetNamespace() string
ServiceAccount() string
BuilderSpec() v1alpha1.BuildBuilderSpec
BuildPod(v1alpha1.BuildPodImages, []corev1.Secret, v1alpha1.BuildPodBuilderConfig) (*corev1.Pod, error)
}
type Generator ¶
type Generator struct {
BuildPodConfig v1alpha1.BuildPodImages
K8sClient k8sclient.Interface
KeychainFactory registry.KeychainFactory
ImageFetcher ImageFetcher
}
func (*Generator) Generate ¶
func (g *Generator) Generate(build BuildPodable) (*v1.Pod, error)
Click to show internal directories.
Click to hide internal directories.