Documentation ¶
Overview ¶
Package iswiftpkg implements an emulation of OpenStack Swift by presenting a Swift Proxy responding to a minimal set of base OpenStack Swift HTTP methods. While there is no support for TLS, a simple Auth functionality is provided and its usage is enforced.
To configure an iswiftpkg instance, Start() is called passing, as the sole argument, a package conf ConfMap. Here is a sample .conf file:
[ISWIFT] SwiftProxyIPAddr: 127.0.0.1 SwiftProxyTCPPort: 8080 MaxAccountNameLength: 256 MaxContainerNameLength: 256 MaxObjectNameLength: 1024 AccountListingLimit: 10000 ContainerListingLimit: 10000
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForceReAuth ¶
func ForceReAuth()
ForceReAuth is called to force a "401 Unauthorized" response to a client's subsequent request forcing the client to reauthenticate.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.