github.com/secure-build/gitlab-runner@v12.5.0+incompatible/executors/custom/api/config.go (about)

     1  package api
     2  
     3  // ConfigExecOutput defines the output structure of the config_exec call.
     4  //
     5  // This should be used to pass the configuration values from Custom Executor
     6  // driver to the Runner.
     7  type ConfigExecOutput struct {
     8  	Driver *DriverInfo `json:"driver,omitempty"`
     9  
    10  	Hostname  *string `json:"hostname,omitempty"`
    11  	BuildsDir *string `json:"builds_dir,omitempty"`
    12  	CacheDir  *string `json:"cache_dir,omitempty"`
    13  
    14  	BuildsDirIsShared *bool `json:"builds_dir_is_shared,omitempty"`
    15  }
    16  
    17  // DriverInfo wraps the information about Custom Executor driver details
    18  // like the name or version
    19  type DriverInfo struct {
    20  	Name    *string `json:"name,omitempty"`
    21  	Version *string `json:"version,omitempty"`
    22  }