Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SplitCertChain ¶
SplitCertChain takes a complete certificate chain (including the primary cert) and returns two strings: the primary cert and the rest of the certificate chain, if any.
Types ¶
type FakeManager ¶
type FakeManager struct{}
func NewFakeManager ¶
func NewFakeManager() *FakeManager
func (*FakeManager) Remove ¶
func (m *FakeManager) Remove(id string) error
type IAMManager ¶
type IAMManager struct {
// contains filtered or unexported fields
}
func NewIAMManager ¶
func NewIAMManager(config *aws.Config, path string) *IAMManager
func (*IAMManager) Remove ¶
func (m *IAMManager) Remove(name string) error
type Manager ¶
type Manager interface {
// Add adds a new certificate and returns a unique id for the added certificate.
Add(name string, crt string, key string) (id string, err error)
// Metadata returns any metadata about the certificate for the given id.
MetaData(id string) (data map[string]string, err error)
// Remove removes the certificate for the given id.
Remove(id string) (err error)
}
Click to show internal directories.
Click to hide internal directories.