Documentation ¶
Index ¶
- func BytesToBigInt(bytes []byte) *big.Int
- func FromRsaParameters(param *DotnetRsaParameters) *rsa.PrivateKey
- func FromRunnerInstance(instance *runnerconfiguration.RunnerInstance, fileAccess ConfigFileAccess) error
- func ParseJitRunnerConfig(conf string) (*runnerconfiguration.RunnerSettings, error)
- func ToJitRunnerConfig(instance *runnerconfiguration.RunnerInstance) (string, error)
- func ToRunnerInstance(fileAccess ConfigFileAccess) (*runnerconfiguration.RunnerInstance, error)
- func ToXmlString(publicKey *rsa.PublicKey) (string, error)
- type ConfigFileAccess
- type DefaultConfigFileAccess
- type DotnetAgent
- type DotnetCredentials
- type DotnetCredentialsData
- type DotnetRsaParameters
- type JITConfigFileAccess
- type RSAKeyValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToBigInt ¶
func FromRsaParameters ¶
func FromRsaParameters(param *DotnetRsaParameters) *rsa.PrivateKey
func FromRunnerInstance ¶
func FromRunnerInstance(instance *runnerconfiguration.RunnerInstance, fileAccess ConfigFileAccess) error
func ParseJitRunnerConfig ¶
func ParseJitRunnerConfig(conf string) (*runnerconfiguration.RunnerSettings, error)
func ToJitRunnerConfig ¶
func ToJitRunnerConfig(instance *runnerconfiguration.RunnerInstance) (string, error)
func ToRunnerInstance ¶
func ToRunnerInstance(fileAccess ConfigFileAccess) (*runnerconfiguration.RunnerInstance, error)
Types ¶
type ConfigFileAccess ¶
type DefaultConfigFileAccess ¶
type DefaultConfigFileAccess struct{}
func (DefaultConfigFileAccess) Read ¶
func (config DefaultConfigFileAccess) Read(name string, obj interface{}) error
func (DefaultConfigFileAccess) Write ¶
func (config DefaultConfigFileAccess) Write(name string, obj interface{}) error
type DotnetAgent ¶
type DotnetAgent struct { AgentId string `json:"AgentId"` AgentName string `json:"AgentName"` DisableUpdate string `json:"DisableUpdate"` Ephemeral string `json:"Ephemeral"` PoolId string `json:"PoolId"` PoolName string `json:"PoolName,omitempty"` ServerUrl string `json:"ServerUrl"` WorkFolder string `json:"WorkFolder"` GitHubUrl string `json:"GitHubUrl"` }
type DotnetCredentials ¶
type DotnetCredentials struct { Scheme string `json:"Scheme"` Data DotnetCredentialsData `json:"Data"` }
type DotnetCredentialsData ¶
type DotnetRsaParameters ¶
type DotnetRsaParameters struct { D []byte `json:"d"` DP []byte `json:"dp"` DQ []byte `json:"dq"` Exponent []byte `json:"exponent"` InverseQ []byte `json:"inverseQ"` Modulus []byte `json:"modulus"` P []byte `json:"p"` Q []byte `json:"q"` }
func ToRsaParameters ¶
func ToRsaParameters(key *rsa.PrivateKey) *DotnetRsaParameters
type JITConfigFileAccess ¶
func (JITConfigFileAccess) Read ¶
func (config JITConfigFileAccess) Read(name string, obj interface{}) error
func (JITConfigFileAccess) Write ¶
func (config JITConfigFileAccess) Write(name string, obj interface{}) error
type RSAKeyValue ¶
Click to show internal directories.
Click to hide internal directories.