Documentation
¶
Index ¶
- type Fake
- func (f *Fake) GetAppConfig(ctx context.Context, appID string) (*config.ApplicationConfig, error)
- func (f *Fake) HealthProbe(ctx context.Context) (*apphealth.Status, error)
- func (f *Fake) InvokeMethod(ctx context.Context, req *invokev1.InvokeMethodRequest, appID string) (*invokev1.InvokeMethodResponse, error)
- func (f *Fake) SetAppHealth(ah *apphealth.AppHealth)
- func (f *Fake) TriggerJob(ctx context.Context, name string, data *anypb.Any) (*invokev1.InvokeMethodResponse, error)
- func (f *Fake) WithGetAppConfig(fn func(context.Context, string) (*config.ApplicationConfig, error)) *Fake
- func (f *Fake) WithHealthProbe(fn func(context.Context) (*apphealth.Status, error)) *Fake
- func (f *Fake) WithInvokeMethod(...) *Fake
- func (f *Fake) WithSetAppHealth(fn func(*apphealth.AppHealth)) *Fake
- func (f *Fake) WithTriggerJob(...) *Fake
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fake ¶
type Fake struct {
// contains filtered or unexported fields
}
func (*Fake) GetAppConfig ¶
func (*Fake) HealthProbe ¶
func (*Fake) InvokeMethod ¶
func (f *Fake) InvokeMethod(ctx context.Context, req *invokev1.InvokeMethodRequest, appID string) (*invokev1.InvokeMethodResponse, error)
func (*Fake) SetAppHealth ¶
func (*Fake) TriggerJob ¶
func (*Fake) WithGetAppConfig ¶
func (*Fake) WithHealthProbe ¶
func (*Fake) WithInvokeMethod ¶
func (f *Fake) WithInvokeMethod(fn func(context.Context, *invokev1.InvokeMethodRequest, string) (*invokev1.InvokeMethodResponse, error)) *Fake
func (*Fake) WithSetAppHealth ¶
Click to show internal directories.
Click to hide internal directories.