Documentation ¶
Index ¶
Constants ¶
View Source
const ( DOKKU_EVENT_LOG = "/var/log/dokku/events.log" CACHE_EXPIRATION_INTERVAL = 5 * time.Minute CACHE_CLEANUP_INTERVAL = 30 * time.Second )
View Source
const ( OUTPUT_CHANNEL_SIZE = 100 DOKKU_COMMAND = "dokku" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppStore ¶
type AppStore struct {
// contains filtered or unexported fields
}
func NewAppStore ¶
func NewAppStore(containerStore *ContainerStore) *AppStore
func (*AppStore) Invalidate ¶
type ContainerStore ¶
type ContainerStore struct {
// contains filtered or unexported fields
}
func NewContainerStore ¶
func NewContainerStore() *ContainerStore
func (*ContainerStore) Find ¶
func (s *ContainerStore) Find(id string) (container *m.Container, err error)
Find container
func (*ContainerStore) FindAll ¶
func (s *ContainerStore) FindAll() (containers []*m.Container, err error)
Find all containers
func (*ContainerStore) Invalidate ¶
func (s *ContainerStore) Invalidate(id string)
type Dokku ¶
type Dokku struct { Apps *AppStore Containers *ContainerStore }
Click to show internal directories.
Click to hide internal directories.