v1alpha1

package
v0.0.0-...-43464fb Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

+versionName=v1alpha1 +groupName=utxo.com.br +kubebuilder:object:generate=true

Index

Constants

View Source
const (
	DefaultMonerodImage = "index.docker.io/utxobr/monerod@sha256:19ba5793c00375e7115469de9c14fcad928df5867c76ab5de099e83f646e175d"
)

Variables

View Source
var (
	SchemeGroupVersion = schema.GroupVersion{Group: "utxo.com.br", Version: "v1alpha1"}
	SchemeBuilder      = &scheme.Builder{GroupVersion: SchemeGroupVersion}
	AddToScheme        = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type MoneroMiningNodeSet

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

	Spec   MoneroMiningNodeSetSpec   `json:"spec,omitempty"`
	Status MoneroMiningNodeSetStatus `json:"status,omitempty"`
}

func (*MoneroMiningNodeSet) DeepCopy

func (in *MoneroMiningNodeSet) DeepCopy() *MoneroMiningNodeSet

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

func (*MoneroMiningNodeSet) DeepCopyInto

func (in *MoneroMiningNodeSet) DeepCopyInto(out *MoneroMiningNodeSet)

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

func (*MoneroMiningNodeSet) DeepCopyObject

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

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

type MoneroMiningNodeSetList

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

func (*MoneroMiningNodeSetList) DeepCopy

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

func (*MoneroMiningNodeSetList) DeepCopyInto

func (in *MoneroMiningNodeSetList) DeepCopyInto(out *MoneroMiningNodeSetList)

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

func (*MoneroMiningNodeSetList) DeepCopyObject

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

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

type MoneroMiningNodeSetSpec

type MoneroMiningNodeSetSpec struct {
	//+kubebuilder:default=1
	Replicas         uint32 `json:"replicas"`
	HardAntiAffinity bool   `json:"hardAntiAffinity,omitempty"`

	Xmrig XmrigConfig `json:"xmrig,omitempty"`
}

func (*MoneroMiningNodeSetSpec) DeepCopy

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

func (*MoneroMiningNodeSetSpec) DeepCopyInto

func (in *MoneroMiningNodeSetSpec) DeepCopyInto(out *MoneroMiningNodeSetSpec)

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

type MoneroMiningNodeSetStatus

type MoneroMiningNodeSetStatus struct {
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

func (*MoneroMiningNodeSetStatus) DeepCopy

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

func (*MoneroMiningNodeSetStatus) DeepCopyInto

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

type MoneroNetwork

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

	Spec   MoneroNetworkSpec   `json:"spec,omitempty"`
	Status MoneroNetworkStatus `json:"status,omitempty"`
}

func (*MoneroNetwork) DeepCopy

func (in *MoneroNetwork) DeepCopy() *MoneroNetwork

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

func (*MoneroNetwork) DeepCopyInto

func (in *MoneroNetwork) DeepCopyInto(out *MoneroNetwork)

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

func (*MoneroNetwork) DeepCopyObject

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

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

type MoneroNetworkList

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

func (*MoneroNetworkList) DeepCopy

func (in *MoneroNetworkList) DeepCopy() *MoneroNetworkList

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

func (*MoneroNetworkList) DeepCopyInto

func (in *MoneroNetworkList) DeepCopyInto(out *MoneroNetworkList)

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

func (*MoneroNetworkList) DeepCopyObject

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

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

type MoneroNetworkSpec

type MoneroNetworkSpec struct {
	//+kubebuilder:default=3
	Replicas uint32                `json:"replicas"`
	Template MoneroNetworkTemplate `json:"template"`
}

func (*MoneroNetworkSpec) DeepCopy

func (in *MoneroNetworkSpec) DeepCopy() *MoneroNetworkSpec

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

func (*MoneroNetworkSpec) DeepCopyInto

func (in *MoneroNetworkSpec) DeepCopyInto(out *MoneroNetworkSpec)

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

type MoneroNetworkStatus

type MoneroNetworkStatus struct {
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

func (*MoneroNetworkStatus) DeepCopy

func (in *MoneroNetworkStatus) DeepCopy() *MoneroNetworkStatus

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

func (*MoneroNetworkStatus) DeepCopyInto

func (in *MoneroNetworkStatus) DeepCopyInto(out *MoneroNetworkStatus)

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

type MoneroNetworkTemplate

type MoneroNetworkTemplate struct {
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MoneroNodeSetSpec `json:"spec"`
}

func (*MoneroNetworkTemplate) DeepCopy

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

func (*MoneroNetworkTemplate) DeepCopyInto

func (in *MoneroNetworkTemplate) DeepCopyInto(out *MoneroNetworkTemplate)

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

type MoneroNodeSet

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

	Spec   MoneroNodeSetSpec   `json:"spec,omitempty"`
	Status MoneroNodeSetStatus `json:"status,omitempty"`
}

