Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrClusterNotFound = errors.New("Selected cluster could not be found. Please check your config") ErrServiceNotFound = errors.New("Selected service could not be found. Please check your config") ErrCommandNotFound = errors.New("Selected command could not be found. Please check your config") )
Config Errors
View Source
var ( ErrCouldNotCreateConfig = errors.New("Could not create config file") ErrConfigFileAlreadyExists = errors.New("Config file already exists at the chosen location") )
Init errors
View Source
var ( ErrInvalidEnvInput = errors.New("Input must be in the form of key=value") ErrKeyNotPresent = errors.New("The key entered was not present in the environment variables for this service") ErrCouldNotParseTime = errors.New("Could not parse the given time") ErrCantFollowWithEndTime = errors.New("Could not follow logs because an end time was given") )
Service errors
View Source
var (
ErrDeployTimeout = errors.New("Timed out waiting for task to start")
)
Deploy Errors
Functions ¶
Types ¶
type LogsOperation ¶
type LogsOperation struct { LogGroupName string Namespace string Service string EndTime time.Time StartTime time.Time Filter string Follow bool LogStreamNames []string EventCache *lru.Cache }
func (*LogsOperation) AddEndTime ¶
func (o *LogsOperation) AddEndTime(rawEndTime string)
func (*LogsOperation) AddStartTime ¶
func (o *LogsOperation) AddStartTime(rawStartTime string)
func (*LogsOperation) AddTasks ¶
func (o *LogsOperation) AddTasks(tasks []string)
func (*LogsOperation) SeenEvent ¶
func (o *LogsOperation) SeenEvent(eventID string) bool
func (*LogsOperation) Validate ¶
func (o *LogsOperation) Validate() error
Click to show internal directories.
Click to hide internal directories.