v1beta1

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the cincinnati v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=cincinnati.openshift.io

Package v1beta1 contains API Schema definitions for the cincinnati v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=cincinnati.openshift.io

Index

Constants

View Source
const (
	// ConditionReconcileCompleted reports whether all required resources have been created
	// in the cluster and reflect the specified state.
	ConditionReconcileCompleted conditionsv1.ConditionType = "ReconcileCompleted"

	// ConditionRegistryCACertFound reports whether the cincinnati registry CA cert had been found
	ConditionRegistryCACertFound conditionsv1.ConditionType = "RegistryCACertFound"
)

Condition Types

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "cincinnati.openshift.io", Version: "v1beta1"}

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

Functions

Types

type Cincinnati

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

	Spec   CincinnatiSpec   `json:"spec,omitempty"`
	Status CincinnatiStatus `json:"status,omitempty"`
}

Cincinnati is the Schema for a Cincinnati service. +kubebuilder:subresource:status +kubebuilder:resource:path=cincinnatis,scope=Namespaced

func (*Cincinnati) DeepCopy

func (in *Cincinnati) DeepCopy() *Cincinnati

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

func (*Cincinnati) DeepCopyInto

func (in *Cincinnati) DeepCopyInto(out *Cincinnati)

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

func (*Cincinnati) DeepCopyObject

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

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

type CincinnatiList

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

CincinnatiList contains a list of Cincinnati

func (*CincinnatiList) DeepCopy

func (in *CincinnatiList) DeepCopy() *CincinnatiList

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

func (*CincinnatiList) DeepCopyInto

func (in *CincinnatiList) DeepCopyInto(out *CincinnatiList)

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

func (*CincinnatiList) DeepCopyObject

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

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

type CincinnatiSpec

type CincinnatiSpec struct {
	// +kubebuilder:validation:Minimum=1
	// Replicas is the number of pods to run. When >=2, a PodDisruptionBudget
	// will ensure that voluntary disruption leaves at least one Pod running at
	// all times.
	Replicas int32 `json:"replicas"`

	// Registry is the container registry to use, such as "quay.io".
	Registry string `json:"registry"`

	// Repository is the repository to use in the Registry, such as
	// "openshift-release-dev/ocp-release"
	Repository string `json:"repository"`

	// GraphDataImage is a container image that contains the Cincinnati graph
	// data. The data is copied to /var/lib/cincinnati/graph-data.
	GraphDataImage string `json:"graphDataImage"`
}

CincinnatiSpec defines the desired state of Cincinnati

func (*CincinnatiSpec) DeepCopy

func (in *CincinnatiSpec) DeepCopy() *CincinnatiSpec

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

func (*CincinnatiSpec) DeepCopyInto

func (in *CincinnatiSpec) DeepCopyInto(out *CincinnatiSpec)

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

type CincinnatiStatus

type CincinnatiStatus struct {
	// Conditions describe the state of the Cincinnati resource.
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +optional
	Conditions []conditionsv1.Condition `json:"conditions,omitempty"  patchStrategy:"merge" patchMergeKey:"type"`
}

CincinnatiStatus defines the observed state of Cincinnati

func (*CincinnatiStatus) DeepCopy

func (in *CincinnatiStatus) DeepCopy() *CincinnatiStatus

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

func (*CincinnatiStatus) DeepCopyInto

func (in *CincinnatiStatus) DeepCopyInto(out *CincinnatiStatus)

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