v1alpha1

package
v0.0.0-...-38d9726 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the game v1alpha1 API group +kubebuilder:object:generate=true +groupName=game.marketplace.redhat.com

Index

Constants

View Source
const (
	ArcadeStatusOK      string = "OK"
	ArcadeStatusFailure string = "Failure"
	ArcadeStatusPending string = "Pending"
)

Different values for ArcadeStatus

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "game.marketplace.redhat.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Arcade

type Arcade struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ArcadeSpec   `json:"spec,omitempty"`
	Status ArcadeStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status Arcade is the Schema for the arcades API +operator-sdk:csv:customresourcedefinitions:displayName="Arcade Instance",resources={{Pod,v1,arcade-sample},{Deployment,v1,arcade-sample},{Service,v1,arcade-sample}}

func (*Arcade) DeepCopy

func (in *Arcade) DeepCopy() *Arcade

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Arcade.

func (*Arcade) DeepCopyInto

func (in *Arcade) DeepCopyInto(out *Arcade)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Arcade) DeepCopyObject

func (in *Arcade) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ArcadeList

type ArcadeList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Arcade `json:"items"`
}

ArcadeList contains a list of Arcade

func (*ArcadeList) DeepCopy

func (in *ArcadeList) DeepCopy() *ArcadeList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArcadeList.

func (*ArcadeList) DeepCopyInto

func (in *ArcadeList) DeepCopyInto(out *ArcadeList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArcadeList) DeepCopyObject

func (in *ArcadeList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ArcadeSpec

type ArcadeSpec struct {
	// Size field used to determine total number of Arcade deployments. This field is optional
	// +optional
	// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Size",xDescriptors="urn:alm:descriptor:io.kubernetes:size"
	Size int32 `json:"size,omitempty"`
}

ArcadeSpec defines the desired state of Arcade, through defined fields

func (*ArcadeSpec) DeepCopy

func (in *ArcadeSpec) DeepCopy() *ArcadeSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArcadeSpec.

func (*ArcadeSpec) DeepCopyInto

func (in *ArcadeSpec) DeepCopyInto(out *ArcadeSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ArcadeStatus

type ArcadeStatus struct {
	// Indicates the status of the Arcade instance; set to "OK" when Arcade instance is up
	// +operator-sdk:csv:customresourcedefinitions:type=status,displayName="ArcadeStatus",xDescriptors="urn:alm:descriptor:com.tectonic.ui:arcadeStatus"
	ArcadeStatus string `json:"arcadeStatus,omitempty"`
	// Provides additional information about a failure status
	// +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Reason",xDescriptors="urn:alm:descriptor:io.kubernetes.phase:reason"
	Reason string `json:"reason,omitempty"`
}

ArcadeStatus defines the observed state of Arcade +k8s:openapi-gen=true

func (*ArcadeStatus) DeepCopy

func (in *ArcadeStatus) DeepCopy() *ArcadeStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArcadeStatus.

func (*ArcadeStatus) DeepCopyInto

func (in *ArcadeStatus) DeepCopyInto(out *ArcadeStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL