grpcapi

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package grpcapi is a generated protocol buffer package.

It is generated from these files:

grpcapi/grpcapi.proto

It has these top-level messages:

GetHierarchyRelationsInput
GetHierarchyRelationsOutput
CheckAuthenticationInput
GetEventRecordsInput
GetEventRecordsOutput
User
PrimitiveString
PrimitiveInt32
PrimitiveBool
PrimitiveBytes
PrimitiveVoid

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterIAMServer

func RegisterIAMServer(s *grpc.Server, srv IAMServer)

Types

type CheckAuthenticationInput

type CheckAuthenticationInput struct {
	Token     string `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"`
	MethodArn string `protobuf:"bytes,2,opt,name=methodArn" json:"methodArn,omitempty"`
}

func (*CheckAuthenticationInput) Descriptor

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

func (*CheckAuthenticationInput) GetMethodArn

func (m *CheckAuthenticationInput) GetMethodArn() string

func (*CheckAuthenticationInput) GetToken

func (m *CheckAuthenticationInput) GetToken() string

func (*CheckAuthenticationInput) ProtoMessage

func (*CheckAuthenticationInput) ProtoMessage()

func (*CheckAuthenticationInput) Reset

func (m *CheckAuthenticationInput) Reset()

func (*CheckAuthenticationInput) String

func (m *CheckAuthenticationInput) String() string

type GetEventRecordsInput

type GetEventRecordsInput struct {
	Since int64           `protobuf:"varint,1,opt,name=since" json:"since,omitempty"`
	Limit *PrimitiveInt32 `protobuf:"bytes,2,opt,name=limit" json:"limit,omitempty"`
}

func (*GetEventRecordsInput) Descriptor

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

func (*GetEventRecordsInput) GetLimit

func (m *GetEventRecordsInput) GetLimit() *PrimitiveInt32

func (*GetEventRecordsInput) GetSince

func (m *GetEventRecordsInput) GetSince() int64

func (*GetEventRecordsInput) ProtoMessage

func (*GetEventRecordsInput) ProtoMessage()

func (*GetEventRecordsInput) Reset

func (m *GetEventRecordsInput) Reset()

func (*GetEventRecordsInput) String

func (m *GetEventRecordsInput) String() string

type GetEventRecordsOutput

type GetEventRecordsOutput struct {
	Records []byte `protobuf:"bytes,1,opt,name=records,proto3" json:"records,omitempty"`
}

func (*GetEventRecordsOutput) Descriptor

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

func (*GetEventRecordsOutput) GetRecords

func (m *GetEventRecordsOutput) GetRecords() []byte

func (*GetEventRecordsOutput) ProtoMessage

func (*GetEventRecordsOutput) ProtoMessage()

func (*GetEventRecordsOutput) Reset

func (m *GetEventRecordsOutput) Reset()

func (*GetEventRecordsOutput) String

func (m *GetEventRecordsOutput) String() string

type GetHierarchyRelationsInput

type GetHierarchyRelationsInput struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId" json:"user_id,omitempty"`
}

Input & output messages

func (*GetHierarchyRelationsInput) Descriptor

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

func (*GetHierarchyRelationsInput) GetUserId

func (m *GetHierarchyRelationsInput) GetUserId() string

func (*GetHierarchyRelationsInput) ProtoMessage

func (*GetHierarchyRelationsInput) ProtoMessage()

func (*GetHierarchyRelationsInput) Reset

func (m *GetHierarchyRelationsInput) Reset()

func (*GetHierarchyRelationsInput) String

func (m *GetHierarchyRelationsInput) String() string

type GetHierarchyRelationsOutput

type GetHierarchyRelationsOutput struct {
	NodeIds []string `protobuf:"bytes,1,rep,name=node_ids,json=nodeIds" json:"node_ids,omitempty"`
}

func (*GetHierarchyRelationsOutput) Descriptor

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

func (*GetHierarchyRelationsOutput) GetNodeIds

func (m *GetHierarchyRelationsOutput) GetNodeIds() []string

func (*GetHierarchyRelationsOutput) ProtoMessage

func (*GetHierarchyRelationsOutput) ProtoMessage()

func (*GetHierarchyRelationsOutput) Reset

func (m *GetHierarchyRelationsOutput) Reset()

func (*GetHierarchyRelationsOutput) String

func (m *GetHierarchyRelationsOutput) String() string

type IAMClient

