text:
//
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Copyright holder is ArangoDB GmbH, Cologne, Germany
//

package v1

import "time"

const (
	// Timeouts

	// ActionsDefaultTimeout define default timeout
	ActionsDefaultTimeout time.Duration = 600 * time.Second // 10m0s

	// ActionAddMemberDefaultTimeout define default timeout for action ActionAddMember
	ActionAddMemberDefaultTimeout time.Duration = 600 * time.Second // 10m0s

	// ActionAppendTLSCACertificateDefaultTimeout define default timeout for action ActionAppendTLSCACertificate
	ActionAppendTLSCACertificateDefaultTimeout time.Duration = 1800 * time.Second // 30m0s

	// ActionArangoMemberUpdatePodSpecDefaultTimeout define default timeout for action ActionArangoMemberUpdatePodSpec
	ActionArangoMemberUpdatePodSpecDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionArangoMemberUpdatePodStatusDefaultTimeout define default timeout for action ActionArangoMemberUpdatePodStatus
	ActionArangoMemberUpdatePodStatusDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionBackupRestoreDefaultTimeout define default timeout for action ActionBackupRestore
	ActionBackupRestoreDefaultTimeout time.Duration = 900 * time.Second // 15m0s

	// ActionBackupRestoreCleanDefaultTimeout define default timeout for action ActionBackupRestoreClean
	ActionBackupRestoreCleanDefaultTimeout time.Duration = 900 * time.Second // 15m0s

	// ActionBootstrapSetPasswordDefaultTimeout define default timeout for action ActionBootstrapSetPassword
	ActionBootstrapSetPasswordDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionBootstrapUpdateDefaultTimeout define default timeout for action ActionBootstrapUpdate
	ActionBootstrapUpdateDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionCleanMemberServiceDefaultTimeout define default timeout for action ActionCleanMemberService
	ActionCleanMemberServiceDefaultTimeout time.Duration = 1800 * time.Second // 30m0s

	// ActionCleanOutMemberDefaultTimeout define default timeout for action ActionCleanOutMember
	ActionCleanOutMemberDefaultTimeout time.Duration = 172800 * time.Second // 48h0m0s

	// ActionCleanTLSCACertificateDefaultTimeout define default timeout for action ActionCleanTLSCACertificate
	ActionCleanTLSCACertificateDefaultTimeout time.Duration = 1800 * time.Second // 30m0s

	// ActionCleanTLSKeyfileCertificateDefaultTimeout define default timeout for action ActionCleanTLSKeyfileCertificate
	ActionCleanTLSKeyfileCertificateDefaultTimeout time.Duration = 1800 * time.Second // 30m0s

	// ActionClusterMemberCleanupDefaultTimeout define default timeout for action ActionClusterMemberCleanup
	ActionClusterMemberCleanupDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionDisableClusterScalingDefaultTimeout define default timeout for action ActionDisableClusterScaling
	ActionDisableClusterScalingDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionDisableMaintenanceDefaultTimeout define default timeout for action ActionDisableMaintenance
	ActionDisableMaintenanceDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionDisableMemberMaintenanceDefaultTimeout define default timeout for action ActionDisableMemberMaintenance
	ActionDisableMemberMaintenanceDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionEnableClusterScalingDefaultTimeout define default timeout for action ActionEnableClusterScaling
	ActionEnableClusterScalingDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionEnableMaintenanceDefaultTimeout define default timeout for action ActionEnableMaintenance
	ActionEnableMaintenanceDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionEnableMemberMaintenanceDefaultTimeout define default timeout for action ActionEnableMemberMaintenance
	ActionEnableMemberMaintenanceDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionEncryptionKeyAddDefaultTimeout define default timeout for action ActionEncryptionKeyAdd
	ActionEncryptionKeyAddDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionEncryptionKeyPropagatedDefaultTimeout define default timeout for action ActionEncryptionKeyPropagated
	ActionEncryptionKeyPropagatedDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionEncryptionKeyRefreshDefaultTimeout define default timeout for action ActionEncryptionKeyRefresh
	ActionEncryptionKeyRefreshDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionEncryptionKeyRemoveDefaultTimeout define default timeout for action ActionEncryptionKeyRemove
	ActionEncryptionKeyRemoveDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionEncryptionKeyStatusUpdateDefaultTimeout define default timeout for action ActionEncryptionKeyStatusUpdate
	ActionEncryptionKeyStatusUpdateDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionIdleDefaultTimeout define default timeout for action ActionIdle
	ActionIdleDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionJWTAddDefaultTimeout define default timeout for action ActionJWTAdd
	ActionJWTAddDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionJWTCleanDefaultTimeout define default timeout for action ActionJWTClean
	ActionJWTCleanDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionJWTPropagatedDefaultTimeout define default timeout for action ActionJWTPropagated
	ActionJWTPropagatedDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionJWTRefreshDefaultTimeout define default timeout for action ActionJWTRefresh
	ActionJWTRefreshDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionJWTSetActiveDefaultTimeout define default timeout for action ActionJWTSetActive
	ActionJWTSetActiveDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionJWTStatusUpdateDefaultTimeout define default timeout for action ActionJWTStatusUpdate
	ActionJWTStatusUpdateDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionKillMemberPodDefaultTimeout define default timeout for action ActionKillMemberPod
	ActionKillMemberPodDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionLicenseSetDefaultTimeout define default timeout for action ActionLicenseSet
	ActionLicenseSetDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionMarkToRemoveMemberDefaultTimeout define default timeout for action ActionMarkToRemoveMember
	ActionMarkToRemoveMemberDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionMemberPhaseUpdateDefaultTimeout define default timeout for action ActionMemberPhaseUpdate
	ActionMemberPhaseUpdateDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionMemberRIDUpdateDefaultTimeout define default timeout for action ActionMemberRIDUpdate
	ActionMemberRIDUpdateDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionMemberStatusSyncDefaultTimeout define default timeout for action ActionMemberStatusSync
	ActionMemberStatusSyncDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionPVCResizeDefaultTimeout define default timeout for action ActionPVCResize
	ActionPVCResizeDefaultTimeout time.Duration = 1800 * time.Second // 30m0s

	// ActionPVCResizedDefaultTimeout define default timeout for action ActionPVCResized
	ActionPVCResizedDefaultTimeout time.Duration = 900 * time.Second // 15m0s

	// ActionPlaceHolderDefaultTimeout define default timeout for action ActionPlaceHolder
	ActionPlaceHolderDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionRebalancerCheckDefaultTimeout define default timeout for action ActionRebalancerCheck
	ActionRebalancerCheckDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionRebalancerCheckV2DefaultTimeout define default timeout for action ActionRebalancerCheckV2
	ActionRebalancerCheckV2DefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionRebalancerCleanDefaultTimeout define default timeout for action ActionRebalancerClean
	ActionRebalancerCleanDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionRebalancerCleanV2DefaultTimeout define default timeout for action ActionRebalancerCleanV2
	ActionRebalancerCleanV2DefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionRebalancerGenerateDefaultTimeout define default timeout for action ActionRebalancerGenerate
	ActionRebalancerGenerateDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionRebalancerGenerateV2DefaultTimeout define default timeout for action ActionRebalancerGenerateV2
	ActionRebalancerGenerateV2DefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionRebuildOutSyncedShardsDefaultTimeout define default timeout for action ActionRebuildOutSyncedShards
	ActionRebuildOutSyncedShardsDefaultTimeout time.Duration = 86400 * time.Second // 24h0m0s

	// ActionRecreateMemberDefaultTimeout define default timeout for action ActionRecreateMember
	ActionRecreateMemberDefaultTimeout time.Duration = 900 * time.Second // 15m0s

	// ActionRefreshTLSKeyfileCertificateDefaultTimeout define default timeout for action ActionRefreshTLSKeyfileCertificate
	ActionRefreshTLSKeyfileCertificateDefaultTimeout time.Duration = 1800 * time.Second // 30m0s

	// ActionRemoveMemberDefaultTimeout define default timeout for action ActionRemoveMember
	ActionRemoveMemberDefaultTimeout time.Duration = 900 * time.Second // 15m0s

	// ActionRemoveMemberPVCDefaultTimeout define default timeout for action ActionRemoveMemberPVC
	ActionRemoveMemberPVCDefaultTimeout time.Duration = 900 * time.Second // 15m0s

	// ActionRenewTLSCACertificateDefaultTimeout define default timeout for action ActionRenewTLSCACertificate
	ActionRenewTLSCACertificateDefaultTimeout time.Duration = 1800 * time.Second // 30m0s

	// ActionRenewTLSCertificateDefaultTimeout define default timeout for action ActionRenewTLSCertificate
	ActionRenewTLSCertificateDefaultTimeout time.Duration = 1800 * time.Second // 30m0s

	// ActionResignLeadershipDefaultTimeout define default timeout for action ActionResignLeadership
	ActionResignLeadershipDefaultTimeout time.Duration = 1800 * time.Second // 30m0s

	// ActionResourceSyncDefaultTimeout define default timeout for action ActionResourceSync
	ActionResourceSyncDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionRotateMemberDefaultTimeout define default timeout for action ActionRotateMember
	ActionRotateMemberDefaultTimeout time.Duration = 900 * time.Second // 15m0s

	// ActionRotateStartMemberDefaultTimeout define default timeout for action ActionRotateStartMember
	ActionRotateStartMemberDefaultTimeout time.Duration = 900 * time.Second // 15m0s

	// ActionRotateStopMemberDefaultTimeout define default timeout for action ActionRotateStopMember
	ActionRotateStopMemberDefaultTimeout time.Duration = 900 * time.Second // 15m0s

	// ActionRuntimeContainerArgsLogLevelUpdateDefaultTimeout define default timeout for action ActionRuntimeContainerArgsLogLevelUpdate
	ActionRuntimeContainerArgsLogLevelUpdateDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionRuntimeContainerImageUpdateDefaultTimeout define default timeout for action ActionRuntimeContainerImageUpdate
	ActionRuntimeContainerImageUpdateDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionRuntimeContainerSyncTolerationsDefaultTimeout define default timeout for action ActionRuntimeContainerSyncTolerations
	ActionRuntimeContainerSyncTolerationsDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionSetConditionDefaultTimeout define default timeout for action ActionSetCondition
	ActionSetConditionDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionSetConditionV2DefaultTimeout define default timeout for action ActionSetConditionV2
	ActionSetConditionV2DefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionSetCurrentImageDefaultTimeout define default timeout for action ActionSetCurrentImage
	ActionSetCurrentImageDefaultTimeout time.Duration = 21600 * time.Second // 6h0m0s

	// ActionSetCurrentMemberArchDefaultTimeout define default timeout for action ActionSetCurrentMemberArch
	ActionSetCurrentMemberArchDefaultTimeout time.Duration = 600 * time.Second // 10m0s

	// ActionSetMaintenanceConditionDefaultTimeout define default timeout for action ActionSetMaintenanceCondition
	ActionSetMaintenanceConditionDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionSetMemberConditionDefaultTimeout define default timeout for action ActionSetMemberCondition
	ActionSetMemberConditionDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionSetMemberConditionV2DefaultTimeout define default timeout for action ActionSetMemberConditionV2
	ActionSetMemberConditionV2DefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionSetMemberCurrentImageDefaultTimeout define default timeout for action ActionSetMemberCurrentImage
	ActionSetMemberCurrentImageDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionShutdownMemberDefaultTimeout define default timeout for action ActionShutdownMember
	ActionShutdownMemberDefaultTimeout time.Duration = 1800 * time.Second // 30m0s

	// ActionTLSKeyStatusUpdateDefaultTimeout define default timeout for action ActionTLSKeyStatusUpdate
	ActionTLSKeyStatusUpdateDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionTLSPropagatedDefaultTimeout define default timeout for action ActionTLSPropagated
	ActionTLSPropagatedDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionTimezoneSecretSetDefaultTimeout define default timeout for action ActionTimezoneSecretSet
	ActionTimezoneSecretSetDefaultTimeout time.Duration = 1800 * time.Second // 30m0s

	// ActionTopologyDisableDefaultTimeout define default timeout for action ActionTopologyDisable
	ActionTopologyDisableDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionTopologyEnableDefaultTimeout define default timeout for action ActionTopologyEnable
	ActionTopologyEnableDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionTopologyMemberAssignmentDefaultTimeout define default timeout for action ActionTopologyMemberAssignment
	ActionTopologyMemberAssignmentDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionTopologyZonesUpdateDefaultTimeout define default timeout for action ActionTopologyZonesUpdate
	ActionTopologyZonesUpdateDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionUpToDateUpdateDefaultTimeout define default timeout for action ActionUpToDateUpdate
	ActionUpToDateUpdateDefaultTimeout time.Duration = ActionsDefaultTimeout

	// ActionUpdateTLSSNIDefaultTimeout define default timeout for action ActionUpdateTLSSNI
	ActionUpdateTLSSNIDefaultTimeout time.Duration = 600 * time.Second // 10m0s

	// ActionUpgradeMemberDefaultTimeout define default timeout for action ActionUpgradeMember
	ActionUpgradeMemberDefaultTimeout time.Duration = 21600 * time.Second // 6h0m0s

	// ActionWaitForMemberInSyncDefaultTimeout define default timeout for action ActionWaitForMemberInSync
	ActionWaitForMemberInSyncDefaultTimeout time.Duration = 1800 * time.Second // 30m0s

	// ActionWaitForMemberReadyDefaultTimeout define default timeout for action ActionWaitForMemberReady
	ActionWaitForMemberReadyDefaultTimeout time.Duration = 1800 * time.Second // 30m0s

	// ActionWaitForMemberUpDefaultTimeout define default timeout for action ActionWaitForMemberUp
	ActionWaitForMemberUpDefaultTimeout time.Duration = 1800 * time.Second // 30m0s

	// Actions

	// ActionTypeAddMember in scopes Normal. Adds new member to the Member list
	ActionTypeAddMember ActionType = "AddMember"

	// ActionTypeAppendTLSCACertificate in scopes Normal. Append Certificate into CA TrustStore
	ActionTypeAppendTLSCACertificate ActionType = "AppendTLSCACertificate"

	// ActionTypeArangoMemberUpdatePodSpec in scopes High. Propagate Member Pod spec (requested)
	ActionTypeArangoMemberUpdatePodSpec ActionType = "ArangoMemberUpdatePodSpec"

	// ActionTypeArangoMemberUpdatePodStatus in scopes High. Propagate Member Pod status (current)
	ActionTypeArangoMemberUpdatePodStatus ActionType = "ArangoMemberUpdatePodStatus"

	// ActionTypeBackupRestore in scopes Normal. Restore selected Backup
	ActionTypeBackupRestore ActionType = "BackupRestore"

	// ActionTypeBackupRestoreClean in scopes Normal. Clean restore status in case of restore spec change
	ActionTypeBackupRestoreClean ActionType = "BackupRestoreClean"

	// ActionTypeBootstrapSetPassword in scopes Normal. Change password during bootstrap procedure
	ActionTypeBootstrapSetPassword ActionType = "BootstrapSetPassword"

	// ActionTypeBootstrapUpdate in scopes Normal. Update bootstrap status
	ActionTypeBootstrapUpdate ActionType = "BootstrapUpdate"

	// ActionTypeCleanMemberService in scopes Normal. Removes Server Service
	ActionTypeCleanMemberService ActionType = "CleanMemberService"

	// ActionTypeCleanOutMember in scopes Normal. Run the CleanOut job on member
	ActionTypeCleanOutMember ActionType = "CleanOutMember"

	// ActionTypeCleanTLSCACertificate in scopes Normal. Remove Certificate from CA TrustStore
	ActionTypeCleanTLSCACertificate ActionType = "CleanTLSCACertificate"

	// ActionTypeCleanTLSKeyfileCertificate in scopes Normal. Remove old TLS certificate from server
	ActionTypeCleanTLSKeyfileCertificate ActionType = "CleanTLSKeyfileCertificate"

	// ActionTypeClusterMemberCleanup in scopes Normal. Remove member from Cluster if it is gone already (Coordinators)
	ActionTypeClusterMemberCleanup ActionType = "ClusterMemberCleanup"

	// ActionTypeDisableClusterScaling in scopes Normal. Disable Cluster Scaling integration
	//
	// Deprecated: action is not used anymore
	ActionTypeDisableClusterScaling ActionType = "DisableClusterScaling"

	// ActionTypeDisableMaintenance in scopes Normal. Disable ArangoDB maintenance mode
	ActionTypeDisableMaintenance ActionType = "DisableMaintenance"

	// ActionTypeDisableMemberMaintenance in scopes Normal. Disable ArangoDB DBServer maintenance mode
	ActionTypeDisableMemberMaintenance ActionType = "DisableMemberMaintenance"

	// ActionTypeEnableClusterScaling in scopes Normal. Enable Cluster Scaling integration
	//
	// Deprecated: action is not used anymore
	ActionTypeEnableClusterScaling ActionType = "EnableClusterScaling"

	// ActionTypeEnableMaintenance in scopes Normal. Enable ArangoDB maintenance mode
	ActionTypeEnableMaintenance ActionType = "EnableMaintenance"

	// ActionTypeEnableMemberMaintenance in scopes Normal. Enable ArangoDB DBServer maintenance mode
	ActionTypeEnableMemberMaintenance ActionType = "EnableMemberMaintenance"

	// ActionTypeEncryptionKeyAdd in scopes Normal. Add the encryption key to the pool
	ActionTypeEncryptionKeyAdd ActionType = "EncryptionKeyAdd"

	// ActionTypeEncryptionKeyPropagated in scopes Normal. Update condition of encryption propagation
	ActionTypeEncryptionKeyPropagated ActionType = "EncryptionKeyPropagated"

	// ActionTypeEncryptionKeyRefresh in scopes Normal. Refresh the encryption keys on member
	ActionTypeEncryptionKeyRefresh ActionType = "EncryptionKeyRefresh"

	// ActionTypeEncryptionKeyRemove in scopes Normal. Remove the encryption key to the pool
	ActionTypeEncryptionKeyRemove ActionType = "EncryptionKeyRemove"

	// ActionTypeEncryptionKeyStatusUpdate in scopes Normal. Update status of encryption propagation
	ActionTypeEncryptionKeyStatusUpdate ActionType = "EncryptionKeyStatusUpdate"

	// ActionTypeIdle in scopes Normal. Define idle operation in case if preconditions are not meet
	ActionTypeIdle ActionType = "Idle"

	// ActionTypeJWTAdd in scopes Normal. Adds new JWT to the pool
	ActionTypeJWTAdd ActionType = "JWTAdd"

	// ActionTypeJWTClean in scopes Normal. Remove JWT key from the pool
	ActionTypeJWTClean ActionType = "JWTClean"

	// ActionTypeJWTPropagated in scopes Normal. Update condition of JWT propagation
	ActionTypeJWTPropagated ActionType = "JWTPropagated"

	// ActionTypeJWTRefresh in scopes Normal. Refresh current JWT secrets on the member
	ActionTypeJWTRefresh ActionType = "JWTRefresh"

	// ActionTypeJWTSetActive in scopes Normal. Change active JWT key on the cluster
	ActionTypeJWTSetActive ActionType = "JWTSetActive"

	// ActionTypeJWTStatusUpdate in scopes Normal. Update status of JWT propagation
	ActionTypeJWTStatusUpdate ActionType = "JWTStatusUpdate"

	// ActionTypeKillMemberPod in scopes Normal. Execute Delete on Pod 9put pod in Terminating state)
	ActionTypeKillMemberPod ActionType = "KillMemberPod"

	// ActionTypeLicenseSet in scopes Normal. Update Cluster license (3.9+)
	ActionTypeLicenseSet ActionType = "LicenseSet"

	// ActionTypeMarkToRemoveMember in scopes Normal. Marks member to be removed. Used when member Pod is annotated with replace annotation
	ActionTypeMarkToRemoveMember ActionType = "MarkToRemoveMember"

	// ActionTypeMemberPhaseUpdate in scopes High. Change member phase
	ActionTypeMemberPhaseUpdate ActionType = "MemberPhaseUpdate"

	// ActionTypeMemberRIDUpdate in scopes High. Update Run ID of member
	//
	// Deprecated: action is not used anymore
	ActionTypeMemberRIDUpdate ActionType = "MemberRIDUpdate"

	// ActionTypeMemberStatusSync in scopes High. Sync ArangoMember Status with ArangoDeployment Status, to keep Member information up to date
	ActionTypeMemberStatusSync ActionType = "MemberStatusSync"

	// ActionTypePVCResize in scopes Normal. Start the resize procedure. Updates PVC Requests field
	ActionTypePVCResize ActionType = "PVCResize"

	// ActionTypePVCResized in scopes Normal. Waits for PVC resize to be completed
	ActionTypePVCResized ActionType = "PVCResized"

	// ActionTypePlaceHolder in scopes Normal. Empty placeholder action
	ActionTypePlaceHolder ActionType = "PlaceHolder"

	// ActionTypeRebalancerCheck in scopes Normal. Check Rebalancer job progress
	ActionTypeRebalancerCheck ActionType = "RebalancerCheck"

	// ActionTypeRebalancerCheckV2 in scopes Normal. Check Rebalancer job progress
	ActionTypeRebalancerCheckV2 ActionType = "RebalancerCheckV2"

	// ActionTypeRebalancerClean in scopes Normal. Cleans Rebalancer jobs
	ActionTypeRebalancerClean ActionType = "RebalancerClean"

	// ActionTypeRebalancerCleanV2 in scopes Normal. Cleans Rebalancer jobs
	ActionTypeRebalancerCleanV2 ActionType = "RebalancerCleanV2"

	// ActionTypeRebalancerGenerate in scopes Normal. Generates the Rebalancer plan
	ActionTypeRebalancerGenerate ActionType = "RebalancerGenerate"

	// ActionTypeRebalancerGenerateV2 in scopes Normal. Generates the Rebalancer plan
	ActionTypeRebalancerGenerateV2 ActionType = "RebalancerGenerateV2"

	// ActionTypeRebuildOutSyncedShards in scopes High. Run Rebuild Out Synced Shards procedure for DBServers
	ActionTypeRebuildOutSyncedShards ActionType = "RebuildOutSyncedShards"

	// ActionTypeRecreateMember in scopes Normal. Recreate member with same ID and Data
	ActionTypeRecreateMember ActionType = "RecreateMember"

	// ActionTypeRefreshTLSKeyfileCertificate in scopes Normal. Recreate Server TLS Certificate secret
	ActionTypeRefreshTLSKeyfileCertificate ActionType = "RefreshTLSKeyfileCertificate"

	// ActionTypeRemoveMember in scopes Normal. Removes member from the Cluster and Status
	ActionTypeRemoveMember ActionType = "RemoveMember"

	// ActionTypeRemoveMemberPVC in scopes Normal. Removes member PVC and enforce recreate procedure
	ActionTypeRemoveMemberPVC ActionType = "RemoveMemberPVC"

	// ActionTypeRenewTLSCACertificate in scopes Normal. Recreate Managed CA secret
	ActionTypeRenewTLSCACertificate ActionType = "RenewTLSCACertificate"

	// ActionTypeRenewTLSCertificate in scopes Normal. Recreate Server TLS Certificate secret
	ActionTypeRenewTLSCertificate ActionType = "RenewTLSCertificate"

	// ActionTypeResignLeadership in scopes Normal. Run the ResignLeadership job on DBServer
	ActionTypeResignLeadership ActionType = "ResignLeadership"

	// ActionTypeResourceSync in scopes Normal. Runs the Resource sync
	ActionTypeResourceSync ActionType = "ResourceSync"

	// ActionTypeRotateMember in scopes Normal. Waits for Pod restart and recreation
	ActionTypeRotateMember ActionType = "RotateMember"

	// ActionTypeRotateStartMember in scopes Normal. Start member rotation. After this action member is down
	ActionTypeRotateStartMember ActionType = "RotateStartMember"

	// ActionTypeRotateStopMember in scopes Normal. Finalize member rotation. After this action member is started back
	ActionTypeRotateStopMember ActionType = "RotateStopMember"

	// ActionTypeRuntimeContainerArgsLogLevelUpdate in scopes Normal. Change ArangoDB Member log levels in runtime
	ActionTypeRuntimeContainerArgsLogLevelUpdate ActionType = "RuntimeContainerArgsLogLevelUpdate"

	// ActionTypeRuntimeContainerImageUpdate in scopes Normal. Update Container Image in runtime
	ActionTypeRuntimeContainerImageUpdate ActionType = "RuntimeContainerImageUpdate"

	// ActionTypeRuntimeContainerSyncTolerations in scopes Normal. Update Pod Tolerations in runtime
	ActionTypeRuntimeContainerSyncTolerations ActionType = "RuntimeContainerSyncTolerations"

	// ActionTypeSetCondition in scopes High. Set deployment condition
	//
	// Deprecated: action is not used anymore
	ActionTypeSetCondition ActionType = "SetCondition"

	// ActionTypeSetConditionV2 in scopes High. Set deployment condition
	ActionTypeSetConditionV2 ActionType = "SetConditionV2"

	// ActionTypeSetCurrentImage in scopes Normal. Update deployment current image after image discovery
	ActionTypeSetCurrentImage ActionType = "SetCurrentImage"

	// ActionTypeSetCurrentMemberArch in scopes Normal. Set current member architecture
	ActionTypeSetCurrentMemberArch ActionType = "SetCurrentMemberArch"

	// ActionTypeSetMaintenanceCondition in scopes Normal. Update ArangoDB maintenance condition
	ActionTypeSetMaintenanceCondition ActionType = "SetMaintenanceCondition"

	// ActionTypeSetMemberCondition in scopes High. Set member condition
	//
	// Deprecated: action is not used anymore
	ActionTypeSetMemberCondition ActionType = "SetMemberCondition"

	// ActionTypeSetMemberConditionV2 in scopes High. Set member condition
	ActionTypeSetMemberConditionV2 ActionType = "SetMemberConditionV2"

	// ActionTypeSetMemberCurrentImage in scopes Normal. Update Member current image
	ActionTypeSetMemberCurrentImage ActionType = "SetMemberCurrentImage"

	// ActionTypeShutdownMember in scopes Normal. Sends Shutdown requests and waits for container to be stopped
	ActionTypeShutdownMember ActionType = "ShutdownMember"

	// ActionTypeTLSKeyStatusUpdate in scopes Normal. Update Status of TLS propagation process
	ActionTypeTLSKeyStatusUpdate ActionType = "TLSKeyStatusUpdate"

	// ActionTypeTLSPropagated in scopes Normal. Update TLS propagation condition
	ActionTypeTLSPropagated ActionType = "TLSPropagated"

	// ActionTypeTimezoneSecretSet in scopes Normal. Set timezone details in cluster
	ActionTypeTimezoneSecretSet ActionType = "TimezoneSecretSet"

	// ActionTypeTopologyDisable in scopes Normal. Disable TopologyAwareness
	ActionTypeTopologyDisable ActionType = "TopologyDisable"

	// ActionTypeTopologyEnable in scopes Normal. Enable TopologyAwareness
	ActionTypeTopologyEnable ActionType = "TopologyEnable"

	// ActionTypeTopologyMemberAssignment in scopes Normal. Update TopologyAwareness Members assignments
	ActionTypeTopologyMemberAssignment ActionType = "TopologyMemberAssignment"

	// ActionTypeTopologyZonesUpdate in scopes Normal. Update TopologyAwareness Zones info
	ActionTypeTopologyZonesUpdate ActionType = "TopologyZonesUpdate"

	// ActionTypeUpToDateUpdate in scopes Normal. Update UpToDate condition
	ActionTypeUpToDateUpdate ActionType = "UpToDateUpdate"

	// ActionTypeUpdateTLSSNI in scopes Normal. Update certificate in SNI
	ActionTypeUpdateTLSSNI ActionType = "UpdateTLSSNI"

	// ActionTypeUpgradeMember in scopes Normal. Run the Upgrade procedure on member
	ActionTypeUpgradeMember ActionType = "UpgradeMember"

	// ActionTypeWaitForMemberInSync in scopes Normal. Wait for member to be in sync. In case of DBServer waits for shards. In case of Agents to catch-up on Agency index
	ActionTypeWaitForMemberInSync ActionType = "WaitForMemberInSync"

	// ActionTypeWaitForMemberReady in scopes Normal. Wait for member Ready condition
	ActionTypeWaitForMemberReady ActionType = "WaitForMemberReady"

	// ActionTypeWaitForMemberUp in scopes Normal. Wait for member to be responsive
	ActionTypeWaitForMemberUp ActionType = "WaitForMemberUp"
)

