v1

package
v0.0.0-...-2e8b443 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the v1 API group +kubebuilder:object:generate=true +groupName=magout.anqou.net

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "magout.anqou.net", 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 MastodonServer

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

	Spec   MastodonServerSpec   `json:"spec,omitempty"`
	Status MastodonServerStatus `json:"status,omitempty"`
}

MastodonServer is the Schema for the mastodons API.

func (*MastodonServer) DeepCopy

func (in *MastodonServer) DeepCopy() *MastodonServer

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

func (*MastodonServer) DeepCopyInto

func (in *MastodonServer) DeepCopyInto(out *MastodonServer)

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

func (*MastodonServer) DeepCopyObject

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

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

type MastodonServerList

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

MastodonServerList contains a list of MastodonServer.

func (*MastodonServerList) DeepCopy

func (in *MastodonServerList) DeepCopy() *MastodonServerList

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

func (*MastodonServerList) DeepCopyInto

func (in *MastodonServerList) DeepCopyInto(out *MastodonServerList)

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

func (*MastodonServerList) DeepCopyObject

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

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

type MastodonServerMigratingStatus

type MastodonServerMigratingStatus struct {
	Web       string `json:"web"`
	Sidekiq   string `json:"sidekiq"`
	Streaming string `json:"streaming"`
}

func (*MastodonServerMigratingStatus) DeepCopy

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

func (*MastodonServerMigratingStatus) DeepCopyInto

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

type MastodonServerSidekiqSpec

type MastodonServerSidekiqSpec struct {
	Image           string                      `json:"image"`
	EnvFrom         []corev1.EnvFromSource      `json:"envFrom,omitempty"`
	Labels          map[string]string           `json:"labels,omitempty"`
	Annotations     map[string]string           `json:"annotations,omitempty"`
	PodAnnotations  map[string]string           `json:"podAnnotations,omitempty"`
	PeriodicRestart *PeriodicRestartSpec        `json:"periodicRestart,omitempty"`
	Resources       corev1.ResourceRequirements `json:"resources,omitempty"`

	// +kubebuilder:default=1
	Replicas int32 `json:"replicas,omitempty"`
}

func (*MastodonServerSidekiqSpec) DeepCopy

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

func (*MastodonServerSidekiqSpec) DeepCopyInto

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

type MastodonServerSpec

type MastodonServerSpec struct {
	Web       MastodonServerWebSpec       `json:"web"`
	Streaming MastodonServerStreamingSpec `json:"streaming"`
	Sidekiq   MastodonServerSidekiqSpec   `json:"sidekiq"`
}

MastodonServerSpec defines the desired state of MastodonServer.

func (*MastodonServerSpec) DeepCopy

func (in *MastodonServerSpec) DeepCopy() *MastodonServerSpec

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

func (*MastodonServerSpec) DeepCopyInto

func (in *MastodonServerSpec) DeepCopyInto(out *MastodonServerSpec)

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

type MastodonServerStatus

type MastodonServerStatus struct {
	Migrating *MastodonServerMigratingStatus `json:"migrating,omitempty"`
}

MastodonServerStatus defines the observed state of MastodonServer.

func (*MastodonServerStatus) DeepCopy

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

func (*MastodonServerStatus) DeepCopyInto

func (in *MastodonServerStatus) DeepCopyInto(out *MastodonServerStatus)

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

type MastodonServerStreamingSpec

type MastodonServerStreamingSpec struct {
	Image           string                      `json:"image"`
	EnvFrom         []corev1.EnvFromSource      `json:"envFrom,omitempty"`
	Labels          map[string]string           `json:"labels,omitempty"`
	Annotations     map[string]string           `json:"annotations,omitempty"`
	PodAnnotations  map[string]string           `json:"podAnnotations,omitempty"`
	PeriodicRestart *PeriodicRestartSpec        `json:"periodicRestart,omitempty"`
	Resources       corev1.ResourceRequirements `json:"resources,omitempty"`

	// +kubebuilder:default=1
	Replicas int32 `json:"replicas,omitempty"`
}

func (*MastodonServerStreamingSpec) DeepCopy

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

func (*MastodonServerStreamingSpec) DeepCopyInto

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

type MastodonServerWebSpec

type MastodonServerWebSpec struct {
	Image           string                      `json:"image"`
	EnvFrom         []corev1.EnvFromSource      `json:"envFrom,omitempty"`
	Labels          map[string]string           `json:"labels,omitempty"`
	Annotations     map[string]string           `json:"annotations,omitempty"`
	PodAnnotations  map[string]string           `json:"podAnnotations,omitempty"`
	PeriodicRestart *PeriodicRestartSpec        `json:"periodicRestart,omitempty"`
	Resources       corev1.ResourceRequirements `json:"resources,omitempty"`

	// +kubebuilder:default=1
	Replicas int32 `json:"replicas,omitempty"`
}

func (*MastodonServerWebSpec) DeepCopy

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

func (*MastodonServerWebSpec) DeepCopyInto

func (in *MastodonServerWebSpec) DeepCopyInto(out *MastodonServerWebSpec)

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

type PeriodicRestartSpec

type PeriodicRestartSpec struct {
	Schedule string  `json:"schedule"`
	TimeZone *string `json:"timeZone,omitempty"`
}

func (*PeriodicRestartSpec) DeepCopy

func (in *PeriodicRestartSpec) DeepCopy() *PeriodicRestartSpec

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

func (*PeriodicRestartSpec) DeepCopyInto

func (in *PeriodicRestartSpec) DeepCopyInto(out *PeriodicRestartSpec)

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