Documentation
¶
Index ¶
- type Config
- func (c *Config) DeleteLatestIndexRefs(organization string, project string, repository string, refs []string) error
- func (c *Config) GetAllIndexConf() ([]IndexConfWrapper, error)
- func (c *Config) GetIndexedCommitID(latestIndex LatestIndex) (string, bool)
- func (c *Config) GetRefs(organization string, project string, repository string) ([]Ref, error)
- func (c *Config) UpdateLatestIndex(url string, latestIndex LatestIndex, commitId string) error
- type IndexConf
- type IndexConfWrapper
- type LatestIndex
- type Ref
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DataDir string
GitDataDir string
ConfDir string
Port int
IndexerType string
SizeLimit int64
Schedule string
Debug bool
}
func (*Config) DeleteLatestIndexRefs ¶
func (*Config) GetAllIndexConf ¶
func (c *Config) GetAllIndexConf() ([]IndexConfWrapper, error)
func (*Config) GetIndexedCommitID ¶
func (c *Config) GetIndexedCommitID(latestIndex LatestIndex) (string, bool)
func (*Config) UpdateLatestIndex ¶
func (c *Config) UpdateLatestIndex(url string, latestIndex LatestIndex, commitId string) error
type IndexConfWrapper ¶
type LatestIndex ¶
Click to show internal directories.
Click to hide internal directories.