Discover Packages
github.com/deis/controller-sdk-go
certs
package
Version:
v0.0.0-...-c9ffa05
Opens a new window with list of versions in this module.
Published: Feb 28, 2018
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Jump to ...
Documentation
Overview
Index
Constants
Variables
Functions
Attach(c, name, domain)
Delete(c, name)
Detach(c, name, domain)
Get(c, name)
List(c, results)
New(c, cert, key, name)
Types
Source Files
Documentation
Documentation
¶
Package certs manages SSL keys and certificates on the deis platform
func Attach(c *deis.Client, name string, domain string) error
func Delete(c *deis.Client, name string) error
func Detach(c *deis.Client, name string, domain string) error
func Get(c *deis.Client, name string) (api.Cert, error)
func List(c *deis.Client, results int) ([]api.Cert, int, error)
func New(c *deis.Client, cert string, key string, name string) (api.Cert, error)
Attach adds a domain to a certificate.
Delete removes a certificate.
Detach removes a domain from a certificate.
Get retrieves information about a certificate
List lists certificates added to deis.
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.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.