allinone

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_allinone_allinone_proto protoreflect.FileDescriptor

Functions

func RegisterAllInOneServiceServer

func RegisterAllInOneServiceServer(s *grpc.Server, srv AllInOneServiceServer)

Types

type AllInOneCreateRequest

type AllInOneCreateRequest struct {
	Name             string              `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace        string              `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Id               string              `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	Timestamp        int64               `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	PrevHash         string              `protobuf:"bytes,5,opt,name=prevHash,proto3" json:"prevHash,omitempty"`
	BlockInterval    int32               `protobuf:"varint,6,opt,name=blockInterval,proto3" json:"blockInterval,omitempty"`
	BlockLimit       int32               `protobuf:"varint,7,opt,name=blockLimit,proto3" json:"blockLimit,omitempty"`
	EnableTls        bool                `protobuf:"varint,8,opt,name=enableTls,proto3" json:"enableTls,omitempty"`
	ConsensusType    chain.ConsensusType `protobuf:"varint,9,opt,name=consensusType,proto3,enum=chain.ConsensusType" json:"consensusType,omitempty"`
	NetworkImage     string              `protobuf:"bytes,10,opt,name=networkImage,proto3" json:"networkImage,omitempty"`
	ConsensusImage   string              `protobuf:"bytes,11,opt,name=consensusImage,proto3" json:"consensusImage,omitempty"`
	ExecutorImage    string              `protobuf:"bytes,12,opt,name=executorImage,proto3" json:"executorImage,omitempty"`
	StorageImage     string              `protobuf:"bytes,13,opt,name=storageImage,proto3" json:"storageImage,omitempty"`
	ControllerImage  string              `protobuf:"bytes,14,opt,name=controllerImage,proto3" json:"controllerImage,omitempty"`
	KmsImage         string              `protobuf:"bytes,15,opt,name=kmsImage,proto3" json:"kmsImage,omitempty"`
	NodeCount        int32               `protobuf:"varint,16,opt,name=nodeCount,proto3" json:"nodeCount,omitempty"`
	StorageSize      int64               `protobuf:"varint,17,opt,name=storageSize,proto3" json:"storageSize,omitempty"`
	StorageClassName string              `protobuf:"bytes,18,opt,name=storageClassName,proto3" json:"storageClassName,omitempty"`
	LogLevel         string              `protobuf:"bytes,19,opt,name=logLevel,proto3" json:"logLevel,omitempty"`
	Version          string              `protobuf:"bytes,20,opt,name=version,proto3" json:"version,omitempty"`
	AdminAddress     string              `protobuf:"bytes,21,opt,name=adminAddress,proto3" json:"adminAddress,omitempty"`
	PullPolicy       string              `protobuf:"bytes,22,opt,name=pullPolicy,proto3" json:"pullPolicy,omitempty"`
	CpuRequest       string              `protobuf:"bytes,23,opt,name=cpuRequest,proto3" json:"cpuRequest,omitempty"`
	CpuLimit         string              `protobuf:"bytes,24,opt,name=cpuLimit,proto3" json:"cpuLimit,omitempty"`
	MemRequest       string              `protobuf:"bytes,25,opt,name=memRequest,proto3" json:"memRequest,omitempty"`
	MemLimit         string              `protobuf:"bytes,26,opt,name=memLimit,proto3" json:"memLimit,omitempty"`
	// contains filtered or unexported fields
}

func (*AllInOneCreateRequest) Descriptor deprecated

func (*AllInOneCreateRequest) Descriptor() ([]byte, []int)

Deprecated: Use AllInOneCreateRequest.ProtoReflect.Descriptor instead.

func (*AllInOneCreateRequest) GetAdminAddress

func (x *AllInOneCreateRequest) GetAdminAddress() string

func (*AllInOneCreateRequest) GetBlockInterval

func (x *AllInOneCreateRequest) GetBlockInterval() int32

func (*AllInOneCreateRequest) GetBlockLimit

func (x *AllInOneCreateRequest) GetBlockLimit() int32

func (*AllInOneCreateRequest) GetConsensusImage

func (x *AllInOneCreateRequest) GetConsensusImage() string

func (*AllInOneCreateRequest) GetConsensusType

func (x *AllInOneCreateRequest) GetConsensusType() chain.ConsensusType

func (*AllInOneCreateRequest) GetControllerImage

func (x *AllInOneCreateRequest) GetControllerImage() string

func (*AllInOneCreateRequest) GetCpuLimit added in v0.0.3

func (x *AllInOneCreateRequest) GetCpuLimit() string

