Documentation
¶
Index ¶
- Variables
- func NewAkSkEndpoints() []*api.Endpoint
- func RegisterAkSkHandler(s server.Server, hdlr AkSkHandler, opts ...server.HandlerOption) error
- type AkSkBlob
- type AkSkCreateRequest
- func (*AkSkCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AkSkCreateRequest) GetProjectId() string
- func (x *AkSkCreateRequest) GetToken() string
- func (x *AkSkCreateRequest) GetUserId() string
- func (*AkSkCreateRequest) ProtoMessage()
- func (x *AkSkCreateRequest) ProtoReflect() protoreflect.Message
- func (x *AkSkCreateRequest) Reset()
- func (x *AkSkCreateRequest) String() string
- type AkSkCreateResponse
- func (*AkSkCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AkSkCreateResponse) GetBlob() *AkSkBlob
- func (*AkSkCreateResponse) ProtoMessage()
- func (x *AkSkCreateResponse) ProtoReflect() protoreflect.Message
- func (x *AkSkCreateResponse) Reset()
- func (x *AkSkCreateResponse) String() string
- type AkSkDetail
- func (*AkSkDetail) Descriptor() ([]byte, []int)deprecated
- func (x *AkSkDetail) GetBlob() *AkSkBlob
- func (x *AkSkDetail) GetProjectId() string
- func (x *AkSkDetail) GetToken() string
- func (x *AkSkDetail) GetType() string
- func (x *AkSkDetail) GetUserId() string
- func (*AkSkDetail) ProtoMessage()
- func (x *AkSkDetail) ProtoReflect() protoreflect.Message
- func (x *AkSkDetail) Reset()
- func (x *AkSkDetail) String() string
- type AkSkHandler
- type AkSkService
- type DeleteAkSkRequest
- func (*DeleteAkSkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAkSkRequest) GetToken() string
- func (x *DeleteAkSkRequest) GetUserId() string
- func (*DeleteAkSkRequest) ProtoMessage()
- func (x *DeleteAkSkRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAkSkRequest) Reset()
- func (x *DeleteAkSkRequest) String() string
- type DeleteAkSkResponse
- func (*DeleteAkSkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAkSkResponse) GetMessage() string
- func (*DeleteAkSkResponse) ProtoMessage()
- func (x *DeleteAkSkResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteAkSkResponse) Reset()
- func (x *DeleteAkSkResponse) String() string
- type GetAkSkRequest
- func (*GetAkSkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAkSkRequest) GetToken() string
- func (x *GetAkSkRequest) GetUserId() string
- func (*GetAkSkRequest) ProtoMessage()
- func (x *GetAkSkRequest) ProtoReflect() protoreflect.Message
- func (x *GetAkSkRequest) Reset()
- func (x *GetAkSkRequest) String() string
- type GetAkSkResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var File_aksk_proto_aksk_proto protoreflect.FileDescriptor
Functions ¶
func NewAkSkEndpoints ¶
func RegisterAkSkHandler ¶
func RegisterAkSkHandler(s server.Server, hdlr AkSkHandler, opts ...server.HandlerOption) error
Types ¶
type AkSkBlob ¶ added in v1.3.3
type AkSkBlob struct { AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` SecretKey string `protobuf:"bytes,2,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"` // contains filtered or unexported fields }
func (*AkSkBlob) Descriptor
deprecated
added in
v1.3.3
func (*AkSkBlob) GetAccessKey ¶ added in v1.3.3
func (*AkSkBlob) GetSecretKey ¶ added in v1.3.3
func (*AkSkBlob) ProtoMessage ¶ added in v1.3.3
func (*AkSkBlob) ProtoMessage()
func (*AkSkBlob) ProtoReflect ¶ added in v1.3.3
func (x *AkSkBlob) ProtoReflect() protoreflect.Message
type AkSkCreateRequest ¶
type AkSkCreateRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*AkSkCreateRequest) Descriptor
deprecated
func (*AkSkCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use AkSkCreateRequest.ProtoReflect.Descriptor instead.
func (*AkSkCreateRequest) GetProjectId ¶
func (x *AkSkCreateRequest) GetProjectId() string
func (*AkSkCreateRequest) GetToken ¶
func (x *AkSkCreateRequest) GetToken() string
func (*AkSkCreateRequest) GetUserId ¶
func (x *AkSkCreateRequest) GetUserId() string
func (*AkSkCreateRequest) ProtoMessage ¶
func (*AkSkCreateRequest) ProtoMessage()
func (*AkSkCreateRequest) ProtoReflect ¶
func (x *AkSkCreateRequest) ProtoReflect() protoreflect.Message
func (*AkSkCreateRequest) Reset ¶
func (x *AkSkCreateRequest) Reset()
func (*AkSkCreateRequest) String ¶
func (x *AkSkCreateRequest) String() string
type AkSkCreateResponse ¶
type AkSkCreateResponse struct { Blob *AkSkBlob `protobuf:"bytes,1,opt,name=blob,proto3" json:"blob,omitempty"` // contains filtered or unexported fields }
func (*AkSkCreateResponse) Descriptor
deprecated
func (*AkSkCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use AkSkCreateResponse.ProtoReflect.Descriptor instead.
func (*AkSkCreateResponse) GetBlob ¶
func (x *AkSkCreateResponse) GetBlob() *AkSkBlob
func (*AkSkCreateResponse) ProtoMessage ¶
func (*AkSkCreateResponse) ProtoMessage()
func (*AkSkCreateResponse) ProtoReflect ¶
func (x *AkSkCreateResponse) ProtoReflect() protoreflect.Message
func (*AkSkCreateResponse) Reset ¶
func (x *AkSkCreateResponse) Reset()
func (*AkSkCreateResponse) String ¶
func (x *AkSkCreateResponse) String() string
type AkSkDetail ¶
type AkSkDetail struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Blob *AkSkBlob `protobuf:"bytes,4,opt,name=blob,proto3" json:"blob,omitempty"` Token string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*AkSkDetail) Descriptor
deprecated
func (*AkSkDetail) Descriptor() ([]byte, []int)
Deprecated: Use AkSkDetail.ProtoReflect.Descriptor instead.
func (*AkSkDetail) GetBlob ¶
func (x *AkSkDetail) GetBlob() *AkSkBlob
func (*AkSkDetail) GetProjectId ¶
func (x *AkSkDetail) GetProjectId() string
func (*AkSkDetail) GetToken ¶
func (x *AkSkDetail) GetToken() string
func (*AkSkDetail) GetType ¶
func (x *AkSkDetail) GetType() string
func (*AkSkDetail) GetUserId ¶
func (x *AkSkDetail) GetUserId() string
func (*AkSkDetail) ProtoMessage ¶
func (*AkSkDetail) ProtoMessage()
func (*AkSkDetail) ProtoReflect ¶
func (x *AkSkDetail) ProtoReflect() protoreflect.Message
func (*AkSkDetail) Reset ¶
func (x *AkSkDetail) Reset()
func (*AkSkDetail) String ¶
func (x *AkSkDetail) String() string
type AkSkHandler ¶
type AkSkHandler interface { DownloadAkSk(context.Context, *GetAkSkRequest, *GetAkSkResponse) error GetAkSk(context.Context, *GetAkSkRequest, *GetAkSkResponse) error CreateAkSk(context.Context, *AkSkCreateRequest, *AkSkBlob) error DeleteAkSk(context.Context, *DeleteAkSkRequest, *DeleteAkSkResponse) error }
type AkSkService ¶
type AkSkService interface { DownloadAkSk(ctx context.Context, in *GetAkSkRequest, opts ...client.CallOption) (*GetAkSkResponse, error) GetAkSk(ctx context.Context, in *GetAkSkRequest, opts ...client.CallOption) (*GetAkSkResponse, error) CreateAkSk(ctx context.Context, in *AkSkCreateRequest, opts ...client.CallOption) (*AkSkBlob, error) DeleteAkSk(ctx context.Context, in *DeleteAkSkRequest, opts ...client.CallOption) (*DeleteAkSkResponse, error) }
func NewAkSkService ¶
func NewAkSkService(name string, c client.Client) AkSkService
type DeleteAkSkRequest ¶
type DeleteAkSkRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*DeleteAkSkRequest) Descriptor
deprecated
func (*DeleteAkSkRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAkSkRequest.ProtoReflect.Descriptor instead.
func (*DeleteAkSkRequest) GetToken ¶
func (x *DeleteAkSkRequest) GetToken() string
func (*DeleteAkSkRequest) GetUserId ¶
func (x *DeleteAkSkRequest) GetUserId() string
func (*DeleteAkSkRequest) ProtoMessage ¶
func (*DeleteAkSkRequest) ProtoMessage()
func (*DeleteAkSkRequest) ProtoReflect ¶
func (x *DeleteAkSkRequest) ProtoReflect() protoreflect.Message
func (*DeleteAkSkRequest) Reset ¶
func (x *DeleteAkSkRequest) Reset()
func (*DeleteAkSkRequest) String ¶
func (x *DeleteAkSkRequest) String() string
type DeleteAkSkResponse ¶
type DeleteAkSkResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*DeleteAkSkResponse) Descriptor
deprecated
func (*DeleteAkSkResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAkSkResponse.ProtoReflect.Descriptor instead.
func (*DeleteAkSkResponse) GetMessage ¶
func (x *DeleteAkSkResponse) GetMessage() string
func (*DeleteAkSkResponse) ProtoMessage ¶
func (*DeleteAkSkResponse) ProtoMessage()
func (*DeleteAkSkResponse) ProtoReflect ¶
func (x *DeleteAkSkResponse) ProtoReflect() protoreflect.Message
func (*DeleteAkSkResponse) Reset ¶
func (x *DeleteAkSkResponse) Reset()
func (*DeleteAkSkResponse) String ¶
func (x *DeleteAkSkResponse) String() string
type GetAkSkRequest ¶
type GetAkSkRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*GetAkSkRequest) Descriptor
deprecated
func (*GetAkSkRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAkSkRequest.ProtoReflect.Descriptor instead.
func (*GetAkSkRequest) GetToken ¶
func (x *GetAkSkRequest) GetToken() string
func (*GetAkSkRequest) GetUserId ¶
func (x *GetAkSkRequest) GetUserId() string
func (*GetAkSkRequest) ProtoMessage ¶
func (*GetAkSkRequest) ProtoMessage()
func (*GetAkSkRequest) ProtoReflect ¶
func (x *GetAkSkRequest) ProtoReflect() protoreflect.Message
func (*GetAkSkRequest) Reset ¶
func (x *GetAkSkRequest) Reset()
func (*GetAkSkRequest) String ¶
func (x *GetAkSkRequest) String() string
type GetAkSkResponse ¶
type GetAkSkResponse struct { AkSkDetail []*AkSkDetail `protobuf:"bytes,1,rep,name=AkSkDetail,json=akSkDetail,proto3" json:"AkSkDetail,omitempty"` // contains filtered or unexported fields }
func (*GetAkSkResponse) Descriptor
deprecated
func (*GetAkSkResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAkSkResponse.ProtoReflect.Descriptor instead.
func (*GetAkSkResponse) GetAkSkDetail ¶
func (x *GetAkSkResponse) GetAkSkDetail() []*AkSkDetail
func (*GetAkSkResponse) ProtoMessage ¶
func (*GetAkSkResponse) ProtoMessage()
func (*GetAkSkResponse) ProtoReflect ¶
func (x *GetAkSkResponse) ProtoReflect() protoreflect.Message
func (*GetAkSkResponse) Reset ¶
func (x *GetAkSkResponse) Reset()
func (*GetAkSkResponse) String ¶
func (x *GetAkSkResponse) String() string
Click to show internal directories.
Click to hide internal directories.