/*
Copyright (c) 2023 Red Hat, Inc.

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.
*/

// ScheduleType defines which type of scheduling should be used for the upgrade policy.
enum ScheduleType {
	// Manual schedule type is for upgrades scheduled manually by a user, to a specific version, at a specific time.
	Manual

	// Automatic schedule type for automatically upgrade to the latest available version, at the next scheduled time,
	// as defined by the 'scheduled' cron expression. Note that by default, automatic upgrade will pick only
	// the latest Z stream. To enable minor version upgrades automatically, you will need to set the
	// 'enable_minor_version_upgrades' to be 'true'. Major version upgrades are not supported.
	Automatic
}