func (a ActionType) DefaultTimeout() time.Duration {
	switch a {
	case ActionTypeAddMember:
		return ActionAddMemberDefaultTimeout
	case ActionTypeAppendTLSCACertificate:
		return ActionAppendTLSCACertificateDefaultTimeout
	case ActionTypeArangoMemberUpdatePodSpec:
		return ActionArangoMemberUpdatePodSpecDefaultTimeout
	case ActionTypeArangoMemberUpdatePodStatus:
		return ActionArangoMemberUpdatePodStatusDefaultTimeout
	case ActionTypeBackupRestore:
		return ActionBackupRestoreDefaultTimeout
	case ActionTypeBackupRestoreClean:
		return ActionBackupRestoreCleanDefaultTimeout
	case ActionTypeBootstrapSetPassword:
		return ActionBootstrapSetPasswordDefaultTimeout
	case ActionTypeBootstrapUpdate:
		return ActionBootstrapUpdateDefaultTimeout
	case ActionTypeCleanMemberService:
		return ActionCleanMemberServiceDefaultTimeout
	case ActionTypeCleanOutMember:
		return ActionCleanOutMemberDefaultTimeout
	case ActionTypeCleanTLSCACertificate:
		return ActionCleanTLSCACertificateDefaultTimeout
	case ActionTypeCleanTLSKeyfileCertificate:
		return ActionCleanTLSKeyfileCertificateDefaultTimeout
	case ActionTypeClusterMemberCleanup:
		return ActionClusterMemberCleanupDefaultTimeout
	case ActionTypeDisableClusterScaling:
		return ActionDisableClusterScalingDefaultTimeout
	case ActionTypeDisableMaintenance:
		return ActionDisableMaintenanceDefaultTimeout
	case ActionTypeDisableMemberMaintenance:
		return ActionDisableMemberMaintenanceDefaultTimeout
	case ActionTypeEnableClusterScaling:
		return ActionEnableClusterScalingDefaultTimeout
	case ActionTypeEnableMaintenance:
		return ActionEnableMaintenanceDefaultTimeout
	case ActionTypeEnableMemberMaintenance:
		return ActionEnableMemberMaintenanceDefaultTimeout
	case ActionTypeEncryptionKeyAdd:
		return ActionEncryptionKeyAddDefaultTimeout
	case ActionTypeEncryptionKeyPropagated:
		return ActionEncryptionKeyPropagatedDefaultTimeout
	case ActionTypeEncryptionKeyRefresh:
		return ActionEncryptionKeyRefreshDefaultTimeout
	case ActionTypeEncryptionKeyRemove:
		return ActionEncryptionKeyRemoveDefaultTimeout
	case ActionTypeEncryptionKeyStatusUpdate:
		return ActionEncryptionKeyStatusUpdateDefaultTimeout
	case ActionTypeIdle:
		return ActionIdleDefaultTimeout
	case ActionTypeJWTAdd:
		return ActionJWTAddDefaultTimeout
	case ActionTypeJWTClean:
		return ActionJWTCleanDefaultTimeout
	case ActionTypeJWTPropagated:
		return ActionJWTPropagatedDefaultTimeout
	case ActionTypeJWTRefresh:
		return ActionJWTRefreshDefaultTimeout
	case ActionTypeJWTSetActive:
		return ActionJWTSetActiveDefaultTimeout
	case ActionTypeJWTStatusUpdate:
		return ActionJWTStatusUpdateDefaultTimeout
	case ActionTypeKillMemberPod:
		return ActionKillMemberPodDefaultTimeout
	case ActionTypeLicenseSet:
		return ActionLicenseSetDefaultTimeout
	case ActionTypeMarkToRemoveMember:
		return ActionMarkToRemoveMemberDefaultTimeout
	case ActionTypeMemberPhaseUpdate:
		return ActionMemberPhaseUpdateDefaultTimeout
	case ActionTypeMemberRIDUpdate:
		return ActionMemberRIDUpdateDefaultTimeout
	case ActionTypeMemberStatusSync:
		return ActionMemberStatusSyncDefaultTimeout
	case ActionTypePVCResize:
		return ActionPVCResizeDefaultTimeout
	case ActionTypePVCResized:
		return ActionPVCResizedDefaultTimeout
	case ActionTypePlaceHolder:
		return ActionPlaceHolderDefaultTimeout
	case ActionTypeRebalancerCheck:
		return ActionRebalancerCheckDefaultTimeout
	case ActionTypeRebalancerCheckV2:
		return ActionRebalancerCheckV2DefaultTimeout
	case ActionTypeRebalancerClean:
		return ActionRebalancerCleanDefaultTimeout
	case ActionTypeRebalancerCleanV2:
		return ActionRebalancerCleanV2DefaultTimeout
	case ActionTypeRebalancerGenerate:
		return ActionRebalancerGenerateDefaultTimeout
	case ActionTypeRebalancerGenerateV2:
		return ActionRebalancerGenerateV2DefaultTimeout
	case ActionTypeRebuildOutSyncedShards:
		return ActionRebuildOutSyncedShardsDefaultTimeout
	case ActionTypeRecreateMember:
		return ActionRecreateMemberDefaultTimeout
	case ActionTypeRefreshTLSKeyfileCertificate:
		return ActionRefreshTLSKeyfileCertificateDefaultTimeout
	case ActionTypeRemoveMember:
		return ActionRemoveMemberDefaultTimeout
	case ActionTypeRemoveMemberPVC:
		return ActionRemoveMemberPVCDefaultTimeout
	case ActionTypeRenewTLSCACertificate:
		return ActionRenewTLSCACertificateDefaultTimeout
	case ActionTypeRenewTLSCertificate:
		return ActionRenewTLSCertificateDefaultTimeout
	case ActionTypeResignLeadership:
		return ActionResignLeadershipDefaultTimeout
	case ActionTypeResourceSync:
		return ActionResourceSyncDefaultTimeout
	case ActionTypeRotateMember:
		return ActionRotateMemberDefaultTimeout
	case ActionTypeRotateStartMember:
		return ActionRotateStartMemberDefaultTimeout
	case ActionTypeRotateStopMember:
		return ActionRotateStopMemberDefaultTimeout
	case ActionTypeRuntimeContainerArgsLogLevelUpdate:
		return ActionRuntimeContainerArgsLogLevelUpdateDefaultTimeout
	case ActionTypeRuntimeContainerImageUpdate:
		return ActionRuntimeContainerImageUpdateDefaultTimeout
	case ActionTypeRuntimeContainerSyncTolerations:
		return ActionRuntimeContainerSyncTolerationsDefaultTimeout
	case ActionTypeSetCondition:
		return ActionSetConditionDefaultTimeout
	case ActionTypeSetConditionV2:
		return ActionSetConditionV2DefaultTimeout
	case ActionTypeSetCurrentImage:
		return ActionSetCurrentImageDefaultTimeout
	case ActionTypeSetCurrentMemberArch:
		return ActionSetCurrentMemberArchDefaultTimeout
	case ActionTypeSetMaintenanceCondition:
		return ActionSetMaintenanceConditionDefaultTimeout
	case ActionTypeSetMemberCondition:
		return ActionSetMemberConditionDefaultTimeout
	case ActionTypeSetMemberConditionV2:
		return ActionSetMemberConditionV2DefaultTimeout
	case ActionTypeSetMemberCurrentImage:
		return ActionSetMemberCurrentImageDefaultTimeout
	case ActionTypeShutdownMember:
		return ActionShutdownMemberDefaultTimeout
	case ActionTypeTLSKeyStatusUpdate:
		return ActionTLSKeyStatusUpdateDefaultTimeout
	case ActionTypeTLSPropagated:
		return ActionTLSPropagatedDefaultTimeout
	case ActionTypeTimezoneSecretSet:
		return ActionTimezoneSecretSetDefaultTimeout
	case ActionTypeTopologyDisable:
		return ActionTopologyDisableDefaultTimeout
	case ActionTypeTopologyEnable:
		return ActionTopologyEnableDefaultTimeout
	case ActionTypeTopologyMemberAssignment:
		return ActionTopologyMemberAssignmentDefaultTimeout
	case ActionTypeTopologyZonesUpdate:
		return ActionTopologyZonesUpdateDefaultTimeout
	case ActionTypeUpToDateUpdate:
		return ActionUpToDateUpdateDefaultTimeout
	case ActionTypeUpdateTLSSNI:
		return ActionUpdateTLSSNIDefaultTimeout
	case ActionTypeUpgradeMember:
		return ActionUpgradeMemberDefaultTimeout
	case ActionTypeWaitForMemberInSync:
		return ActionWaitForMemberInSyncDefaultTimeout
	case ActionTypeWaitForMemberReady:
		return ActionWaitForMemberReadyDefaultTimeout
	case ActionTypeWaitForMemberUp:
		return ActionWaitForMemberUpDefaultTimeout
	default:
		return ActionsDefaultTimeout
	}
}

