certificate_dto

package
v1.3.1-beta Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certificate

type Certificate struct {
	Id         string         `json:"id"`
	Name       string         `json:"name"`
	Domains    []string       `json:"domains"`
	Partition  string         `json:"partition"`
	NotBefore  auto.TimeLabel `json:"not_before"`
	NotAfter   auto.TimeLabel `json:"not_after"`
	Updater    auto.Label     `json:"updater" aolabel:"user"`
	UpdateTime auto.TimeLabel `json:"update_time,omitempty"`
}

func FromModel

func FromModel(c *certificate.Certificate) *Certificate

type File

type File struct {
	Key  string `json:"key"`
	Cert string `json:"pem"`
}

type FileInput

type FileInput struct {
	Key  string `json:"key"`
	Cert string `json:"pem"`
}

Jump to

Keyboard shortcuts

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