debug_api

package
v0.0.0-...-0490640 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SetLogLevelRequest_Level_name = map[int32]string{
	0: "UNKNOWN",
	1: "DEBUG",
	2: "INFO",
	3: "WARN",
	4: "FATAL",
}
View Source
var SetLogLevelRequest_Level_value = map[string]int32{
	"UNKNOWN": 0,
	"DEBUG":   1,
	"INFO":    2,
	"WARN":    3,
	"FATAL":   4,
}

Functions

func RegisterDebugServer

func RegisterDebugServer(s *grpc.Server, srv DebugServer)

Types

type Chunk

type Chunk struct {
	Chunk                []byte   `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Chunk) Descriptor

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

func (*Chunk) GetChunk

func (m *Chunk) GetChunk() []byte

func (*Chunk) ProtoMessage

func (*Chunk) ProtoMessage()

func (*Chunk) Reset

func (m *Chunk) Reset()

func (*Chunk) String

func (m *Chunk) String() string

func (*Chunk) XXX_DiscardUnknown

func (m *Chunk) XXX_DiscardUnknown()

func (*Chunk) XXX_Marshal

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

func (*Chunk) XXX_Merge

func (dst *Chunk) XXX_Merge(src proto.Message)

func (*Chunk) XXX_Size

func (m *Chunk) XXX_Size() int

func (*Chunk) XXX_Unmarshal

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

type DebugClient

type DebugClient interface {
	Trace(ctx context.Context, in *TraceRequest, opts ...grpc.CallOption) (Debug_TraceClient, error)
	Profile(ctx context.Context, in *ProfileRequest, opts ...grpc.CallOption) (Debug_ProfileClient, error)
	SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error)
	GetVersion(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error)
}

DebugClient is the client API for Debug service.

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

func NewDebugClient

func NewDebugClient(cc *grpc.ClientConn) DebugClient

type DebugServer

DebugServer is the server API for Debug service.

type Debug_ProfileClient

type Debug_ProfileClient interface {
	Recv() (*Chunk, error)
	grpc.ClientStream
}

type Debug_ProfileServer

type Debug_ProfileServer interface {
	Send(*Chunk) error
	grpc.ServerStream
}

type Debug_TraceClient

type Debug_TraceClient interface {
	Recv() (*Chunk, error)
	grpc.ClientStream
}

type Debug_TraceServer

type Debug_TraceServer interface {
	Send(*Chunk) error
	grpc.ServerStream
}

type ProfileRequest

type ProfileRequest struct {
	ProfileName          string             `protobuf:"bytes,1,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"`
	SampleRate           int64              `protobuf:"varint,2,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"`
	Duration             *duration.Duration `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*ProfileRequest) Descriptor

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

func (*ProfileRequest) GetDuration

func (m *ProfileRequest) GetDuration() *duration.Duration

func (*ProfileRequest) GetProfileName

func (m *ProfileRequest) GetProfileName() string

func (*ProfileRequest) GetSampleRate

func (m *ProfileRequest) GetSampleRate() int64

func (*ProfileRequest) ProtoMessage

func (*ProfileRequest) ProtoMessage()

func (*ProfileRequest) Reset

func (m *ProfileRequest) Reset()

func (*ProfileRequest) String

func (m *ProfileRequest) String() string

func (*ProfileRequest) XXX_DiscardUnknown

func (m *ProfileRequest) XXX_DiscardUnknown()

func (*ProfileRequest) XXX_Marshal

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

func (*ProfileRequest) XXX_Merge

func (dst *ProfileRequest) XXX_Merge(src proto.Message)

func (*ProfileRequest) XXX_Size

func (m *ProfileRequest) XXX_Size() int

func (*ProfileRequest) XXX_Unmarshal

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

type SetLogLevelRequest