// Priority returns action priority
func (a ActionType) Priority() ActionPriority {
	switch a {
	case ActionTypeAddMember:
		return ActionPriorityNormal
	case ActionTypeAppendTLSCACertificate:
		return ActionPriorityNormal
	case ActionTypeArangoMemberUpdatePodSpec:
		return ActionPriorityHigh
	case ActionTypeArangoMemberUpdatePodStatus:
		return ActionPriorityHigh
	case ActionTypeBackupRestore:
		return ActionPriorityNormal
	case ActionTypeBackupRestoreClean:
		return ActionPriorityNormal
	case ActionTypeBootstrapSetPassword:
		return ActionPriorityNormal
	case ActionTypeBootstrapUpdate:
		return ActionPriorityNormal
	case ActionTypeCleanMemberService:
		return ActionPriorityNormal
	case ActionTypeCleanOutMember:
		return ActionPriorityNormal
	case ActionTypeCleanTLSCACertificate:
		return ActionPriorityNormal
	case ActionTypeCleanTLSKeyfileCertificate:
		return ActionPriorityNormal
	case ActionTypeClusterMemberCleanup:
		return ActionPriorityNormal
	case ActionTypeDisableClusterScaling:
		return ActionPriorityNormal
	case ActionTypeDisableMaintenance:
		return ActionPriorityNormal
	case ActionTypeDisableMemberMaintenance:
		return ActionPriorityNormal
	case ActionTypeEnableClusterScaling:
		return ActionPriorityNormal
	case ActionTypeEnableMaintenance:
		return ActionPriorityNormal
	case ActionTypeEnableMemberMaintenance:
		return ActionPriorityNormal
	case ActionTypeEncryptionKeyAdd:
		return ActionPriorityNormal
	case ActionTypeEncryptionKeyPropagated:
		return ActionPriorityNormal
	case ActionTypeEncryptionKeyRefresh:
		return ActionPriorityNormal
	case ActionTypeEncryptionKeyRemove:
		return ActionPriorityNormal
	case ActionTypeEncryptionKeyStatusUpdate:
		return ActionPriorityNormal
	case ActionTypeIdle:
		return ActionPriorityNormal
	case ActionTypeJWTAdd:
		return ActionPriorityNormal
	case ActionTypeJWTClean:
		return ActionPriorityNormal
	case ActionTypeJWTPropagated:
		return ActionPriorityNormal
	case ActionTypeJWTRefresh:
		return ActionPriorityNormal
	case ActionTypeJWTSetActive:
		return ActionPriorityNormal
	case ActionTypeJWTStatusUpdate:
		return ActionPriorityNormal
	case ActionTypeKillMemberPod:
		return ActionPriorityNormal
	case ActionTypeLicenseSet:
		return ActionPriorityNormal
	case ActionTypeMarkToRemoveMember:
		return ActionPriorityNormal
	case ActionTypeMemberPhaseUpdate:
		return ActionPriorityHigh
	case ActionTypeMemberRIDUpdate:
		return ActionPriorityHigh
	case ActionTypeMemberStatusSync:
		return ActionPriorityHigh
	case ActionTypePVCResize:
		return ActionPriorityNormal
	case ActionTypePVCResized:
		return ActionPriorityNormal
	case ActionTypePlaceHolder:
		return ActionPriorityNormal
	case ActionTypeRebalancerCheck:
		return ActionPriorityNormal
	case ActionTypeRebalancerCheckV2:
		return ActionPriorityNormal
	case ActionTypeRebalancerClean:
		return ActionPriorityNormal
	case ActionTypeRebalancerCleanV2:
		return ActionPriorityNormal
	case ActionTypeRebalancerGenerate:
		return ActionPriorityNormal
	case ActionTypeRebalancerGenerateV2:
		return ActionPriorityNormal
	case ActionTypeRebuildOutSyncedShards:
		return ActionPriorityHigh
	case ActionTypeRecreateMember:
		return ActionPriorityNormal
	case ActionTypeRefreshTLSKeyfileCertificate:
		return ActionPriorityNormal
	case ActionTypeRemoveMember:
		return ActionPriorityNormal
	case ActionTypeRemoveMemberPVC:
		return ActionPriorityNormal
	case ActionTypeRenewTLSCACertificate:
		return ActionPriorityNormal
	case ActionTypeRenewTLSCertificate:
		return ActionPriorityNormal
	case ActionTypeResignLeadership:
		return ActionPriorityNormal
	case ActionTypeResourceSync:
		return ActionPriorityNormal
	case ActionTypeRotateMember:
		return ActionPriorityNormal
	case ActionTypeRotateStartMember:
		return ActionPriorityNormal
	case ActionTypeRotateStopMember:
		return ActionPriorityNormal
	case ActionTypeRuntimeContainerArgsLogLevelUpdate:
		return ActionPriorityNormal
	case ActionTypeRuntimeContainerImageUpdate:
		return ActionPriorityNormal
	case ActionTypeRuntimeContainerSyncTolerations:
		return ActionPriorityNormal
	case ActionTypeSetCondition:
		return ActionPriorityHigh
	case ActionTypeSetConditionV2:
		return ActionPriorityHigh
	case ActionTypeSetCurrentImage:
		return ActionPriorityNormal
	case ActionTypeSetCurrentMemberArch:
		return ActionPriorityNormal
	case ActionTypeSetMaintenanceCondition:
		return ActionPriorityNormal
	case ActionTypeSetMemberCondition:
		return ActionPriorityHigh
	case ActionTypeSetMemberConditionV2:
		return ActionPriorityHigh
	case ActionTypeSetMemberCurrentImage:
		return ActionPriorityNormal
	case ActionTypeShutdownMember:
		return ActionPriorityNormal
	case ActionTypeTLSKeyStatusUpdate:
		return ActionPriorityNormal
	case ActionTypeTLSPropagated:
		return ActionPriorityNormal
	case ActionTypeTimezoneSecretSet:
		return ActionPriorityNormal
	case ActionTypeTopologyDisable:
		return ActionPriorityNormal
	case ActionTypeTopologyEnable:
		return ActionPriorityNormal
	case ActionTypeTopologyMemberAssignment:
		return ActionPriorityNormal
	case ActionTypeTopologyZonesUpdate:
		return ActionPriorityNormal
	case ActionTypeUpToDateUpdate:
		return ActionPriorityNormal
	case ActionTypeUpdateTLSSNI:
		return ActionPriorityNormal
	case ActionTypeUpgradeMember:
		return ActionPriorityNormal
	case ActionTypeWaitForMemberInSync:
		return ActionPriorityNormal
	case ActionTypeWaitForMemberReady:
		return ActionPriorityNormal
	case ActionTypeWaitForMemberUp:
		return ActionPriorityNormal
	default:
		return ActionPriorityUnknown
	}
}

