Documentation ¶
Index ¶
- Constants
- Variables
- func ACRTokenChecker(t mimo.TaskContext, doc *api.MaintenanceManifestDocument, ...) error
- func TLSCertRotation(t mimo.TaskContext, doc *api.MaintenanceManifestDocument, ...) error
- func UpdateOperatorFlags(t mimo.TaskContext, doc *api.MaintenanceManifestDocument, ...) error
- type MaintenanceTask
Constants ¶
View Source
const DEFAULT_POLL_TIME = time.Second * 10
View Source
const DEFAULT_TIMEOUT_DURATION = time.Minute * 20
Variables ¶
View Source
var DEFAULT_MAINTENANCE_TASKS = map[string]MaintenanceTask{ mimo.TLS_CERT_ROTATION_ID: TLSCertRotation, mimo.ACR_TOKEN_CHECKER_ID: ACRTokenChecker, mimo.OPERATOR_FLAGS_UPDATE_ID: UpdateOperatorFlags, }
Functions ¶
func ACRTokenChecker ¶
func ACRTokenChecker(t mimo.TaskContext, doc *api.MaintenanceManifestDocument, oc *api.OpenShiftClusterDocument) error
func TLSCertRotation ¶
func TLSCertRotation(t mimo.TaskContext, doc *api.MaintenanceManifestDocument, oc *api.OpenShiftClusterDocument) error
func UpdateOperatorFlags ¶
func UpdateOperatorFlags(t mimo.TaskContext, doc *api.MaintenanceManifestDocument, oc *api.OpenShiftClusterDocument) error
Types ¶
type MaintenanceTask ¶
type MaintenanceTask func(mimo.TaskContext, *api.MaintenanceManifestDocument, *api.OpenShiftClusterDocument) error
Click to show internal directories.
Click to hide internal directories.