Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProviderAWS = "aws" ProviderAzure = "azure" ProviderDocker = "docker" ProviderGCP = "gcp" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWS ¶
type AWS struct {
Region string `json:"region"`
AMI string `json:"ami"`
InstanceType string `json:"instanceType"`
Architecture string `json:"architecture"`
SubnetIDs []string `json:"subnetIds"`
SecurityGroupIDs []string `json:"securityGroupIds"`
IAMInstanceProfile string `json:"iamInstanceProfile"`
KeyName string `json:"keyName"`
VolumeSizeGB int32 `json:"volumeSizeGb"`
VolumeIOPS int32 `json:"volumeIops"`
VolumeThroughputMBps int32 `json:"volumeThroughputMbps"`
ResourceTags map[string]string `json:"resourceTags"`
CloudWatch CloudWatch `json:"cloudWatch"`
}
type Azure ¶
type Azure struct {
SubscriptionID string `json:"subscriptionId"`
ResourceGroup string `json:"resourceGroup"`
Location string `json:"location"`
ImageID string `json:"imageId"`
VMSize string `json:"vmSize"`
Architecture string `json:"architecture"`
SubnetID string `json:"subnetId"`
NetworkSecurityGroupID string `json:"networkSecurityGroupId"`
IdentityID string `json:"identityId"`
Zones []string `json:"zones"`
DiskSizeGB int32 `json:"diskSizeGb"`
EphemeralOSDisk bool `json:"ephemeralOSDisk"`
ResourceTags map[string]string `json:"resourceTags"`
}
type CloudWatch ¶
type CloudWatch struct {
LogGroupName string `json:"logGroupName"`
}
type Config ¶
type Config struct {
ID string `json:"id"`
SuperPlaneURL string `json:"superplaneUrl"`
InstallationAdminToken string `json:"installationAdminToken"`
RunnerReleaseBaseURL string `json:"runnerReleaseBaseUrl"`
Reconciliation ReconciliationConfig `json:"reconciliation"`
HTTP HTTPConfig `json:"http"`
Fleets []Fleet `json:"fleets"`
}
func (*Config) ErrorRetryInterval ¶
func (*Config) PollTimeout ¶
func (*Config) ReconciliationInterval ¶
func (*Config) RequestTimeout ¶
type Docker ¶
type Docker struct {
Image string `json:"image"`
Architecture string `json:"architecture"`
RunnerAPIURL string `json:"runnerApiUrl"`
Network string `json:"network"`
Volumes []string `json:"volumes"`
ExtraHosts []string `json:"extraHosts"`
Init bool `json:"init"`
User string `json:"user"`
Entrypoint []string `json:"entrypoint"`
}
type Duration ¶
type Duration struct {
// contains filtered or unexported fields
}
func (*Duration) UnmarshalJSON ¶
type Fleet ¶
type Fleet struct {
ID string `json:"id"`
RunnerVersion string `json:"runnerVersion"`
Spec FleetSpec `json:"spec"`
WarmCapacity int `json:"warmCapacity"`
MaxCapacity int `json:"maxCapacity"`
Provider string `json:"provider"`
AWS AWS `json:"aws"`
Azure Azure `json:"azure"`
GCP GCP `json:"gcp"`
Docker Docker `json:"docker"`
}
type GCP ¶
type GCP struct {
ProjectID string `json:"projectId"`
Zones []string `json:"zones"`
MachineType string `json:"machineType"`
Image string `json:"image"`
Architecture string `json:"architecture"`
Subnetwork string `json:"subnetwork"`
ServiceAccountEmail string `json:"serviceAccountEmail"`
NetworkTags []string `json:"networkTags"`
DiskSizeGB int64 `json:"diskSizeGb"`
DiskType string `json:"diskType"`
Labels map[string]string `json:"labels"`
}
type HTTPConfig ¶
type HTTPConfig struct {
RequestTimeout Duration `json:"requestTimeout"`
}
type ReconciliationConfig ¶
Click to show internal directories.
Click to hide internal directories.