// Internal returns true if action is considered to be internal
func (a ActionType) Internal() bool {
	switch a {
	case ActionTypeRebalancerGenerate:
		return true
	case ActionTypeRebalancerGenerateV2:
		return true
	default:
		return false
	}
}

// Optional returns true if action execution wont abort Plan
func (a ActionType) Optional() bool {
	switch a {
	case ActionTypeAddMember:
		return false
	case ActionTypeAppendTLSCACertificate:
		return false
	case ActionTypeArangoMemberUpdatePodSpec:
		return false
	case ActionTypeArangoMemberUpdatePodStatus:
		return false
	case ActionTypeBackupRestore:
		return false
	case ActionTypeBackupRestoreClean:
		return false
	case ActionTypeBootstrapSetPassword:
		return false
	case ActionTypeBootstrapUpdate:
		return false
	case ActionTypeCleanMemberService:
		return false
	case ActionTypeCleanOutMember:
		return false
	case ActionTypeCleanTLSCACertificate:
		return false
	case ActionTypeCleanTLSKeyfileCertificate:
		return false
	case ActionTypeClusterMemberCleanup:
		return false
	case ActionTypeDisableClusterScaling:
		return false
	case ActionTypeDisableMaintenance:
		return false
	case ActionTypeDisableMemberMaintenance:
		return false
	case ActionTypeEnableClusterScaling:
		return false
	case ActionTypeEnableMaintenance:
		return false
	case ActionTypeEnableMemberMaintenance:
		return false
	case ActionTypeEncryptionKeyAdd:
		return false
	case ActionTypeEncryptionKeyPropagated:
		return false
	case ActionTypeEncryptionKeyRefresh:
		return false
	case ActionTypeEncryptionKeyRemove:
		return false
	case ActionTypeEncryptionKeyStatusUpdate:
		return false
	case ActionTypeIdle:
		return false
	case ActionTypeJWTAdd:
		return false
	case ActionTypeJWTClean:
		return false
	case ActionTypeJWTPropagated:
		return false
	case ActionTypeJWTRefresh:
		return false
	case ActionTypeJWTSetActive:
		return false
	case ActionTypeJWTStatusUpdate:
		return false
	case ActionTypeKillMemberPod:
		return false
	case ActionTypeLicenseSet:
		return false
	case ActionTypeMarkToRemoveMember:
		return false
	case ActionTypeMemberPhaseUpdate:
		return false
	case ActionTypeMemberRIDUpdate:
		return false
	case ActionTypeMemberStatusSync:
		return false
	case ActionTypePVCResize:
		return false
	case ActionTypePVCResized:
		return false
	case ActionTypePlaceHolder:
		return false
	case ActionTypeRebalancerCheck:
		return false
	case ActionTypeRebalancerCheckV2:
		return false
	case ActionTypeRebalancerClean:
		return false
	case ActionTypeRebalancerCleanV2:
		return false
	case ActionTypeRebalancerGenerate:
		return false
	case ActionTypeRebalancerGenerateV2:
		return false
	case ActionTypeRebuildOutSyncedShards:
		return false
	case ActionTypeRecreateMember:
		return false
	case ActionTypeRefreshTLSKeyfileCertificate:
		return false
	case ActionTypeRemoveMember:
		return false
	case ActionTypeRemoveMemberPVC:
		return false
	case ActionTypeRenewTLSCACertificate:
		return false
	case ActionTypeRenewTLSCertificate:
		return false
	case ActionTypeResignLeadership:
		return true
	case ActionTypeResourceSync:
		return false
	case ActionTypeRotateMember:
		return false
	case ActionTypeRotateStartMember:
		return false
	case ActionTypeRotateStopMember:
		return false
	case ActionTypeRuntimeContainerArgsLogLevelUpdate:
		return false
	case ActionTypeRuntimeContainerImageUpdate:
		return false
	case ActionTypeRuntimeContainerSyncTolerations:
		return false
	case ActionTypeSetCondition:
		return false
	case ActionTypeSetConditionV2:
		return false
	case ActionTypeSetCurrentImage:
		return false
	case ActionTypeSetCurrentMemberArch:
		return false
	case ActionTypeSetMaintenanceCondition:
		return false
	case ActionTypeSetMemberCondition:
		return false
	case ActionTypeSetMemberConditionV2:
		return false
	case ActionTypeSetMemberCurrentImage:
		return false
	case ActionTypeShutdownMember:
		return false
	case ActionTypeTLSKeyStatusUpdate:
		return false
	case ActionTypeTLSPropagated:
		return false
	case ActionTypeTimezoneSecretSet:
		return false
	case ActionTypeTopologyDisable:
		return false
	case ActionTypeTopologyEnable:
		return false
	case ActionTypeTopologyMemberAssignment:
		return false
	case ActionTypeTopologyZonesUpdate:
		return false
	case ActionTypeUpToDateUpdate:
		return false
	case ActionTypeUpdateTLSSNI:
		return false
	case ActionTypeUpgradeMember:
		return false
	case ActionTypeWaitForMemberInSync:
		return false
	case ActionTypeWaitForMemberReady:
		return false
	case ActionTypeWaitForMemberUp:
		return false
	default:
		return false
	}
}

