/*
Copyright 2017 The Kubernetes Authors.

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

package apps

import (
	"k8s.io/apimachinery/pkg/runtime/schema"
	imageutils "k8s.io/kubernetes/test/utils/image"
)

// NOTE(claudiub): These constants should NOT be used as Pod Container Images.
const (
	NginxImageName = "nginx"
	RedisImageName = "redis"
)

var (
	// CronJobGroupVersionResourceAlpha unambiguously identifies a resource of cronjob with alpha status
	CronJobGroupVersionResourceAlpha = schema.GroupVersionResource{Group: "batch", Version: "v2alpha1", Resource: "cronjobs"}

	// CronJobGroupVersionResourceBeta unambiguously identifies a resource of cronjob with beta status
	CronJobGroupVersionResourceBeta = schema.GroupVersionResource{Group: "batch", Version: "v1beta1", Resource: "cronjobs"}

	// NautilusImage is the fully qualified URI to the Nautilus image
	NautilusImage = imageutils.GetE2EImage(imageutils.Nautilus)

	// KittenImage is the fully qualified URI to the Kitten image
	KittenImage = imageutils.GetE2EImage(imageutils.Kitten)

	// NginxImage is the fully qualified URI to the Nginx image
	NginxImage = imageutils.GetE2EImage(imageutils.Nginx)

	// NewNginxImage is the fully qualified URI to the NginxNew image
	NewNginxImage = imageutils.GetE2EImage(imageutils.NginxNew)

	// RedisImage is the fully qualified URI to the Redis image
	RedisImage = imageutils.GetE2EImage(imageutils.Redis)
)
