scalablesyslog

package
v0.0.0-...-57f4fd1 Latest Latest
Warning

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

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

Documentation

Overview

Package scalablesyslog is a generated protocol buffer package.

It is generated from these files:

adapter.proto

It has these top-level messages:

Binding
ListBindingsRequest
ListBindingsResponse
CreateBindingRequest
CreateBindingResponse
DeleteBindingRequest
DeleteBindingResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAdapterServer

func RegisterAdapterServer(s *grpc.Server, srv AdapterServer)

Types

type AdapterClient

type AdapterClient interface {
	ListBindings(ctx context.Context, in *ListBindingsRequest, opts ...grpc.CallOption) (*ListBindingsResponse, error)
	CreateBinding(ctx context.Context, in *CreateBindingRequest, opts ...grpc.CallOption) (*CreateBindingResponse, error)
	DeleteBinding(ctx context.Context, in *DeleteBindingRequest, opts ...grpc.CallOption) (*DeleteBindingResponse, error)
}

func NewAdapterClient

func NewAdapterClient(cc *grpc.ClientConn) AdapterClient

type Binding

type Binding struct {
	AppId    string `protobuf:"bytes,1,opt,name=appId" json:"appId,omitempty"`
	Hostname string `protobuf:"bytes,2,opt,name=hostname" json:"hostname,omitempty"`
	Drain    string `protobuf:"bytes,3,opt,name=drain" json:"drain,omitempty"`
}

func (*Binding) Descriptor

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

func (*Binding) GetAppId

func (m *Binding) GetAppId() string

func (*Binding) GetDrain

func (m *Binding) GetDrain() string

func (*Binding) GetHostname

func (m *Binding) GetHostname() string

func (*Binding) ProtoMessage

func (*Binding) ProtoMessage()

func (*Binding) Reset

func (m *Binding) Reset()

func (*Binding) String

func (m *Binding) String() string

type CreateBindingRequest

type CreateBindingRequest struct {
	Binding *Binding `protobuf:"bytes,1,opt,name=binding" json:"binding,omitempty"`
}

func (*CreateBindingRequest) Descriptor

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

func (*CreateBindingRequest) GetBinding

func (m *CreateBindingRequest) GetBinding() *Binding

func (*CreateBindingRequest) ProtoMessage

func (*CreateBindingRequest) ProtoMessage()

func (*CreateBindingRequest) Reset

func (m *CreateBindingRequest) Reset()

func (*CreateBindingRequest) String

func (m *CreateBindingRequest) String() string

type CreateBindingResponse

type CreateBindingResponse struct {
}

func (*CreateBindingResponse) Descriptor

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

func (*CreateBindingResponse) ProtoMessage

func (*CreateBindingResponse) ProtoMessage()

func (*CreateBindingResponse) Reset

func (m *CreateBindingResponse) Reset()

func (*CreateBindingResponse) String

func (m *CreateBindingResponse) String() string

type DeleteBindingRequest

type DeleteBindingRequest struct {
	Binding *Binding `protobuf:"bytes,1,opt,name=binding" json:"binding,omitempty"`
}

func (*DeleteBindingRequest) Descriptor

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

func (*DeleteBindingRequest) GetBinding

func (m *DeleteBindingRequest) GetBinding() *Binding

func (*DeleteBindingRequest) ProtoMessage

func (*DeleteBindingRequest) ProtoMessage()

func (*DeleteBindingRequest) Reset

func (m *DeleteBindingRequest) Reset()

func (*DeleteBindingRequest) String

func (m *DeleteBindingRequest) String() string

type DeleteBindingResponse

type DeleteBindingResponse struct {
}

func (*DeleteBindingResponse) Descriptor

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

func (*DeleteBindingResponse) ProtoMessage

func (*DeleteBindingResponse) ProtoMessage()

func (*DeleteBindingResponse) Reset

func (m *DeleteBindingResponse) Reset()

func (*DeleteBindingResponse) String

func (m *DeleteBindingResponse) String() string

type ListBindingsRequest

type ListBindingsRequest struct {
}

func (*ListBindingsRequest) Descriptor

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

func (*ListBindingsRequest) ProtoMessage

func (*ListBindingsRequest) ProtoMessage()

func (*ListBindingsRequest) Reset

func (m *ListBindingsRequest) Reset()

func (*ListBindingsRequest) String

func (m *ListBindingsRequest) String() string

type ListBindingsResponse

type ListBindingsResponse struct {
	Bindings []*Binding `protobuf:"bytes,1,rep,name=bindings" json:"bindings,omitempty"`
}

func (*ListBindingsResponse) Descriptor

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

func (*ListBindingsResponse) GetBindings

func (m *ListBindingsResponse) GetBindings() []*Binding

func (*ListBindingsResponse) ProtoMessage

func (*ListBindingsResponse) ProtoMessage()

func (*ListBindingsResponse) Reset

func (m *ListBindingsResponse) Reset()

func (*ListBindingsResponse) String

func (m *ListBindingsResponse) String() string

Jump to

Keyboard shortcuts

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