repository: arangodb/kube-arangodb

license_type: permissive

repo_name: arangodb/kube-arangodb

branch_name: refs/heads/master

gha_language: Go

extension: go


text:
@inproceedings{liu-etal-2021-scheduled,
    title = "Scheduled Dialog Policy Learning: An Automatic Curriculum Learning Framework for Task-oriented Dialog System",
    author = "Liu, Sihong  and
      Zhang, Jinchao  and
      He, Keqing  and
      Xu, Weiran  and
      Zhou, Jie",
    booktitle = "Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021",
    month = aug,
    year = "2021",
    address = "Online",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2021.findings-acl.94",
    doi = "10.18653/v1/2021.findings-acl.94",
    pages = "1091--1102",
}

extension: bib


text:
package main

import (
	"github.com/aws/aws-lambda-go/events"
	"github.com/aws/aws-lambda-go/lambda"
	"log"
	"encoding/json"
	"os"
	"github.com/aws/aws-sdk-go/aws"
   	"github.com/aws/aws-sdk-go/aws/session"
 	"github.com/aws/aws-sdk-go/service/dynamodb"
	"github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute"
	"gopkg.in/go-playground/validator.v9"
)

type Task struct {
    ID   int `json:"ID" validate:"required"`
    Name  string `json:"Name" validate:"required"`
}

