Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetJobDefinitionSafeName ¶
Replaces not allowed characters to ensure the resulting name conforms to: https://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html. Specifically: The name of the job definition to register. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
Types ¶
type Cache ¶
type Cache interface { // Gets a JobDefinition if one is in memory. Otherwise found is set to false. Get(key CacheKey) (jobDefinition JobDefinitionArn, found bool) // Stores a definition in cache. Put(key CacheKey, definition JobDefinitionArn) error }
An JobDefinition cache interface
type CacheKey ¶
A generic CacheKey interface
func NewCacheKey ¶
Creates a new deterministic cache key.
type JobDefinitionArn ¶
type JobDefinitionArn = string
Click to show internal directories.
Click to hide internal directories.