type IAMClient interface {
	DeepPing(ctx context.Context, in *PrimitiveVoid, opts ...grpc.CallOption) (*PrimitiveString, error)
	CheckAuthentication(ctx context.Context, in *CheckAuthenticationInput, opts ...grpc.CallOption) (*User, error)
	GetHierarchyRelations(ctx context.Context, in *GetHierarchyRelationsInput, opts ...grpc.CallOption) (*GetHierarchyRelationsOutput, error)
	GetEventRecords(ctx context.Context, in *GetEventRecordsInput, opts ...grpc.CallOption) (*GetEventRecordsOutput, error)
	GetEventRecordStream(ctx context.Context, in *PrimitiveVoid, opts ...grpc.CallOption) (IAM_GetEventRecordStreamClient, error)
}

func NewIAMClient

func NewIAMClient(cc *grpc.ClientConn) IAMClient

type IAM_GetEventRecordStreamClient

type IAM_GetEventRecordStreamClient interface {
	Recv() (*PrimitiveBytes, error)
	grpc.ClientStream
}

type IAM_GetEventRecordStreamServer

type IAM_GetEventRecordStreamServer interface {
	Send(*PrimitiveBytes) error
	grpc.ServerStream
}

type PrimitiveBool

type PrimitiveBool struct {
	Value bool `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}

func (*PrimitiveBool) Descriptor

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

func (*PrimitiveBool) GetValue

func (m *PrimitiveBool) GetValue() bool

func (*PrimitiveBool) ProtoMessage

func (*PrimitiveBool) ProtoMessage()

func (*PrimitiveBool) Reset

func (m *PrimitiveBool) Reset()

func (*PrimitiveBool) String

func (m *PrimitiveBool) String() string

type PrimitiveBytes

type PrimitiveBytes struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}

func (*PrimitiveBytes) Descriptor

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

func (*PrimitiveBytes) GetValue

func (m *PrimitiveBytes) GetValue() []byte

func (*PrimitiveBytes) ProtoMessage

func (*PrimitiveBytes) ProtoMessage()

func (*PrimitiveBytes) Reset

func (m *PrimitiveBytes) Reset()

func (*PrimitiveBytes) String

func (m *PrimitiveBytes) String() string

type PrimitiveInt32

type PrimitiveInt32 struct {
	Value int32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}

func (*PrimitiveInt32) Descriptor

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

func (*PrimitiveInt32) GetValue

func (m *PrimitiveInt32) GetValue() int32

func (*PrimitiveInt32) ProtoMessage

func (*PrimitiveInt32) ProtoMessage()

func (*PrimitiveInt32) Reset

func (m *PrimitiveInt32) Reset()

func (*PrimitiveInt32) String

func (m *PrimitiveInt32) String() string

type PrimitiveString

type PrimitiveString struct {
	Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
}

Primitive types

func (*PrimitiveString) Descriptor

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

func (*PrimitiveString) GetValue

func (m *PrimitiveString) GetValue() string

func (*PrimitiveString) ProtoMessage

func (*PrimitiveString) ProtoMessage()

func (*PrimitiveString) Reset

func (m *PrimitiveString) Reset()

func (*PrimitiveString) String

func (m *PrimitiveString) String() string

type PrimitiveVoid

type PrimitiveVoid struct {
}

func (*PrimitiveVoid) Descriptor

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

func (*PrimitiveVoid) ProtoMessage

func (*PrimitiveVoid) ProtoMessage()

func (*PrimitiveVoid) Reset

func (m *PrimitiveVoid) Reset()

func (*PrimitiveVoid) String

func (m *PrimitiveVoid) String() string

type User

type User struct {
	Id             string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Email          string `protobuf:"bytes,2,opt,name=email" json:"email,omitempty"`
	EulaAgreedDate string `protobuf:"bytes,3,opt,name=eulaAgreedDate" json:"eulaAgreedDate,omitempty"`
	ValidEula      string `protobuf:"bytes,4,opt,name=validEula" json:"validEula,omitempty"`
	Username       string `protobuf:"bytes,5,opt,name=username" json:"username,omitempty"`
	UserStatus     string `protobuf:"bytes,6,opt,name=userStatus" json:"userStatus,omitempty"`
	UserRoles      string `protobuf:"bytes,7,opt,name=userRoles" json:"userRoles,omitempty"`
}

func (*User) Descriptor

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

func (*User) GetEmail

func (m *User) GetEmail() string

func (*User) GetEulaAgreedDate

func (m *User) GetEulaAgreedDate() string

func (*User) GetId

func (m *User) GetId() string

func (*User) GetUserRoles

func (m *User) GetUserRoles() string

func (*User) GetUserStatus

func (m *User) GetUserStatus() string

func (*User) GetUsername

func (m *User) GetUsername() string

func (*User) GetValidEula

func (m *User) GetValidEula() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

Jump to

Keyboard shortcuts

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