archivecert

package
v0.0.0-...-0a64cdf Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultCacheCertsExpiration defines cache expiration
	DefaultCacheCertsExpiration = 30 * time.Minute
	// DefaultCacheCertsCleanUp defines cleanup
	DefaultCacheCertsCleanUp = 5 * time.Minute
)
View Source
const (
	// ActionClass registered
	ActionClass = "tls.archivecert"
)

Variables

This section is empty.

Functions

func Builder

func Builder() builder.BuildActionFn

Builder returns a builder function

Types

type Action

type Action struct {
	// contains filtered or unexported fields
}

Action register hooks to archive certificate info

func New

func New(id string, plugins []string, arc tlsutil.Archiver, l yalogi.Logger) *Action

New creates a new action

func (*Action) GetID

func (a *Action) GetID() string

GetID returns action id

func (*Action) Plugins

func (a *Action) Plugins() []string

Plugins implements Action interface

func (*Action) RegisterTLSHooks

func (a *Action) RegisterTLSHooks(hooks *tlsproc.Hooks)

RegisterTLSHooks adds hooks to tlsproc

Jump to

Keyboard shortcuts

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