var db = dynamodb.New(session.New(), aws.NewConfig().WithRegion(os.Getenv("region")))

func getItem() ([]byte, error) {
    input := &dynamodb.ScanInput{
        TableName: aws.String(os.Getenv("dynamo_table")),
    }

    result, err := db.Scan(input)
    if err != nil {
        return nil, err
    }

	tasks := []Task{}
    err = dynamodbattribute.UnmarshalListOfMaps (result.Items, &tasks)
    if err != nil {
        return nil, err
	}

	responseJSON, err := json.Marshal(tasks)

    return responseJSON, nil
}

func putItem(request events.APIGatewayProxyRequest) (error) {

	bodyRequest := Task{}
	err := json.Unmarshal([]byte(request.Body), &bodyRequest)
	if err != nil {
		log.Println("Got error unmarshalling request:", err)
		return err
	}

	v := validator.New()
	err = v.Struct(bodyRequest)
	if err != nil {
		log.Println("Got error during validation:", err)
		return err
		}

	task, err := dynamodbattribute.MarshalMap(bodyRequest)
    if err != nil {
		log.Println("Got error marshalling new item:", err)
		return  err
	}

	input := &dynamodb.PutItemInput{
        Item:      task,
        TableName: aws.String(os.Getenv("dynamo_table")),
	}

	_, err = db.PutItem(input)
    if err != nil {
		log.Println("Got error calling PutItem: ", err)
		return err
	}

	return nil
}

func handler(request events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error) {
	log.Println("Incoming request is: ", request)
	if request.HTTPMethod == "GET" {
		response, err := getItem()
		if err != nil {
			log.Println("Got error calling GetItem: ", err)
			ApiResponse := events.APIGatewayProxyResponse{
				Body:       "got error calling GetItem",
				StatusCode: 500}
			return ApiResponse, nil
			}

		ApiResponse := events.APIGatewayProxyResponse{
			Body:      string(response),
			StatusCode: 200,
		}
		return ApiResponse, nil

	} else if request.HTTPMethod == "POST" {
		err := putItem(request)
		if err != nil {
			ApiResponse := events.APIGatewayProxyResponse{
				Body:       "got error calling PutItem",
				StatusCode: 500}
			return ApiResponse, nil
			}

		ApiResponse := events.APIGatewayProxyResponse{
			Body:       "OK: task added",
			StatusCode: 200,
		}
		return ApiResponse, nil

	} else {
		log.Println("Method not allowed")
		ApiResponse := events.APIGatewayProxyResponse{
			Body:       "method not allowed",
			StatusCode: 405}
		return ApiResponse, nil
	}
}

func main() {
	lambda.Start(handler)
}


text:
DESCRIPTION = "This package contains keytable files and keyboard utilities"
# everything minus console-fonts is GPLv2+
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=587ce626d15bd61699a64a6b8a5afefb"

inherit autotools gettext

BBCLASSEXTEND = "native"

SRC_URI="${KERNELORG_MIRROR}/linux/utils/kbd/kbd-1.15.2.tar.bz2"
SRC_URI[md5sum] = "e850eb91e4d3b94b194efe8e953204c5"
SRC_URI[sha256sum] = "b3602d191eef7a6a8317fc3cd231efa40a89ac235dce57a77cac825a2a21eba6"

PACKAGES += "${PN}-consolefonts ${PN}-keymaps ${PN}-unimaps ${PN}-consoletrans"

FILES_${PN}-consolefonts = "${datadir}/consolefonts"
FILES_${PN}-consoletrans = "${datadir}/consoletrans"
FILES_${PN}-keymaps = "${datadir}/keymaps"
FILES_${PN}-unimaps = "${datadir}/unimaps"

license: MIT