func (*AllInOneCreateRequest) GetCpuRequest added in v0.0.3

func (x *AllInOneCreateRequest) GetCpuRequest() string

func (*AllInOneCreateRequest) GetEnableTls

func (x *AllInOneCreateRequest) GetEnableTls() bool

func (*AllInOneCreateRequest) GetExecutorImage

func (x *AllInOneCreateRequest) GetExecutorImage() string

func (*AllInOneCreateRequest) GetId

func (x *AllInOneCreateRequest) GetId() string

func (*AllInOneCreateRequest) GetKmsImage

func (x *AllInOneCreateRequest) GetKmsImage() string

func (*AllInOneCreateRequest) GetLogLevel

func (x *AllInOneCreateRequest) GetLogLevel() string

func (*AllInOneCreateRequest) GetMemLimit added in v0.0.3

func (x *AllInOneCreateRequest) GetMemLimit() string

func (*AllInOneCreateRequest) GetMemRequest added in v0.0.3

func (x *AllInOneCreateRequest) GetMemRequest() string

func (*AllInOneCreateRequest) GetName

func (x *AllInOneCreateRequest) GetName() string

func (*AllInOneCreateRequest) GetNamespace

func (x *AllInOneCreateRequest) GetNamespace() string

func (*AllInOneCreateRequest) GetNetworkImage

func (x *AllInOneCreateRequest) GetNetworkImage() string

func (*AllInOneCreateRequest) GetNodeCount

func (x *AllInOneCreateRequest) GetNodeCount() int32

func (*AllInOneCreateRequest) GetPrevHash

func (x *AllInOneCreateRequest) GetPrevHash() string

func (*AllInOneCreateRequest) GetPullPolicy

func (x *AllInOneCreateRequest) GetPullPolicy() string

func (*AllInOneCreateRequest) GetStorageClassName

func (x *AllInOneCreateRequest) GetStorageClassName() string

func (*AllInOneCreateRequest) GetStorageImage

func (x *AllInOneCreateRequest) GetStorageImage() string

func (*AllInOneCreateRequest) GetStorageSize

func (x *AllInOneCreateRequest) GetStorageSize() int64

func (*AllInOneCreateRequest) GetTimestamp

func (x *AllInOneCreateRequest) GetTimestamp() int64

func (*AllInOneCreateRequest) GetVersion

func (x *AllInOneCreateRequest) GetVersion() string

func (*AllInOneCreateRequest) ProtoMessage

func (*AllInOneCreateRequest) ProtoMessage()

func (*AllInOneCreateRequest) ProtoReflect

func (x *AllInOneCreateRequest) ProtoReflect() protoreflect.Message

func (*AllInOneCreateRequest) Reset

func (x *AllInOneCreateRequest) Reset()

func (*AllInOneCreateRequest) String

func (x *AllInOneCreateRequest) String() string

type AllInOneCreateResponse

type AllInOneCreateResponse struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*AllInOneCreateResponse) Descriptor deprecated

func (*AllInOneCreateResponse) Descriptor() ([]byte, []int)

Deprecated: Use AllInOneCreateResponse.ProtoReflect.Descriptor instead.

func (*AllInOneCreateResponse) GetName

func (x *AllInOneCreateResponse) GetName() string

func (*AllInOneCreateResponse) GetNamespace

func (x *AllInOneCreateResponse) GetNamespace() string

func (*AllInOneCreateResponse) ProtoMessage

func (*AllInOneCreateResponse) ProtoMessage()

func (*AllInOneCreateResponse) ProtoReflect

func (x *AllInOneCreateResponse) ProtoReflect() protoreflect.Message

func (*AllInOneCreateResponse) Reset

func (x *AllInOneCreateResponse) Reset()

func (*AllInOneCreateResponse) String

func (x *AllInOneCreateResponse) String() string

type AllInOneServiceClient

type AllInOneServiceClient interface {
	Create(ctx context.Context, in *AllInOneCreateRequest, opts ...grpc.CallOption) (*AllInOneCreateResponse, error)
}

AllInOneServiceClient is the client API for AllInOneService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type AllInOneServiceServer

type AllInOneServiceServer interface {
	Create(context.Context, *AllInOneCreateRequest) (*AllInOneCreateResponse, error)
}

AllInOneServiceServer is the server API for AllInOneService service.

type UnimplementedAllInOneServiceServer

type UnimplementedAllInOneServiceServer struct {
}

UnimplementedAllInOneServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAllInOneServiceServer) Create

Jump to

Keyboard shortcuts

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