Documentation
      ¶
    
    
  
    
  
    Index ¶
- func GetPipelineConfigByBranch(sourceCodeCredentials v3.SourceCodeCredentialInterface, ...) (*v3.PipelineConfig, error)
 - func GetSourceCodeProviderConfig(pType string, projectID string) (interface{}, error)
 - func RefreshReposByCredential(sourceCodeRepositories v3.SourceCodeRepositoryInterface, ...) ([]*v3.SourceCodeRepository, error)
 - func SetupSourceCodeProviderConfig(management *config.ScaledContext, schemas *types.Schemas)
 - type SourceCodeProvider
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPipelineConfigByBranch ¶
func GetPipelineConfigByBranch(sourceCodeCredentials v3.SourceCodeCredentialInterface, sourceCodeCredentialLister v3.SourceCodeCredentialLister, pipeline *v3.Pipeline, branch string) (*v3.PipelineConfig, error)
func RefreshReposByCredential ¶
func RefreshReposByCredential(sourceCodeRepositories v3.SourceCodeRepositoryInterface, sourceCodeRepositoryLister v3.SourceCodeRepositoryLister, sourceCodeCredentials v3.SourceCodeCredentialInterface, credential *v3.SourceCodeCredential, sourceCodeProviderConfig interface{}) ([]*v3.SourceCodeRepository, error)
func SetupSourceCodeProviderConfig ¶
func SetupSourceCodeProviderConfig(management *config.ScaledContext, schemas *types.Schemas)
Types ¶
type SourceCodeProvider ¶
type SourceCodeProvider interface {
	GetName() string
	CustomizeSchemas(schemas *types.Schemas)
	TransformToSourceCodeProvider(sourceCodeProviderConfig map[string]interface{}) map[string]interface{}
	GetProviderConfig(projectID string) (interface{}, error)
}
    func GetProvider ¶
func GetProvider(providerName string) (SourceCodeProvider, error)
 Click to show internal directories. 
   Click to hide internal directories.