repository: imehmood/meta-oe

repo_name: imehmood/meta-oe

extension: bb


text:
package store

var (
	// addresses
	BKTAddrs = []byte("addrs")

	// transaction types
	BKTTxTypes = []byte("txtypes")

	// headers
	BKTHeaders  = []byte("headers")
	BKTIndexes  = []byte("indexes")
	BKTChainTip = []byte("chaintip")

	// ops
	BKTOps = []byte("ops")

	// que
	BKTQue    = []byte("que")
	BKTQueIdx = []byte("qindex")

	// transactions
	BKTTxs       = []byte("transactions")
	BKTHeightTxs = []byte("heighttxs")
	BKTForkTxs   = []byte("forktxs")

	// arbiters
	BKTArbiters          = []byte("arbiters")
	BKTArbPosition       = []byte("arbptn")
	BKTArbPositions      = []byte("arbpts")
	BKTArbitersData      = []byte("arbdata")
	BKTTransactionHeight = []byte("txheight")

	// revert to pow
	BKTRevertPosition  = []byte("revertp")
	BKTRevertPositions = []byte("revertps")

	//ReturnSideChainDepositCoin
	BKTReturnSideChainDepositCoin = []byte("retschdepositcoin")

	BKTReservedCustomID     = []byte("rscid")
	BKTReceivedCustomID     = []byte("rccid")
	BKTChangeCustomIDFee    = []byte("ccidf")
	BKTCustomIDFeePositions = []byte("cidfps")
)

gha_license_id: MIT


text:
%% This BibTeX bibliography file was created using BibDesk.
%% http://bibdesk.sourceforge.net/

%% Created for Cameron Keith at 2014-12-07 15:39:36 -0600

%% Saved with string encoding Unicode (UTF-8)

