v1

package
v0.0.0-...-9775977 Latest Latest
Warning

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

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

Documentation

Overview

Package v1 contains API Schema definitions for the automators v1 API group +kubebuilder:object:generate=true +groupName=automators.labs.nibz.science

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "automators.labs.nibz.science", 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 FactorioServer

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

	Spec   FactorioServerSpec   `json:"spec,omitempty"`
	Status FactorioServerStatus `json:"status,omitempty"`
}

FactorioServer is the Schema for the factorioservers API

func (*FactorioServer) DeepCopy

func (in *FactorioServer) DeepCopy() *FactorioServer

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

func (*FactorioServer) DeepCopyInto

func (in *FactorioServer) DeepCopyInto(out *FactorioServer)

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

func (*FactorioServer) DeepCopyObject

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

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

type FactorioServerList

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

FactorioServerList contains a list of FactorioServer

func (*FactorioServerList) DeepCopy

func (in *FactorioServerList) DeepCopy() *FactorioServerList

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

func (*FactorioServerList) DeepCopyInto

func (in *FactorioServerList) DeepCopyInto(out *FactorioServerList)

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

func (*FactorioServerList) DeepCopyObject

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

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

type FactorioServerSpec

type FactorioServerSpec struct {

	// Foo is an example field of FactorioServer. Edit FactorioServer_types.go to remove/update
	Foo string `json:"foo,omitempty"`

	// +optional
	EnableBackups bool `json:"enableBackups"`
}

FactorioServerSpec defines the desired state of FactorioServer

func (*FactorioServerSpec) DeepCopy

func (in *FactorioServerSpec) DeepCopy() *FactorioServerSpec

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

func (*FactorioServerSpec) DeepCopyInto

func (in *FactorioServerSpec) DeepCopyInto(out *FactorioServerSpec)

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

type FactorioServerStatus

type FactorioServerStatus struct {

	// Port is the port the server is listening on
	// +optional
	Port int32 `json:"port,omitempty"`

	// Online mean's the server is set up and ready for work
	Online string `json:"online"`

	// Active means users are connected and playing
	Active string `json:"active"`
}

FactorioServerStatus defines the observed state of FactorioServer

func (*FactorioServerStatus) DeepCopy

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

func (*FactorioServerStatus) DeepCopyInto

func (in *FactorioServerStatus) DeepCopyInto(out *FactorioServerStatus)

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