Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentConfig ¶
type AgentConfig struct {
WorkDir string `json:"workDirectory,omitempty" yaml:"workDirectory,omitempty"`
LocalEnabled bool `json:"localEnabled,omitempty" yaml:"localEnabled,omitempty"`
LocalPlanDir string `json:"localPlanDirectory,omitempty" yaml:"localPlanDirectory,omitempty"`
AppliedPlanDir string `json:"appliedPlanDirectory,omitempty" yaml:"appliedPlanDirectory,omitempty"`
RemoteEnabled bool `json:"remoteEnabled,omitempty" yaml:"remoteEnabled,omitempty"`
ConnectionInfoFile string `json:"connectionInfoFile,omitempty" yaml:"connectionInfoFile,omitempty"`
PreserveWorkDir bool `json:"preserveWorkDirectory,omitempty" yaml:"preserveWorkDirectory,omitempty"`
ImagesDir string `json:"imagesDirectory,omitempty" yaml:"imagesDirectory,omitempty"`
AgentRegistriesFile string `json:"agentRegistriesFile,omitempty" yaml:"agentRegistriesFile,omitempty"`
ImageCredentialProviderConfig string `json:"imageCredentialProviderConfig,omitempty" yaml:"imageCredentialProviderConfig,omitempty"`
ImageCredentialProviderBinDir string `json:"imageCredentialProviderBinDirectory,omitempty" yaml:"imageCredentialProviderBinDirectory,omitempty"`
InterlockDir string `json:"interlockDirectory,omitempty" yaml:"interlockDirectory,omitempty"`
}
type CommonInstruction ¶
type ConnectionInfo ¶
type HTTPGetAction ¶
type OneTimeInstruction ¶
type OneTimeInstruction struct {
CommonInstruction
SaveOutput bool `json:"saveOutput,omitempty"`
}
type PeriodicInstruction ¶
type PeriodicInstruction struct {
CommonInstruction
PeriodSeconds int `json:"periodSeconds,omitempty"`
SaveStderrOutput bool `json:"saveStderrOutput,omitempty"`
}
type Plan ¶
type Plan struct {
Files []File `json:"files,omitempty"`
OneTimeInstructions []OneTimeInstruction `json:"instructions,omitempty"`
Probes map[string]Probe `json:"probes,omitempty"`
PeriodicInstructions []PeriodicInstruction `json:"periodicInstructions,omitempty"`
}
type Probe ¶
type Probe struct {
Name string `json:"name,omitempty"`
InitialDelaySeconds int `json:"initialDelaySeconds,omitempty"`
TimeoutSeconds int `json:"timeoutSeconds,omitempty"`
SuccessThreshold int `json:"successThreshold,omitempty"`
FailureThreshold int `json:"failureThreshold,omitempty"`
HTTPGetAction HTTPGetAction `json:"httpGet,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.