Documentation ¶
Index ¶
Constants ¶
View Source
const (
// BucketName represents the name of the bucket where this service stores data.
BucketName = "ssl"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service represents a service for managing ssl data.
func NewService ¶
func NewService(connection portainer.Connection) (*Service, error)
NewService creates a new instance of a service.
func (*Service) BucketName ¶
func (*Service) Settings ¶
func (service *Service) Settings() (*portainer.SSLSettings, error)
Settings retrieve the ssl settings object.
func (*Service) UpdateSettings ¶
func (service *Service) UpdateSettings(settings *portainer.SSLSettings) error
UpdateSettings persists a SSLSettings object.
Click to show internal directories.
Click to hide internal directories.