Documentation
¶
Overview ¶
Package sourcepin manages active source save point pins.
Index ¶
- type Handle
- type Manager
- func (m *Manager) Create(snapshotID model.SnapshotID, reason string) (*Handle, error)
- func (m *Manager) CreateWithID(snapshotID model.SnapshotID, pinID, reason string) (*Handle, error)
- func (m *Manager) List() ([]model.Pin, error)
- func (m *Manager) ProtectedSnapshotIDs() ([]model.SnapshotID, error)
- func (m *Manager) Read(pinID string) (*model.Pin, error)
- func (m *Manager) Remove(pinID string) error
- func (m *Manager) RemoveIfMatches(expected model.Pin) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) CreateWithID ¶
func (*Manager) ProtectedSnapshotIDs ¶
func (m *Manager) ProtectedSnapshotIDs() ([]model.SnapshotID, error)
Click to show internal directories.
Click to hide internal directories.