Documentation ¶
Overview ¶
Package boltprov provides lease storage using a bolt database.
Index ¶
Constants ¶
View Source
const ( // ResourcefulBucket is the default name of the resourceful boltdb bucket in // which the provider stores data. ResourcefulBucket = "resourceful" // LeaseBucket is the name of the resourceful lease bucket. LeaseBucket = "lease" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider provides boltdb-backed lease management.
func (*Provider) LeaseCommit ¶
LeaseCommit will attempt to apply the operations described in the lease transaction.
func (*Provider) LeaseResources ¶
LeaseResources returns all of the resources with lease data.
func (*Provider) ProviderName ¶
ProviderName returns the name of the provider.
Click to show internal directories.
Click to hide internal directories.