Documentation
¶
Index ¶
- Constants
- type Service
- func (service *Service) BucketName() string
- func (service *Service) Create(tag *portainer.Tag) error
- func (service *Service) DeleteTag(ID portainer.TagID) error
- func (service *Service) Tag(ID portainer.TagID) (*portainer.Tag, error)
- func (service *Service) Tags() ([]portainer.Tag, error)
- func (service *Service) UpdateTag(ID portainer.TagID, tag *portainer.Tag) errordeprecated
- func (service *Service) UpdateTagFunc(ID portainer.TagID, updateFunc func(tag *portainer.Tag)) error
Constants ¶
View Source
const (
// BucketName represents the name of the bucket where this service stores data.
BucketName = "tags"
)
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 environment(endpoint) data.
func NewService ¶
func NewService(connection portainer.Connection) (*Service, error)
NewService creates a new instance of a service.
func (*Service) BucketName ¶
Click to show internal directories.
Click to hide internal directories.