scalable-syslog: code.cloudfoundry.org/scalable-syslog/internal/api/v1 Index | Files

package scalablesyslog

import "code.cloudfoundry.org/scalable-syslog/internal/api/v1"

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

Package Files

adapter.pb.go doc.go

func RegisterAdapterServer Uses

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

type AdapterClient Uses

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 Uses

func NewAdapterClient(cc *grpc.ClientConn) AdapterClient

type AdapterServer Uses

type AdapterServer interface {
    ListBindings(context.Context, *ListBindingsRequest) (*ListBindingsResponse, error)
    CreateBinding(context.Context, *CreateBindingRequest) (*CreateBindingResponse, error)
    DeleteBinding(context.Context, *DeleteBindingRequest) (*DeleteBindingResponse, error)
}

type Binding Uses

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 Uses

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

func (*Binding) GetAppId Uses

func (m *Binding) GetAppId() string

func (*Binding) GetDrain Uses

func (m *Binding) GetDrain() string

func (*Binding) GetHostname Uses

func (m *Binding) GetHostname() string

func (*Binding) ProtoMessage Uses

func (*Binding) ProtoMessage()

func (*Binding) Reset Uses

func (m *Binding) Reset()

func (*Binding) String Uses

func (m *Binding) String() string

type CreateBindingRequest Uses

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

func (*CreateBindingRequest) Descriptor Uses

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

func (*CreateBindingRequest) GetBinding Uses

func (m *CreateBindingRequest) GetBinding() *Binding

func (*CreateBindingRequest) ProtoMessage Uses

func (*CreateBindingRequest) ProtoMessage()

func (*CreateBindingRequest) Reset Uses

func (m *CreateBindingRequest) Reset()

func (*CreateBindingRequest) String Uses

func (m *CreateBindingRequest) String() string

type CreateBindingResponse Uses

type CreateBindingResponse struct {
}

func (*CreateBindingResponse) Descriptor Uses

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

func (*CreateBindingResponse) ProtoMessage Uses

func (*CreateBindingResponse) ProtoMessage()

func (*CreateBindingResponse) Reset Uses

func (m *CreateBindingResponse) Reset()

func (*CreateBindingResponse) String Uses

func (m *CreateBindingResponse) String() string

type DeleteBindingRequest Uses

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

func (*DeleteBindingRequest) Descriptor Uses

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

func (*DeleteBindingRequest) GetBinding Uses

func (m *DeleteBindingRequest) GetBinding() *Binding

func (*DeleteBindingRequest) ProtoMessage Uses

func (*DeleteBindingRequest) ProtoMessage()

func (*DeleteBindingRequest) Reset Uses

func (m *DeleteBindingRequest) Reset()

func (*DeleteBindingRequest) String Uses

func (m *DeleteBindingRequest) String() string

type DeleteBindingResponse Uses

type DeleteBindingResponse struct {
}

func (*DeleteBindingResponse) Descriptor Uses

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

func (*DeleteBindingResponse) ProtoMessage Uses

func (*DeleteBindingResponse) ProtoMessage()

func (*DeleteBindingResponse) Reset Uses

func (m *DeleteBindingResponse) Reset()

func (*DeleteBindingResponse) String Uses

func (m *DeleteBindingResponse) String() string

type ListBindingsRequest Uses

type ListBindingsRequest struct {
}

func (*ListBindingsRequest) Descriptor Uses

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

func (*ListBindingsRequest) ProtoMessage Uses

func (*ListBindingsRequest) ProtoMessage()

func (*ListBindingsRequest) Reset Uses

func (m *ListBindingsRequest) Reset()

func (*ListBindingsRequest) String Uses

func (m *ListBindingsRequest) String() string

type ListBindingsResponse Uses

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

func (*ListBindingsResponse) Descriptor Uses

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

func (*ListBindingsResponse) GetBindings Uses

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

func (*ListBindingsResponse) ProtoMessage Uses

func (*ListBindingsResponse) ProtoMessage()

func (*ListBindingsResponse) Reset Uses

func (m *ListBindingsResponse) Reset()

func (*ListBindingsResponse) String Uses

func (m *ListBindingsResponse) String() string

Package scalablesyslog imports 5 packages (graph) and is imported by 7 packages. Updated 2018-06-19. Refresh now. Tools for package owners.