 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
    const InitGroovy = `` /* 631-byte string literal not displayed */
    
      View Source
      
  
    const JenkinsApplyConfig = `
mkdir -p /var/jenkins_home/init.groovy.d
cp /var/jenkins_config/init.groovy /var/jenkins_home/init.groovy.d
cp -n /var/jenkins_config/config.xml /var/jenkins_home;
cp /var/jenkins_config/plugins.txt /var/jenkins_home;
rm -rf /usr/share/jenkins/ref/plugins/*.lock
/usr/local/bin/install-plugins.sh ` + "`echo $(cat /var/jenkins_home/plugins.txt)`;"
    
      View Source
      
  
    const JenkinsConfig = `` /* 3868-byte string literal not displayed */
    
      View Source
      
  
const JenkinsPlugins = `
kubernetes:1.1.4
timestamper:1.8.9
workflow-aggregator:2.5
workflow-job:2.17
credentials-binding:1.13
git:3.6.4`
    Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(cluster *config.UserContext)
Types ¶
type Syncer ¶
type Syncer struct {
	// contains filtered or unexported fields
}
    Syncer is responsible for watching cluterpipeline config and enable/disable the pipeline. It creates cattle-pipeline namespace and deploys workloads in it when the pipeline is enabled. It removes cattle-pipeline namespace and cleans up related data when the pipeline is disabled.
 Click to show internal directories. 
   Click to hide internal directories.