@article{6574961,
	Author = {Peijian Ju and Wei Song and Dizhi Zhou},
	Doi = {10.1049/iet-com.2012.0739},
	Issn = {1751-8628},
	Journal = {Communications, IET},
	Keywords = {access protocols;radio networks;wireless channels;MAC layer;MAC protocols;channel capacity;channel fading;channel variation;cooperative communications;cooperative medium access control protocols;mobile terminals;spatial diversity;wireless communication networks},
	Month = {June},
	Number = {9},
	Pages = {893-902},
	Title = {Survey on cooperative medium access control protocols},
	Volume = {7},
	Year = {2013},
	Bdsk-Url-1 = {http://dx.doi.org/10.1049/iet-com.2012.0739}}

@article{4548143,
	Author = {Ma, R.T.B. and Misra, V. and Rubenstein, D.},
	Doi = {10.1109/TNET.2008.925633},
	Issn = {1063-6692},
	Journal = {Networking, IEEE/ACM Transactions on},
	Keywords = {Markov processes;access protocols;channel allocation;probability;MAC protocols;Markov models;channel utilization;generalized slotted-Aloha protocols;medium access control;multiple transmitting devices;probability;randomly selected slots;two-state system;MAC protocols;Markovian decision;Prisoner's Dilemma;Stackelberg Game;short-term fairness;slotted-Aloha},
	Month = {June},
	Number = {3},
	Pages = {936-949},
	Title = {An Analysis of Generalized Slotted-Aloha Protocols},
	Volume = {17},
	Year = {2009},
	Bdsk-Url-1 = {http://dx.doi.org/10.1109/TNET.2008.925633}}

@article{6336861,
	Author = {Stefanovic, C. and Popovski, P. and Vukobratovic, D.},
	Doi = {10.1109/LCOMM.2012.101712.121073},
	Issn = {1089-7798},
	Journal = {Communications Letters, IEEE},
	Keywords = {access protocols;interference suppression;iterative decoding;probability;radio networks;current contention process;distributed random access scheme;erasure channels;frameless ALOHA protocol;iterative belief-propagation decoding;rateless codes;resolution probability;slot access probability;slotted ALOHA;successive interference cancellation;user transmissions;wireless link;wireless networks;Interference;Iterative decoding;Protocols;Random media;Throughput;Upper bound;Wireless networks;Random access schemes;rateless codes;slotted ALOHA;successive interference cancellation},
	Month = {December},
	Number = {12},
	Pages = {2087-2090},
	Title = {Frameless ALOHA Protocol for Wireless Networks},
	Volume = {16},
	Year = {2012},
	Bdsk-Url-1 = {http://dx.doi.org/10.1109/LCOMM.2012.101712.121073}}

@inproceedings{869217,
	Author = {Bensaou, B. and Yu Wang and Chi Chung Ko},
	Booktitle = {Mobile and Ad Hoc Networking and Computing, 2000. MobiHOC. 2000 First Annual Workshop on},
	Doi = {10.1109/MOBHOC.2000.869217},
	Keywords = {IEEE standards;access protocols;land mobile radio;network topology;queueing theory;radio networks;telecommunication standards;802.11 based wireless ad-hoc networks;DFWMAC;Distributed Foundation Wireless Medium Access Control;IEEE 802.11;IEEE 802.11 DFWMAC;MAC protocol;broadcast channel sharing;capture effects;dynamic multihop wireless network;fair medium access;fairness index;fairness problem;hidden terminal problem;medium access control protocol;mobile stations;partially-connected network topology;simulation results;wireline networks;Access protocols;Ad hoc networks;Collision avoidance;Intelligent networks;Media Access Protocol;Throughput;Wireless LAN;Wireless application protocol;Wireless communication;Wireless sensor networks},
	Pages = {99-106},
	Title = {Fair medium access in 802.11 based wireless ad-hoc networks},
	Year = {2000},
	Bdsk-Url-1 = {http://dx.doi.org/10.1109/MOBHOC.2000.869217}}

@article{5340799,
	Author = {Gummalla, Ajay Chandra V. and Limb, John O.},
	Doi = {10.1109/COMST.2000.5340799},
	Issn = {1553-877X},
	Journal = {Communications Surveys Tutorials, IEEE},
	Keywords = {Access protocols;Bandwidth;Communication cables;Media Access Protocol;Planets;Quality of service;Telephony;Wireless application protocol;Wireless networks;Wireless sensor networks},
	Month = {Second},
	Number = {2},
	Pages = {2-15},
	Title = {Wireless medium access control protocols},
	Volume = {3},
	Year = {2000},
	Bdsk-Url-1 = {http://dx.doi.org/10.1109/COMST.2000.5340799}}

@article{FairScheduling,
	Acmid = {263141},
	Address = {New York, NY, USA},
	Author = {Lu, Songwu and Bharghavan, Vaduvur and Srikant, Rayadurgam},
	Doi = {10.1145/263109.263141},
	Issn = {0146-4833},
	Issue_Date = {Oct. 1997},
	Journal = {SIGCOMM Comput. Commun. Rev.},
	Month = oct,
	Number = {4},
	Numpages = {12},
	Pages = {63--74},
	Publisher = {ACM},
	Title = {Fair Scheduling in Wireless Packet Networks},
	Url = {http://doi.acm.org/10.1145/263109.263141},
	Volume = {27},
	Year = {1997},
	Bdsk-Url-1 = {http://doi.acm.org/10.1145/263109.263141},
	Bdsk-Url-2 = {http://dx.doi.org/10.1145/263109.263141}}

@inproceedings{Kyasanur,
	Author = {Kyasanur, P. and Vaidya, N.F.},
	Booktitle = {Dependable Systems and Networks, 2003. Proceedings. 2003 International Conference on},
	Doi = {10.1109/DSN.2003.1209928},
	Keywords = {Access protocols;Bandwidth;Computer science;Counting circuits;Data communication;Distributed computing;Intelligent networks;Media Access Protocol;Wireless application protocol;Wireless networks},
	Month = {June},
	Pages = {173-182},
	Title = {Detection and handling of MAC layer misbehavior in wireless networks},
	Year = {2003},
	Bdsk-Url-1 = {http://dx.doi.org/10.1109/DSN.2003.1209928}}

@article{1492362,
	Author = {Kyasanur, P. and Vaidya, N.F.},
	Doi = {10.1109/TMC.2005.71},
	Issn = {1536-1233},
	Journal = {Mobile Computing, IEEE Transactions on},
	Keywords = {access protocols;telecommunication channels;wireless LAN;IEEE 802.11;MAC protocol;distributed contention resolution mechanisms;misbehaving hosts;selfish MAC layer misbehavior;wireless channel;wireless medium access control protocols;wireless networks;Access protocols;Ad hoc networks;Base stations;Counting circuits;Intelligent networks;Media Access Protocol;Monitoring;Throughput;Wireless application protocol;Wireless networks;Index Terms- Wireless communication;network monitoring;network-level security and protection.;public networks},
	Month = {Sept},
	Number = {5},
	Pages = {502-516},
	Title = {Selfish MAC layer misbehavior in wireless networks},
	Volume = {4},
	Year = {2005},
	Bdsk-Url-1 = {http://dx.doi.org/10.1109/TMC.2005.71}}

@inproceedings{DDoS,
	Author = {Gupta, V. and Krishnamurthy, S. and Faloutsos, Michalis},
	Booktitle = {MILCOM 2002. Proceedings},
	Doi = {10.1109/MILCOM.2002.1179634},
	Keywords = {access protocols;ad hoc networks;military communication;mobile radio;telecommunication congestion control;telecommunication security;telecommunication traffic;IEEE 802.11;MAC layer;MAC protocol;congestion pockets;denial of service attacks;medium access control protocol;mobile ad hoc networks;tactical battlefield missions;traffic patterns;wireless ad hoc networks;Access protocols;Ad hoc networks;Bandwidth;Communication system traffic control;Computer crime;Intelligent networks;Media Access Protocol;Mobile ad hoc networks;Routing;Wireless networks},
	Month = {Oct},
	Pages = {1118-1123 vol.2},
	Title = {Denial of service attacks at the MAC layer in wireless ad hoc networks},
	Volume = {2},
	Year = {2002},
	Bdsk-Url-1 = {http://dx.doi.org/10.1109/MILCOM.2002.1179634}}

@article{schrage,
	Author = {Schrage, Linus E. and Miller, Louis W.},
	Doi = {10.1287/opre.14.4.670},
	Eprint = {http://dx.doi.org/10.1287/opre.14.4.670},
	Journal = {Operations Research},
	Number = {4},
	Pages = {670-684},
	Title = {The Queue M/G/1 with the Shortest Remaining Processing Time Discipline},
	Url = {http://dx.doi.org/10.1287/opre.14.4.670},
	Volume = {14},
	Year = {1966},
	Bdsk-Url-1 = {http://dx.doi.org/10.1287/opre.14.4.670}}

@article{Suresh,
	Author = {Shanthi, M. and Suresh, S.},
	Journal = {International Journal of Innovative Research in Science, Engineering and Technology},
	Keywords = {Hidden markov model, selfish carrier sense, coordinated sampling},
	Month = {Feb},
	Number = {1},
	Title = {Detecting MAC Layer Misbehavior in Wifi Networks by Co-ordinated Sampling of Network Monitoring},
	Volume = {3},
	Year = {2014}}

@inproceedings{Lucani,
	Author = {Lucani, D.E. and Badra, R.E. and Bianchi, C.M.},
	Booktitle = {Vehicular Technology Conference, 2007. VTC-2007 Fall. 2007 IEEE 66th},
	Doi = {10.1109/VETECF.2007.356},
	Issn = {1090-3038},
	Keywords = {Internet telephony;access protocols;telecommunication traffic;wireless LAN;FAIR algorithm;IEEE 802.11 networks;VoIP capacity;WiFi networks;distributed control function MAC protocol;voice over IP;Access protocols;Algorithm design and analysis;Communication system traffic control;Delay;Distributed control;Downlink;Internet telephony;Media Access Protocol;Telecommunication traffic;Traffic control},
	Month = {Sept},
	Pages = {1684-1688},
	Title = {Increasing VoIP Capacity on WiFi Networks through the Use of the FAIR Algorithm for MAC},
	Year = {2007},
	Bdsk-Url-1 = {http://dx.doi.org/10.1109/VETECF.2007.356}}

@inproceedings{Domino,
	Acmid = {990077},
	Address = {New York, NY, USA},
	Author = {Raya, Maxim and Hubaux, Jean-Pierre and Aad, Imad},
	Booktitle = {Proceedings of the 2Nd International Conference on Mobile Systems, Applications, and Services},
	Doi = {10.1145/990064.990077},
	Isbn = {1-58113-793-1},
	Keywords = {IEEE 802.11, MAC, WISP, hotspot, misbehavior, wireless LAN},
	Location = {Boston, MA, USA},
	Numpages = {14},
	Pages = {84--97},
	Publisher = {ACM},
	Series = {MobiSys '04},
	Title = {DOMINO: A System to Detect Greedy Behavior in IEEE 802.11 Hotspots},
	Url = {http://doi.acm.org/10.1145/990064.990077},
	Year = {2004},
	Bdsk-Url-1 = {http://doi.acm.org/10.1145/990064.990077},
	Bdsk-Url-2 = {http://dx.doi.org/10.1145/990064.990077}}

@article{Douceur,
	Acmid = {301480},
	Address = {New York, NY, USA},
	Author = {Douceur, John R. and Bolosky, William J.},
	Doi = {10.1145/301464.301480},
	Issn = {0163-5999},
	Issue_Date = {June 1999},
	Journal = {SIGMETRICS Perform. Eval. Rev.},
	Keywords = {analytical modeling, directory hierarchy, file-system contents, static data snapshot, workload characterization},
	Month = {may},
	Number = {1},
	Numpages = {12},
	Pages = {59--70},
	Publisher = {ACM},
	Title = {A Large-scale Study of File-system Contents},
	Url = {http://doi.acm.org/10.1145/301464.301480},
	Volume = {27},
	Year = {1999},
	Bdsk-Url-1 = {http://doi.acm.org/10.1145/301464.301480},
	Bdsk-Url-2 = {http://dx.doi.org/10.1145/301464.301480}}

@article{Parek,
	Acmid = {187047},
	Address = {Piscataway, NJ, USA},
	Author = {Parekh, Abhay K. and Gallagher, Robert G.},
	Doi = {10.1109/90.298432},
	Issn = {1063-6692},
	Issue_Date = {April 1994},
	Journal = {IEEE/ACM Trans. Netw.},
	Month = {apr},
	Number = {2},
	Numpages = {14},
	Pages = {137--150},
	Publisher = {IEEE Press},
	Title = {A Generalized Processor Sharing Approach to Flow Control in Integrated Services Networks: The Multiple Node Case},
	Url = {http://dx.doi.org/10.1109/90.298432},
	Volume = {2},
	Year = {1994},
	Bdsk-Url-1 = {http://dx.doi.org/10.1109/90.298432}}

@inproceedings{demers,
	Author = {Demers, Alan and Keshav, Srinivasan and Shenker, Scott},
	Booktitle = {ACM SIGCOMM Computer Communication Review},
	Number = {4},
	Organization = {ACM},
	Pages = {1--12},
	Title = {Analysis and simulation of a fair queueing algorithm},
	Volume = {19},
	Year = {1989},}

@article{Unfair,
	Acmid = {378792},
	Address = {New York, NY, USA},
	Author = {Bansal, Nikhil and Harchol-Balter, Mor},
	Doi = {10.1145/384268.378792},
	Issn = {0163-5999},
	Issue_Date = {June 2001},
	Journal = {SIGMETRICS Perform. Eval. Rev.},
	Month = jun,
	Number = {1},
	Numpages = {12},
	Pages = {279--290},
	Publisher = {ACM},
	Title = {Analysis of SRPT Scheduling: Investigating Unfairness},
	Url = {http://doi.acm.org/10.1145/384268.378792},
	Volume = {29},
	Year = {2001},}

@article{Gonzalez,
	Acmid = {356700},
	Address = {New York, NY, USA},
	Author = {Gonzalez,Jr., Mario J.},
	Doi = {10.1145/356698.356700},
	Issn = {0360-0300},
	Issue_Date = {Sept. 1977},
	Journal = {ACM Comput. Surv.},
	Month = {sep},
	Number = {3},
	Numpages = {32},
	Pages = {173--204},
	Publisher = {ACM},
	Title = {Deterministic Processor Scheduling},
	Url = {http://doi.acm.org/10.1145/356698.356700},
	Volume = {9},
	Year = {1977},
	Bdsk-Url-1 = {http://doi.acm.org/10.1145/356698.356700},
	Bdsk-Url-2 = {http://dx.doi.org/10.1145/356698.356700}}

@article{Harchol,
 author = {Harchol-Balter, Mor and Schroeder, Bianca and Bansal, Nikhil and Agrawal, Mukesh},
 title = {Size-based Scheduling to Improve Web Performance},
 journal = {ACM Trans. Comput. Syst.},
 issue_date = {May 2003},
 volume = {21},
 number = {2},
 month = may,
 year = {2003},
 issn = {0734-2071},
 pages = {207--233},
 numpages = {27},
 url = {http://doi.acm.org/10.1145/762483.762486},
 doi = {10.1145/762483.762486},
 acmid = {762486},
 publisher = {ACM},
 address = {New York, NY, USA},
 keywords = {Conservation law, SJF, SRPT, networking, scheduling, system performance and design, web servers},
}

url: https://raw.githubusercontent.com/Marfle-Bark/myHUMPS/5e318db8b135660cd39f27130e9a917e606698fe/CSE 4344 Project Paper Second Attempt/unfairMACPaperbib.bib

repository: Marfle-Bark/myHUMPS

repo_name: Marfle-Bark/myHUMPS


text:
package controller

import (
	"github.com/labstack/echo"
	"github.com/previousdeveloper/flagger-dashboard/pkg/client"
	"net/http"
)

type CanaryController struct {
	K8sClient client.K8sOperation
}

func (controller *CanaryController) Hello(c echo.Context) error {
	namespace := c.Param("namespace")
	result, err := controller.K8sClient.GetResourceByNamespace(namespace)

	if err != nil {
		return c.JSON(500, err)
	}
	return c.JSON(http.StatusOK, result)
}

repository: previousdeveloper/flagger-dashboard

repo_name: previousdeveloper/flagger-dashboard