Documentation ¶
Index ¶
- Constants
- func SetupNewReconcilerWithManager(mgr ctrl.Manager, operatorNamespace string) error
- func UpdateHostPools(operatorNamespace string, client client.Client, log *logr.Logger)
- type DynamicHostPool
- func (a DynamicHostPool) Allocate(r *ReconcileTaskRun, ctx context.Context, log *logr.Logger, tr *v1.TaskRun, ...) (reconcile.Result, error)
- func (a DynamicHostPool) Deallocate(r *ReconcileTaskRun, ctx context.Context, log *logr.Logger, tr *v1.TaskRun, ...) error
- func (a DynamicHostPool) InstanceTag() string
- type DynamicResolver
- type Host
- type HostPool
- type PlatformConfig
- type PlatformMetrics
- type ReconcileTaskRun
Constants ¶
View Source
const ( SecretPrefix = "multi-platform-ssh-" ConfigMapLabel = "build.appstudio.redhat.com/multi-platform-config" MultiPlatformSecretLabel = "build.appstudio.redhat.com/multi-platform-secret" AssignedHost = "build.appstudio.redhat.com/assigned-host" FailedHosts = "build.appstudio.redhat.com/failed-hosts" CloudInstanceId = "build.appstudio.redhat.com/cloud-instance-id" CloudFailures = "build.appstudio.redhat.com/cloud-failure-count" CloudAddress = "build.appstudio.redhat.com/cloud-address" CloudDynamicPlatform = "build.appstudio.redhat.com/cloud-dynamic-platform" ProvisionTaskProcessed = "build.appstudio.redhat.com/provision-task-processed" ProvisionTaskFinalizer = "build.appstudio.redhat.com/provision-task-finalizer" //AllocationStartTimeAnnotation Some allocations can take multiple calls, we track the actual start time in this annotation AllocationStartTimeAnnotation = "build.appstudio.redhat.com/allocation-start-time" //BuildStartTimeAnnotation The time the build actually starts BuildStartTimeAnnotation = "build.appstudio.redhat.com/build-start-time" UserTaskName = "build.appstudio.redhat.com/user-task-name" UserTaskNamespace = "build.appstudio.redhat.com/user-task-namespace" WaitingForPlatformLabel = "build.appstudio.redhat.com/waiting-for-platform" PipelineFinalizer = "appstudio.io/multi-platform-finalizer" HostConfig = "host-config" TaskTypeLabel = "build.appstudio.redhat.com/task-type" TaskTargetPlatformAnnotation = "build.appstudio.redhat.com/task-platform" TaskTypeProvision = "provision" TaskTypeUpdate = "update" TaskTypeClean = "clean" ServiceAccountName = "multi-platform-controller" PlatformParam = "PLATFORM" DynamicPlatforms = "dynamic-platforms" DynamicPoolPlatforms = "dynamic-pool-platforms" AllowedNamespaces = "allowed-namespaces" MultiPlatformSubsystem = "multi_platform_controller" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DynamicHostPool ¶
type DynamicHostPool struct {
// contains filtered or unexported fields
}
func (DynamicHostPool) Deallocate ¶
func (DynamicHostPool) InstanceTag ¶
func (a DynamicHostPool) InstanceTag() string
type DynamicResolver ¶
type DynamicResolver struct { cloud.CloudProvider // contains filtered or unexported fields }
func (DynamicResolver) Deallocate ¶
type HostPool ¶
type HostPool struct {
// contains filtered or unexported fields
}
type PlatformConfig ¶
type PlatformMetrics ¶
type PlatformMetrics struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.