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)
- type ConfigFileAccess
- type DefaultConfigFileAccess
- type DotnetAgent
- type DotnetBoolean
- type DotnetCredentials
- type DotnetCredentialsData
- type DotnetRsaParameters
- type JITConfigFileAccess
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"`
UseV2Flow DotnetBoolean `json:"UseV2Flow"`
ServerURLV2 string `json:"ServerUrlV2"`
UseRunnerAdminFlow DotnetBoolean `json:"UseRunnerAdminFlow,omitempty"`
}
type DotnetBoolean ¶ added in v0.12.1
type DotnetBoolean bool
func (*DotnetBoolean) UnmarshalJSON ¶ added in v0.12.1
func (b *DotnetBoolean) UnmarshalJSON(data []byte) error
type DotnetCredentials ¶
type DotnetCredentials struct {
Scheme string `json:"Scheme"`
Data DotnetCredentialsData `json:"Data"`
}
type DotnetCredentialsData ¶
type DotnetCredentialsData struct {
ClientID string `json:"ClientId"`
AuthorizationURL string `json:"AuthorizationUrl"`
RequireFipsCryptography DotnetBoolean `json:"RequireFipsCryptography"`
}
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
Click to show internal directories.
Click to hide internal directories.