proto

package
v0.11.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDockerLoggerServer

func RegisterDockerLoggerServer(s *grpc.Server, srv DockerLoggerServer)

Types

type DockerLoggerClient

type DockerLoggerClient interface {
	Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error)
	Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error)
}

DockerLoggerClient is the client API for DockerLogger service.

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

type DockerLoggerServer

type DockerLoggerServer interface {
	Start(context.Context, *StartRequest) (*StartResponse, error)
	Stop(context.Context, *StopRequest) (*StopResponse, error)
}

DockerLoggerServer is the server API for DockerLogger service.

type StartRequest

type StartRequest struct {
	Endpoint             string   `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	ContainerId          string   `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	StdoutFifo           string   `protobuf:"bytes,3,opt,name=stdout_fifo,json=stdoutFifo,proto3" json:"stdout_fifo,omitempty"`
	StderrFifo           string   `protobuf:"bytes,4,opt,name=stderr_fifo,json=stderrFifo,proto3" json:"stderr_fifo,omitempty"`
	TlsCert              string   `protobuf:"bytes,5,opt,name=tls_cert,json=tlsCert,proto3" json:"tls_cert,omitempty"`
	TlsKey               string   `protobuf:"bytes,6,opt,name=tls_key,json=tlsKey,proto3" json:"tls_key,omitempty"`
	TlsCa                string   `protobuf:"bytes,7,opt,name=tls_ca,json=tlsCa,proto3" json:"tls_ca,omitempty"`
	Tty                  bool     `protobuf:"varint,8,opt,name=tty,proto3" json:"tty,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartRequest) Descriptor

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

func (*StartRequest) GetContainerId

func (m *StartRequest) GetContainerId() string

func (*StartRequest) GetEndpoint

func (m *StartRequest) GetEndpoint() string

func (*StartRequest) GetStderrFifo

func (m *StartRequest) GetStderrFifo() string

func (*StartRequest) GetStdoutFifo

func (m *StartRequest) GetStdoutFifo() string

func (*StartRequest) GetTlsCa

func (m *StartRequest) GetTlsCa() string

func (*StartRequest) GetTlsCert

func (m *StartRequest) GetTlsCert() string

func (*StartRequest) GetTlsKey

func (m *StartRequest) GetTlsKey() string

func (*StartRequest) GetTty added in v0.9.1

func (m *StartRequest) GetTty() bool

func (*StartRequest) ProtoMessage

func (*StartRequest) ProtoMessage()

func (*StartRequest) Reset

func (m *StartRequest) Reset()

func (*StartRequest) String

func (m *StartRequest) String() string

func (*StartRequest) XXX_DiscardUnknown

func (m *StartRequest) XXX_DiscardUnknown()

func (*StartRequest) XXX_Marshal

func (m *StartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartRequest) XXX_Merge

func (m *StartRequest) XXX_Merge(src proto.Message)

func (*StartRequest) XXX_Size

func (m *StartRequest) XXX_Size() int

func (*StartRequest) XXX_Unmarshal

func (m *StartRequest) XXX_Unmarshal(b []byte) error

type StartResponse

type StartResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartResponse) Descriptor

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

func (*StartResponse) ProtoMessage

func (*StartResponse) ProtoMessage()

func (*StartResponse) Reset

func (m *StartResponse) Reset()

func (*StartResponse) String

func (m *StartResponse) String() string

func (*StartResponse) XXX_DiscardUnknown

func (m *StartResponse) XXX_DiscardUnknown()

func (*StartResponse) XXX_Marshal

func (m *StartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartResponse) XXX_Merge

func (m *StartResponse) XXX_Merge(src proto.Message)

func (*StartResponse) XXX_Size

func (m *StartResponse) XXX_Size() int

func (*StartResponse) XXX_Unmarshal

func (m *StartResponse) XXX_Unmarshal(b []byte) error

type StopRequest

type StopRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StopRequest) Descriptor

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

func (*StopRequest) ProtoMessage

func (*StopRequest) ProtoMessage()

func (*StopRequest) Reset

func (m *StopRequest) Reset()

func (*StopRequest) String

func (m *StopRequest) String() string

func (*StopRequest) XXX_DiscardUnknown

func (m *StopRequest) XXX_DiscardUnknown()

func (*StopRequest) XXX_Marshal

func (m *StopRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StopRequest) XXX_Merge

func (m *StopRequest) XXX_Merge(src proto.Message)

func (*StopRequest) XXX_Size

func (m *StopRequest) XXX_Size() int

func (*StopRequest) XXX_Unmarshal

func (m *StopRequest) XXX_Unmarshal(b []byte) error

type StopResponse

type StopResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StopResponse) Descriptor

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

func (*StopResponse) ProtoMessage

func (*StopResponse) ProtoMessage()

func (*StopResponse) Reset

func (m *StopResponse) Reset()

func (*StopResponse) String

func (m *StopResponse) String() string

func (*StopResponse) XXX_DiscardUnknown

func (m *StopResponse) XXX_DiscardUnknown()

func (*StopResponse) XXX_Marshal

func (m *StopResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StopResponse) XXX_Merge

func (m *StopResponse) XXX_Merge(src proto.Message)

func (*StopResponse) XXX_Size

func (m *StopResponse) XXX_Size() int

func (*StopResponse) XXX_Unmarshal

func (m *StopResponse) XXX_Unmarshal(b []byte) error

type UnimplementedDockerLoggerServer added in v0.11.0

type UnimplementedDockerLoggerServer struct {
}

UnimplementedDockerLoggerServer can be embedded to have forward compatible implementations.

func (*UnimplementedDockerLoggerServer) Start added in v0.11.0

func (*UnimplementedDockerLoggerServer) Stop added in v0.11.0

Jump to

Keyboard shortcuts

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