Documentation ¶
Index ¶
- func GetStorages(ctx context.Context) (map[string]types.Storage, bool)
- func GetVhost(ctx context.Context) (*types.VirtualHost, bool)
- func NewStoragesContext(ctx context.Context, storages map[string]types.Storage) context.Context
- func NewVhostContext(ctx context.Context, vhost *types.VirtualHost) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStorages ¶
GetStorages extracts the map of types.Storage objects, if present.
func GetVhost ¶
func GetVhost(ctx context.Context) (*types.VirtualHost, bool)
GetVhost extracts the vhost.Vhost object, if present.
func NewStoragesContext ¶
NewStoragesContext returns a new Context carrying the map with the supplied storages.
func NewVhostContext ¶
NewVhostContext returns a new Context carrying the supplied vhost pointer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.