Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CRDParserService ¶
type ComponentArchiveService ¶
type ComponentArchiveService interface { CreateComponentArchive(componentDescriptor *compdesc.ComponentDescriptor) (*comparch.ComponentArchive, error) AddModuleResourcesToArchive(componentArchive componentarchive.ComponentArchive, moduleResources []componentdescriptor.Resource) error }
type FileResolver ¶
type FileSystem ¶
type GitSourcesService ¶
type GitSourcesService interface {
AddGitSources(componentDescriptor *compdesc.ComponentDescriptor, gitRepoURL, moduleVersion string) error
}
type ModuleConfigService ¶
type ModuleConfigService interface {
ParseAndValidateModuleConfig(moduleConfigFile string) (*contentprovider.ModuleConfig, error)
}
type ModuleTemplateService ¶
type ModuleTemplateService interface { GenerateModuleTemplate(moduleConfig *contentprovider.ModuleConfig, descriptor *compdesc.ComponentDescriptor, data []byte, isCrdClusterScoped bool, templateOutput string) error }
type Options ¶
type RegistryService ¶
type RegistryService interface { PushComponentVersion(archive *comparch.ComponentArchive, insecure bool, credentials, registryURL string) error GetComponentVersion(archive *comparch.ComponentArchive, insecure bool, userPasswordCreds, registryURL string) (cpi.ComponentVersionAccess, error) }
type SecurityConfigService ¶
type SecurityConfigService interface { ParseSecurityConfigData(securityConfigFile string) (*contentprovider.SecurityScanConfig, error) AppendSecurityScanConfig(descriptor *compdesc.ComponentDescriptor, securityConfig contentprovider.SecurityScanConfig) error }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(moduleConfigService ModuleConfigService, gitSourcesService GitSourcesService, securityConfigService SecurityConfigService, componentArchiveService ComponentArchiveService, registryService RegistryService, moduleTemplateService ModuleTemplateService, crdParserService CRDParserService, manifestFileResolver FileResolver, defaultCRFileResolver FileResolver, fileSystem FileSystem, ) (*Service, error)
Click to show internal directories.
Click to hide internal directories.