Documentation ¶
Index ¶
- func CreateApplication(appName string, repository Repository, propertiesFilePath string)
- func CreateRepository(newRepository Repository)
- func DeleteApplication(appName string, repository Repository)
- func DeleteRepository(repositoryName string)
- func PrintApplication(app Application)
- func PrintApplicationByName(appName string, repo Repository)
- func PrintApplications(repo Repository)
- func PrintRepositories()
- func PrintRepository(repo Repository)
- type Application
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateApplication ¶
func CreateApplication(appName string, repository Repository, propertiesFilePath string)
func CreateRepository ¶
func CreateRepository(newRepository Repository)
func DeleteApplication ¶
func DeleteApplication(appName string, repository Repository)
func DeleteRepository ¶
func DeleteRepository(repositoryName string)
func PrintApplication ¶
func PrintApplication(app Application)
func PrintApplicationByName ¶
func PrintApplicationByName(appName string, repo Repository)
func PrintApplications ¶
func PrintApplications(repo Repository)
func PrintRepositories ¶
func PrintRepositories()
func PrintRepository ¶
func PrintRepository(repo Repository)
Types ¶
type Application ¶
func GetApplication ¶
func GetApplication(appName string, repository Repository) (Application, int, error)
func GetApplications ¶
func GetApplications(repository Repository) []Application
type Repository ¶
type Repository struct { Name string `yaml:"name"` URL string `yaml:"url"` Token string `yaml:"token"` }
func GetRepository ¶
func GetRepository(name string) (Repository, int, error)
Click to show internal directories.
Click to hide internal directories.