Documentation ¶
Index ¶
- func GetApp(ctx context.Context) (types.App, bool)
- func GetCacheZones(ctx context.Context) (map[string]*types.CacheZone, bool)
- func NewAppContext(ctx context.Context, app types.App) context.Context
- func NewCacheZonesContext(ctx context.Context, cacheZones map[string]*types.CacheZone) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCacheZones ¶
GetCacheZones extracts the map of types.CacheZone objects, if present.
func NewAppContext ¶
NewAppContext returns a new Context carrying the supplied App.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.