Documentation
¶
Overview ¶
Package certificate provides certificate-related API handlers.
Index ¶
- func Handler(logger *slog.Logger, jobClient client.JobClient, signingKey string, ...) []func(e *echo.Echo)
- type Certificate
- func (s *Certificate) DeleteNodeCertificateCa(ctx context.Context, request gen.DeleteNodeCertificateCaRequestObject) (gen.DeleteNodeCertificateCaResponseObject, error)
- func (s *Certificate) GetNodeCertificateCa(ctx context.Context, request gen.GetNodeCertificateCaRequestObject) (gen.GetNodeCertificateCaResponseObject, error)
- func (s *Certificate) PostNodeCertificateCa(ctx context.Context, request gen.PostNodeCertificateCaRequestObject) (gen.PostNodeCertificateCaResponseObject, error)
- func (s *Certificate) PutNodeCertificateCa(ctx context.Context, request gen.PutNodeCertificateCaRequestObject) (gen.PutNodeCertificateCaResponseObject, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Certificate ¶
type Certificate struct {
// JobClient provides job-based operations for certificate management.
JobClient client.JobClient
// contains filtered or unexported fields
}
Certificate implementation of the Certificate APIs operations.
func New ¶
func New( logger *slog.Logger, jobClient client.JobClient, ) *Certificate
New factory to create a new instance.
func (*Certificate) DeleteNodeCertificateCa ¶
func (s *Certificate) DeleteNodeCertificateCa( ctx context.Context, request gen.DeleteNodeCertificateCaRequestObject, ) (gen.DeleteNodeCertificateCaResponseObject, error)
DeleteNodeCertificateCa deletes a CA certificate on a target node.
func (*Certificate) GetNodeCertificateCa ¶
func (s *Certificate) GetNodeCertificateCa( ctx context.Context, request gen.GetNodeCertificateCaRequestObject, ) (gen.GetNodeCertificateCaResponseObject, error)
GetNodeCertificateCa lists all CA certificates on a target node.
func (*Certificate) PostNodeCertificateCa ¶
func (s *Certificate) PostNodeCertificateCa( ctx context.Context, request gen.PostNodeCertificateCaRequestObject, ) (gen.PostNodeCertificateCaResponseObject, error)
PostNodeCertificateCa creates a CA certificate on a target node.
func (*Certificate) PutNodeCertificateCa ¶
func (s *Certificate) PutNodeCertificateCa( ctx context.Context, request gen.PutNodeCertificateCaRequestObject, ) (gen.PutNodeCertificateCaResponseObject, error)
PutNodeCertificateCa updates a CA certificate on a target node.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.