Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands cmds
Functions ¶
func CleanString ¶
func GetAuthToken ¶
func GetAuthToken(creds RegistryCreds) string
Types ¶
type DvpnContainerOptions ¶
type DvpnInterface ¶
type DvpnInterface interface { Start(dvpnContainerOpts DvpnContainerOptions, registryCreds RegistryCreds, opts StartOptions) (VolumeRemoveHandle, error) StartWithPersistentVolume(dvpnContainerOpts DvpnContainerOptions, volumeName string, registryCreds RegistryCreds, opts StartOptions) (VolumeRemoveHandle, error) GetClient(clientId string) (string, error) ListClients() (string, error) Version() (string, error) GenerateClient() (string, error) GenerateClientWithID(clientId string) (string, error) RemoveClient(clientId string) (string, error) Close() }
func FindInstance ¶
func FindInstance(containerName string) DvpnInterface
func NewDockovpn ¶
func NewDockovpn() DvpnInterface
type ExecOptions ¶
type ExecOptions struct { }
type RegistryCreds ¶
type VolumeRemoveHandle ¶
type VolumeRemoveHandle interface {
Remove()
}
func NewVolumeRemoveHandle ¶
func NewVolumeRemoveHandle(dvpn DvpnInterface, dockerClient *client.Client, volumeId string) VolumeRemoveHandle
Click to show internal directories.
Click to hide internal directories.