Documentation
¶
Index ¶
- type Dashboards
- type GitLoader
- func (l GitLoader) GetFileContentsAsBytes(relativePath string) ([]byte, error)
- func (l GitLoader) GetFileContentsAsString(relativePath string) (string, error)
- func (l GitLoader) LoadChangelog() (string, error)
- func (l GitLoader) LoadConfig() (catalogv1.Integration, error)
- func (l GitLoader) LoadDashboards() (Dashboards, error)
- func (l GitLoader) LoadImages() (Images, error)
- func (l GitLoader) LoadLogo() (string, error)
- func (l GitLoader) LoadReadme() (string, error)
- func (l GitLoader) LoadResources() (string, error)
- type Images
- type Loader
- type PathLoader
- func (l PathLoader) GetFileContentsAsBytes(relativePath string) ([]byte, error)
- func (l PathLoader) GetFileContentsAsString(relativePath string) (string, error)
- func (l PathLoader) LoadChangelog() (string, error)
- func (l PathLoader) LoadConfig() (catalogv1.Integration, error)
- func (l PathLoader) LoadDashboards() (Dashboards, error)
- func (l PathLoader) LoadImages() (Images, error)
- func (l PathLoader) LoadLogo() (string, error)
- func (l PathLoader) LoadReadme() (string, error)
- func (l PathLoader) LoadResources() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dashboards ¶
type GitLoader ¶
type GitLoader struct {
// contains filtered or unexported fields
}
func NewGitLoader ¶
func NewGitLoader(repo *git.Repository, ref string, integrationPath string) GitLoader
func (GitLoader) GetFileContentsAsBytes ¶
func (GitLoader) GetFileContentsAsString ¶
func (GitLoader) LoadChangelog ¶
func (GitLoader) LoadConfig ¶
func (l GitLoader) LoadConfig() (catalogv1.Integration, error)
func (GitLoader) LoadDashboards ¶
func (l GitLoader) LoadDashboards() (Dashboards, error)
func (GitLoader) LoadImages ¶
func (GitLoader) LoadReadme ¶
func (GitLoader) LoadResources ¶
type Loader ¶
type Loader interface {
LoadConfig() (catalogv1.Integration, error)
LoadChangelog() (string, error)
LoadDashboards() (Dashboards, error)
LoadImages() (Images, error)
LoadLogo() (string, error)
LoadReadme() (string, error)
LoadResources() (string, error)
GetFileContentsAsBytes(string) ([]byte, error)
GetFileContentsAsString(string) (string, error)
}
type PathLoader ¶
type PathLoader struct {
// contains filtered or unexported fields
}
func NewPathLoader ¶
func NewPathLoader(integrationPath string) PathLoader
func (PathLoader) GetFileContentsAsBytes ¶
func (l PathLoader) GetFileContentsAsBytes(relativePath string) ([]byte, error)
func (PathLoader) GetFileContentsAsString ¶
func (l PathLoader) GetFileContentsAsString(relativePath string) (string, error)
func (PathLoader) LoadChangelog ¶
func (l PathLoader) LoadChangelog() (string, error)
func (PathLoader) LoadConfig ¶
func (l PathLoader) LoadConfig() (catalogv1.Integration, error)
func (PathLoader) LoadDashboards ¶
func (l PathLoader) LoadDashboards() (Dashboards, error)
func (PathLoader) LoadImages ¶
func (l PathLoader) LoadImages() (Images, error)
func (PathLoader) LoadLogo ¶
func (l PathLoader) LoadLogo() (string, error)
func (PathLoader) LoadReadme ¶
func (l PathLoader) LoadReadme() (string, error)
func (PathLoader) LoadResources ¶
func (l PathLoader) LoadResources() (string, error)
Click to show internal directories.
Click to hide internal directories.