Documentation ¶
Index ¶
Constants ¶
View Source
const ( NotSkipped = "" SkipPlaceholder = "filesystem is placeholder" SkipNoCorrespondenceOnSender = "filesystem has no correspondence on sender" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FSReport ¶
type FSReport struct { Filesystem string SnapshotList, DestroyList []SnapshotReport SkipReason FSSkipReason LastError string }
type FSSkipReason ¶
type FSSkipReason string
func (FSSkipReason) NotSkipped ¶
func (r FSSkipReason) NotSkipped() bool
type History ¶
type History interface { ReplicationCursor(ctx context.Context, req *pdu.ReplicationCursorReq) (*pdu.ReplicationCursorRes, error) ListFilesystems(ctx context.Context, req *pdu.ListFilesystemReq) (*pdu.ListFilesystemRes, error) }
Try to keep it compatible with gitub.com/zrepl/zrepl/endpoint.Endpoint
type LocalPrunerFactory ¶
type LocalPrunerFactory struct {
// contains filtered or unexported fields
}
func NewLocalPrunerFactory ¶
func NewLocalPrunerFactory(in config.PruningLocal, promPruneSecs *prometheus.HistogramVec) (*LocalPrunerFactory, error)
func (*LocalPrunerFactory) BuildLocalPruner ¶
type PrunerFactory ¶
type PrunerFactory struct {
// contains filtered or unexported fields
}
func NewPrunerFactory ¶
func NewPrunerFactory(in config.PruningSenderReceiver, promPruneSecs *prometheus.HistogramVec) (*PrunerFactory, error)
func (*PrunerFactory) BuildReceiverPruner ¶
func (*PrunerFactory) BuildSenderPruner ¶
type State ¶
type State int
func StateString ¶
StateString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
type Target ¶
type Target interface { ListFilesystems(ctx context.Context, req *pdu.ListFilesystemReq) (*pdu.ListFilesystemRes, error) ListFilesystemVersions(ctx context.Context, req *pdu.ListFilesystemVersionsReq) (*pdu.ListFilesystemVersionsRes, error) DestroySnapshots(ctx context.Context, req *pdu.DestroySnapshotsReq) (*pdu.DestroySnapshotsRes, error) }
Try to keep it compatible with gitub.com/zrepl/zrepl/endpoint.Endpoint
Click to show internal directories.
Click to hide internal directories.