certs

package
v0.0.0-...-55b2a28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

Package certs manages SSL keys and certificates on the drycc platform

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Attach

func Attach(c *drycc.Client, appID string, name string, domain string) error

Attach adds a domain to a certificate.

func Delete

func Delete(c *drycc.Client, appID string, name string) error

Delete removes a certificate.

func Detach

func Detach(c *drycc.Client, appID string, name string, domain string) error

Detach removes a domain from a certificate.

func Get

func Get(c *drycc.Client, appID string, name string) (api.Cert, error)

Get retrieves information about a certificate

func List

func List(c *drycc.Client, appID string, results int) ([]api.Cert, int, error)

List lists certificates added to drycc.

func New

func New(c *drycc.Client, appID string, cert string, key string, name string) (api.Cert, error)

New creates a new certificate. Certificates are created independently from apps and are applied on a per domain basis. So to enable SSL for an app with the domain test.com, you would first create the certificate, then use the attach method to attach test.com to the certificate.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL