admin

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: Apache-2.0 Imports: 11 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_service_proto_admin_proto protoreflect.FileDescriptor

Functions

func NewAdminEndpoints

func NewAdminEndpoints() []*api.Endpoint

func RegisterAdminHandler

func RegisterAdminHandler(s server.Server, hdlr AdminHandler, opts ...server.HandlerOption) error

Types

type AdminHandler

type AdminHandler interface {
	DeleteData(context.Context, *DeleteDataRequest, *DeleteDataResponse) error
}

type AdminService

type AdminService interface {
	DeleteData(ctx context.Context, in *DeleteDataRequest, opts ...client.CallOption) (*DeleteDataResponse, error)
}

func NewAdminService

func NewAdminService(name string, c client.Client) AdminService

type DeleteDataRequest

type DeleteDataRequest struct {
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDataRequest) Descriptor deprecated

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

Deprecated: Use DeleteDataRequest.ProtoReflect.Descriptor instead.

func (*DeleteDataRequest) GetTenantId

func (x *DeleteDataRequest) GetTenantId() string

func (*DeleteDataRequest) ProtoMessage

func (*DeleteDataRequest) ProtoMessage()

func (*DeleteDataRequest) ProtoReflect

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

func (*DeleteDataRequest) Reset

func (x *DeleteDataRequest) Reset()

func (*DeleteDataRequest) String

func (x *DeleteDataRequest) String() string

type DeleteDataResponse

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

func (*DeleteDataResponse) Descriptor deprecated

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

Deprecated: Use DeleteDataResponse.ProtoReflect.Descriptor instead.

func (*DeleteDataResponse) ProtoMessage

func (*DeleteDataResponse) ProtoMessage()

func (*DeleteDataResponse) ProtoReflect

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

func (*DeleteDataResponse) Reset

func (x *DeleteDataResponse) Reset()

func (*DeleteDataResponse) String

func (x *DeleteDataResponse) String() string

Jump to

Keyboard shortcuts

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