func (*MoneroNodeSet) ApplyDefaults

func (self *MoneroNodeSet) ApplyDefaults()

func (*MoneroNodeSet) DeepCopy

func (in *MoneroNodeSet) DeepCopy() *MoneroNodeSet

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

func (*MoneroNodeSet) DeepCopyInto

func (in *MoneroNodeSet) DeepCopyInto(out *MoneroNodeSet)

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

func (*MoneroNodeSet) DeepCopyObject

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

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

type MoneroNodeSetList

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

func (*MoneroNodeSetList) DeepCopy

func (in *MoneroNodeSetList) DeepCopy() *MoneroNodeSetList

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

func (*MoneroNodeSetList) DeepCopyInto

func (in *MoneroNodeSetList) DeepCopyInto(out *MoneroNodeSetList)

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

func (*MoneroNodeSetList) DeepCopyObject

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

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

type MoneroNodeSetService

type MoneroNodeSetService struct {
	Type string `json:"type"`
}

func (*MoneroNodeSetService) DeepCopy

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

func (*MoneroNodeSetService) DeepCopyInto

func (in *MoneroNodeSetService) DeepCopyInto(out *MoneroNodeSetService)

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

type MoneroNodeSetSpec

type MoneroNodeSetSpec struct {
	Replicas         uint32               `json:"replicas,omitempty"`
	HardAntiAffinity bool                 `json:"hardAntiAffinity,omitempty"`
	DiskSize         string               `json:"diskSize,omitempty"`
	Service          MoneroNodeSetService `json:"service,omitempty"`
	StorageClass     string               `json:"storageClass,omitempty"`
	Tor              MoneroTorConfig      `json:"tor,omitempty"`

	Monerod MonerodConfig `json:"monerod,omitempty"`
}

func (*MoneroNodeSetSpec) ApplyDefaults

func (self *MoneroNodeSetSpec) ApplyDefaults()

func (*MoneroNodeSetSpec) DeepCopy

func (in *MoneroNodeSetSpec) DeepCopy() *MoneroNodeSetSpec

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

func (*MoneroNodeSetSpec) DeepCopyInto

func (in *MoneroNodeSetSpec) DeepCopyInto(out *MoneroNodeSetSpec)

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

type MoneroNodeSetStatus

type MoneroNodeSetStatus struct {
	Conditions []metav1.Condition  `json:"conditions,omitempty"`
	Tor        MoneroNodeStatusTor `json:"tor,omitempty"`
}

func (*MoneroNodeSetStatus) DeepCopy

func (in *MoneroNodeSetStatus) DeepCopy() *MoneroNodeSetStatus

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

func (*MoneroNodeSetStatus) DeepCopyInto

func (in *MoneroNodeSetStatus) DeepCopyInto(out *MoneroNodeSetStatus)

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

type MoneroNodeStatusTor

type MoneroNodeStatusTor struct {
	Address string `json:"address,omitempty"`
}

func (*MoneroNodeStatusTor) DeepCopy

func (in *MoneroNodeStatusTor) DeepCopy() *MoneroNodeStatusTor

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

func (*MoneroNodeStatusTor) DeepCopyInto

func (in *MoneroNodeStatusTor) DeepCopyInto(out *MoneroNodeStatusTor)

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

type MoneroTorConfig

type MoneroTorConfig struct {
	Enabled   bool                        `json:"enabled,omitempty"`
	SecretRef corev1.LocalObjectReference `json:"secretRef,omitempty"`
}

func (*MoneroTorConfig) DeepCopy

func (in *MoneroTorConfig) DeepCopy() *MoneroTorConfig

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

func (*MoneroTorConfig) DeepCopyInto

func (in *MoneroTorConfig) DeepCopyInto(out *MoneroTorConfig)

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

type MonerodConfig

type MonerodConfig struct {
	//+kubebuilder:default=""
	Image string   `json:"image,omitempty"`
	Args  []string `json:"args,omitempty"`
}

func (*MonerodConfig) ApplyDefaults

func (self *MonerodConfig) ApplyDefaults()

func (*MonerodConfig) DeepCopy

func (in *MonerodConfig) DeepCopy() *MonerodConfig

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

func (*MonerodConfig) DeepCopyInto

func (in *MonerodConfig) DeepCopyInto(out *MonerodConfig)

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

type XmrigConfig

type XmrigConfig struct {
	//+kubebuilder:default="index.docker.io/utxobr/xmrig@sha256:a0a231a6fc983885f7fb0ce68fffca027bb2fa032851539901b99ebbfd9140a1"
	Image string   `json:"image,omitempty"`
	Args  []string `json:"args,omitempty"`
}

func (*XmrigConfig) DeepCopy

func (in *XmrigConfig) DeepCopy() *XmrigConfig

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

func (*XmrigConfig) DeepCopyInto

func (in *XmrigConfig) DeepCopyInto(out *XmrigConfig)

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