certs

package
v0.0.0-...-c9ffa05 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2018 License: MIT Imports: 4 Imported by: 2

Documentation

Overview

Package certs manages SSL keys and certificates on the deis platform

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Attach

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

Attach adds a domain to a certificate.

func Delete

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

Delete removes a certificate.

func Detach

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

Detach removes a domain from a certificate.

func Get

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

Get retrieves information about a certificate

func List

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

List lists certificates added to deis.

func New

func New(c *deis.Client, 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