rolodexpb

package
v97.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package rolodexpb is a generated protocol buffer package.

It is generated from these files:

rolodex.proto

It has these top-level messages:

GetOwnersRequest
GetOwnersResponse
Team
SlackChannel

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRolodexServer

func RegisterRolodexServer(s *grpc.Server, srv RolodexServer)

Types

type GetOwnersRequest

type GetOwnersRequest struct {
	Repository *redpb.Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}

func (*GetOwnersRequest) Descriptor

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

func (*GetOwnersRequest) GetRepository

func (m *GetOwnersRequest) GetRepository() *redpb.Repository

func (*GetOwnersRequest) ProtoMessage

func (*GetOwnersRequest) ProtoMessage()

func (*GetOwnersRequest) Reset

func (m *GetOwnersRequest) Reset()

func (*GetOwnersRequest) String

func (m *GetOwnersRequest) String() string

type GetOwnersResponse

type GetOwnersResponse struct {
	Teams []*Team `protobuf:"bytes,1,rep,name=teams" json:"teams,omitempty"`
}

func (*GetOwnersResponse) Descriptor

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

func (*GetOwnersResponse) GetTeams

func (m *GetOwnersResponse) GetTeams() []*Team

func (*GetOwnersResponse) ProtoMessage

func (*GetOwnersResponse) ProtoMessage()

func (*GetOwnersResponse) Reset

func (m *GetOwnersResponse) Reset()

func (*GetOwnersResponse) String

func (m *GetOwnersResponse) String() string

type RolodexClient

type RolodexClient interface {
	GetOwners(ctx context.Context, in *GetOwnersRequest, opts ...grpc.CallOption) (*GetOwnersResponse, error)
}

func NewRolodexClient

func NewRolodexClient(cc *grpc.ClientConn) RolodexClient

type RolodexServer

type RolodexServer interface {
	GetOwners(context.Context, *GetOwnersRequest) (*GetOwnersResponse, error)
}

type SlackChannel

type SlackChannel struct {
	Team string `protobuf:"bytes,1,opt,name=team" json:"team,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}

func (*SlackChannel) Descriptor

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

func (*SlackChannel) GetName

func (m *SlackChannel) GetName() string

func (*SlackChannel) GetTeam

func (m *SlackChannel) GetTeam() string

func (*SlackChannel) ProtoMessage

func (*SlackChannel) ProtoMessage()

func (*SlackChannel) Reset

func (m *SlackChannel) Reset()

func (*SlackChannel) String

func (m *SlackChannel) String() string

type Team

type Team struct {
	Name         string        `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	SlackChannel *SlackChannel `protobuf:"bytes,2,opt,name=slack_channel,json=slackChannel" json:"slack_channel,omitempty"`
}

func (*Team) Descriptor

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

func (*Team) GetName

func (m *Team) GetName() string

func (*Team) GetSlackChannel

func (m *Team) GetSlackChannel() *SlackChannel

func (*Team) ProtoMessage

func (*Team) ProtoMessage()

func (*Team) Reset

func (m *Team) Reset()

func (*Team) String

func (m *Team) String() string

Jump to

Keyboard shortcuts

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