Documentation ¶
Index ¶
- Variables
- func GenerateName(namespace, appNameVer string, lastSeenBlockNum uint32) string
- func InsertPVFromSnapshot(ctx context.Context, logger *zap.Logger, snapshot *compute.Snapshot, ...) (out *compute.Disk, err error)
- func ListSnapshots(ctx context.Context) (out []*compute.Snapshot, err error)
- func TakeSnapshot(ctx context.Context, snapshotName, project, namespace, pod, prefix string, ...) error
- func TakeSnapshotFromEnv(ctx context.Context, snapshotName string) error
- type Config
- type GKEPVCSnapshotter
Constants ¶
This section is empty.
Variables ¶
View Source
var EnvConfig = newConfig()
Functions ¶
func GenerateName ¶
func InsertPVFromSnapshot ¶
func ListSnapshots ¶
func TakeSnapshot ¶
Types ¶
type GKEPVCSnapshotter ¶
type GKEPVCSnapshotter struct {
// contains filtered or unexported fields
}
func NewGKEPVCSnapshotter ¶
func NewGKEPVCSnapshotter(conf map[string]string) (*GKEPVCSnapshotter, error)
func (*GKEPVCSnapshotter) Backup ¶
func (s *GKEPVCSnapshotter) Backup(lastSeenBlockNum uint32) (string, error)
func (*GKEPVCSnapshotter) RequiresStop ¶
func (s *GKEPVCSnapshotter) RequiresStop() bool
Click to show internal directories.
Click to hide internal directories.