s3_pb

package
v0.0.0-...-5c6c1e7 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SeaweedS3_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "messaging_pb.SeaweedS3",
	HandlerType: (*SeaweedS3Server)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Configure",
			Handler:    _SeaweedS3_Configure_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "s3.proto",
}

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

Functions

func RegisterSeaweedS3Server

func RegisterSeaweedS3Server(s grpc.ServiceRegistrar, srv SeaweedS3Server)

Types

type S3CircuitBreakerConfig

type S3CircuitBreakerConfig struct {
	Global  *S3CircuitBreakerOptions            `protobuf:"bytes,1,opt,name=global,proto3" json:"global,omitempty"`
	Buckets map[string]*S3CircuitBreakerOptions `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*S3CircuitBreakerConfig) Descriptor deprecated

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

Deprecated: Use S3CircuitBreakerConfig.ProtoReflect.Descriptor instead.

func (*S3CircuitBreakerConfig) GetBuckets

func (*S3CircuitBreakerConfig) GetGlobal

func (*S3CircuitBreakerConfig) ProtoMessage

func (*S3CircuitBreakerConfig) ProtoMessage()

func (*S3CircuitBreakerConfig) ProtoReflect

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

func (*S3CircuitBreakerConfig) Reset

func (x *S3CircuitBreakerConfig) Reset()

func (*S3CircuitBreakerConfig) String

func (x *S3CircuitBreakerConfig) String() string

type S3CircuitBreakerOptions

type S3CircuitBreakerOptions struct {
	Enabled bool             `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Actions map[string]int64 `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*S3CircuitBreakerOptions) Descriptor deprecated

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

Deprecated: Use S3CircuitBreakerOptions.ProtoReflect.Descriptor instead.

func (*S3CircuitBreakerOptions) GetActions

func (x *S3CircuitBreakerOptions) GetActions() map[string]int64

func (*S3CircuitBreakerOptions) GetEnabled

func (x *S3CircuitBreakerOptions) GetEnabled() bool

func (*S3CircuitBreakerOptions) ProtoMessage

func (*S3CircuitBreakerOptions) ProtoMessage()

func (*S3CircuitBreakerOptions) ProtoReflect

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

func (*S3CircuitBreakerOptions) Reset

func (x *S3CircuitBreakerOptions) Reset()

func (*S3CircuitBreakerOptions) String

func (x *S3CircuitBreakerOptions) String() string

type S3ConfigureRequest

type S3ConfigureRequest struct {
	S3ConfigurationFileContent []byte `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*S3ConfigureRequest) Descriptor deprecated

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

Deprecated: Use S3ConfigureRequest.ProtoReflect.Descriptor instead.

func (*S3ConfigureRequest) GetS3ConfigurationFileContent

func (x *S3ConfigureRequest) GetS3ConfigurationFileContent() []byte

func (*S3ConfigureRequest) ProtoMessage

func (*S3ConfigureRequest) ProtoMessage()

func (*S3ConfigureRequest) ProtoReflect

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

func (*S3ConfigureRequest) Reset

func (x *S3ConfigureRequest) Reset()

func (*S3ConfigureRequest) String

func (x *S3ConfigureRequest) String() string

type S3ConfigureResponse

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

func (*S3ConfigureResponse) Descriptor deprecated

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

Deprecated: Use S3ConfigureResponse.ProtoReflect.Descriptor instead.

func (*S3ConfigureResponse) ProtoMessage

func (*S3ConfigureResponse) ProtoMessage()

func (*S3ConfigureResponse) ProtoReflect

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

func (*S3ConfigureResponse) Reset

func (x *S3ConfigureResponse) Reset()

func (*S3ConfigureResponse) String

func (x *S3ConfigureResponse) String() string

type SeaweedS3Client

type SeaweedS3Client interface {
	Configure(ctx context.Context, in *S3ConfigureRequest, opts ...grpc.CallOption) (*S3ConfigureResponse, error)
}

SeaweedS3Client is the client API for SeaweedS3 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 NewSeaweedS3Client

func NewSeaweedS3Client(cc grpc.ClientConnInterface) SeaweedS3Client

type SeaweedS3Server

type SeaweedS3Server interface {
	Configure(context.Context, *S3ConfigureRequest) (*S3ConfigureResponse, error)
	// contains filtered or unexported methods
}

SeaweedS3Server is the server API for SeaweedS3 service. All implementations must embed UnimplementedSeaweedS3Server for forward compatibility

type UnimplementedSeaweedS3Server

type UnimplementedSeaweedS3Server struct {
}

UnimplementedSeaweedS3Server must be embedded to have forward compatible implementations.

func (UnimplementedSeaweedS3Server) Configure

type UnsafeSeaweedS3Server

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

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

Jump to

Keyboard shortcuts

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