Documentation ¶
Index ¶
- type Server
- func (s *Server) CreateCertificate(ctx context.Context, q *certificatepkg.RepositoryCertificateCreateRequest) (*appsv1.RepositoryCertificateList, error)
- func (s *Server) DeleteCertificate(ctx context.Context, q *certificatepkg.RepositoryCertificateQuery) (*appsv1.RepositoryCertificateList, error)
- func (s *Server) ListCertificates(ctx context.Context, q *certificatepkg.RepositoryCertificateQuery) (*appsv1.RepositoryCertificateList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server provides a Certificate service
func NewServer ¶
func NewServer( repoClientset apiclient.Clientset, db db.ArgoDB, enf *rbac.Enforcer, cache *cache.Cache, ) *Server
NewServer returns a new instance of the Certificate service
func (*Server) CreateCertificate ¶
func (s *Server) CreateCertificate(ctx context.Context, q *certificatepkg.RepositoryCertificateCreateRequest) (*appsv1.RepositoryCertificateList, error)
Batch creates certificates for verifying repositories
func (*Server) DeleteCertificate ¶
func (s *Server) DeleteCertificate(ctx context.Context, q *certificatepkg.RepositoryCertificateQuery) (*appsv1.RepositoryCertificateList, error)
Batch deletes a list of certificates that match the query
func (*Server) ListCertificates ¶
func (s *Server) ListCertificates(ctx context.Context, q *certificatepkg.RepositoryCertificateQuery) (*appsv1.RepositoryCertificateList, error)
Returns a list of configured certificates that match the query
Click to show internal directories.
Click to hide internal directories.