rpx

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DashFlash_Type_name = map[int32]string{
	0: "Undefined",
	1: "Success",
	2: "Warn",
	3: "Error",
}
View Source
var DashFlash_Type_value = map[string]int32{
	"Undefined": 0,
	"Success":   1,
	"Warn":      2,
	"Error":     3,
}

Functions

func RegisterDashAPICredsServer

func RegisterDashAPICredsServer(s *grpc.Server, srv DashAPICredsServer)

func RegisterDashStateServer

func RegisterDashStateServer(s *grpc.Server, srv DashStateServer)

Types

type DashAPICredsClient

type DashAPICredsClient interface {
	Create(ctx context.Context, in *DashAPICredsCreateReq, opts ...grpc.CallOption) (*DashCred, error)
	Update(ctx context.Context, in *DashAPICredsUpdateReq, opts ...grpc.CallOption) (*DashCred, error)
	Delete(ctx context.Context, in *DashAPICredsDeleteReq, opts ...grpc.CallOption) (*DashCred, error)
}

DashAPICredsClient is the client API for DashAPICreds service.

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

func NewDashAPICredsClient

func NewDashAPICredsClient(cc *grpc.ClientConn) DashAPICredsClient

type DashAPICredsCreateReq

type DashAPICredsCreateReq struct {
	Description          string   `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	Metadata             string   `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DashAPICredsCreateReq) Descriptor

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

func (*DashAPICredsCreateReq) GetDescription

func (m *DashAPICredsCreateReq) GetDescription() string

func (*DashAPICredsCreateReq) GetMetadata

func (m *DashAPICredsCreateReq) GetMetadata() string

func (*DashAPICredsCreateReq) ProtoMessage

func (*DashAPICredsCreateReq) ProtoMessage()

func (*DashAPICredsCreateReq) Reset

func (m *DashAPICredsCreateReq) Reset()

func (*DashAPICredsCreateReq) String

func (m *DashAPICredsCreateReq) String() string

func (*DashAPICredsCreateReq) XXX_DiscardUnknown

func (m *DashAPICredsCreateReq) XXX_DiscardUnknown()

func (*DashAPICredsCreateReq) XXX_Marshal

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

func (*DashAPICredsCreateReq) XXX_Merge

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

func (*DashAPICredsCreateReq) XXX_Size

func (m *DashAPICredsCreateReq) XXX_Size() int

func (*DashAPICredsCreateReq) XXX_Unmarshal

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

type DashAPICredsDeleteReq

