Documentation ¶
Index ¶
- Variables
- func DoubleDashArg[T ValueString](key string, value T) string
- type Client
- func (c *Client) AppCreate(ctx context.Context, appName string) error
- func (c *Client) AppDestroy(ctx context.Context, appName string) error
- func (c *Client) AppExists(ctx context.Context, appName string) (bool, error)
- func (c *Client) ChecksGet(ctx context.Context, appName string) (status string, err error)
- func (c *Client) ChecksSet(ctx context.Context, appName string, status string) error
- func (c *Client) ConfigExport(ctx context.Context, appName string) (res map[string]string, err error)
- func (c *Client) ConfigSet(ctx context.Context, appName string, data map[string]string) error
- func (c *Client) ConfigUnset(ctx context.Context, appName string, names []string) error
- func (c *Client) DeployFromArchive(ctx context.Context, appName string, archiveType string, archiveUrl string) error
- func (c *Client) DeployFromImage(ctx context.Context, appName string, dockerImage string, allowRebuild bool) (deployed bool, err error)
- func (c *Client) DeployRebuild(ctx context.Context, appName string) error
- func (c *Client) DeploySyncRepository(ctx context.Context, appName string, repositoryUrl string, ref string) error
- func (c *Client) DeployUnsetSourceImage(ctx context.Context, appName string) error
- func (c *Client) DockerOptionAdd(ctx context.Context, appName string, phases []string, value string) error
- func (c *Client) DockerOptionExists(ctx context.Context, appName string, phase string, value string) (bool, error)
- func (c *Client) DockerOptionRemove(ctx context.Context, appName string, phases []string, value string) error
- func (c *Client) DomainAdd(ctx context.Context, appName string, domain string) error
- func (c *Client) DomainRemove(ctx context.Context, appName string, domain string) error
- func (c *Client) DomainsClear(ctx context.Context, appName string) error
- func (c *Client) DomainsDisable(ctx context.Context, appName string) error
- func (c *Client) DomainsEnable(ctx context.Context, appName string) error
- func (c *Client) DomainsExport(ctx context.Context, appName string) (res []string, err error)
- func (c *Client) DomainsSet(ctx context.Context, appName string, domains []string) error
- func (c *Client) GetVersion(ctx context.Context) (rawVersion string, parsedVersion semver.Version, err error)
- func (c *Client) GitAuth(ctx context.Context, host string, login string, password string) error
- func (c *Client) GlobalDomainAdd(ctx context.Context, domain string) error
- func (c *Client) GlobalDomainExists(ctx context.Context, domain string) (bool, error)
- func (c *Client) GlobalDomainRemove(ctx context.Context, domain string) error
- func (c *Client) HttpAuthAddUser(ctx context.Context, appName string, user string, password string) error
- func (c *Client) HttpAuthDisable(ctx context.Context, appName string) error
- func (c *Client) HttpAuthEnable(ctx context.Context, appName string) error
- func (c *Client) HttpAuthRemoveUser(ctx context.Context, appName string, user string) error
- func (c *Client) HttpAuthReport(ctx context.Context, appName string) (enabled bool, users []string, err error)
- func (c *Client) LetsencryptAddCronJob(ctx context.Context) error
- func (c *Client) LetsencryptDisable(ctx context.Context, appName string) error
- func (c *Client) LetsencryptEnable(ctx context.Context, appName string) error
- func (c *Client) LetsencryptIsEnabled(ctx context.Context, appName string) (bool, error)
- func (c *Client) LetsencryptSetEmail(ctx context.Context, appName string, email string) error
- func (c *Client) NetworkCreate(ctx context.Context, name string) error
- func (c *Client) NetworkEnsureAndSetForApp(ctx context.Context, appName string, networkType string, name string) error
- func (c *Client) NetworkExists(ctx context.Context, name string) (bool, error)
- func (c *Client) NetworkGetNameForApp(ctx context.Context, appName string, networkType string) (string, error)
- func (c *Client) NetworkUnsetForApp(ctx context.Context, appName string, networkType string) error
- func (c *Client) NetworksReport(ctx context.Context, name string) (networks map[string]string, err error)
- func (c *Client) NginxConfigGetValue(ctx context.Context, appName string, property string) (string, error)
- func (c *Client) NginxConfigResetValue(ctx context.Context, appName string, property string) error
- func (c *Client) NginxConfigSetValue(ctx context.Context, appName string, property string, value string) error
- func (c *Client) PluginIsInstalled(ctx context.Context, pluginNameToFind string) (bool, error)
- func (c *Client) PortAdd(ctx context.Context, appName string, scheme string, hostPort int64, ...) error
- func (c *Client) PortRemove(ctx context.Context, appName string, hostPort int64) error
- func (c *Client) PortsClear(ctx context.Context, appName string) error
- func (c *Client) PortsExport(ctx context.Context, appName string) (res []Port, err error)
- func (c *Client) PortsSet(ctx context.Context, appName string, ports []Port) error
- func (c *Client) ProcessRestart(ctx context.Context, appName string) error
- func (c *Client) ProxyBuildConfig(ctx context.Context, appName string) error
- func (c *Client) ProxyDisable(ctx context.Context, appName string) error
- func (c *Client) ProxyEnable(ctx context.Context, appName string) error
- func (c *Client) RegistryLogin(ctx context.Context, host string, login string, password string) error
- func (c *Client) Run(ctx context.Context, cmd string, sensitiveStrings ...string) (stdout string, status int, err error)deprecated
- func (c *Client) RunQuiet(ctx context.Context, cmd string, sensitiveStrings ...string) (stdout string, status int, err error)deprecated
- func (c *Client) SimpleServiceCreate(ctx context.Context, servicePluginName string, serviceName string, ...) error
- func (c *Client) SimpleServiceDestroy(ctx context.Context, servicePluginName string, serviceName string) error
- func (c *Client) SimpleServiceExists(ctx context.Context, servicePluginName string, serviceName string) (bool, error)
- func (c *Client) SimpleServiceExpose(ctx context.Context, servicePluginName string, serviceName string, ...) error
- func (c *Client) SimpleServiceInfo(ctx context.Context, servicePluginName string, serviceName string) (map[string]string, error)
- func (c *Client) SimpleServiceLinkCreate(ctx context.Context, servicePluginName string, serviceName string, ...) error
- func (c *Client) SimpleServiceLinkExists(ctx context.Context, servicePluginName string, serviceName string, ...) (bool, error)
- func (c *Client) SimpleServiceLinkRemove(ctx context.Context, servicePluginName string, serviceName string, ...) error
- func (c *Client) SimpleServiceUnexpose(ctx context.Context, servicePluginName string, serviceName string) error
- func (c *Client) StorageEnsure(ctx context.Context, name string, localDirectory *string) error
- func (c *Client) StorageExport(ctx context.Context, appName string) (res map[string]string, err error)
- func (c *Client) StorageMount(ctx context.Context, appName string, name string, mountPath string) error
- func (c *Client) StorageUnmount(ctx context.Context, appName string, name string, mountPath string) error
- type Port
- type ValueString
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidUser = errors.New("must use a dokku user for authentication, see the docs")
)
Functions ¶
func DoubleDashArg ¶
func DoubleDashArg[T ValueString](key string, value T) string
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ConfigExport ¶
func (*Client) ConfigUnset ¶
func (*Client) DeployFromArchive ¶
func (*Client) DeployFromImage ¶
func (*Client) DeployRebuild ¶
func (*Client) DeploySyncRepository ¶
func (*Client) DeployUnsetSourceImage ¶
func (*Client) DockerOptionAdd ¶
func (*Client) DockerOptionExists ¶
func (*Client) DockerOptionRemove ¶
func (*Client) DomainRemove ¶
func (*Client) DomainsClear ¶
func (*Client) DomainsDisable ¶
func (*Client) DomainsEnable ¶
func (*Client) DomainsExport ¶
func (*Client) DomainsSet ¶
func (*Client) GetVersion ¶
func (*Client) GlobalDomainAdd ¶
func (*Client) GlobalDomainExists ¶
func (*Client) GlobalDomainRemove ¶
func (*Client) HttpAuthAddUser ¶
func (*Client) HttpAuthDisable ¶
func (*Client) HttpAuthEnable ¶
func (*Client) HttpAuthRemoveUser ¶
func (*Client) HttpAuthReport ¶
func (*Client) LetsencryptAddCronJob ¶
func (*Client) LetsencryptDisable ¶
func (*Client) LetsencryptEnable ¶
func (*Client) LetsencryptIsEnabled ¶
func (*Client) LetsencryptSetEmail ¶
func (*Client) NetworkCreate ¶
func (*Client) NetworkEnsureAndSetForApp ¶
func (*Client) NetworkExists ¶
func (*Client) NetworkGetNameForApp ¶
func (*Client) NetworkUnsetForApp ¶
func (*Client) NetworksReport ¶
func (*Client) NginxConfigGetValue ¶ added in v1.0.20
func (*Client) NginxConfigResetValue ¶ added in v1.0.20
func (*Client) NginxConfigSetValue ¶ added in v1.0.20
func (*Client) PluginIsInstalled ¶
func (*Client) PortRemove ¶
func (*Client) PortsExport ¶
func (*Client) ProcessRestart ¶
func (*Client) ProxyBuildConfig ¶ added in v1.0.21
func (*Client) ProxyDisable ¶
func (*Client) ProxyEnable ¶
func (*Client) RegistryLogin ¶
func (*Client) SimpleServiceCreate ¶
func (*Client) SimpleServiceDestroy ¶
func (*Client) SimpleServiceExists ¶
func (*Client) SimpleServiceExpose ¶
func (*Client) SimpleServiceInfo ¶
func (*Client) SimpleServiceLinkCreate ¶
func (*Client) SimpleServiceLinkExists ¶
func (*Client) SimpleServiceLinkRemove ¶
func (*Client) SimpleServiceUnexpose ¶
func (*Client) StorageEnsure ¶
func (*Client) StorageExport ¶
func (*Client) StorageMount ¶
type ValueString ¶
type ValueString interface {
ValueString() string
}
Click to show internal directories.
Click to hide internal directories.