Documentation ¶
Index ¶
- type Usecases
- func (u *Usecases) CreateConfig(ctx context.Context, inputManifest *manifest.Manifest, resourceName string, ...) error
- func (u *Usecases) DeleteConfig(ctx context.Context, name string) error
- func (u *Usecases) SendAutoscalerEvent(request *pb.SendAutoscalerEventRequest) (*pb.SendAutoscalerEventResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Usecases ¶
type Usecases struct { // Manager is a connector used to query request from manager. Manager managerclient.ClientAPI // Context which when cancelled will close all channel/goroutines. Context context.Context // SaveAutoscalerEvent is channel which is used to pass autoscaler event to controller SaveAutoscalerEvent chan event.GenericEvent }
func (*Usecases) CreateConfig ¶
func (*Usecases) DeleteConfig ¶
func (*Usecases) SendAutoscalerEvent ¶
func (u *Usecases) SendAutoscalerEvent(request *pb.SendAutoscalerEventRequest) (*pb.SendAutoscalerEventResponse, error)
SendAutoscalerEvent will receive an autoscaler event, and send it to the autoscaler channel
Click to show internal directories.
Click to hide internal directories.