lockfile

package
v0.29.4-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrLockFileExists = errors.New("lock file exists")

Functions

This section is empty.

Types

type LockFile

type LockFile struct {
	Path string
}

func NewLockFile

func NewLockFile(clusterName string) *LockFile

func (*LockFile) Create

func (l *LockFile) Create() error

func (*LockFile) Remove

func (l *LockFile) Remove() error

func (*LockFile) Verify

func (l *LockFile) Verify() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL