Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextStorage ¶
type ContextStorage struct { CTag names.StorageTag CKind storage.StorageKind CLocation string }
func (*ContextStorage) Kind ¶
func (c *ContextStorage) Kind() storage.StorageKind
func (*ContextStorage) Location ¶
func (c *ContextStorage) Location() string
func (*ContextStorage) Tag ¶
func (c *ContextStorage) Tag() names.StorageTag
type FakeTracker ¶
type FakeTracker struct {
leadership.Tracker
}
func (FakeTracker) ApplicationName ¶
func (FakeTracker) ApplicationName() string
type RealPaths ¶
type RealPaths struct {
// contains filtered or unexported fields
}
RealPaths implements Paths for tests that do touch the filesystem.
func NewRealPaths ¶
func (RealPaths) ComponentDir ¶
func (RealPaths) GetCharmDir ¶
func (RealPaths) GetJujucSocket ¶
func (RealPaths) GetMetricsSpoolDir ¶
func (RealPaths) GetToolsDir ¶
type StorageContextAccessor ¶
type StorageContextAccessor struct {
CStorage map[names.StorageTag]*ContextStorage
}
func (*StorageContextAccessor) Storage ¶
func (s *StorageContextAccessor) Storage(tag names.StorageTag) (jujuc.ContextStorageAttachment, error)
func (*StorageContextAccessor) StorageTags ¶
func (s *StorageContextAccessor) StorageTags() ([]names.StorageTag, error)
Click to show internal directories.
Click to hide internal directories.