cert

package
v0.1.4-beta Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cert

func Cert(opts ...Option) plugin.Plugin

func GetName

func GetName() string

Types

type Option

type Option func(ce *PlugCert)

func Config

func Config(tls *conf.Tls) Option

func Weight

func Weight(w int) Option

type PlugCert

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

func (*PlugCert) ConfPrefix

func (ce *PlugCert) ConfPrefix() string

func (*PlugCert) DependsOn

func (ce *PlugCert) DependsOn(config.Value) []string

func (*PlugCert) GetCrt

func (ce *PlugCert) GetCrt() []byte

func (*PlugCert) GetKey

func (ce *PlugCert) GetKey() []byte

func (*PlugCert) GetRootCA

func (ce *PlugCert) GetRootCA() []byte

func (*PlugCert) Load

func (ce *PlugCert) Load(b config.Value) (plugin.Plugin, error)

func (*PlugCert) Name

func (ce *PlugCert) Name() string

func (*PlugCert) Unload

func (ce *PlugCert) Unload() error

func (*PlugCert) Weight

func (ce *PlugCert) Weight() int

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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