Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PorterHelper ¶
type PorterHelper struct { Debug bool ProjectID uint AuthGetter *docker.AuthGetter Cache docker.CredentialsCache }
PorterHelper implements credentials.Helper: it acts as a credentials helper for Docker that allows authentication with different registries.
func NewPorterHelper ¶ added in v0.4.0
func NewPorterHelper(debug bool) *PorterHelper
func (*PorterHelper) Add ¶
func (p *PorterHelper) Add(cr *credentials.Credentials) error
Add appends credentials to the store.
func (*PorterHelper) Delete ¶
func (p *PorterHelper) Delete(serverURL string) error
Delete removes credentials from the store.
Click to show internal directories.
Click to hide internal directories.