Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CloudLog ¶
type CloudLog interface {
// CreateServiceLogConfig creates the LogConfig for the service to send logs to AWS CloudWatch.
CreateServiceLogConfig(ctx context.Context, cluster string, service string, serviceUUID string) *LogConfig
// CreateTaskLogConfig creates the LogConfig for the task to send logs to AWS CloudWatch.
CreateTaskLogConfig(ctx context.Context, cluster string, service string, serviceUUID string, taskType string) *LogConfig
// InitializeServiceLogConfig creates the log group on AWS CloudWatch.
InitializeServiceLogConfig(ctx context.Context, cluster string, service string, serviceUUID string) error
// DeleteServiceLogConfig deletes the log group from AWS CloudWatch.
DeleteServiceLogConfig(ctx context.Context, cluster string, service string, serviceUUID string) error
}
CloudLog defines the common log interface.
Click to show internal directories.
Click to hide internal directories.