Documentation
¶
Index ¶
- func Dir(src string, dst string) error
- func File(src, dst string) error
- func GetAllCatalogEntryPackage() ([]*apiModel.CatalogEntryPackage, error)
- func GetAllCatalogEntryPackageVersionVersions(providerId string) ([]*apiModel.CatalogEntryPackageVersion, error)
- func GetCatalogEntryPackage(providerId string) (*apiModel.CatalogEntryPackage, error)
- func GetCatalogEntryPackageVersionFromProviderId(providerId string, version string) (*apiModel.CatalogEntryPackageVersion, error)
- func GetConstraintFromKey(t apiModel.PackageTemplate, key string) string
- type ChartYaml
- type HelmCatalogRepository
- type HelmEntry
- type HelmService
- func (svc *HelmService) HelmAddRepository(catalogRepository *HelmCatalogRepository) error
- func (svc *HelmService) HelmFindLocalRepository(catalogRepository *HelmCatalogRepository) (string, error)
- func (svc *HelmService) HelmLoadAllInMemory()
- func (svc *HelmService) HelmUpdate() error
- func (svc *HelmService) UpdateFromResourceManager()
- type KeycloakAuthService
- type KeycloakAuthServiceToken
- type ResourceManagerService
- type TemplateService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllCatalogEntryPackage ¶
func GetAllCatalogEntryPackage() ([]*apiModel.CatalogEntryPackage, error)
func GetAllCatalogEntryPackageVersionVersions ¶
func GetAllCatalogEntryPackageVersionVersions(providerId string) ([]*apiModel.CatalogEntryPackageVersion, error)
func GetCatalogEntryPackage ¶
func GetCatalogEntryPackage(providerId string) (*apiModel.CatalogEntryPackage, error)
func GetCatalogEntryPackageVersionFromProviderId ¶
func GetCatalogEntryPackageVersionFromProviderId(providerId string, version string) (*apiModel.CatalogEntryPackageVersion, error)
func GetConstraintFromKey ¶
func GetConstraintFromKey(t apiModel.PackageTemplate, key string) string
Types ¶
type ChartYaml ¶
type HelmCatalogRepository ¶
type HelmCatalogRepository struct {
Name string `json:"name,omitempty"`
Url string `json:"url,omitempty"`
Username string `json:"usernmae,omitempty"`
Password string `json:"password,omitempty"`
}
func HelmRepoList ¶
func HelmRepoList() ([]*HelmCatalogRepository, error)
type HelmEntry ¶
type HelmEntry struct {
Name string
LocalName string
VersionChart string
VersionApp string
Description string
RepositoryURL string
ChartYaml *ChartYaml
}
type HelmService ¶
type HelmService struct {
Repositories []*HelmCatalogRepository
}
func GetHelmServiceInstance ¶
func GetHelmServiceInstance() *HelmService
func NewHelmService ¶
func NewHelmService() *HelmService
func (*HelmService) HelmAddRepository ¶
func (svc *HelmService) HelmAddRepository(catalogRepository *HelmCatalogRepository) error
func (*HelmService) HelmFindLocalRepository ¶
func (svc *HelmService) HelmFindLocalRepository(catalogRepository *HelmCatalogRepository) (string, error)
func (*HelmService) HelmLoadAllInMemory ¶
func (svc *HelmService) HelmLoadAllInMemory()
func (*HelmService) HelmUpdate ¶
func (svc *HelmService) HelmUpdate() error
func (*HelmService) UpdateFromResourceManager ¶
func (svc *HelmService) UpdateFromResourceManager()
type KeycloakAuthService ¶
type KeycloakAuthService struct {
Host string
Realm string
Username string
Password string
ClientID string
ClientSecret string
Token *KeycloakAuthServiceToken
}
func GetKeycloakAuthServiceInstance ¶
func GetKeycloakAuthServiceInstance() *KeycloakAuthService
func NewKeycloakAuthServiceFromEnvVar ¶
func NewKeycloakAuthServiceFromEnvVar() *KeycloakAuthService
func (*KeycloakAuthService) GetToken ¶
func (svc *KeycloakAuthService) GetToken() (string, error)
type ResourceManagerService ¶
type ResourceManagerService struct {
AuthInfo *openApiRtClient.Runtime
ClientAuthInfoWriter openApiRt.ClientAuthInfoWriter
Formats strfmt.Registry
Config *apiClient.TransportConfig
KeycloakService *KeycloakAuthService
}
func NewResourceManagerService ¶
func NewResourceManagerService() ResourceManagerService
type TemplateService ¶
type TemplateService interface {
GetConstraintFromKey(t apiModel.PackageTemplate, key string) string
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.