certificate

package
v0.1.39 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: MIT Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package certificate provides the CertificateService for managing certificates.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service is a service for managing certificates.

func NewCertificateService

func NewCertificateService(
	certificateUsecase agentport.CertificateUsecase,
	logger *slog.Logger,
) *Service

NewCertificateService creates a new CertificateService.

func (*Service) CreateCertificate

func (s *Service) CreateCertificate(
	ctx context.Context,
	apiModel *v1.Certificate,
) (*v1.Certificate, error)

CreateCertificate implements port.CertificateManageUsecase.

func (*Service) DeleteCertificate

func (s *Service) DeleteCertificate(
	ctx context.Context,
	namespace string,
	name string,
) error

DeleteCertificate implements port.CertificateManageUsecase.

func (*Service) GetCertificate

func (s *Service) GetCertificate(
	ctx context.Context,
	namespace string,
	name string,
) (*v1.Certificate, error)

GetCertificate implements port.CertificateManageUsecase.

func (*Service) ListCertificates

func (s *Service) ListCertificates(
	ctx context.Context,
	options *model.ListOptions,
) (*v1.ListResponse[v1.Certificate], error)

ListCertificates implements port.CertificateManageUsecase.

func (*Service) UpdateCertificate

func (s *Service) UpdateCertificate(
	ctx context.Context,
	namespace string,
	name string,
	certificate *v1.Certificate,
) (*v1.Certificate, error)

UpdateCertificate implements port.CertificateManageUsecase.

Directories

Path Synopsis
Package filter provides filters for certificate domain model.
Package filter provides filters for certificate domain model.

Jump to

Keyboard shortcuts

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