Documentation ¶
Index ¶
- Constants
- type Service
- func (service *Service) BucketName() string
- func (service *Service) Create(snapshot *portainer.Snapshot) error
- func (service *Service) DeleteSnapshot(endpointID portainer.EndpointID) error
- func (service *Service) Snapshot(endpointID portainer.EndpointID) (*portainer.Snapshot, error)
- func (service *Service) Snapshots() ([]portainer.Snapshot, error)
- func (service *Service) UpdateSnapshot(snapshot *portainer.Snapshot) error
Constants ¶
View Source
const (
BucketName = "snapshots"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(connection portainer.Connection) (*Service, error)
func (*Service) BucketName ¶
func (*Service) DeleteSnapshot ¶
func (service *Service) DeleteSnapshot(endpointID portainer.EndpointID) error
Click to show internal directories.
Click to hide internal directories.