v1

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the neo4j.msvc v1 API group +kubebuilder:object:generate=true +groupName=neo4j.msvc.kloudlite.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "neo4j.msvc.kloudlite.io", Version: "v1"}

	// 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 StandaloneService

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

	Spec   StandaloneServiceSpec `json:"spec"`
	Status rApi.Status           `json:"status,omitempty"`
}

StandaloneService is the Schema for the standaloneservices API

func (*StandaloneService) DeepCopy

func (in *StandaloneService) DeepCopy() *StandaloneService

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

func (*StandaloneService) DeepCopyInto

func (in *StandaloneService) DeepCopyInto(out *StandaloneService)

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

func (*StandaloneService) DeepCopyObject

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

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

func (*StandaloneService) EnsureGVK

func (s *StandaloneService) EnsureGVK()

func (*StandaloneService) GetEnsuredAnnotations

func (s *StandaloneService) GetEnsuredAnnotations() map[string]string

func (*StandaloneService) GetEnsuredLabels

func (s *StandaloneService) GetEnsuredLabels() map[string]string

func (*StandaloneService) GetStatus

func (s *StandaloneService) GetStatus() *rApi.Status

type StandaloneServiceList

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

StandaloneServiceList contains a list of StandaloneService

func (*StandaloneServiceList) DeepCopy

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

func (*StandaloneServiceList) DeepCopyInto

func (in *StandaloneServiceList) DeepCopyInto(out *StandaloneServiceList)

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

func (*StandaloneServiceList) DeepCopyObject

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

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

type StandaloneServiceSpec

type StandaloneServiceSpec struct {
	Region       string              `json:"region"`
	NodeSelector map[string]string   `json:"nodeSelector,omitempty"`
	Tolerations  []corev1.Toleration `json:"tolerations,omitempty"`

	// +kubebuilder:default=1
	ReplicaCount int          `json:"replicaCount,omitempty"`
	Resources    ct.Resources `json:"resources"`
}

StandaloneServiceSpec defines the desired state of StandaloneService

func (*StandaloneServiceSpec) DeepCopy

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

func (*StandaloneServiceSpec) DeepCopyInto

func (in *StandaloneServiceSpec) DeepCopyInto(out *StandaloneServiceSpec)

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