Documentation ¶
Index ¶
- type Backend
- func (b *Backend) SetDefaults()
- func (b *Backend) SetKubeClientSet(kubeClientSet kubernetes.Interface)
- func (b *Backend) SetLogger(logger *zap.Logger)
- func (b *Backend) Sync(ctx context.Context, loadTest loadTestV1.LoadTest, _ string) error
- func (b *Backend) SyncStatus(ctx context.Context, _ loadTestV1.LoadTest, ...) error
- func (*Backend) TransformLoadTestSpec(spec *loadTestV1.LoadTestSpec) error
- func (*Backend) Type() loadTestV1.LoadTestType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
Backend is the Fake implementation of backend interface
func (*Backend) SetKubeClientSet ¶
func (b *Backend) SetKubeClientSet(kubeClientSet kubernetes.Interface)
SetKubeClientSet receives a copy of kubeClientSet
func (*Backend) Sync ¶
Sync check if Fake kubernetes resources have been create, if they have not been create them
func (*Backend) SyncStatus ¶
func (b *Backend) SyncStatus(ctx context.Context, _ loadTestV1.LoadTest, loadTestStatus *loadTestV1.LoadTestStatus) error
SyncStatus check the Fake resources and calculate the current status of the LoadTest from them
func (*Backend) TransformLoadTestSpec ¶
func (*Backend) TransformLoadTestSpec(spec *loadTestV1.LoadTestSpec) error
TransformLoadTestSpec use given spec to validate and return a new one or error
func (*Backend) Type ¶
func (*Backend) Type() loadTestV1.LoadTestType
Type returns backend type name
Click to show internal directories.
Click to hide internal directories.