sbatchapiv1alpha1

package
v0.18.4 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthAPI_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sbatchapi.v1alpha1.AuthAPI",
	HandlerType: (*AuthAPIServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Challenge",
			Handler:    _AuthAPI_Challenge_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "sbatchapi/v1alpha1/sbatch.proto",
}

AuthAPI_ServiceDesc is the grpc.ServiceDesc for AuthAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_sbatchapi_v1alpha1_sbatch_proto protoreflect.FileDescriptor
View Source
var SBatchAPI_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sbatchapi.v1alpha1.SBatchAPI",
	HandlerType: (*SBatchAPIServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSBatch",
			Handler:    _SBatchAPI_GetSBatch_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "sbatchapi/v1alpha1/sbatch.proto",
}

SBatchAPI_ServiceDesc is the grpc.ServiceDesc for SBatchAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAuthAPIServer added in v0.15.0

func RegisterAuthAPIServer(s grpc.ServiceRegistrar, srv AuthAPIServer)

func RegisterSBatchAPIServer

func RegisterSBatchAPIServer(s grpc.ServiceRegistrar, srv SBatchAPIServer)

Types

type AuthAPIClient added in v0.15.0

type AuthAPIClient interface {
	Challenge(ctx context.Context, in *ChallengeRequest, opts ...grpc.CallOption) (*ChallengeResponse, error)
}

AuthAPIClient is the client API for AuthAPI 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 NewAuthAPIClient added in v0.15.0

func NewAuthAPIClient(cc grpc.ClientConnInterface) AuthAPIClient

type AuthAPIServer added in v0.15.0

type AuthAPIServer interface {
	Challenge(context.Context, *ChallengeRequest) (*ChallengeResponse, error)
	// contains filtered or unexported methods
}

AuthAPIServer is the server API for AuthAPI service. All implementations must embed UnimplementedAuthAPIServer for forward compatibility

type ChallengeRequest added in v0.15.0

type ChallengeRequest struct {
	// contains filtered or unexported fields
}

func (*ChallengeRequest) Descriptor deprecated added in v0.15.0

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

Deprecated: Use ChallengeRequest.ProtoReflect.Descriptor instead.

func (*ChallengeRequest) ProtoMessage added in v0.15.0

func (*ChallengeRequest) ProtoMessage()

func (*ChallengeRequest) ProtoReflect added in v0.15.0

func (x *ChallengeRequest) ProtoReflect() protoreflect.Message

func (*ChallengeRequest) Reset added in v0.15.0

func (x *ChallengeRequest) Reset()

func (*ChallengeRequest) String added in v0.15.0

func (x *ChallengeRequest) String() string

type ChallengeResponse added in v0.15.0

type ChallengeResponse struct {
	Challenge []byte `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"`
	// contains filtered or unexported fields
}

func (*ChallengeResponse) Descriptor deprecated added in v0.15.0

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

Deprecated: Use ChallengeResponse.ProtoReflect.Descriptor instead.

func (*ChallengeResponse) GetChallenge added in v0.15.0

func (x *ChallengeResponse) GetChallenge() []byte

func (*ChallengeResponse) ProtoMessage added in v0.15.0

func (*ChallengeResponse) ProtoMessage()

func (*ChallengeResponse) ProtoReflect added in v0.15.0

func (x *ChallengeResponse) ProtoReflect() protoreflect.Message

func (*ChallengeResponse) Reset added in v0.15.0

func (x *ChallengeResponse) Reset()

func (*ChallengeResponse) String added in v0.15.0

func (x *ChallengeResponse) String() string

type GetSBatchRequest

