Documentation ¶
Index ¶
- Variables
- func RegisterDashAPICredsServer(s grpc.ServiceRegistrar, srv DashAPICredsServer)
- func RegisterDashStateServer(s grpc.ServiceRegistrar, srv DashStateServer)
- type DashAPICredsClient
- type DashAPICredsCreateReq
- func (*DashAPICredsCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *DashAPICredsCreateReq) GetDescription() string
- func (x *DashAPICredsCreateReq) GetMetadata() string
- func (*DashAPICredsCreateReq) ProtoMessage()
- func (x *DashAPICredsCreateReq) ProtoReflect() protoreflect.Message
- func (x *DashAPICredsCreateReq) Reset()
- func (x *DashAPICredsCreateReq) String() string
- type DashAPICredsDeleteReq
- func (*DashAPICredsDeleteReq) Descriptor() ([]byte, []int)deprecated
- func (x *DashAPICredsDeleteReq) GetCredSid() string
- func (x *DashAPICredsDeleteReq) GetId() string
- func (*DashAPICredsDeleteReq) ProtoMessage()
- func (x *DashAPICredsDeleteReq) ProtoReflect() protoreflect.Message
- func (x *DashAPICredsDeleteReq) Reset()
- func (x *DashAPICredsDeleteReq) String() string
- type DashAPICredsServer
- type DashAPICredsUpdateReq
- func (*DashAPICredsUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *DashAPICredsUpdateReq) GetCredSid() string
- func (x *DashAPICredsUpdateReq) GetDescription() string
- func (x *DashAPICredsUpdateReq) GetId() string
- func (x *DashAPICredsUpdateReq) GetMetadata() string
- func (*DashAPICredsUpdateReq) ProtoMessage()
- func (x *DashAPICredsUpdateReq) ProtoReflect() protoreflect.Message
- func (x *DashAPICredsUpdateReq) Reset()
- func (x *DashAPICredsUpdateReq) String() string
- type DashCred
- func (*DashCred) Descriptor() ([]byte, []int)deprecated
- func (x *DashCred) GetDescription() string
- func (x *DashCred) GetId() string
- func (x *DashCred) GetMetadata() string
- func (x *DashCred) GetToken() string
- func (*DashCred) ProtoMessage()
- func (x *DashCred) ProtoReflect() protoreflect.Message
- func (x *DashCred) Reset()
- func (x *DashCred) String() string
- type DashFlash
- type DashFlash_Type
- func (DashFlash_Type) Descriptor() protoreflect.EnumDescriptor
- func (x DashFlash_Type) Enum() *DashFlash_Type
- func (DashFlash_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x DashFlash_Type) Number() protoreflect.EnumNumber
- func (x DashFlash_Type) String() string
- func (DashFlash_Type) Type() protoreflect.EnumType
- type DashStateClient
- type DashStateServer
- type DashState_ActiveUserSettingsStreamClient
- type DashState_ActiveUserSettingsStreamServer
- type DashUserSettingsState
- func (*DashUserSettingsState) Descriptor() ([]byte, []int)deprecated
- func (x *DashUserSettingsState) GetEmail() string
- func (x *DashUserSettingsState) GetFlashes() []*DashFlash
- func (x *DashUserSettingsState) GetUrls() *DashUserSettingsState_URLs
- func (*DashUserSettingsState) ProtoMessage()
- func (x *DashUserSettingsState) ProtoReflect() protoreflect.Message
- func (x *DashUserSettingsState) Reset()
- func (x *DashUserSettingsState) String() string
- type DashUserSettingsState_URLs
- func (*DashUserSettingsState_URLs) Descriptor() ([]byte, []int)deprecated
- func (x *DashUserSettingsState_URLs) GetConnectGithub() string
- func (x *DashUserSettingsState_URLs) GetConnectGoogle() string
- func (*DashUserSettingsState_URLs) ProtoMessage()
- func (x *DashUserSettingsState_URLs) ProtoReflect() protoreflect.Message
- func (x *DashUserSettingsState_URLs) Reset()
- func (x *DashUserSettingsState_URLs) String() string
- type Empty
- type UnimplementedDashAPICredsServer
- func (UnimplementedDashAPICredsServer) Create(context.Context, *DashAPICredsCreateReq) (*DashCred, error)
- func (UnimplementedDashAPICredsServer) Delete(context.Context, *DashAPICredsDeleteReq) (*DashCred, error)
- func (UnimplementedDashAPICredsServer) Update(context.Context, *DashAPICredsUpdateReq) (*DashCred, error)
- type UnimplementedDashStateServer
- type UnsafeDashAPICredsServer
- type UnsafeDashStateServer
Constants ¶
This section is empty.
Variables ¶
var ( DashFlash_Type_name = map[int32]string{ 0: "Undefined", 1: "Success", 2: "Warn", 3: "Error", } DashFlash_Type_value = map[string]int32{ "Undefined": 0, "Success": 1, "Warn": 2, "Error": 3, } )
Enum value maps for DashFlash_Type.
var File_example_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDashAPICredsServer ¶
func RegisterDashAPICredsServer(s grpc.ServiceRegistrar, srv DashAPICredsServer)
func RegisterDashStateServer ¶
func RegisterDashStateServer(s grpc.ServiceRegistrar, 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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDashAPICredsClient ¶
func NewDashAPICredsClient(cc grpc.ClientConnInterface) 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"` // contains filtered or unexported fields }
func (*DashAPICredsCreateReq) Descriptor
deprecated
func (*DashAPICredsCreateReq) Descriptor() ([]byte, []int)
Deprecated: Use DashAPICredsCreateReq.ProtoReflect.Descriptor instead.
func (*DashAPICredsCreateReq) GetDescription ¶
func (x *DashAPICredsCreateReq) GetDescription() string
func (*DashAPICredsCreateReq) GetMetadata ¶
func (x *DashAPICredsCreateReq) GetMetadata() string
func (*DashAPICredsCreateReq) ProtoMessage ¶
func (*DashAPICredsCreateReq) ProtoMessage()
func (*DashAPICredsCreateReq) ProtoReflect ¶
func (x *DashAPICredsCreateReq) ProtoReflect() protoreflect.Message
func (*DashAPICredsCreateReq) Reset ¶
func (x *DashAPICredsCreateReq) Reset()
func (*DashAPICredsCreateReq) String ¶
func (x *DashAPICredsCreateReq) String() string
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"` // contains filtered or unexported fields }
func (*DashAPICredsDeleteReq) Descriptor
deprecated
func (*DashAPICredsDeleteReq) Descriptor() ([]byte, []int)
Deprecated: Use DashAPICredsDeleteReq.ProtoReflect.Descriptor instead.
func (*DashAPICredsDeleteReq) GetCredSid ¶
func (x *DashAPICredsDeleteReq) GetCredSid() string
func (*DashAPICredsDeleteReq) GetId ¶
func (x *DashAPICredsDeleteReq) GetId() string
func (*DashAPICredsDeleteReq) ProtoMessage ¶
func (*DashAPICredsDeleteReq) ProtoMessage()
func (*DashAPICredsDeleteReq) ProtoReflect ¶
func (x *DashAPICredsDeleteReq) ProtoReflect() protoreflect.Message
func (*DashAPICredsDeleteReq) Reset ¶
func (x *DashAPICredsDeleteReq) Reset()
func (*DashAPICredsDeleteReq) String ¶
func (x *DashAPICredsDeleteReq) String() string
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. All implementations should embed UnimplementedDashAPICredsServer for forward compatibility
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"` // contains filtered or unexported fields }
func (*DashAPICredsUpdateReq) Descriptor
deprecated
func (*DashAPICredsUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use DashAPICredsUpdateReq.ProtoReflect.Descriptor instead.
func (*DashAPICredsUpdateReq) GetCredSid ¶
func (x *DashAPICredsUpdateReq) GetCredSid() string
func (*DashAPICredsUpdateReq) GetDescription ¶
func (x *DashAPICredsUpdateReq) GetDescription() string
func (*DashAPICredsUpdateReq) GetId ¶
func (x *DashAPICredsUpdateReq) GetId() string
func (*DashAPICredsUpdateReq) GetMetadata ¶
func (x *DashAPICredsUpdateReq) GetMetadata() string
func (*DashAPICredsUpdateReq) ProtoMessage ¶
func (*DashAPICredsUpdateReq) ProtoMessage()
func (*DashAPICredsUpdateReq) ProtoReflect ¶
func (x *DashAPICredsUpdateReq) ProtoReflect() protoreflect.Message
func (*DashAPICredsUpdateReq) Reset ¶
func (x *DashAPICredsUpdateReq) Reset()
func (*DashAPICredsUpdateReq) String ¶
func (x *DashAPICredsUpdateReq) String() string
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"` // contains filtered or unexported fields }
func (*DashCred) Descriptor
deprecated
func (*DashCred) GetDescription ¶
func (*DashCred) GetMetadata ¶
func (*DashCred) ProtoMessage ¶
func (*DashCred) ProtoMessage()
func (*DashCred) ProtoReflect ¶
func (x *DashCred) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*DashFlash) Descriptor
deprecated
func (*DashFlash) GetType ¶
func (x *DashFlash) GetType() DashFlash_Type
func (*DashFlash) ProtoMessage ¶
func (*DashFlash) ProtoMessage()
func (*DashFlash) ProtoReflect ¶
func (x *DashFlash) ProtoReflect() protoreflect.Message
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) Descriptor ¶
func (DashFlash_Type) Descriptor() protoreflect.EnumDescriptor
func (DashFlash_Type) Enum ¶
func (x DashFlash_Type) Enum() *DashFlash_Type
func (DashFlash_Type) EnumDescriptor
deprecated
func (DashFlash_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use DashFlash_Type.Descriptor instead.
func (DashFlash_Type) Number ¶
func (x DashFlash_Type) Number() protoreflect.EnumNumber
func (DashFlash_Type) String ¶
func (x DashFlash_Type) String() string
func (DashFlash_Type) Type ¶
func (DashFlash_Type) Type() protoreflect.EnumType
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDashStateClient ¶
func NewDashStateClient(cc grpc.ClientConnInterface) 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. All implementations should embed UnimplementedDashStateServer for forward compatibility
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"` // contains filtered or unexported fields }
func (*DashUserSettingsState) Descriptor
deprecated
func (*DashUserSettingsState) Descriptor() ([]byte, []int)
Deprecated: Use DashUserSettingsState.ProtoReflect.Descriptor instead.
func (*DashUserSettingsState) GetEmail ¶
func (x *DashUserSettingsState) GetEmail() string
func (*DashUserSettingsState) GetFlashes ¶
func (x *DashUserSettingsState) GetFlashes() []*DashFlash
func (*DashUserSettingsState) GetUrls ¶
func (x *DashUserSettingsState) GetUrls() *DashUserSettingsState_URLs
func (*DashUserSettingsState) ProtoMessage ¶
func (*DashUserSettingsState) ProtoMessage()
func (*DashUserSettingsState) ProtoReflect ¶
func (x *DashUserSettingsState) ProtoReflect() protoreflect.Message
func (*DashUserSettingsState) Reset ¶
func (x *DashUserSettingsState) Reset()
func (*DashUserSettingsState) String ¶
func (x *DashUserSettingsState) String() string
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"` // contains filtered or unexported fields }
func (*DashUserSettingsState_URLs) Descriptor
deprecated
func (*DashUserSettingsState_URLs) Descriptor() ([]byte, []int)
Deprecated: Use DashUserSettingsState_URLs.ProtoReflect.Descriptor instead.
func (*DashUserSettingsState_URLs) GetConnectGithub ¶
func (x *DashUserSettingsState_URLs) GetConnectGithub() string
func (*DashUserSettingsState_URLs) GetConnectGoogle ¶
func (x *DashUserSettingsState_URLs) GetConnectGoogle() string
func (*DashUserSettingsState_URLs) ProtoMessage ¶
func (*DashUserSettingsState_URLs) ProtoMessage()
func (*DashUserSettingsState_URLs) ProtoReflect ¶
func (x *DashUserSettingsState_URLs) ProtoReflect() protoreflect.Message
func (*DashUserSettingsState_URLs) Reset ¶
func (x *DashUserSettingsState_URLs) Reset()
func (*DashUserSettingsState_URLs) String ¶
func (x *DashUserSettingsState_URLs) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type UnimplementedDashAPICredsServer ¶
type UnimplementedDashAPICredsServer struct { }
UnimplementedDashAPICredsServer should be embedded to have forward compatible implementations.
func (UnimplementedDashAPICredsServer) Create ¶
func (UnimplementedDashAPICredsServer) Create(context.Context, *DashAPICredsCreateReq) (*DashCred, error)
func (UnimplementedDashAPICredsServer) Delete ¶
func (UnimplementedDashAPICredsServer) Delete(context.Context, *DashAPICredsDeleteReq) (*DashCred, error)
func (UnimplementedDashAPICredsServer) Update ¶
func (UnimplementedDashAPICredsServer) Update(context.Context, *DashAPICredsUpdateReq) (*DashCred, error)
type UnimplementedDashStateServer ¶
type UnimplementedDashStateServer struct { }
UnimplementedDashStateServer should be embedded to have forward compatible implementations.
func (UnimplementedDashStateServer) ActiveUserSettingsStream ¶
func (UnimplementedDashStateServer) ActiveUserSettingsStream(*Empty, DashState_ActiveUserSettingsStreamServer) error
func (UnimplementedDashStateServer) UserSettings ¶
func (UnimplementedDashStateServer) UserSettings(context.Context, *Empty) (*DashUserSettingsState, error)
type UnsafeDashAPICredsServer ¶
type UnsafeDashAPICredsServer interface {
// contains filtered or unexported methods
}
UnsafeDashAPICredsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DashAPICredsServer will result in compilation errors.
type UnsafeDashStateServer ¶
type UnsafeDashStateServer interface {
// contains filtered or unexported methods
}
UnsafeDashStateServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DashStateServer will result in compilation errors.