request

package
v0.0.0-...-20a0ac2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSR

type CSR struct {
	CN    string   `yaml:"cn"`
	Hosts []string `yaml:"hosts"`
	Names []string `yaml:"names"`
	Key   Key      `yaml:"key"`
}

type Key

type Key struct {
	Algo string `yaml:"algo"`
	Size int    `yaml:"size"`
}

func (*Key) Set_defaults

func (k *Key) Set_defaults()

type Perms

type Perms struct {
	Owner string `yaml:"owner"`
	Group string `yaml:"group"`
	Mode  int    `yaml:"mode"`
}

type Reload

type Reload struct {
	Services []string `yaml:"services"`
	Command  string   `yaml:"command"`
}

type Request

type Request struct {
	Signer        string `yaml:"signer"`
	Profile       string `yaml:"profile"`
	Outdir        string `yaml:"outdir"`
	Renew_seconds int    `yaml:"renew_seconds"`
	Perms         Perms  `yaml:"perms"`
	CSR           CSR    `yaml:"csr"`
	Reload        Reload `yaml:"reload"`
	// contains filtered or unexported fields
}

func (*Request) Certfile_exist

func (r *Request) Certfile_exist() bool

func (*Request) Gencert

func (r *Request) Gencert(s signer.Signer) error

func (*Request) Init_files

func (r *Request) Init_files() error

func (*Request) Key_exist

func (r *Request) Key_exist() bool

func (*Request) Set_defaults

func (r *Request) Set_defaults()

func (Request) String

func (r Request) String() string

Jump to

Keyboard shortcuts

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