grpcapi

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

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,proto3" json:"token,omitempty"`
	MethodArn            string   `protobuf:"bytes,2,opt,name=methodArn,proto3" json:"methodArn,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*CheckAuthenticationInput) XXX_DiscardUnknown added in v1.1.2

func (m *CheckAuthenticationInput) XXX_DiscardUnknown()

func (*CheckAuthenticationInput) XXX_Marshal added in v1.1.2

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

func (*CheckAuthenticationInput) XXX_Merge added in v1.1.2

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

func (*CheckAuthenticationInput) XXX_Size added in v1.1.2

func (m *CheckAuthenticationInput) XXX_Size() int

func (*CheckAuthenticationInput) XXX_Unmarshal added in v1.1.2

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

type GetEventRecordsInput

type GetEventRecordsInput struct {
	Since                int64           `protobuf:"varint,1,opt,name=since,proto3" json:"since,omitempty"`
	Limit                *PrimitiveInt32 `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

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

func (*GetEventRecordsInput) XXX_DiscardUnknown added in v1.1.2

func (m *GetEventRecordsInput) XXX_DiscardUnknown()

func (*GetEventRecordsInput) XXX_Marshal added in v1.1.2

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

func (*GetEventRecordsInput) XXX_Merge added in v1.1.2

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

func (*GetEventRecordsInput) XXX_Size added in v1.1.2

func (m *GetEventRecordsInput) XXX_Size() int

func (*GetEventRecordsInput) XXX_Unmarshal added in v1.1.2

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

type GetEventRecordsOutput

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

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

func (*GetEventRecordsOutput) XXX_DiscardUnknown added in v1.1.2

func (m *GetEventRecordsOutput) XXX_DiscardUnknown()

func (*GetEventRecordsOutput) XXX_Marshal added in v1.1.2

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

func (*GetEventRecordsOutput) XXX_Merge added in v1.1.2

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

func (*GetEventRecordsOutput) XXX_Size added in v1.1.2

func (m *GetEventRecordsOutput) XXX_Size() int

func (*GetEventRecordsOutput) XXX_Unmarshal added in v1.1.2

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

type GetHierarchyRelationsInput

type GetHierarchyRelationsInput struct {
	UserId               string   `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*GetHierarchyRelationsInput) XXX_DiscardUnknown added in v1.1.2

func (m *GetHierarchyRelationsInput) XXX_DiscardUnknown()

func (*GetHierarchyRelationsInput) XXX_Marshal added in v1.1.2

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

func (*GetHierarchyRelationsInput) XXX_Merge added in v1.1.2

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

func (*GetHierarchyRelationsInput) XXX_Size added in v1.1.2

func (m *GetHierarchyRelationsInput) XXX_Size() int

func (*GetHierarchyRelationsInput) XXX_Unmarshal added in v1.1.2

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

type GetHierarchyRelationsOutput

type GetHierarchyRelationsOutput struct {
	NodeIds              []string `protobuf:"bytes,1,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*GetHierarchyRelationsOutput) XXX_DiscardUnknown added in v1.1.2

func (m *GetHierarchyRelationsOutput) XXX_DiscardUnknown()

func (*GetHierarchyRelationsOutput) XXX_Marshal added in v1.1.2

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

func (*GetHierarchyRelationsOutput) XXX_Merge added in v1.1.2

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

func (*GetHierarchyRelationsOutput) XXX_Size added in v1.1.2

func (m *GetHierarchyRelationsOutput) XXX_Size() int

func (*GetHierarchyRelationsOutput) XXX_Unmarshal added in v1.1.2

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

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)
}

IAMClient is the client API for IAM service.

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

func NewIAMClient

func NewIAMClient(cc *grpc.ClientConn) IAMClient

type IAMServer

IAMServer is the server API for IAM service.

type PrimitiveBool

type PrimitiveBool struct {
	Value                bool     `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*PrimitiveBool) XXX_DiscardUnknown added in v1.1.2

func (m *PrimitiveBool) XXX_DiscardUnknown()

func (*PrimitiveBool) XXX_Marshal added in v1.1.2

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

func (*PrimitiveBool) XXX_Merge added in v1.1.2

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

func (*PrimitiveBool) XXX_Size added in v1.1.2

func (m *PrimitiveBool) XXX_Size() int

func (*PrimitiveBool) XXX_Unmarshal added in v1.1.2

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

type PrimitiveBytes

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

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

func (*PrimitiveBytes) XXX_DiscardUnknown added in v1.1.2

func (m *PrimitiveBytes) XXX_DiscardUnknown()

func (*PrimitiveBytes) XXX_Marshal added in v1.1.2

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

func (*PrimitiveBytes) XXX_Merge added in v1.1.2

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

func (*PrimitiveBytes) XXX_Size added in v1.1.2

func (m *PrimitiveBytes) XXX_Size() int

func (*PrimitiveBytes) XXX_Unmarshal added in v1.1.2

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

type PrimitiveInt32

type PrimitiveInt32 struct {
	Value                int32    `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*PrimitiveInt32) XXX_DiscardUnknown added in v1.1.2

func (m *PrimitiveInt32) XXX_DiscardUnknown()

func (*PrimitiveInt32) XXX_Marshal added in v1.1.2

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

func (*PrimitiveInt32) XXX_Merge added in v1.1.2

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

func (*PrimitiveInt32) XXX_Size added in v1.1.2

func (m *PrimitiveInt32) XXX_Size() int

func (*PrimitiveInt32) XXX_Unmarshal added in v1.1.2

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

type PrimitiveString

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

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

func (*PrimitiveString) XXX_DiscardUnknown added in v1.1.2

func (m *PrimitiveString) XXX_DiscardUnknown()

func (*PrimitiveString) XXX_Marshal added in v1.1.2

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

func (*PrimitiveString) XXX_Merge added in v1.1.2

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

func (*PrimitiveString) XXX_Size added in v1.1.2

func (m *PrimitiveString) XXX_Size() int

func (*PrimitiveString) XXX_Unmarshal added in v1.1.2

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

type PrimitiveVoid

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

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

func (*PrimitiveVoid) XXX_DiscardUnknown added in v1.1.2

func (m *PrimitiveVoid) XXX_DiscardUnknown()

func (*PrimitiveVoid) XXX_Marshal added in v1.1.2

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

func (*PrimitiveVoid) XXX_Merge added in v1.1.2

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

func (*PrimitiveVoid) XXX_Size added in v1.1.2

func (m *PrimitiveVoid) XXX_Size() int

func (*PrimitiveVoid) XXX_Unmarshal added in v1.1.2

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

type User

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

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

func (*User) XXX_DiscardUnknown added in v1.1.2

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal added in v1.1.2

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

func (*User) XXX_Merge added in v1.1.2

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

func (*User) XXX_Size added in v1.1.2

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal added in v1.1.2

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

Jump to

Keyboard shortcuts

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