Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoDeploy = errors.New("no deploys in channel")
)
Functions ¶
This section is empty.
Types ¶
type BoltDBStore ¶ added in v1.1.0
type BoltDBStore struct {
// contains filtered or unexported fields
}
func NewBoltDBStore ¶ added in v1.1.0
func NewBoltDBStore(path string) (*BoltDBStore, error)
func (*BoltDBStore) All ¶ added in v1.1.2
func (s *BoltDBStore) All(key string) []Deploy
func (*BoltDBStore) Get ¶ added in v1.1.0
func (s *BoltDBStore) Get(key string) (deploy Deploy, ok bool)
func (*BoltDBStore) Set ¶ added in v1.1.0
func (s *BoltDBStore) Set(key string, d Deploy)
type ChannelDeploys ¶ added in v1.1.0
type ChannelDeploys struct {
// contains filtered or unexported fields
}
func NewChannelDeploys ¶ added in v1.1.0
func NewChannelDeploys(store Store) *ChannelDeploys
func (*ChannelDeploys) Current ¶ added in v1.1.0
func (repo *ChannelDeploys) Current(channelID string) (Deploy, bool)
type InMemoryStore ¶ added in v1.1.0
type InMemoryStore struct {
// contains filtered or unexported fields
}
func NewInMemoryStore ¶ added in v1.1.0
func NewInMemoryStore() *InMemoryStore
func (*InMemoryStore) All ¶ added in v1.1.2
func (s *InMemoryStore) All(key string) []Deploy
func (*InMemoryStore) Get ¶ added in v1.1.0
func (s *InMemoryStore) Get(key string) (d Deploy, ok bool)
func (*InMemoryStore) Set ¶ added in v1.1.0
func (s *InMemoryStore) Set(key string, d Deploy)
type Reference ¶
func FindReferences ¶
type Repository ¶ added in v1.1.2
Click to show internal directories.
Click to hide internal directories.