type GetSBatchRequest struct {
	BatchLocationHash string `protobuf:"bytes,1,opt,name=batch_location_hash,json=batchLocationHash,proto3" json:"batch_location_hash,omitempty"`
	SignedChallenge   []byte `protobuf:"bytes,2,opt,name=signed_challenge,json=signedChallenge,proto3" json:"signed_challenge,omitempty"`
	Challenge         []byte `protobuf:"bytes,3,opt,name=challenge,proto3" json:"challenge,omitempty"`
	ProviderAddress   []byte `protobuf:"bytes,4,opt,name=provider_address,json=providerAddress,proto3" json:"provider_address,omitempty"`
	CustomerAddress   []byte `protobuf:"bytes,5,opt,name=customer_address,json=customerAddress,proto3" json:"customer_address,omitempty"`
	// job_id is hex encoded
	JobId string `protobuf:"bytes,6,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSBatchRequest) Descriptor deprecated

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

Deprecated: Use GetSBatchRequest.ProtoReflect.Descriptor instead.

func (*GetSBatchRequest) GetBatchLocationHash

func (x *GetSBatchRequest) GetBatchLocationHash() string

func (*GetSBatchRequest) GetChallenge added in v0.15.0

func (x *GetSBatchRequest) GetChallenge() []byte

func (*GetSBatchRequest) GetCustomerAddress added in v0.15.0

func (x *GetSBatchRequest) GetCustomerAddress() []byte

func (*GetSBatchRequest) GetJobId added in v0.15.0

func (x *GetSBatchRequest) GetJobId() string

func (*GetSBatchRequest) GetProviderAddress added in v0.15.0

func (x *GetSBatchRequest) GetProviderAddress() []byte

func (*GetSBatchRequest) GetSignedChallenge added in v0.15.0

func (x *GetSBatchRequest) GetSignedChallenge() []byte

func (*GetSBatchRequest) ProtoMessage

func (*GetSBatchRequest) ProtoMessage()

func (*GetSBatchRequest) ProtoReflect

func (x *GetSBatchRequest) ProtoReflect() protoreflect.Message

func (*GetSBatchRequest) Reset

func (x *GetSBatchRequest) Reset()

func (*GetSBatchRequest) String

func (x *GetSBatchRequest) String() string

type GetSBatchResponse

type GetSBatchResponse struct {
	Sbatch        string `protobuf:"bytes,1,opt,name=sbatch,proto3" json:"sbatch,omitempty"`
	GridLoggerUrl string `protobuf:"bytes,2,opt,name=grid_logger_url,json=gridLoggerUrl,proto3" json:"grid_logger_url,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSBatchResponse) Descriptor deprecated

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

Deprecated: Use GetSBatchResponse.ProtoReflect.Descriptor instead.

func (*GetSBatchResponse) GetGridLoggerUrl

func (x *GetSBatchResponse) GetGridLoggerUrl() string

func (*GetSBatchResponse) GetSbatch

func (x *GetSBatchResponse) GetSbatch() string

func (*GetSBatchResponse) ProtoMessage

func (*GetSBatchResponse) ProtoMessage()

func (*GetSBatchResponse) ProtoReflect

func (x *GetSBatchResponse) ProtoReflect() protoreflect.Message

func (*GetSBatchResponse) Reset

func (x *GetSBatchResponse) Reset()

func (*GetSBatchResponse) String

func (x *GetSBatchResponse) String() string

type SBatchAPIClient

type SBatchAPIClient interface {
	GetSBatch(ctx context.Context, in *GetSBatchRequest, opts ...grpc.CallOption) (*GetSBatchResponse, error)
}

SBatchAPIClient is the client API for SBatchAPI 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 NewSBatchAPIClient

func NewSBatchAPIClient(cc grpc.ClientConnInterface) SBatchAPIClient

type SBatchAPIServer

type SBatchAPIServer interface {
	GetSBatch(context.Context, *GetSBatchRequest) (*GetSBatchResponse, error)
	// contains filtered or unexported methods
}

SBatchAPIServer is the server API for SBatchAPI service. All implementations must embed UnimplementedSBatchAPIServer for forward compatibility

type UnimplementedAuthAPIServer added in v0.15.0

type UnimplementedAuthAPIServer struct {
}

UnimplementedAuthAPIServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthAPIServer) Challenge added in v0.15.0

type UnimplementedSBatchAPIServer

type UnimplementedSBatchAPIServer struct {
}

UnimplementedSBatchAPIServer must be embedded to have forward compatible implementations.

func (UnimplementedSBatchAPIServer) GetSBatch

type UnsafeAuthAPIServer added in v0.15.0

type UnsafeAuthAPIServer interface {
	// contains filtered or unexported methods
}

UnsafeAuthAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthAPIServer will result in compilation errors.

type UnsafeSBatchAPIServer

type UnsafeSBatchAPIServer interface {
	// contains filtered or unexported methods
}

UnsafeSBatchAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SBatchAPIServer will result in compilation errors.

Jump to

Keyboard shortcuts

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