Documentation ¶
Index ¶
- func DetectManager(ctx context.Context, directory string) string
- func GetAllRegistereredManager() []string
- func LoveDependency(directory string) error
- func LoveOrganization(url string) error
- func LoveRepos(love Love, repos []*Repository) error
- func RegistarManager(name string, m ManagerFactory)
- func RegistarPlatform(name string, p PlatformFactory)
- func SortOrganization(repos []*Repository) map[string][]*Repository
- type Love
- type LoveBag
- type ManagerFactory
- type PlatformFactory
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllRegistereredManager ¶
func GetAllRegistereredManager() []string
func LoveDependency ¶
func LoveOrganization ¶
func LoveRepos ¶
func LoveRepos(love Love, repos []*Repository) error
func RegistarManager ¶
func RegistarManager(name string, m ManagerFactory)
func RegistarPlatform ¶
func RegistarPlatform(name string, p PlatformFactory)
func SortOrganization ¶
func SortOrganization(repos []*Repository) map[string][]*Repository
Types ¶
type Love ¶
type Love interface { Initialize(config *system.SecretConfig) (Love, error) //Decode(url string) (*Repository, error) GetOrgRepos(org string) ([]*Repository, error) IsLoved(repo *Repository) (bool, error) SendLove(repo *Repository) error }
type LoveBag ¶
type LoveBag interface { Initialize(directory string) LoveBag File() string Read() ([]*Repository, error) }
type ManagerFactory ¶
Click to show internal directories.
Click to hide internal directories.