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 // CreateStreamLogConfig creates the LogConfig for the stateless service, such as the managemen service, // or the task of the stateful service, such as init task. CreateStreamLogConfig(ctx context.Context, cluster string, service string, serviceUUID string, stream 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.