pb

package
v3.7.0-release+incompa... Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package pb is a generated protocol buffer package.

It is generated from these files:

app_runtime_sync.proto

It has these top-level messages:

Ignore
StatusRequest
StatusMessage
DiskMessage
ErrorMessage

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAppRuntimeSyncServer

func RegisterAppRuntimeSyncServer(s *grpc.Server, srv AppRuntimeSyncServer)

Types

type AppRuntimeSyncClient

type AppRuntimeSyncClient interface {
	GetAppStatus(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusMessage, error)
	GetAppDisk(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*DiskMessage, error)
	SetAppStatus(ctx context.Context, in *StatusMessage, opts ...grpc.CallOption) (*ErrorMessage, error)
	CheckAppStatus(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*ErrorMessage, error)
	IgnoreDeleteEvent(ctx context.Context, in *Ignore, opts ...grpc.CallOption) (*ErrorMessage, error)
	RmIgnoreDeleteEvent(ctx context.Context, in *Ignore, opts ...grpc.CallOption) (*ErrorMessage, error)
}

func NewAppRuntimeSyncClient

func NewAppRuntimeSyncClient(cc *grpc.ClientConn) AppRuntimeSyncClient

type AppRuntimeSyncServer

type AppRuntimeSyncServer interface {
	GetAppStatus(context.Context, *StatusRequest) (*StatusMessage, error)
	GetAppDisk(context.Context, *StatusRequest) (*DiskMessage, error)
	SetAppStatus(context.Context, *StatusMessage) (*ErrorMessage, error)
	CheckAppStatus(context.Context, *StatusRequest) (*ErrorMessage, error)
	IgnoreDeleteEvent(context.Context, *Ignore) (*ErrorMessage, error)
	RmIgnoreDeleteEvent(context.Context, *Ignore) (*ErrorMessage, error)
}

type DiskMessage

type DiskMessage struct {
	Disks map[string]float64 `` /* 132-byte string literal not displayed */
}

func (*DiskMessage) Descriptor

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

func (*DiskMessage) GetDisks

func (m *DiskMessage) GetDisks() map[string]float64

func (*DiskMessage) ProtoMessage

func (*DiskMessage) ProtoMessage()

func (*DiskMessage) Reset

func (m *DiskMessage) Reset()

func (*DiskMessage) String

func (m *DiskMessage) String() string

type ErrorMessage

type ErrorMessage struct {
	Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
}

func (*ErrorMessage) Descriptor

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

func (*ErrorMessage) GetMessage

func (m *ErrorMessage) GetMessage() string

func (*ErrorMessage) ProtoMessage

func (*ErrorMessage) ProtoMessage()

func (*ErrorMessage) Reset

func (m *ErrorMessage) Reset()

func (*ErrorMessage) String

func (m *ErrorMessage) String() string

type Ignore

type Ignore struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}

func (*Ignore) Descriptor

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

func (*Ignore) GetName

func (m *Ignore) GetName() string

func (*Ignore) ProtoMessage

func (*Ignore) ProtoMessage()

func (*Ignore) Reset

func (m *Ignore) Reset()

func (*Ignore) String

func (m *Ignore) String() string

type StatusMessage

type StatusMessage struct {
	Status map[string]string `` /* 132-byte string literal not displayed */
}

func (*StatusMessage) Descriptor

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

func (*StatusMessage) GetStatus

func (m *StatusMessage) GetStatus() map[string]string

func (*StatusMessage) ProtoMessage

func (*StatusMessage) ProtoMessage()

func (*StatusMessage) Reset

func (m *StatusMessage) Reset()

func (*StatusMessage) String

func (m *StatusMessage) String() string

type StatusRequest

type StatusRequest struct {
	ServiceIds string `protobuf:"bytes,1,opt,name=service_ids,json=serviceIds" json:"service_ids,omitempty"`
}

func (*StatusRequest) Descriptor

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

func (*StatusRequest) GetServiceIds

func (m *StatusRequest) GetServiceIds() string

func (*StatusRequest) ProtoMessage

func (*StatusRequest) ProtoMessage()

func (*StatusRequest) Reset

func (m *StatusRequest) Reset()

func (*StatusRequest) String

func (m *StatusRequest) String() string

Jump to

Keyboard shortcuts

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