type DashAPICredsDeleteReq struct {
	CredSid              string   `protobuf:"bytes,1,opt,name=cred_sid,json=credSid,proto3" json:"cred_sid,omitempty"`
	Id                   string   `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DashAPICredsDeleteReq) Descriptor

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

func (*DashAPICredsDeleteReq) GetCredSid

func (m *DashAPICredsDeleteReq) GetCredSid() string

func (*DashAPICredsDeleteReq) GetId

func (m *DashAPICredsDeleteReq) GetId() string

func (*DashAPICredsDeleteReq) ProtoMessage

func (*DashAPICredsDeleteReq) ProtoMessage()

func (*DashAPICredsDeleteReq) Reset

func (m *DashAPICredsDeleteReq) Reset()

func (*DashAPICredsDeleteReq) String

func (m *DashAPICredsDeleteReq) String() string

func (*DashAPICredsDeleteReq) XXX_DiscardUnknown

func (m *DashAPICredsDeleteReq) XXX_DiscardUnknown()

func (*DashAPICredsDeleteReq) XXX_Marshal

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

func (*DashAPICredsDeleteReq) XXX_Merge

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

func (*DashAPICredsDeleteReq) XXX_Size

func (m *DashAPICredsDeleteReq) XXX_Size() int

func (*DashAPICredsDeleteReq) XXX_Unmarshal

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

type DashAPICredsServer

type DashAPICredsServer interface {
	Create(context.Context, *DashAPICredsCreateReq) (*DashCred, error)
	Update(context.Context, *DashAPICredsUpdateReq) (*DashCred, error)
	Delete(context.Context, *DashAPICredsDeleteReq) (*DashCred, error)
}

DashAPICredsServer is the server API for DashAPICreds service.

type DashAPICredsUpdateReq

type DashAPICredsUpdateReq struct {
	CredSid              string   `protobuf:"bytes,1,opt,name=cred_sid,json=credSid,proto3" json:"cred_sid,omitempty"`
	Description          string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Metadata             string   `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Id                   string   `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DashAPICredsUpdateReq) Descriptor

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

func (*DashAPICredsUpdateReq) GetCredSid

func (m *DashAPICredsUpdateReq) GetCredSid() string

func (*DashAPICredsUpdateReq) GetDescription

func (m *DashAPICredsUpdateReq) GetDescription() string

func (*DashAPICredsUpdateReq) GetId

func (m *DashAPICredsUpdateReq) GetId() string

func (*DashAPICredsUpdateReq) GetMetadata

func (m *DashAPICredsUpdateReq) GetMetadata() string

func (*DashAPICredsUpdateReq) ProtoMessage

func (*DashAPICredsUpdateReq) ProtoMessage()

func (*DashAPICredsUpdateReq) Reset

func (m *DashAPICredsUpdateReq) Reset()

func (*DashAPICredsUpdateReq) String

func (m *DashAPICredsUpdateReq) String() string

func (*DashAPICredsUpdateReq) XXX_DiscardUnknown

func (m *DashAPICredsUpdateReq) XXX_DiscardUnknown()

func (*DashAPICredsUpdateReq) XXX_Marshal

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

func (*DashAPICredsUpdateReq) XXX_Merge

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

func (*DashAPICredsUpdateReq) XXX_Size

func (m *DashAPICredsUpdateReq) XXX_Size() int

func (*DashAPICredsUpdateReq) XXX_Unmarshal

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

type DashCred

type DashCred struct {
	Description          string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Metadata             string   `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Token                string   `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"`
	Id                   string   `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DashCred) Descriptor

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

func (*DashCred) GetDescription

func (m *DashCred) GetDescription() string

func (*DashCred) GetId

func (m *DashCred) GetId() string

func (*DashCred) GetMetadata

func (m *DashCred) GetMetadata() string

func (*DashCred) GetToken

func (m *DashCred) GetToken() string

func (*DashCred) ProtoMessage

func (*DashCred) ProtoMessage()

func (*DashCred) Reset

func (m *DashCred) Reset()

func (*DashCred) String

func (m *DashCred) String() string

func (*DashCred) XXX_DiscardUnknown

func (m *DashCred) XXX_DiscardUnknown()

func (*DashCred) XXX_Marshal

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

func (*DashCred) XXX_Merge

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

func (*DashCred) XXX_Size

func (m *DashCred) XXX_Size() int

func (*DashCred) XXX_Unmarshal

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

type DashFlash

type DashFlash struct {
	Msg                  string         `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Type                 DashFlash_Type `protobuf:"varint,2,opt,name=type,proto3,enum=rpx.DashFlash_Type" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*DashFlash) Descriptor

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

func (*DashFlash) GetMsg

func (m *DashFlash) GetMsg() string

func (*DashFlash) GetType

func (m *DashFlash) GetType() DashFlash_Type

func (*DashFlash) ProtoMessage

func (*DashFlash) ProtoMessage()

func (*DashFlash) Reset

func (m *DashFlash) Reset()

func (*DashFlash) String

func (m *DashFlash) String() string

func (*DashFlash) XXX_DiscardUnknown

func (m *DashFlash) XXX_DiscardUnknown()

func (*DashFlash) XXX_Marshal

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

func (*DashFlash) XXX_Merge

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

func (*DashFlash) XXX_Size

func (m *DashFlash) XXX_Size() int

func (*DashFlash) XXX_Unmarshal

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

type DashFlash_Type

type DashFlash_Type int32
const (
	DashFlash_Undefined DashFlash_Type = 0
	DashFlash_Success   DashFlash_Type = 1
	DashFlash_Warn      DashFlash_Type = 2
	DashFlash_Error     DashFlash_Type = 3
)

func (DashFlash_Type) EnumDescriptor

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

func (DashFlash_Type) String

func (x DashFlash_Type) String() string

type DashStateClient

type DashStateClient interface {
	UserSettings(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*DashUserSettingsState, error)
	ActiveUserSettingsStream(ctx context.Context, in *Empty, opts ...grpc.CallOption) (DashState_ActiveUserSettingsStreamClient, error)
}

DashStateClient is the client API for DashState service.

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

func NewDashStateClient

func NewDashStateClient(cc *grpc.ClientConn) DashStateClient

type DashStateServer

type DashStateServer interface {
	UserSettings(context.Context, *Empty) (*DashUserSettingsState, error)
	ActiveUserSettingsStream(*Empty, DashState_ActiveUserSettingsStreamServer) error
}

DashStateServer is the server API for DashState service.

type DashState_ActiveUserSettingsStreamClient

type DashState_ActiveUserSettingsStreamClient interface {
	Recv() (*DashUserSettingsState, error)
	grpc.ClientStream
}

type DashState_ActiveUserSettingsStreamServer

type DashState_ActiveUserSettingsStreamServer interface {
	Send(*DashUserSettingsState) error
	grpc.ServerStream
}

type DashUserSettingsState

type DashUserSettingsState struct {
	Email                string                      `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Urls                 *DashUserSettingsState_URLs `protobuf:"bytes,6,opt,name=urls,proto3" json:"urls,omitempty"`
	Flashes              []*DashFlash                `protobuf:"bytes,7,rep,name=flashes,proto3" json:"flashes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*DashUserSettingsState) Descriptor

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

func (*DashUserSettingsState) GetEmail

func (m *DashUserSettingsState) GetEmail() string

func (*DashUserSettingsState) GetFlashes

func (m *DashUserSettingsState) GetFlashes() []*DashFlash

func (*DashUserSettingsState) GetUrls

func (*DashUserSettingsState) ProtoMessage

func (*DashUserSettingsState) ProtoMessage()

func (*DashUserSettingsState) Reset

func (m *DashUserSettingsState) Reset()

func (*DashUserSettingsState) String

func (m *DashUserSettingsState) String() string

func (*DashUserSettingsState) XXX_DiscardUnknown

func (m *DashUserSettingsState) XXX_DiscardUnknown()

func (*DashUserSettingsState) XXX_Marshal

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

func (*DashUserSettingsState) XXX_Merge

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

func (*DashUserSettingsState) XXX_Size

func (m *DashUserSettingsState) XXX_Size() int

func (*DashUserSettingsState) XXX_Unmarshal

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

type DashUserSettingsState_URLs

type DashUserSettingsState_URLs struct {
	ConnectGoogle        string   `protobuf:"bytes,1,opt,name=connect_google,json=connectGoogle,proto3" json:"connect_google,omitempty"`
	ConnectGithub        string   `protobuf:"bytes,2,opt,name=connect_github,json=connectGithub,proto3" json:"connect_github,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DashUserSettingsState_URLs) Descriptor

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

func (*DashUserSettingsState_URLs) GetConnectGithub

func (m *DashUserSettingsState_URLs) GetConnectGithub() string

func (*DashUserSettingsState_URLs) GetConnectGoogle

func (m *DashUserSettingsState_URLs) GetConnectGoogle() string

func (*DashUserSettingsState_URLs) ProtoMessage

func (*DashUserSettingsState_URLs) ProtoMessage()

func (*DashUserSettingsState_URLs) Reset

func (m *DashUserSettingsState_URLs) Reset()

func (*DashUserSettingsState_URLs) String

func (m *DashUserSettingsState_URLs) String() string

func (*DashUserSettingsState_URLs) XXX_DiscardUnknown

func (m *DashUserSettingsState_URLs) XXX_DiscardUnknown()

func (*DashUserSettingsState_URLs) XXX_Marshal

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

func (*DashUserSettingsState_URLs) XXX_Merge

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

func (*DashUserSettingsState_URLs) XXX_Size

func (m *DashUserSettingsState_URLs) XXX_Size() int

func (*DashUserSettingsState_URLs) XXX_Unmarshal

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

type Empty

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

func (*Empty) Descriptor

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

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

func (*Empty) XXX_Merge

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

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

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

type UnimplementedDashAPICredsServer

type UnimplementedDashAPICredsServer struct {
}

UnimplementedDashAPICredsServer can be embedded to have forward compatible implementations.

func (*UnimplementedDashAPICredsServer) Create

func (*UnimplementedDashAPICredsServer) Delete

func (*UnimplementedDashAPICredsServer) Update

type UnimplementedDashStateServer

type UnimplementedDashStateServer struct {
}

UnimplementedDashStateServer can be embedded to have forward compatible implementations.

func (*UnimplementedDashStateServer) ActiveUserSettingsStream

func (*UnimplementedDashStateServer) UserSettings

Jump to

Keyboard shortcuts

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