v1beta1

package
v0.0.0-...-0597a29 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

+groupName=operator.openshift.io

Index

Constants

This section is empty.

Variables

View Source
var (
	GroupName    = "operator.openshift.io"
	GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}

	// Install is a function which adds this version to a scheme
	Install = schemeBuilder.AddToScheme

	// SchemeGroupVersion generated code relies on this name
	// Deprecated
	SchemeGroupVersion = GroupVersion
	// AddToScheme exists solely to keep the old generators creating valid code
	// DEPRECATED
	AddToScheme = schemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource generated code relies on this being here, but it logically belongs to the group DEPRECATED

Types

type MyOtherOperatorResource

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

	// +kubebuilder:validation:Required
	// +required
	Spec MyOtherOperatorResourceSpec `json:"spec"`
}

MyOtherOperatorResource is an example operator configuration type

type MyOtherOperatorResourceSpec

type MyOtherOperatorResourceSpec struct {
	Name            string `json:"name"`
	DeprecatedField string `json:"deprecatedField"`

	// +kubebuilder:validation:Pattern=^(Managed|Unmanaged)$
	OverwritePattern string `json:"overwritePattern"`
}

Jump to

Keyboard shortcuts

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