type SetLogLevelRequest struct {
	Level                SetLogLevelRequest_Level `protobuf:"varint,1,opt,name=level,proto3,enum=chef.automate.api.debug.SetLogLevelRequest_Level" json:"level,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*SetLogLevelRequest) Descriptor

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

func (*SetLogLevelRequest) GetLevel

func (*SetLogLevelRequest) ProtoMessage

func (*SetLogLevelRequest) ProtoMessage()

func (*SetLogLevelRequest) Reset

func (m *SetLogLevelRequest) Reset()

func (*SetLogLevelRequest) String

func (m *SetLogLevelRequest) String() string

func (*SetLogLevelRequest) XXX_DiscardUnknown

func (m *SetLogLevelRequest) XXX_DiscardUnknown()

func (*SetLogLevelRequest) XXX_Marshal

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

func (*SetLogLevelRequest) XXX_Merge

func (dst *SetLogLevelRequest) XXX_Merge(src proto.Message)

func (*SetLogLevelRequest) XXX_Size

func (m *SetLogLevelRequest) XXX_Size() int

func (*SetLogLevelRequest) XXX_Unmarshal

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

type SetLogLevelRequest_Level

type SetLogLevelRequest_Level int32
const (
	SetLogLevelRequest_UNKNOWN SetLogLevelRequest_Level = 0
	SetLogLevelRequest_DEBUG   SetLogLevelRequest_Level = 1
	SetLogLevelRequest_INFO    SetLogLevelRequest_Level = 2
	SetLogLevelRequest_WARN    SetLogLevelRequest_Level = 3
	SetLogLevelRequest_FATAL   SetLogLevelRequest_Level = 4
)

func (SetLogLevelRequest_Level) EnumDescriptor

func (SetLogLevelRequest_Level) EnumDescriptor() ([]byte, []int)

func (SetLogLevelRequest_Level) String

func (x SetLogLevelRequest_Level) String() string

type SetLogLevelResponse

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

func (*SetLogLevelResponse) Descriptor

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

func (*SetLogLevelResponse) ProtoMessage

func (*SetLogLevelResponse) ProtoMessage()

func (*SetLogLevelResponse) Reset

func (m *SetLogLevelResponse) Reset()

func (*SetLogLevelResponse) String

func (m *SetLogLevelResponse) String() string

func (*SetLogLevelResponse) XXX_DiscardUnknown

func (m *SetLogLevelResponse) XXX_DiscardUnknown()

func (*SetLogLevelResponse) XXX_Marshal

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

func (*SetLogLevelResponse) XXX_Merge

func (dst *SetLogLevelResponse) XXX_Merge(src proto.Message)

func (*SetLogLevelResponse) XXX_Size

func (m *SetLogLevelResponse) XXX_Size() int

func (*SetLogLevelResponse) XXX_Unmarshal

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

type TraceRequest

type TraceRequest struct {
	Duration             *duration.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*TraceRequest) Descriptor

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

func (*TraceRequest) GetDuration

func (m *TraceRequest) GetDuration() *duration.Duration

func (*TraceRequest) ProtoMessage

func (*TraceRequest) ProtoMessage()

func (*TraceRequest) Reset

func (m *TraceRequest) Reset()

func (*TraceRequest) String

func (m *TraceRequest) String() string

func (*TraceRequest) XXX_DiscardUnknown

func (m *TraceRequest) XXX_DiscardUnknown()

func (*TraceRequest) XXX_Marshal

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

func (*TraceRequest) XXX_Merge

func (dst *TraceRequest) XXX_Merge(src proto.Message)

func (*TraceRequest) XXX_Size

func (m *TraceRequest) XXX_Size() int

func (*TraceRequest) XXX_Unmarshal

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

type VersionRequest

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

func (*VersionRequest) Descriptor

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

func (*VersionRequest) ProtoMessage

func (*VersionRequest) ProtoMessage()

func (*VersionRequest) Reset

func (m *VersionRequest) Reset()

func (*VersionRequest) String

func (m *VersionRequest) String() string

func (*VersionRequest) XXX_DiscardUnknown

func (m *VersionRequest) XXX_DiscardUnknown()

func (*VersionRequest) XXX_Marshal

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

func (*VersionRequest) XXX_Merge

func (dst *VersionRequest) XXX_Merge(src proto.Message)

func (*VersionRequest) XXX_Size

func (m *VersionRequest) XXX_Size() int

func (*VersionRequest) XXX_Unmarshal

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

type VersionResponse

type VersionResponse struct {
	Version              string   `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	GitRef               string   `protobuf:"bytes,2,opt,name=git_ref,json=gitRef,proto3" json:"git_ref,omitempty"`
	GoVersion            string   `protobuf:"bytes,3,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VersionResponse) Descriptor

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

func (*VersionResponse) GetGitRef

func (m *VersionResponse) GetGitRef() string

func (*VersionResponse) GetGoVersion

func (m *VersionResponse) GetGoVersion() string

func (*VersionResponse) GetVersion

func (m *VersionResponse) GetVersion() string

func (*VersionResponse) ProtoMessage

func (*VersionResponse) ProtoMessage()

func (*VersionResponse) Reset

func (m *VersionResponse) Reset()

func (*VersionResponse) String

func (m *VersionResponse) String() string

func (*VersionResponse) XXX_DiscardUnknown

func (m *VersionResponse) XXX_DiscardUnknown()

func (*VersionResponse) XXX_Marshal

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

func (*VersionResponse) XXX_Merge

func (dst *VersionResponse) XXX_Merge(src proto.Message)

func (*VersionResponse) XXX_Size

func (m *VersionResponse) XXX_Size() int

func (*VersionResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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