v1alpha1

package
v1.0.0-GAS.0...-9628651 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1 is the v1 version of the API. +groupName=bulutzincir

Package v1alpha1 for a ethereum crd

Package v1alpha1 for a sample crd

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var EthereumResource = bz.CustomResource{
	Name:    "ethereum",
	Plural:  "ethereums",
	Group:   "bulutzincir.io",
	Version: "v1alpha1",
	Scope:   apiextensionsv1beta1.NamespaceScoped,
	Kind:    reflect.TypeOf(Ethereum{}).Name(),
}
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "bulutzincir.io", Version: "v1alpha1"}

schemeGroupVersion is group version used to register these objects

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns back a Group qualified GroupResource

Types

type Ethereum

type Ethereum struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              EthereumSpec `json:"spec"`
}

func (*Ethereum) DeepCopy

func (in *Ethereum) DeepCopy() *Ethereum

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

func (*Ethereum) DeepCopyInto

func (in *Ethereum) DeepCopyInto(out *Ethereum)

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

func (*Ethereum) DeepCopyObject

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

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

type EthereumList

type EthereumList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []Ethereum `json:"items"`
}

func (*EthereumList) DeepCopy

func (in *EthereumList) DeepCopy() *EthereumList

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

func (*EthereumList) DeepCopyInto

func (in *EthereumList) DeepCopyInto(out *EthereumList)

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

func (*EthereumList) DeepCopyObject

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

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

type EthereumSpec

type EthereumSpec struct {
	Hello string `json:"hello"`
}

func (*EthereumSpec) DeepCopy

func (in *EthereumSpec) DeepCopy() *EthereumSpec

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

func (*EthereumSpec) DeepCopyInto

func (in *EthereumSpec) DeepCopyInto(out *EthereumSpec)

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

type NodeStatus

type NodeStatus struct {
	// Consensus is network consensus algorithm
	Consensus string `json:"consensus,omitempty"`
	// Network is the network this node is joining
	Network string `json:"network,omitempty"`
	// EnodeURL is the node URL
	EnodeURL string `json:"enodeURL,omitempty"`
}

Jump to

Keyboard shortcuts

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