certmgmt

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(configures ...ClientConfigure) *Client

func (*Client) DeployCertificate

func (c *Client) DeployCertificate(ctx context.Context, request *DeployCertificateRequest) (*DeployCertificateResponse, error)

type ClientConfigure

type ClientConfigure func(*Client)

func WithLogger

func WithLogger(logger *slog.Logger) ClientConfigure

type DeployCertificateRequest

type DeployCertificateRequest struct {
	// 提供商相关
	Provider               string
	ProviderAccessConfig   map[string]any
	ProviderExtendedConfig map[string]any

	// 证书相关
	Certificate string
	PrivateKey  string
}

type DeployCertificateResponse

type DeployCertificateResponse struct{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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