cbdomain

package
v0.0.0-...-7a31eba Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Structure of data for all state changes

Index

Constants

This section is empty.

Variables

View Source
var Types = ehevent.Allocators{
	"CertificateObtained": func() ehevent.Event { return &CertificateObtained{} },
	"CertificateRemoved":  func() ehevent.Event { return &CertificateRemoved{} },
	"ConfigUpdated":       func() ehevent.Event { return &ConfigUpdated{} },
}

Functions

This section is empty.

Types

type CertificateObtained

type CertificateObtained struct {
	Id                       string
	Reason                   string // "new" | "renewal"
	Domains                  []string
	Expires                  time.Time
	CertPemBundle            string
	PrivateKeyDekFingerprint string // identity of the DEK that encrypted this private key
	PrivateKeyCiphertext     []byte
	ChallengeType            string // "http-01" | "dns-01" | ...
	// contains filtered or unexported fields
}

func NewCertificateObtained

func NewCertificateObtained(
	id string,
	reason string,
	domains []string,
	expires time.Time,
	certPemBundle string,
	privateKeyDekFingerprint string,
	privateKeyCiphertext []byte,
	challengeType string,
	meta ehevent.EventMeta,
) *CertificateObtained

func (*CertificateObtained) Meta

func (*CertificateObtained) MetaType

func (e *CertificateObtained) MetaType() string

type CertificateRemoved

type CertificateRemoved struct {
	Id string
	// contains filtered or unexported fields
}

func NewCertificateRemoved

func NewCertificateRemoved(
	id string,
	meta ehevent.EventMeta,
) *CertificateRemoved

func (*CertificateRemoved) Meta

func (*CertificateRemoved) MetaType

func (e *CertificateRemoved) MetaType() string

type ConfigUpdated

type ConfigUpdated struct {
	ConfigEncryptionKeyFingerprint string
	ConfigCiphertext               []byte
	// contains filtered or unexported fields
}

func NewConfigUpdated

func NewConfigUpdated(
	keyFingerprint string,
	configCiphertext []byte,
	meta ehevent.EventMeta,
) *ConfigUpdated

func (*ConfigUpdated) Meta

func (e *ConfigUpdated) Meta() *ehevent.EventMeta

func (*ConfigUpdated) MetaType

func (e *ConfigUpdated) MetaType() string

Jump to

Keyboard shortcuts

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