Documentation ¶
Index ¶
- func CompactJSON(spacedJSONStr string) string
- type CreateBuilderArgs
- type DiffOptions
- type DiffOutBuilder
- func (d *DiffOutBuilder) Configure(options DiffOptions) *DiffOutBuilder
- func (d *DiffOutBuilder) New(str string) *DiffOutBuilder
- func (d *DiffOutBuilder) NoD(str string) *DiffOutBuilder
- func (d *DiffOutBuilder) Old(str string) *DiffOutBuilder
- func (d *DiffOutBuilder) Out() string
- func (d *DiffOutBuilder) Reset() *DiffOutBuilder
- func (d *DiffOutBuilder) Txt(str string) *DiffOutBuilder
- type FakeBuilderCreator
- type FakeBuildpackRepository
- type FakeTracker
- type Listers
- func (l *Listers) BuildServiceObjects() []runtime.Object
- func (l *Listers) GetBuildLister() buildlisters.BuildLister
- func (l *Listers) GetBuilderLister() buildlisters.BuilderLister
- func (l *Listers) GetClusterBuilderLister() buildlisters.ClusterBuilderLister
- func (l *Listers) GetClusterStackLister() buildlisters.ClusterStackLister
- func (l *Listers) GetClusterStoreLister() buildlisters.ClusterStoreLister
- func (l *Listers) GetConfigMapLister() corev1listers.ConfigMapLister
- func (l *Listers) GetDuckBuilderLister() *duckbuilder.DuckBuilderLister
- func (l *Listers) GetImageLister() buildlisters.ImageLister
- func (l *Listers) GetKubeObjects() []runtime.Object
- func (l *Listers) GetPersistentVolumeClaimLister() corev1listers.PersistentVolumeClaimLister
- func (l *Listers) GetPodLister() corev1listers.PodLister
- func (l *Listers) GetSourceResolverLister() buildlisters.SourceResolverLister
- type SpecReconcilerTester
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompactJSON ¶
Types ¶
type CreateBuilderArgs ¶
type CreateBuilderArgs struct { Keychain authn.Keychain ClusterStack *buildapi.ClusterStack ClusterStore *buildapi.ClusterStore BuilderSpec buildapi.BuilderSpec }
type DiffOptions ¶
func DefaultDiffOptions ¶
func DefaultDiffOptions() DiffOptions
type DiffOutBuilder ¶
type DiffOutBuilder struct {
// contains filtered or unexported fields
}
func NewDiffOutBuilder ¶
func NewDiffOutBuilder(t *testing.T) *DiffOutBuilder
func (*DiffOutBuilder) Configure ¶
func (d *DiffOutBuilder) Configure(options DiffOptions) *DiffOutBuilder
func (*DiffOutBuilder) New ¶
func (d *DiffOutBuilder) New(str string) *DiffOutBuilder
func (*DiffOutBuilder) NoD ¶
func (d *DiffOutBuilder) NoD(str string) *DiffOutBuilder
func (*DiffOutBuilder) Old ¶
func (d *DiffOutBuilder) Old(str string) *DiffOutBuilder
func (*DiffOutBuilder) Out ¶
func (d *DiffOutBuilder) Out() string
func (*DiffOutBuilder) Reset ¶
func (d *DiffOutBuilder) Reset() *DiffOutBuilder
func (*DiffOutBuilder) Txt ¶
func (d *DiffOutBuilder) Txt(str string) *DiffOutBuilder
type FakeBuilderCreator ¶
type FakeBuilderCreator struct { Record buildapi.BuilderRecord CreateErr error CreateBuilderCalls []CreateBuilderArgs }
func (*FakeBuilderCreator) CreateBuilder ¶
func (f *FakeBuilderCreator) CreateBuilder(keychain authn.Keychain, clusterStore *buildapi.ClusterStore, clusterStack *buildapi.ClusterStack, builder buildapi.BuilderSpec) (buildapi.BuilderRecord, error)
type FakeBuildpackRepository ¶ added in v0.0.6
type FakeBuildpackRepository struct {
ClusterStore *buildapi.ClusterStore
}
func (FakeBuildpackRepository) FindByIdAndVersion ¶ added in v0.0.6
func (f FakeBuildpackRepository) FindByIdAndVersion(id, version string) (cnb.RemoteBuildpackInfo, error)
type FakeTracker ¶
type FakeTracker map[string]map[types.NamespacedName]struct{}
func (FakeTracker) IsTracking ¶
func (f FakeTracker) IsTracking(ref reconciler.Key, obj types.NamespacedName) bool
func (FakeTracker) OnChanged ¶
func (FakeTracker) OnChanged(obj interface{})
func (FakeTracker) String ¶
func (f FakeTracker) String() string
func (FakeTracker) Track ¶
func (f FakeTracker) Track(ref reconciler.Key, obj types.NamespacedName) error
type Listers ¶
type Listers struct {
// contains filtered or unexported fields
}
func NewListers ¶
func (*Listers) BuildServiceObjects ¶
func (*Listers) GetBuildLister ¶
func (l *Listers) GetBuildLister() buildlisters.BuildLister
func (*Listers) GetBuilderLister ¶
func (l *Listers) GetBuilderLister() buildlisters.BuilderLister
func (*Listers) GetClusterBuilderLister ¶
func (l *Listers) GetClusterBuilderLister() buildlisters.ClusterBuilderLister
func (*Listers) GetClusterStackLister ¶
func (l *Listers) GetClusterStackLister() buildlisters.ClusterStackLister
func (*Listers) GetClusterStoreLister ¶
func (l *Listers) GetClusterStoreLister() buildlisters.ClusterStoreLister
func (*Listers) GetConfigMapLister ¶
func (l *Listers) GetConfigMapLister() corev1listers.ConfigMapLister
func (*Listers) GetDuckBuilderLister ¶
func (l *Listers) GetDuckBuilderLister() *duckbuilder.DuckBuilderLister
func (*Listers) GetImageLister ¶
func (l *Listers) GetImageLister() buildlisters.ImageLister
func (*Listers) GetKubeObjects ¶
func (*Listers) GetPersistentVolumeClaimLister ¶
func (l *Listers) GetPersistentVolumeClaimLister() corev1listers.PersistentVolumeClaimLister
func (*Listers) GetPodLister ¶
func (l *Listers) GetPodLister() corev1listers.PodLister
func (*Listers) GetSourceResolverLister ¶
func (l *Listers) GetSourceResolverLister() buildlisters.SourceResolverLister
type SpecReconcilerTester ¶
type SpecReconcilerTester struct {
// contains filtered or unexported fields
}
func ReconcilerTester ¶
func ReconcilerTester(t *testing.T, factory rtesting.Factory) SpecReconcilerTester
func (SpecReconcilerTester) Test ¶
func (rt SpecReconcilerTester) Test(test rtesting.TableRow)
Click to show internal directories.
Click to hide internal directories.