Documentation
¶
Index ¶
- Variables
- func AddonMySQLServiceClientType() reflect.Type
- func AddonMySQLServiceHandlerType() reflect.Type
- func AddonMySQLServiceServerType() reflect.Type
- func RegisterAddonMySQLServiceHandler(r http.Router, srv AddonMySQLServiceHandler, opts ...http.HandleOption)
- func RegisterAddonMySQLServiceImp(regester transport.Register, srv AddonMySQLServiceServer, ...)
- func RegisterAddonMySQLServiceServer(s grpc1.ServiceRegistrar, srv AddonMySQLServiceServer, ...)
- func ServiceNames(svr ...string) []string
- func Types() []reflect.Type
- type AddonMySQLServiceClient
- type AddonMySQLServiceHandler
- type AddonMySQLServiceServer
- type Attachment
- func (*Attachment) Descriptor() ([]byte, []int)deprecated
- func (x *Attachment) GetAccountId() string
- func (x *Attachment) GetAccountState() string
- func (x *Attachment) GetAppId() string
- func (x *Attachment) GetConfigs() map[string]string
- func (x *Attachment) GetId() uint64
- func (x *Attachment) GetInstanceId() string
- func (x *Attachment) GetPreAccountId() string
- func (x *Attachment) GetRuntimeId() string
- func (x *Attachment) GetRuntimeName() string
- func (m *Attachment) MarshalJSON() ([]byte, error)
- func (*Attachment) ProtoMessage()
- func (x *Attachment) ProtoReflect() protoreflect.Message
- func (x *Attachment) Reset()
- func (x *Attachment) String() string
- func (m *Attachment) UnmarshalJSON(b []byte) error
- func (m *Attachment) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Attachment) Validate() error
- type DeleteMySQLAccountRequest
- func (*DeleteMySQLAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMySQLAccountRequest) GetId() string
- func (x *DeleteMySQLAccountRequest) GetInstanceId() string
- func (m *DeleteMySQLAccountRequest) MarshalJSON() ([]byte, error)
- func (*DeleteMySQLAccountRequest) ProtoMessage()
- func (x *DeleteMySQLAccountRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMySQLAccountRequest) Reset()
- func (x *DeleteMySQLAccountRequest) String() string
- func (m *DeleteMySQLAccountRequest) UnmarshalJSON(b []byte) error
- func (m *DeleteMySQLAccountRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *DeleteMySQLAccountRequest) Validate() error
- type DeleteMySQLAccountResponse
- func (*DeleteMySQLAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (m *DeleteMySQLAccountResponse) MarshalJSON() ([]byte, error)
- func (*DeleteMySQLAccountResponse) ProtoMessage()
- func (x *DeleteMySQLAccountResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteMySQLAccountResponse) Reset()
- func (x *DeleteMySQLAccountResponse) String() string
- func (m *DeleteMySQLAccountResponse) UnmarshalJSON(b []byte) error
- func (m *DeleteMySQLAccountResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *DeleteMySQLAccountResponse) Validate() error
- type GenerateMySQLAccountRequest
- func (*GenerateMySQLAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateMySQLAccountRequest) GetInstanceId() string
- func (x *GenerateMySQLAccountRequest) GetUserID() string
- func (m *GenerateMySQLAccountRequest) MarshalJSON() ([]byte, error)
- func (*GenerateMySQLAccountRequest) ProtoMessage()
- func (x *GenerateMySQLAccountRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateMySQLAccountRequest) Reset()
- func (x *GenerateMySQLAccountRequest) String() string
- func (m *GenerateMySQLAccountRequest) UnmarshalJSON(b []byte) error
- func (m *GenerateMySQLAccountRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GenerateMySQLAccountRequest) Validate() error
- type GenerateMySQLAccountResponse
- func (*GenerateMySQLAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateMySQLAccountResponse) GetAccount() *MySQLAccount
- func (m *GenerateMySQLAccountResponse) MarshalJSON() ([]byte, error)
- func (*GenerateMySQLAccountResponse) ProtoMessage()
- func (x *GenerateMySQLAccountResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateMySQLAccountResponse) Reset()
- func (x *GenerateMySQLAccountResponse) String() string
- func (m *GenerateMySQLAccountResponse) UnmarshalJSON(b []byte) error
- func (m *GenerateMySQLAccountResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GenerateMySQLAccountResponse) Validate() error
- type ListAttachmentRequest
- func (*ListAttachmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAttachmentRequest) GetInstanceId() string
- func (m *ListAttachmentRequest) MarshalJSON() ([]byte, error)
- func (*ListAttachmentRequest) ProtoMessage()
- func (x *ListAttachmentRequest) ProtoReflect() protoreflect.Message
- func (x *ListAttachmentRequest) Reset()
- func (x *ListAttachmentRequest) String() string
- func (m *ListAttachmentRequest) UnmarshalJSON(b []byte) error
- func (m *ListAttachmentRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ListAttachmentRequest) Validate() error
- type ListAttachmentResponse
- func (*ListAttachmentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAttachmentResponse) GetAttachments() []*Attachment
- func (m *ListAttachmentResponse) MarshalJSON() ([]byte, error)
- func (*ListAttachmentResponse) ProtoMessage()
- func (x *ListAttachmentResponse) ProtoReflect() protoreflect.Message
- func (x *ListAttachmentResponse) Reset()
- func (x *ListAttachmentResponse) String() string
- func (m *ListAttachmentResponse) UnmarshalJSON(b []byte) error
- func (m *ListAttachmentResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ListAttachmentResponse) Validate() error
- type ListMySQLAccountRequest
- func (*ListMySQLAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMySQLAccountRequest) GetInstanceId() string
- func (m *ListMySQLAccountRequest) MarshalJSON() ([]byte, error)
- func (*ListMySQLAccountRequest) ProtoMessage()
- func (x *ListMySQLAccountRequest) ProtoReflect() protoreflect.Message
- func (x *ListMySQLAccountRequest) Reset()
- func (x *ListMySQLAccountRequest) String() string
- func (m *ListMySQLAccountRequest) UnmarshalJSON(b []byte) error
- func (m *ListMySQLAccountRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ListMySQLAccountRequest) Validate() error
- type ListMySQLAccountResponse
- func (*ListMySQLAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMySQLAccountResponse) GetAccounts() []*MySQLAccount
- func (m *ListMySQLAccountResponse) MarshalJSON() ([]byte, error)
- func (*ListMySQLAccountResponse) ProtoMessage()
- func (x *ListMySQLAccountResponse) ProtoReflect() protoreflect.Message
- func (x *ListMySQLAccountResponse) Reset()
- func (x *ListMySQLAccountResponse) String() string
- func (m *ListMySQLAccountResponse) UnmarshalJSON(b []byte) error
- func (m *ListMySQLAccountResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ListMySQLAccountResponse) Validate() error
- type MySQLAccount
- func (*MySQLAccount) Descriptor() ([]byte, []int)deprecated
- func (x *MySQLAccount) GetCreateAt() *timestamppb.Timestamp
- func (x *MySQLAccount) GetCreator() string
- func (x *MySQLAccount) GetId() string
- func (x *MySQLAccount) GetInstanceId() string
- func (x *MySQLAccount) GetPassword() string
- func (x *MySQLAccount) GetUsername() string
- func (m *MySQLAccount) MarshalJSON() ([]byte, error)
- func (*MySQLAccount) ProtoMessage()
- func (x *MySQLAccount) ProtoReflect() protoreflect.Message
- func (x *MySQLAccount) Reset()
- func (x *MySQLAccount) String() string
- func (m *MySQLAccount) UnmarshalJSON(b []byte) error
- func (m *MySQLAccount) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *MySQLAccount) Validate() error
- type UnimplementedAddonMySQLServiceServer
- func (*UnimplementedAddonMySQLServiceServer) DeleteMySQLAccount(context.Context, *DeleteMySQLAccountRequest) (*DeleteMySQLAccountResponse, error)
- func (*UnimplementedAddonMySQLServiceServer) GenerateMySQLAccount(context.Context, *GenerateMySQLAccountRequest) (*GenerateMySQLAccountResponse, error)
- func (*UnimplementedAddonMySQLServiceServer) ListAttachment(context.Context, *ListAttachmentRequest) (*ListAttachmentResponse, error)
- func (*UnimplementedAddonMySQLServiceServer) ListMySQLAccount(context.Context, *ListMySQLAccountRequest) (*ListMySQLAccountResponse, error)
- func (*UnimplementedAddonMySQLServiceServer) UpdateAttachmentAccount(context.Context, *UpdateAttachmentAccountRequest) (*UpdateAttachmentAccountResponse, error)
- type UpdateAttachmentAccountRequest
- func (*UpdateAttachmentAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAttachmentAccountRequest) GetAccountId() string
- func (x *UpdateAttachmentAccountRequest) GetId() uint64
- func (x *UpdateAttachmentAccountRequest) GetInstanceId() string
- func (m *UpdateAttachmentAccountRequest) MarshalJSON() ([]byte, error)
- func (*UpdateAttachmentAccountRequest) ProtoMessage()
- func (x *UpdateAttachmentAccountRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAttachmentAccountRequest) Reset()
- func (x *UpdateAttachmentAccountRequest) String() string
- func (m *UpdateAttachmentAccountRequest) UnmarshalJSON(b []byte) error
- func (m *UpdateAttachmentAccountRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *UpdateAttachmentAccountRequest) Validate() error
- type UpdateAttachmentAccountResponse
- func (*UpdateAttachmentAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (m *UpdateAttachmentAccountResponse) MarshalJSON() ([]byte, error)
- func (*UpdateAttachmentAccountResponse) ProtoMessage()
- func (x *UpdateAttachmentAccountResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateAttachmentAccountResponse) Reset()
- func (x *UpdateAttachmentAccountResponse) String() string
- func (m *UpdateAttachmentAccountResponse) UnmarshalJSON(b []byte) error
- func (m *UpdateAttachmentAccountResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *UpdateAttachmentAccountResponse) Validate() error
Constants ¶
This section is empty.
Variables ¶
var File_mysql_proto protoreflect.FileDescriptor
Functions ¶
func AddonMySQLServiceClientType ¶
AddonMySQLServiceClientType .
func AddonMySQLServiceHandlerType ¶
AddonMySQLServiceHandlerType .
func AddonMySQLServiceServerType ¶
AddonMySQLServiceServerType .
func RegisterAddonMySQLServiceHandler ¶
func RegisterAddonMySQLServiceHandler(r http.Router, srv AddonMySQLServiceHandler, opts ...http.HandleOption)
RegisterAddonMySQLServiceHandler register AddonMySQLServiceHandler to http.Router.
func RegisterAddonMySQLServiceImp ¶
func RegisterAddonMySQLServiceImp(regester transport.Register, srv AddonMySQLServiceServer, opts ...transport.ServiceOption)
RegisterAddonMySQLServiceImp mysql.proto
func RegisterAddonMySQLServiceServer ¶
func RegisterAddonMySQLServiceServer(s grpc1.ServiceRegistrar, srv AddonMySQLServiceServer, opts ...grpc1.HandleOption)
Types ¶
type AddonMySQLServiceClient ¶
type AddonMySQLServiceClient interface { ListMySQLAccount(ctx context.Context, in *ListMySQLAccountRequest, opts ...grpc.CallOption) (*ListMySQLAccountResponse, error) GenerateMySQLAccount(ctx context.Context, in *GenerateMySQLAccountRequest, opts ...grpc.CallOption) (*GenerateMySQLAccountResponse, error) DeleteMySQLAccount(ctx context.Context, in *DeleteMySQLAccountRequest, opts ...grpc.CallOption) (*DeleteMySQLAccountResponse, error) ListAttachment(ctx context.Context, in *ListAttachmentRequest, opts ...grpc.CallOption) (*ListAttachmentResponse, error) UpdateAttachmentAccount(ctx context.Context, in *UpdateAttachmentAccountRequest, opts ...grpc.CallOption) (*UpdateAttachmentAccountResponse, error) }
AddonMySQLServiceClient is the client API for AddonMySQLService 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 NewAddonMySQLServiceClient ¶
func NewAddonMySQLServiceClient(cc grpc1.ClientConnInterface) AddonMySQLServiceClient
type AddonMySQLServiceHandler ¶
type AddonMySQLServiceHandler interface { // GET /api/addon-mysql/actions/list-mysql-account ListMySQLAccount(context.Context, *ListMySQLAccountRequest) (*ListMySQLAccountResponse, error) // POST /api/addon-mysql/actions/generate-mysql-account GenerateMySQLAccount(context.Context, *GenerateMySQLAccountRequest) (*GenerateMySQLAccountResponse, error) // POST /api/addon-mysql/actions/delete-mysql-account DeleteMySQLAccount(context.Context, *DeleteMySQLAccountRequest) (*DeleteMySQLAccountResponse, error) // GET /api/addon-mysql/actions/list-attachment ListAttachment(context.Context, *ListAttachmentRequest) (*ListAttachmentResponse, error) // POST /api/addon-mysql/actions/update-attachment-account UpdateAttachmentAccount(context.Context, *UpdateAttachmentAccountRequest) (*UpdateAttachmentAccountResponse, error) }
AddonMySQLServiceHandler is the server API for AddonMySQLService service.
type AddonMySQLServiceServer ¶
type AddonMySQLServiceServer interface { ListMySQLAccount(context.Context, *ListMySQLAccountRequest) (*ListMySQLAccountResponse, error) GenerateMySQLAccount(context.Context, *GenerateMySQLAccountRequest) (*GenerateMySQLAccountResponse, error) DeleteMySQLAccount(context.Context, *DeleteMySQLAccountRequest) (*DeleteMySQLAccountResponse, error) ListAttachment(context.Context, *ListAttachmentRequest) (*ListAttachmentResponse, error) UpdateAttachmentAccount(context.Context, *UpdateAttachmentAccountRequest) (*UpdateAttachmentAccountResponse, error) }
AddonMySQLServiceServer is the server API for AddonMySQLService service. All implementations should embed UnimplementedAddonMySQLServiceServer for forward compatibility
type Attachment ¶
type Attachment struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` InstanceId string `protobuf:"bytes,2,opt,name=instanceId,proto3" json:"instanceId,omitempty"` AppId string `protobuf:"bytes,3,opt,name=appId,proto3" json:"appId,omitempty"` RuntimeId string `protobuf:"bytes,4,opt,name=runtimeId,proto3" json:"runtimeId,omitempty"` RuntimeName string `protobuf:"bytes,5,opt,name=runtimeName,proto3" json:"runtimeName,omitempty"` AccountId string `protobuf:"bytes,6,opt,name=accountId,proto3" json:"accountId,omitempty"` PreAccountId string `protobuf:"bytes,7,opt,name=preAccountId,proto3" json:"preAccountId,omitempty"` AccountState string `protobuf:"bytes,8,opt,name=accountState,proto3" json:"accountState,omitempty"` Configs map[string]string `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Attachment) Descriptor
deprecated
func (*Attachment) Descriptor() ([]byte, []int)
Deprecated: Use Attachment.ProtoReflect.Descriptor instead.
func (*Attachment) GetAccountId ¶
func (x *Attachment) GetAccountId() string
func (*Attachment) GetAccountState ¶
func (x *Attachment) GetAccountState() string
func (*Attachment) GetAppId ¶
func (x *Attachment) GetAppId() string
func (*Attachment) GetConfigs ¶
func (x *Attachment) GetConfigs() map[string]string
func (*Attachment) GetId ¶
func (x *Attachment) GetId() uint64
func (*Attachment) GetInstanceId ¶
func (x *Attachment) GetInstanceId() string
func (*Attachment) GetPreAccountId ¶
func (x *Attachment) GetPreAccountId() string
func (*Attachment) GetRuntimeId ¶
func (x *Attachment) GetRuntimeId() string
func (*Attachment) GetRuntimeName ¶
func (x *Attachment) GetRuntimeName() string
func (*Attachment) MarshalJSON ¶
func (m *Attachment) MarshalJSON() ([]byte, error)
Attachment implement json.Marshaler.
func (*Attachment) ProtoMessage ¶
func (*Attachment) ProtoMessage()
func (*Attachment) ProtoReflect ¶
func (x *Attachment) ProtoReflect() protoreflect.Message
func (*Attachment) Reset ¶
func (x *Attachment) Reset()
func (*Attachment) String ¶
func (x *Attachment) String() string
func (*Attachment) UnmarshalJSON ¶
func (m *Attachment) UnmarshalJSON(b []byte) error
Attachment implement json.Marshaler.
func (*Attachment) UnmarshalURLValues ¶
func (m *Attachment) UnmarshalURLValues(prefix string, values url.Values) error
Attachment implement urlenc.URLValuesUnmarshaler.
func (*Attachment) Validate ¶
func (this *Attachment) Validate() error
type DeleteMySQLAccountRequest ¶
type DeleteMySQLAccountRequest struct { InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteMySQLAccountRequest) Descriptor
deprecated
func (*DeleteMySQLAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMySQLAccountRequest.ProtoReflect.Descriptor instead.
func (*DeleteMySQLAccountRequest) GetId ¶
func (x *DeleteMySQLAccountRequest) GetId() string
func (*DeleteMySQLAccountRequest) GetInstanceId ¶
func (x *DeleteMySQLAccountRequest) GetInstanceId() string
func (*DeleteMySQLAccountRequest) MarshalJSON ¶
func (m *DeleteMySQLAccountRequest) MarshalJSON() ([]byte, error)
DeleteMySQLAccountRequest implement json.Marshaler.
func (*DeleteMySQLAccountRequest) ProtoMessage ¶
func (*DeleteMySQLAccountRequest) ProtoMessage()
func (*DeleteMySQLAccountRequest) ProtoReflect ¶
func (x *DeleteMySQLAccountRequest) ProtoReflect() protoreflect.Message
func (*DeleteMySQLAccountRequest) Reset ¶
func (x *DeleteMySQLAccountRequest) Reset()
func (*DeleteMySQLAccountRequest) String ¶
func (x *DeleteMySQLAccountRequest) String() string
func (*DeleteMySQLAccountRequest) UnmarshalJSON ¶
func (m *DeleteMySQLAccountRequest) UnmarshalJSON(b []byte) error
DeleteMySQLAccountRequest implement json.Marshaler.
func (*DeleteMySQLAccountRequest) UnmarshalURLValues ¶
func (m *DeleteMySQLAccountRequest) UnmarshalURLValues(prefix string, values url.Values) error
DeleteMySQLAccountRequest implement urlenc.URLValuesUnmarshaler.
func (*DeleteMySQLAccountRequest) Validate ¶
func (this *DeleteMySQLAccountRequest) Validate() error
type DeleteMySQLAccountResponse ¶
type DeleteMySQLAccountResponse struct {
// contains filtered or unexported fields
}
func (*DeleteMySQLAccountResponse) Descriptor
deprecated
func (*DeleteMySQLAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMySQLAccountResponse.ProtoReflect.Descriptor instead.
func (*DeleteMySQLAccountResponse) MarshalJSON ¶
func (m *DeleteMySQLAccountResponse) MarshalJSON() ([]byte, error)
DeleteMySQLAccountResponse implement json.Marshaler.
func (*DeleteMySQLAccountResponse) ProtoMessage ¶
func (*DeleteMySQLAccountResponse) ProtoMessage()
func (*DeleteMySQLAccountResponse) ProtoReflect ¶
func (x *DeleteMySQLAccountResponse) ProtoReflect() protoreflect.Message
func (*DeleteMySQLAccountResponse) Reset ¶
func (x *DeleteMySQLAccountResponse) Reset()
func (*DeleteMySQLAccountResponse) String ¶
func (x *DeleteMySQLAccountResponse) String() string
func (*DeleteMySQLAccountResponse) UnmarshalJSON ¶
func (m *DeleteMySQLAccountResponse) UnmarshalJSON(b []byte) error
DeleteMySQLAccountResponse implement json.Marshaler.
func (*DeleteMySQLAccountResponse) UnmarshalURLValues ¶
func (m *DeleteMySQLAccountResponse) UnmarshalURLValues(prefix string, values url.Values) error
DeleteMySQLAccountResponse implement urlenc.URLValuesUnmarshaler.
func (*DeleteMySQLAccountResponse) Validate ¶
func (this *DeleteMySQLAccountResponse) Validate() error
type GenerateMySQLAccountRequest ¶
type GenerateMySQLAccountRequest struct { InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId,omitempty"` UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"` // contains filtered or unexported fields }
func (*GenerateMySQLAccountRequest) Descriptor
deprecated
func (*GenerateMySQLAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateMySQLAccountRequest.ProtoReflect.Descriptor instead.
func (*GenerateMySQLAccountRequest) GetInstanceId ¶
func (x *GenerateMySQLAccountRequest) GetInstanceId() string
func (*GenerateMySQLAccountRequest) GetUserID ¶
func (x *GenerateMySQLAccountRequest) GetUserID() string
func (*GenerateMySQLAccountRequest) MarshalJSON ¶
func (m *GenerateMySQLAccountRequest) MarshalJSON() ([]byte, error)
GenerateMySQLAccountRequest implement json.Marshaler.
func (*GenerateMySQLAccountRequest) ProtoMessage ¶
func (*GenerateMySQLAccountRequest) ProtoMessage()
func (*GenerateMySQLAccountRequest) ProtoReflect ¶
func (x *GenerateMySQLAccountRequest) ProtoReflect() protoreflect.Message
func (*GenerateMySQLAccountRequest) Reset ¶
func (x *GenerateMySQLAccountRequest) Reset()
func (*GenerateMySQLAccountRequest) String ¶
func (x *GenerateMySQLAccountRequest) String() string
func (*GenerateMySQLAccountRequest) UnmarshalJSON ¶
func (m *GenerateMySQLAccountRequest) UnmarshalJSON(b []byte) error
GenerateMySQLAccountRequest implement json.Marshaler.
func (*GenerateMySQLAccountRequest) UnmarshalURLValues ¶
func (m *GenerateMySQLAccountRequest) UnmarshalURLValues(prefix string, values url.Values) error
GenerateMySQLAccountRequest implement urlenc.URLValuesUnmarshaler.
func (*GenerateMySQLAccountRequest) Validate ¶
func (this *GenerateMySQLAccountRequest) Validate() error
type GenerateMySQLAccountResponse ¶
type GenerateMySQLAccountResponse struct { Account *MySQLAccount `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*GenerateMySQLAccountResponse) Descriptor
deprecated
func (*GenerateMySQLAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateMySQLAccountResponse.ProtoReflect.Descriptor instead.
func (*GenerateMySQLAccountResponse) GetAccount ¶
func (x *GenerateMySQLAccountResponse) GetAccount() *MySQLAccount
func (*GenerateMySQLAccountResponse) MarshalJSON ¶
func (m *GenerateMySQLAccountResponse) MarshalJSON() ([]byte, error)
GenerateMySQLAccountResponse implement json.Marshaler.
func (*GenerateMySQLAccountResponse) ProtoMessage ¶
func (*GenerateMySQLAccountResponse) ProtoMessage()
func (*GenerateMySQLAccountResponse) ProtoReflect ¶
func (x *GenerateMySQLAccountResponse) ProtoReflect() protoreflect.Message
func (*GenerateMySQLAccountResponse) Reset ¶
func (x *GenerateMySQLAccountResponse) Reset()
func (*GenerateMySQLAccountResponse) String ¶
func (x *GenerateMySQLAccountResponse) String() string
func (*GenerateMySQLAccountResponse) UnmarshalJSON ¶
func (m *GenerateMySQLAccountResponse) UnmarshalJSON(b []byte) error
GenerateMySQLAccountResponse implement json.Marshaler.
func (*GenerateMySQLAccountResponse) UnmarshalURLValues ¶
func (m *GenerateMySQLAccountResponse) UnmarshalURLValues(prefix string, values url.Values) error
GenerateMySQLAccountResponse implement urlenc.URLValuesUnmarshaler.
func (*GenerateMySQLAccountResponse) Validate ¶
func (this *GenerateMySQLAccountResponse) Validate() error
type ListAttachmentRequest ¶
type ListAttachmentRequest struct { InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId,omitempty"` // contains filtered or unexported fields }
func (*ListAttachmentRequest) Descriptor
deprecated
func (*ListAttachmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAttachmentRequest.ProtoReflect.Descriptor instead.
func (*ListAttachmentRequest) GetInstanceId ¶
func (x *ListAttachmentRequest) GetInstanceId() string
func (*ListAttachmentRequest) MarshalJSON ¶
func (m *ListAttachmentRequest) MarshalJSON() ([]byte, error)
ListAttachmentRequest implement json.Marshaler.
func (*ListAttachmentRequest) ProtoMessage ¶
func (*ListAttachmentRequest) ProtoMessage()
func (*ListAttachmentRequest) ProtoReflect ¶
func (x *ListAttachmentRequest) ProtoReflect() protoreflect.Message
func (*ListAttachmentRequest) Reset ¶
func (x *ListAttachmentRequest) Reset()
func (*ListAttachmentRequest) String ¶
func (x *ListAttachmentRequest) String() string
func (*ListAttachmentRequest) UnmarshalJSON ¶
func (m *ListAttachmentRequest) UnmarshalJSON(b []byte) error
ListAttachmentRequest implement json.Marshaler.
func (*ListAttachmentRequest) UnmarshalURLValues ¶
func (m *ListAttachmentRequest) UnmarshalURLValues(prefix string, values url.Values) error
ListAttachmentRequest implement urlenc.URLValuesUnmarshaler.
func (*ListAttachmentRequest) Validate ¶
func (this *ListAttachmentRequest) Validate() error
type ListAttachmentResponse ¶
type ListAttachmentResponse struct { Attachments []*Attachment `protobuf:"bytes,1,rep,name=attachments,proto3" json:"attachments,omitempty"` // contains filtered or unexported fields }
func (*ListAttachmentResponse) Descriptor
deprecated
func (*ListAttachmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAttachmentResponse.ProtoReflect.Descriptor instead.
func (*ListAttachmentResponse) GetAttachments ¶
func (x *ListAttachmentResponse) GetAttachments() []*Attachment
func (*ListAttachmentResponse) MarshalJSON ¶
func (m *ListAttachmentResponse) MarshalJSON() ([]byte, error)
ListAttachmentResponse implement json.Marshaler.
func (*ListAttachmentResponse) ProtoMessage ¶
func (*ListAttachmentResponse) ProtoMessage()
func (*ListAttachmentResponse) ProtoReflect ¶
func (x *ListAttachmentResponse) ProtoReflect() protoreflect.Message
func (*ListAttachmentResponse) Reset ¶
func (x *ListAttachmentResponse) Reset()
func (*ListAttachmentResponse) String ¶
func (x *ListAttachmentResponse) String() string
func (*ListAttachmentResponse) UnmarshalJSON ¶
func (m *ListAttachmentResponse) UnmarshalJSON(b []byte) error
ListAttachmentResponse implement json.Marshaler.
func (*ListAttachmentResponse) UnmarshalURLValues ¶
func (m *ListAttachmentResponse) UnmarshalURLValues(prefix string, values url.Values) error
ListAttachmentResponse implement urlenc.URLValuesUnmarshaler.
func (*ListAttachmentResponse) Validate ¶
func (this *ListAttachmentResponse) Validate() error
type ListMySQLAccountRequest ¶
type ListMySQLAccountRequest struct { InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId,omitempty"` // contains filtered or unexported fields }
func (*ListMySQLAccountRequest) Descriptor
deprecated
func (*ListMySQLAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMySQLAccountRequest.ProtoReflect.Descriptor instead.
func (*ListMySQLAccountRequest) GetInstanceId ¶
func (x *ListMySQLAccountRequest) GetInstanceId() string
func (*ListMySQLAccountRequest) MarshalJSON ¶
func (m *ListMySQLAccountRequest) MarshalJSON() ([]byte, error)
ListMySQLAccountRequest implement json.Marshaler.
func (*ListMySQLAccountRequest) ProtoMessage ¶
func (*ListMySQLAccountRequest) ProtoMessage()
func (*ListMySQLAccountRequest) ProtoReflect ¶
func (x *ListMySQLAccountRequest) ProtoReflect() protoreflect.Message
func (*ListMySQLAccountRequest) Reset ¶
func (x *ListMySQLAccountRequest) Reset()
func (*ListMySQLAccountRequest) String ¶
func (x *ListMySQLAccountRequest) String() string
func (*ListMySQLAccountRequest) UnmarshalJSON ¶
func (m *ListMySQLAccountRequest) UnmarshalJSON(b []byte) error
ListMySQLAccountRequest implement json.Marshaler.
func (*ListMySQLAccountRequest) UnmarshalURLValues ¶
func (m *ListMySQLAccountRequest) UnmarshalURLValues(prefix string, values url.Values) error
ListMySQLAccountRequest implement urlenc.URLValuesUnmarshaler.
func (*ListMySQLAccountRequest) Validate ¶
func (this *ListMySQLAccountRequest) Validate() error
type ListMySQLAccountResponse ¶
type ListMySQLAccountResponse struct { Accounts []*MySQLAccount `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` // contains filtered or unexported fields }
func (*ListMySQLAccountResponse) Descriptor
deprecated
func (*ListMySQLAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMySQLAccountResponse.ProtoReflect.Descriptor instead.
func (*ListMySQLAccountResponse) GetAccounts ¶
func (x *ListMySQLAccountResponse) GetAccounts() []*MySQLAccount
func (*ListMySQLAccountResponse) MarshalJSON ¶
func (m *ListMySQLAccountResponse) MarshalJSON() ([]byte, error)
ListMySQLAccountResponse implement json.Marshaler.
func (*ListMySQLAccountResponse) ProtoMessage ¶
func (*ListMySQLAccountResponse) ProtoMessage()
func (*ListMySQLAccountResponse) ProtoReflect ¶
func (x *ListMySQLAccountResponse) ProtoReflect() protoreflect.Message
func (*ListMySQLAccountResponse) Reset ¶
func (x *ListMySQLAccountResponse) Reset()
func (*ListMySQLAccountResponse) String ¶
func (x *ListMySQLAccountResponse) String() string
func (*ListMySQLAccountResponse) UnmarshalJSON ¶
func (m *ListMySQLAccountResponse) UnmarshalJSON(b []byte) error
ListMySQLAccountResponse implement json.Marshaler.
func (*ListMySQLAccountResponse) UnmarshalURLValues ¶
func (m *ListMySQLAccountResponse) UnmarshalURLValues(prefix string, values url.Values) error
ListMySQLAccountResponse implement urlenc.URLValuesUnmarshaler.
func (*ListMySQLAccountResponse) Validate ¶
func (this *ListMySQLAccountResponse) Validate() error
type MySQLAccount ¶
type MySQLAccount struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` InstanceId string `protobuf:"bytes,2,opt,name=instanceId,proto3" json:"instanceId,omitempty"` Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"` CreateAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=createAt,proto3" json:"createAt,omitempty"` Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*MySQLAccount) Descriptor
deprecated
func (*MySQLAccount) Descriptor() ([]byte, []int)
Deprecated: Use MySQLAccount.ProtoReflect.Descriptor instead.
func (*MySQLAccount) GetCreateAt ¶
func (x *MySQLAccount) GetCreateAt() *timestamppb.Timestamp
func (*MySQLAccount) GetCreator ¶
func (x *MySQLAccount) GetCreator() string
func (*MySQLAccount) GetId ¶
func (x *MySQLAccount) GetId() string
func (*MySQLAccount) GetInstanceId ¶
func (x *MySQLAccount) GetInstanceId() string
func (*MySQLAccount) GetPassword ¶
func (x *MySQLAccount) GetPassword() string
func (*MySQLAccount) GetUsername ¶
func (x *MySQLAccount) GetUsername() string
func (*MySQLAccount) MarshalJSON ¶
func (m *MySQLAccount) MarshalJSON() ([]byte, error)
MySQLAccount implement json.Marshaler.
func (*MySQLAccount) ProtoMessage ¶
func (*MySQLAccount) ProtoMessage()
func (*MySQLAccount) ProtoReflect ¶
func (x *MySQLAccount) ProtoReflect() protoreflect.Message
func (*MySQLAccount) Reset ¶
func (x *MySQLAccount) Reset()
func (*MySQLAccount) String ¶
func (x *MySQLAccount) String() string
func (*MySQLAccount) UnmarshalJSON ¶
func (m *MySQLAccount) UnmarshalJSON(b []byte) error
MySQLAccount implement json.Marshaler.
func (*MySQLAccount) UnmarshalURLValues ¶
func (m *MySQLAccount) UnmarshalURLValues(prefix string, values url.Values) error
MySQLAccount implement urlenc.URLValuesUnmarshaler.
func (*MySQLAccount) Validate ¶
func (this *MySQLAccount) Validate() error
type UnimplementedAddonMySQLServiceServer ¶
type UnimplementedAddonMySQLServiceServer struct { }
UnimplementedAddonMySQLServiceServer should be embedded to have forward compatible implementations.
func (*UnimplementedAddonMySQLServiceServer) DeleteMySQLAccount ¶
func (*UnimplementedAddonMySQLServiceServer) DeleteMySQLAccount(context.Context, *DeleteMySQLAccountRequest) (*DeleteMySQLAccountResponse, error)
func (*UnimplementedAddonMySQLServiceServer) GenerateMySQLAccount ¶
func (*UnimplementedAddonMySQLServiceServer) GenerateMySQLAccount(context.Context, *GenerateMySQLAccountRequest) (*GenerateMySQLAccountResponse, error)
func (*UnimplementedAddonMySQLServiceServer) ListAttachment ¶
func (*UnimplementedAddonMySQLServiceServer) ListAttachment(context.Context, *ListAttachmentRequest) (*ListAttachmentResponse, error)
func (*UnimplementedAddonMySQLServiceServer) ListMySQLAccount ¶
func (*UnimplementedAddonMySQLServiceServer) ListMySQLAccount(context.Context, *ListMySQLAccountRequest) (*ListMySQLAccountResponse, error)
func (*UnimplementedAddonMySQLServiceServer) UpdateAttachmentAccount ¶
func (*UnimplementedAddonMySQLServiceServer) UpdateAttachmentAccount(context.Context, *UpdateAttachmentAccountRequest) (*UpdateAttachmentAccountResponse, error)
type UpdateAttachmentAccountRequest ¶
type UpdateAttachmentAccountRequest struct { InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` AccountId string `protobuf:"bytes,3,opt,name=accountId,proto3" json:"accountId,omitempty"` // contains filtered or unexported fields }
func (*UpdateAttachmentAccountRequest) Descriptor
deprecated
func (*UpdateAttachmentAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAttachmentAccountRequest.ProtoReflect.Descriptor instead.
func (*UpdateAttachmentAccountRequest) GetAccountId ¶
func (x *UpdateAttachmentAccountRequest) GetAccountId() string
func (*UpdateAttachmentAccountRequest) GetId ¶
func (x *UpdateAttachmentAccountRequest) GetId() uint64
func (*UpdateAttachmentAccountRequest) GetInstanceId ¶
func (x *UpdateAttachmentAccountRequest) GetInstanceId() string
func (*UpdateAttachmentAccountRequest) MarshalJSON ¶
func (m *UpdateAttachmentAccountRequest) MarshalJSON() ([]byte, error)
UpdateAttachmentAccountRequest implement json.Marshaler.
func (*UpdateAttachmentAccountRequest) ProtoMessage ¶
func (*UpdateAttachmentAccountRequest) ProtoMessage()
func (*UpdateAttachmentAccountRequest) ProtoReflect ¶
func (x *UpdateAttachmentAccountRequest) ProtoReflect() protoreflect.Message
func (*UpdateAttachmentAccountRequest) Reset ¶
func (x *UpdateAttachmentAccountRequest) Reset()
func (*UpdateAttachmentAccountRequest) String ¶
func (x *UpdateAttachmentAccountRequest) String() string
func (*UpdateAttachmentAccountRequest) UnmarshalJSON ¶
func (m *UpdateAttachmentAccountRequest) UnmarshalJSON(b []byte) error
UpdateAttachmentAccountRequest implement json.Marshaler.
func (*UpdateAttachmentAccountRequest) UnmarshalURLValues ¶
func (m *UpdateAttachmentAccountRequest) UnmarshalURLValues(prefix string, values url.Values) error
UpdateAttachmentAccountRequest implement urlenc.URLValuesUnmarshaler.
func (*UpdateAttachmentAccountRequest) Validate ¶
func (this *UpdateAttachmentAccountRequest) Validate() error
type UpdateAttachmentAccountResponse ¶
type UpdateAttachmentAccountResponse struct {
// contains filtered or unexported fields
}
func (*UpdateAttachmentAccountResponse) Descriptor
deprecated
func (*UpdateAttachmentAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAttachmentAccountResponse.ProtoReflect.Descriptor instead.
func (*UpdateAttachmentAccountResponse) MarshalJSON ¶
func (m *UpdateAttachmentAccountResponse) MarshalJSON() ([]byte, error)
UpdateAttachmentAccountResponse implement json.Marshaler.
func (*UpdateAttachmentAccountResponse) ProtoMessage ¶
func (*UpdateAttachmentAccountResponse) ProtoMessage()
func (*UpdateAttachmentAccountResponse) ProtoReflect ¶
func (x *UpdateAttachmentAccountResponse) ProtoReflect() protoreflect.Message
func (*UpdateAttachmentAccountResponse) Reset ¶
func (x *UpdateAttachmentAccountResponse) Reset()
func (*UpdateAttachmentAccountResponse) String ¶
func (x *UpdateAttachmentAccountResponse) String() string
func (*UpdateAttachmentAccountResponse) UnmarshalJSON ¶
func (m *UpdateAttachmentAccountResponse) UnmarshalJSON(b []byte) error
UpdateAttachmentAccountResponse implement json.Marshaler.
func (*UpdateAttachmentAccountResponse) UnmarshalURLValues ¶
func (m *UpdateAttachmentAccountResponse) UnmarshalURLValues(prefix string, values url.Values) error
UpdateAttachmentAccountResponse implement urlenc.URLValuesUnmarshaler.
func (*UpdateAttachmentAccountResponse) Validate ¶
func (this *UpdateAttachmentAccountResponse) Validate() error