Documentation ¶
Index ¶
- Variables
- func OrgClientServiceClientType() reflect.Type
- func OrgClientServiceHandlerType() reflect.Type
- func OrgClientServiceServerType() reflect.Type
- func RegisterOrgClientServiceHandler(r http.Router, srv OrgClientServiceHandler, opts ...http.HandleOption)
- func RegisterOrgClientServiceImp(regester transport.Register, srv OrgClientServiceServer, ...)
- func RegisterOrgClientServiceServer(s grpc1.ServiceRegistrar, srv OrgClientServiceServer, ...)
- func ServiceNames(svr ...string) []string
- func Types() []reflect.Type
- type ChangeClientLimitRequest
- func (*ChangeClientLimitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeClientLimitRequest) GetClientId() string
- func (x *ChangeClientLimitRequest) GetLimits() []*pb.LimitType
- func (x *ChangeClientLimitRequest) GetPackageId() string
- func (m *ChangeClientLimitRequest) MarshalJSON() ([]byte, error)
- func (*ChangeClientLimitRequest) ProtoMessage()
- func (x *ChangeClientLimitRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeClientLimitRequest) Reset()
- func (x *ChangeClientLimitRequest) String() string
- func (m *ChangeClientLimitRequest) UnmarshalJSON(b []byte) error
- func (m *ChangeClientLimitRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ChangeClientLimitRequest) Validate() error
- type ChangeClientLimitResponse
- func (*ChangeClientLimitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeClientLimitResponse) GetData() bool
- func (m *ChangeClientLimitResponse) MarshalJSON() ([]byte, error)
- func (*ChangeClientLimitResponse) ProtoMessage()
- func (x *ChangeClientLimitResponse) ProtoReflect() protoreflect.Message
- func (x *ChangeClientLimitResponse) Reset()
- func (x *ChangeClientLimitResponse) String() string
- func (m *ChangeClientLimitResponse) UnmarshalJSON(b []byte) error
- func (m *ChangeClientLimitResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ChangeClientLimitResponse) Validate() error
- type ClientInfo
- func (*ClientInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ClientInfo) GetClientId() string
- func (x *ClientInfo) GetClientSecret() string
- func (m *ClientInfo) MarshalJSON() ([]byte, error)
- func (*ClientInfo) ProtoMessage()
- func (x *ClientInfo) ProtoReflect() protoreflect.Message
- func (x *ClientInfo) Reset()
- func (x *ClientInfo) String() string
- func (m *ClientInfo) UnmarshalJSON(b []byte) error
- func (m *ClientInfo) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ClientInfo) Validate() error
- type CreateClientRequest
- func (*CreateClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClientRequest) GetClientName() string
- func (m *CreateClientRequest) MarshalJSON() ([]byte, error)
- func (*CreateClientRequest) ProtoMessage()
- func (x *CreateClientRequest) ProtoReflect() protoreflect.Message
- func (x *CreateClientRequest) Reset()
- func (x *CreateClientRequest) String() string
- func (m *CreateClientRequest) UnmarshalJSON(b []byte) error
- func (m *CreateClientRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *CreateClientRequest) Validate() error
- type CreateClientResponse
- func (*CreateClientResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClientResponse) GetData() *ClientInfo
- func (m *CreateClientResponse) MarshalJSON() ([]byte, error)
- func (*CreateClientResponse) ProtoMessage()
- func (x *CreateClientResponse) ProtoReflect() protoreflect.Message
- func (x *CreateClientResponse) Reset()
- func (x *CreateClientResponse) String() string
- func (m *CreateClientResponse) UnmarshalJSON(b []byte) error
- func (m *CreateClientResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *CreateClientResponse) Validate() error
- type DeleteClientRequest
- func (*DeleteClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClientRequest) GetClientId() string
- func (m *DeleteClientRequest) MarshalJSON() ([]byte, error)
- func (*DeleteClientRequest) ProtoMessage()
- func (x *DeleteClientRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteClientRequest) Reset()
- func (x *DeleteClientRequest) String() string
- func (m *DeleteClientRequest) UnmarshalJSON(b []byte) error
- func (m *DeleteClientRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *DeleteClientRequest) Validate() error
- type DeleteClientResponse
- func (*DeleteClientResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClientResponse) GetData() bool
- func (m *DeleteClientResponse) MarshalJSON() ([]byte, error)
- func (*DeleteClientResponse) ProtoMessage()
- func (x *DeleteClientResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteClientResponse) Reset()
- func (x *DeleteClientResponse) String() string
- func (m *DeleteClientResponse) UnmarshalJSON(b []byte) error
- func (m *DeleteClientResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *DeleteClientResponse) Validate() error
- type GetCredentialsRequest
- func (*GetCredentialsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCredentialsRequest) GetClientId() string
- func (m *GetCredentialsRequest) MarshalJSON() ([]byte, error)
- func (*GetCredentialsRequest) ProtoMessage()
- func (x *GetCredentialsRequest) ProtoReflect() protoreflect.Message
- func (x *GetCredentialsRequest) Reset()
- func (x *GetCredentialsRequest) String() string
- func (m *GetCredentialsRequest) UnmarshalJSON(b []byte) error
- func (m *GetCredentialsRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetCredentialsRequest) Validate() error
- type GetCredentialsResponse
- func (*GetCredentialsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCredentialsResponse) GetData() *ClientInfo
- func (m *GetCredentialsResponse) MarshalJSON() ([]byte, error)
- func (*GetCredentialsResponse) ProtoMessage()
- func (x *GetCredentialsResponse) ProtoReflect() protoreflect.Message
- func (x *GetCredentialsResponse) Reset()
- func (x *GetCredentialsResponse) String() string
- func (m *GetCredentialsResponse) UnmarshalJSON(b []byte) error
- func (m *GetCredentialsResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetCredentialsResponse) Validate() error
- type GrantEndpointRequest
- func (*GrantEndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GrantEndpointRequest) GetClientId() string
- func (x *GrantEndpointRequest) GetPackageId() string
- func (m *GrantEndpointRequest) MarshalJSON() ([]byte, error)
- func (*GrantEndpointRequest) ProtoMessage()
- func (x *GrantEndpointRequest) ProtoReflect() protoreflect.Message
- func (x *GrantEndpointRequest) Reset()
- func (x *GrantEndpointRequest) String() string
- func (m *GrantEndpointRequest) UnmarshalJSON(b []byte) error
- func (m *GrantEndpointRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GrantEndpointRequest) Validate() error
- type GrantEndpointResponse
- func (*GrantEndpointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GrantEndpointResponse) GetData() bool
- func (m *GrantEndpointResponse) MarshalJSON() ([]byte, error)
- func (*GrantEndpointResponse) ProtoMessage()
- func (x *GrantEndpointResponse) ProtoReflect() protoreflect.Message
- func (x *GrantEndpointResponse) Reset()
- func (x *GrantEndpointResponse) String() string
- func (m *GrantEndpointResponse) UnmarshalJSON(b []byte) error
- func (m *GrantEndpointResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GrantEndpointResponse) Validate() error
- type OrgClientServiceClient
- type OrgClientServiceHandler
- type OrgClientServiceServer
- type RevokeEndpointRequest
- func (*RevokeEndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeEndpointRequest) GetClientId() string
- func (x *RevokeEndpointRequest) GetPackageId() string
- func (m *RevokeEndpointRequest) MarshalJSON() ([]byte, error)
- func (*RevokeEndpointRequest) ProtoMessage()
- func (x *RevokeEndpointRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeEndpointRequest) Reset()
- func (x *RevokeEndpointRequest) String() string
- func (m *RevokeEndpointRequest) UnmarshalJSON(b []byte) error
- func (m *RevokeEndpointRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *RevokeEndpointRequest) Validate() error
- type RevokeEndpointResponse
- func (*RevokeEndpointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeEndpointResponse) GetData() bool
- func (m *RevokeEndpointResponse) MarshalJSON() ([]byte, error)
- func (*RevokeEndpointResponse) ProtoMessage()
- func (x *RevokeEndpointResponse) ProtoReflect() protoreflect.Message
- func (x *RevokeEndpointResponse) Reset()
- func (x *RevokeEndpointResponse) String() string
- func (m *RevokeEndpointResponse) UnmarshalJSON(b []byte) error
- func (m *RevokeEndpointResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *RevokeEndpointResponse) Validate() error
- type UnimplementedOrgClientServiceServer
- func (*UnimplementedOrgClientServiceServer) ChangeClientLimit(context.Context, *ChangeClientLimitRequest) (*ChangeClientLimitResponse, error)
- func (*UnimplementedOrgClientServiceServer) CreateClient(context.Context, *CreateClientRequest) (*CreateClientResponse, error)
- func (*UnimplementedOrgClientServiceServer) DeleteClient(context.Context, *DeleteClientRequest) (*DeleteClientResponse, error)
- func (*UnimplementedOrgClientServiceServer) GetCredentials(context.Context, *GetCredentialsRequest) (*GetCredentialsResponse, error)
- func (*UnimplementedOrgClientServiceServer) GrantEndpoint(context.Context, *GrantEndpointRequest) (*GrantEndpointResponse, error)
- func (*UnimplementedOrgClientServiceServer) RevokeEndpoint(context.Context, *RevokeEndpointRequest) (*RevokeEndpointResponse, error)
- func (*UnimplementedOrgClientServiceServer) UpdateCredentials(context.Context, *UpdateCredentialsRequest) (*UpdateCredentialsResponse, error)
- type UpdateCredentialsRequest
- func (*UpdateCredentialsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCredentialsRequest) GetClientId() string
- func (x *UpdateCredentialsRequest) GetClientSecret() string
- func (m *UpdateCredentialsRequest) MarshalJSON() ([]byte, error)
- func (*UpdateCredentialsRequest) ProtoMessage()
- func (x *UpdateCredentialsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCredentialsRequest) Reset()
- func (x *UpdateCredentialsRequest) String() string
- func (m *UpdateCredentialsRequest) UnmarshalJSON(b []byte) error
- func (m *UpdateCredentialsRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *UpdateCredentialsRequest) Validate() error
- type UpdateCredentialsResponse
- func (*UpdateCredentialsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCredentialsResponse) GetData() *ClientInfo
- func (m *UpdateCredentialsResponse) MarshalJSON() ([]byte, error)
- func (*UpdateCredentialsResponse) ProtoMessage()
- func (x *UpdateCredentialsResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateCredentialsResponse) Reset()
- func (x *UpdateCredentialsResponse) String() string
- func (m *UpdateCredentialsResponse) UnmarshalJSON(b []byte) error
- func (m *UpdateCredentialsResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *UpdateCredentialsResponse) Validate() error
Constants ¶
This section is empty.
Variables ¶
var File_org_client_proto protoreflect.FileDescriptor
Functions ¶
func OrgClientServiceClientType ¶
OrgClientServiceClientType .
func OrgClientServiceHandlerType ¶
OrgClientServiceHandlerType .
func OrgClientServiceServerType ¶
OrgClientServiceServerType .
func RegisterOrgClientServiceHandler ¶
func RegisterOrgClientServiceHandler(r http.Router, srv OrgClientServiceHandler, opts ...http.HandleOption)
RegisterOrgClientServiceHandler register OrgClientServiceHandler to http.Router.
func RegisterOrgClientServiceImp ¶
func RegisterOrgClientServiceImp(regester transport.Register, srv OrgClientServiceServer, opts ...transport.ServiceOption)
RegisterOrgClientServiceImp org_client.proto
func RegisterOrgClientServiceServer ¶
func RegisterOrgClientServiceServer(s grpc1.ServiceRegistrar, srv OrgClientServiceServer, opts ...grpc1.HandleOption)
Types ¶
type ChangeClientLimitRequest ¶
type ChangeClientLimitRequest struct { ClientId string `protobuf:"bytes,1,opt,name=clientId,proto3" json:"clientId,omitempty"` PackageId string `protobuf:"bytes,2,opt,name=packageId,proto3" json:"packageId,omitempty"` Limits []*pb.LimitType `protobuf:"bytes,3,rep,name=limits,proto3" json:"limits,omitempty"` // contains filtered or unexported fields }
func (*ChangeClientLimitRequest) Descriptor
deprecated
func (*ChangeClientLimitRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeClientLimitRequest.ProtoReflect.Descriptor instead.
func (*ChangeClientLimitRequest) GetClientId ¶
func (x *ChangeClientLimitRequest) GetClientId() string
func (*ChangeClientLimitRequest) GetLimits ¶
func (x *ChangeClientLimitRequest) GetLimits() []*pb.LimitType
func (*ChangeClientLimitRequest) GetPackageId ¶
func (x *ChangeClientLimitRequest) GetPackageId() string
func (*ChangeClientLimitRequest) MarshalJSON ¶
func (m *ChangeClientLimitRequest) MarshalJSON() ([]byte, error)
ChangeClientLimitRequest implement json.Marshaler.
func (*ChangeClientLimitRequest) ProtoMessage ¶
func (*ChangeClientLimitRequest) ProtoMessage()
func (*ChangeClientLimitRequest) ProtoReflect ¶
func (x *ChangeClientLimitRequest) ProtoReflect() protoreflect.Message
func (*ChangeClientLimitRequest) Reset ¶
func (x *ChangeClientLimitRequest) Reset()
func (*ChangeClientLimitRequest) String ¶
func (x *ChangeClientLimitRequest) String() string
func (*ChangeClientLimitRequest) UnmarshalJSON ¶
func (m *ChangeClientLimitRequest) UnmarshalJSON(b []byte) error
ChangeClientLimitRequest implement json.Marshaler.
func (*ChangeClientLimitRequest) UnmarshalURLValues ¶
func (m *ChangeClientLimitRequest) UnmarshalURLValues(prefix string, values url.Values) error
ChangeClientLimitRequest implement urlenc.URLValuesUnmarshaler.
func (*ChangeClientLimitRequest) Validate ¶
func (this *ChangeClientLimitRequest) Validate() error
type ChangeClientLimitResponse ¶
type ChangeClientLimitResponse struct { Data bool `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ChangeClientLimitResponse) Descriptor
deprecated
func (*ChangeClientLimitResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangeClientLimitResponse.ProtoReflect.Descriptor instead.
func (*ChangeClientLimitResponse) GetData ¶
func (x *ChangeClientLimitResponse) GetData() bool
func (*ChangeClientLimitResponse) MarshalJSON ¶
func (m *ChangeClientLimitResponse) MarshalJSON() ([]byte, error)
ChangeClientLimitResponse implement json.Marshaler.
func (*ChangeClientLimitResponse) ProtoMessage ¶
func (*ChangeClientLimitResponse) ProtoMessage()
func (*ChangeClientLimitResponse) ProtoReflect ¶
func (x *ChangeClientLimitResponse) ProtoReflect() protoreflect.Message
func (*ChangeClientLimitResponse) Reset ¶
func (x *ChangeClientLimitResponse) Reset()
func (*ChangeClientLimitResponse) String ¶
func (x *ChangeClientLimitResponse) String() string
func (*ChangeClientLimitResponse) UnmarshalJSON ¶
func (m *ChangeClientLimitResponse) UnmarshalJSON(b []byte) error
ChangeClientLimitResponse implement json.Marshaler.
func (*ChangeClientLimitResponse) UnmarshalURLValues ¶
func (m *ChangeClientLimitResponse) UnmarshalURLValues(prefix string, values url.Values) error
ChangeClientLimitResponse implement urlenc.URLValuesUnmarshaler.
func (*ChangeClientLimitResponse) Validate ¶
func (this *ChangeClientLimitResponse) Validate() error
type ClientInfo ¶
type ClientInfo struct { ClientId string `protobuf:"bytes,1,opt,name=clientId,proto3" json:"clientId,omitempty"` ClientSecret string `protobuf:"bytes,2,opt,name=clientSecret,proto3" json:"clientSecret,omitempty"` // contains filtered or unexported fields }
func (*ClientInfo) Descriptor
deprecated
func (*ClientInfo) Descriptor() ([]byte, []int)
Deprecated: Use ClientInfo.ProtoReflect.Descriptor instead.
func (*ClientInfo) GetClientId ¶
func (x *ClientInfo) GetClientId() string
func (*ClientInfo) GetClientSecret ¶
func (x *ClientInfo) GetClientSecret() string
func (*ClientInfo) MarshalJSON ¶
func (m *ClientInfo) MarshalJSON() ([]byte, error)
ClientInfo implement json.Marshaler.
func (*ClientInfo) ProtoMessage ¶
func (*ClientInfo) ProtoMessage()
func (*ClientInfo) ProtoReflect ¶
func (x *ClientInfo) ProtoReflect() protoreflect.Message
func (*ClientInfo) Reset ¶
func (x *ClientInfo) Reset()
func (*ClientInfo) String ¶
func (x *ClientInfo) String() string
func (*ClientInfo) UnmarshalJSON ¶
func (m *ClientInfo) UnmarshalJSON(b []byte) error
ClientInfo implement json.Marshaler.
func (*ClientInfo) UnmarshalURLValues ¶
func (m *ClientInfo) UnmarshalURLValues(prefix string, values url.Values) error
ClientInfo implement urlenc.URLValuesUnmarshaler.
func (*ClientInfo) Validate ¶
func (this *ClientInfo) Validate() error
type CreateClientRequest ¶
type CreateClientRequest struct { ClientName string `protobuf:"bytes,1,opt,name=clientName,proto3" json:"clientName,omitempty"` // contains filtered or unexported fields }
func (*CreateClientRequest) Descriptor
deprecated
func (*CreateClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateClientRequest.ProtoReflect.Descriptor instead.
func (*CreateClientRequest) GetClientName ¶
func (x *CreateClientRequest) GetClientName() string
func (*CreateClientRequest) MarshalJSON ¶
func (m *CreateClientRequest) MarshalJSON() ([]byte, error)
CreateClientRequest implement json.Marshaler.
func (*CreateClientRequest) ProtoMessage ¶
func (*CreateClientRequest) ProtoMessage()
func (*CreateClientRequest) ProtoReflect ¶
func (x *CreateClientRequest) ProtoReflect() protoreflect.Message
func (*CreateClientRequest) Reset ¶
func (x *CreateClientRequest) Reset()
func (*CreateClientRequest) String ¶
func (x *CreateClientRequest) String() string
func (*CreateClientRequest) UnmarshalJSON ¶
func (m *CreateClientRequest) UnmarshalJSON(b []byte) error
CreateClientRequest implement json.Marshaler.
func (*CreateClientRequest) UnmarshalURLValues ¶
func (m *CreateClientRequest) UnmarshalURLValues(prefix string, values url.Values) error
CreateClientRequest implement urlenc.URLValuesUnmarshaler.
func (*CreateClientRequest) Validate ¶
func (this *CreateClientRequest) Validate() error
type CreateClientResponse ¶
type CreateClientResponse struct { Data *ClientInfo `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateClientResponse) Descriptor
deprecated
func (*CreateClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateClientResponse.ProtoReflect.Descriptor instead.
func (*CreateClientResponse) GetData ¶
func (x *CreateClientResponse) GetData() *ClientInfo
func (*CreateClientResponse) MarshalJSON ¶
func (m *CreateClientResponse) MarshalJSON() ([]byte, error)
CreateClientResponse implement json.Marshaler.
func (*CreateClientResponse) ProtoMessage ¶
func (*CreateClientResponse) ProtoMessage()
func (*CreateClientResponse) ProtoReflect ¶
func (x *CreateClientResponse) ProtoReflect() protoreflect.Message
func (*CreateClientResponse) Reset ¶
func (x *CreateClientResponse) Reset()
func (*CreateClientResponse) String ¶
func (x *CreateClientResponse) String() string
func (*CreateClientResponse) UnmarshalJSON ¶
func (m *CreateClientResponse) UnmarshalJSON(b []byte) error
CreateClientResponse implement json.Marshaler.
func (*CreateClientResponse) UnmarshalURLValues ¶
func (m *CreateClientResponse) UnmarshalURLValues(prefix string, values url.Values) error
CreateClientResponse implement urlenc.URLValuesUnmarshaler.
func (*CreateClientResponse) Validate ¶
func (this *CreateClientResponse) Validate() error
type DeleteClientRequest ¶
type DeleteClientRequest struct { ClientId string `protobuf:"bytes,1,opt,name=clientId,proto3" json:"clientId,omitempty"` // contains filtered or unexported fields }
func (*DeleteClientRequest) Descriptor
deprecated
func (*DeleteClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClientRequest.ProtoReflect.Descriptor instead.
func (*DeleteClientRequest) GetClientId ¶
func (x *DeleteClientRequest) GetClientId() string
func (*DeleteClientRequest) MarshalJSON ¶
func (m *DeleteClientRequest) MarshalJSON() ([]byte, error)
DeleteClientRequest implement json.Marshaler.
func (*DeleteClientRequest) ProtoMessage ¶
func (*DeleteClientRequest) ProtoMessage()
func (*DeleteClientRequest) ProtoReflect ¶
func (x *DeleteClientRequest) ProtoReflect() protoreflect.Message
func (*DeleteClientRequest) Reset ¶
func (x *DeleteClientRequest) Reset()
func (*DeleteClientRequest) String ¶
func (x *DeleteClientRequest) String() string
func (*DeleteClientRequest) UnmarshalJSON ¶
func (m *DeleteClientRequest) UnmarshalJSON(b []byte) error
DeleteClientRequest implement json.Marshaler.
func (*DeleteClientRequest) UnmarshalURLValues ¶
func (m *DeleteClientRequest) UnmarshalURLValues(prefix string, values url.Values) error
DeleteClientRequest implement urlenc.URLValuesUnmarshaler.
func (*DeleteClientRequest) Validate ¶
func (this *DeleteClientRequest) Validate() error
type DeleteClientResponse ¶
type DeleteClientResponse struct { Data bool `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*DeleteClientResponse) Descriptor
deprecated
func (*DeleteClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClientResponse.ProtoReflect.Descriptor instead.
func (*DeleteClientResponse) GetData ¶
func (x *DeleteClientResponse) GetData() bool
func (*DeleteClientResponse) MarshalJSON ¶
func (m *DeleteClientResponse) MarshalJSON() ([]byte, error)
DeleteClientResponse implement json.Marshaler.
func (*DeleteClientResponse) ProtoMessage ¶
func (*DeleteClientResponse) ProtoMessage()
func (*DeleteClientResponse) ProtoReflect ¶
func (x *DeleteClientResponse) ProtoReflect() protoreflect.Message
func (*DeleteClientResponse) Reset ¶
func (x *DeleteClientResponse) Reset()
func (*DeleteClientResponse) String ¶
func (x *DeleteClientResponse) String() string
func (*DeleteClientResponse) UnmarshalJSON ¶
func (m *DeleteClientResponse) UnmarshalJSON(b []byte) error
DeleteClientResponse implement json.Marshaler.
func (*DeleteClientResponse) UnmarshalURLValues ¶
func (m *DeleteClientResponse) UnmarshalURLValues(prefix string, values url.Values) error
DeleteClientResponse implement urlenc.URLValuesUnmarshaler.
func (*DeleteClientResponse) Validate ¶
func (this *DeleteClientResponse) Validate() error
type GetCredentialsRequest ¶
type GetCredentialsRequest struct { ClientId string `protobuf:"bytes,1,opt,name=clientId,proto3" json:"clientId,omitempty"` // contains filtered or unexported fields }
func (*GetCredentialsRequest) Descriptor
deprecated
func (*GetCredentialsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCredentialsRequest.ProtoReflect.Descriptor instead.
func (*GetCredentialsRequest) GetClientId ¶
func (x *GetCredentialsRequest) GetClientId() string
func (*GetCredentialsRequest) MarshalJSON ¶
func (m *GetCredentialsRequest) MarshalJSON() ([]byte, error)
GetCredentialsRequest implement json.Marshaler.
func (*GetCredentialsRequest) ProtoMessage ¶
func (*GetCredentialsRequest) ProtoMessage()
func (*GetCredentialsRequest) ProtoReflect ¶
func (x *GetCredentialsRequest) ProtoReflect() protoreflect.Message
func (*GetCredentialsRequest) Reset ¶
func (x *GetCredentialsRequest) Reset()
func (*GetCredentialsRequest) String ¶
func (x *GetCredentialsRequest) String() string
func (*GetCredentialsRequest) UnmarshalJSON ¶
func (m *GetCredentialsRequest) UnmarshalJSON(b []byte) error
GetCredentialsRequest implement json.Marshaler.
func (*GetCredentialsRequest) UnmarshalURLValues ¶
func (m *GetCredentialsRequest) UnmarshalURLValues(prefix string, values url.Values) error
GetCredentialsRequest implement urlenc.URLValuesUnmarshaler.
func (*GetCredentialsRequest) Validate ¶
func (this *GetCredentialsRequest) Validate() error
type GetCredentialsResponse ¶
type GetCredentialsResponse struct { Data *ClientInfo `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetCredentialsResponse) Descriptor
deprecated
func (*GetCredentialsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCredentialsResponse.ProtoReflect.Descriptor instead.
func (*GetCredentialsResponse) GetData ¶
func (x *GetCredentialsResponse) GetData() *ClientInfo
func (*GetCredentialsResponse) MarshalJSON ¶
func (m *GetCredentialsResponse) MarshalJSON() ([]byte, error)
GetCredentialsResponse implement json.Marshaler.
func (*GetCredentialsResponse) ProtoMessage ¶
func (*GetCredentialsResponse) ProtoMessage()
func (*GetCredentialsResponse) ProtoReflect ¶
func (x *GetCredentialsResponse) ProtoReflect() protoreflect.Message
func (*GetCredentialsResponse) Reset ¶
func (x *GetCredentialsResponse) Reset()
func (*GetCredentialsResponse) String ¶
func (x *GetCredentialsResponse) String() string
func (*GetCredentialsResponse) UnmarshalJSON ¶
func (m *GetCredentialsResponse) UnmarshalJSON(b []byte) error
GetCredentialsResponse implement json.Marshaler.
func (*GetCredentialsResponse) UnmarshalURLValues ¶
func (m *GetCredentialsResponse) UnmarshalURLValues(prefix string, values url.Values) error
GetCredentialsResponse implement urlenc.URLValuesUnmarshaler.
func (*GetCredentialsResponse) Validate ¶
func (this *GetCredentialsResponse) Validate() error
type GrantEndpointRequest ¶
type GrantEndpointRequest struct { ClientId string `protobuf:"bytes,1,opt,name=clientId,proto3" json:"clientId,omitempty"` PackageId string `protobuf:"bytes,2,opt,name=packageId,proto3" json:"packageId,omitempty"` // contains filtered or unexported fields }
func (*GrantEndpointRequest) Descriptor
deprecated
func (*GrantEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use GrantEndpointRequest.ProtoReflect.Descriptor instead.
func (*GrantEndpointRequest) GetClientId ¶
func (x *GrantEndpointRequest) GetClientId() string
func (*GrantEndpointRequest) GetPackageId ¶
func (x *GrantEndpointRequest) GetPackageId() string
func (*GrantEndpointRequest) MarshalJSON ¶
func (m *GrantEndpointRequest) MarshalJSON() ([]byte, error)
GrantEndpointRequest implement json.Marshaler.
func (*GrantEndpointRequest) ProtoMessage ¶
func (*GrantEndpointRequest) ProtoMessage()
func (*GrantEndpointRequest) ProtoReflect ¶
func (x *GrantEndpointRequest) ProtoReflect() protoreflect.Message
func (*GrantEndpointRequest) Reset ¶
func (x *GrantEndpointRequest) Reset()
func (*GrantEndpointRequest) String ¶
func (x *GrantEndpointRequest) String() string
func (*GrantEndpointRequest) UnmarshalJSON ¶
func (m *GrantEndpointRequest) UnmarshalJSON(b []byte) error
GrantEndpointRequest implement json.Marshaler.
func (*GrantEndpointRequest) UnmarshalURLValues ¶
func (m *GrantEndpointRequest) UnmarshalURLValues(prefix string, values url.Values) error
GrantEndpointRequest implement urlenc.URLValuesUnmarshaler.
func (*GrantEndpointRequest) Validate ¶
func (this *GrantEndpointRequest) Validate() error
type GrantEndpointResponse ¶
type GrantEndpointResponse struct { Data bool `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GrantEndpointResponse) Descriptor
deprecated
func (*GrantEndpointResponse) Descriptor() ([]byte, []int)
Deprecated: Use GrantEndpointResponse.ProtoReflect.Descriptor instead.
func (*GrantEndpointResponse) GetData ¶
func (x *GrantEndpointResponse) GetData() bool
func (*GrantEndpointResponse) MarshalJSON ¶
func (m *GrantEndpointResponse) MarshalJSON() ([]byte, error)
GrantEndpointResponse implement json.Marshaler.
func (*GrantEndpointResponse) ProtoMessage ¶
func (*GrantEndpointResponse) ProtoMessage()
func (*GrantEndpointResponse) ProtoReflect ¶
func (x *GrantEndpointResponse) ProtoReflect() protoreflect.Message
func (*GrantEndpointResponse) Reset ¶
func (x *GrantEndpointResponse) Reset()
func (*GrantEndpointResponse) String ¶
func (x *GrantEndpointResponse) String() string
func (*GrantEndpointResponse) UnmarshalJSON ¶
func (m *GrantEndpointResponse) UnmarshalJSON(b []byte) error
GrantEndpointResponse implement json.Marshaler.
func (*GrantEndpointResponse) UnmarshalURLValues ¶
func (m *GrantEndpointResponse) UnmarshalURLValues(prefix string, values url.Values) error
GrantEndpointResponse implement urlenc.URLValuesUnmarshaler.
func (*GrantEndpointResponse) Validate ¶
func (this *GrantEndpointResponse) Validate() error
type OrgClientServiceClient ¶
type OrgClientServiceClient interface { CreateClient(ctx context.Context, in *CreateClientRequest, opts ...grpc.CallOption) (*CreateClientResponse, error) DeleteClient(ctx context.Context, in *DeleteClientRequest, opts ...grpc.CallOption) (*DeleteClientResponse, error) GetCredentials(ctx context.Context, in *GetCredentialsRequest, opts ...grpc.CallOption) (*GetCredentialsResponse, error) UpdateCredentials(ctx context.Context, in *UpdateCredentialsRequest, opts ...grpc.CallOption) (*UpdateCredentialsResponse, error) GrantEndpoint(ctx context.Context, in *GrantEndpointRequest, opts ...grpc.CallOption) (*GrantEndpointResponse, error) RevokeEndpoint(ctx context.Context, in *RevokeEndpointRequest, opts ...grpc.CallOption) (*RevokeEndpointResponse, error) ChangeClientLimit(ctx context.Context, in *ChangeClientLimitRequest, opts ...grpc.CallOption) (*ChangeClientLimitResponse, error) }
OrgClientServiceClient is the client API for OrgClientService 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 NewOrgClientServiceClient ¶
func NewOrgClientServiceClient(cc grpc1.ClientConnInterface) OrgClientServiceClient
type OrgClientServiceHandler ¶
type OrgClientServiceHandler interface { // POST /api/gateway/openapi/clients CreateClient(context.Context, *CreateClientRequest) (*CreateClientResponse, error) // DELETE /api/gateway/openapi/clients/{clientId} DeleteClient(context.Context, *DeleteClientRequest) (*DeleteClientResponse, error) // GET /api/gateway/openapi/clients/{clientId}/credentials GetCredentials(context.Context, *GetCredentialsRequest) (*GetCredentialsResponse, error) // PATCH /api/gateway/openapi/clients/{clientId}/credentials UpdateCredentials(context.Context, *UpdateCredentialsRequest) (*UpdateCredentialsResponse, error) // POST /api/gateway/openapi/clients/{clientId}/packages/{packageId} GrantEndpoint(context.Context, *GrantEndpointRequest) (*GrantEndpointResponse, error) // DELETE /api/gateway/openapi/clients/{clientId}/packages/{packageId} RevokeEndpoint(context.Context, *RevokeEndpointRequest) (*RevokeEndpointResponse, error) // PUT /api/gateway/openapi/clients/{clientId}/packages/{packageId}/limits ChangeClientLimit(context.Context, *ChangeClientLimitRequest) (*ChangeClientLimitResponse, error) }
OrgClientServiceHandler is the server API for OrgClientService service.
type OrgClientServiceServer ¶
type OrgClientServiceServer interface { CreateClient(context.Context, *CreateClientRequest) (*CreateClientResponse, error) DeleteClient(context.Context, *DeleteClientRequest) (*DeleteClientResponse, error) GetCredentials(context.Context, *GetCredentialsRequest) (*GetCredentialsResponse, error) UpdateCredentials(context.Context, *UpdateCredentialsRequest) (*UpdateCredentialsResponse, error) GrantEndpoint(context.Context, *GrantEndpointRequest) (*GrantEndpointResponse, error) RevokeEndpoint(context.Context, *RevokeEndpointRequest) (*RevokeEndpointResponse, error) ChangeClientLimit(context.Context, *ChangeClientLimitRequest) (*ChangeClientLimitResponse, error) }
OrgClientServiceServer is the server API for OrgClientService service. All implementations should embed UnimplementedOrgClientServiceServer for forward compatibility
type RevokeEndpointRequest ¶
type RevokeEndpointRequest struct { ClientId string `protobuf:"bytes,1,opt,name=clientId,proto3" json:"clientId,omitempty"` PackageId string `protobuf:"bytes,2,opt,name=packageId,proto3" json:"packageId,omitempty"` // contains filtered or unexported fields }
func (*RevokeEndpointRequest) Descriptor
deprecated
func (*RevokeEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeEndpointRequest.ProtoReflect.Descriptor instead.
func (*RevokeEndpointRequest) GetClientId ¶
func (x *RevokeEndpointRequest) GetClientId() string
func (*RevokeEndpointRequest) GetPackageId ¶
func (x *RevokeEndpointRequest) GetPackageId() string
func (*RevokeEndpointRequest) MarshalJSON ¶
func (m *RevokeEndpointRequest) MarshalJSON() ([]byte, error)
RevokeEndpointRequest implement json.Marshaler.
func (*RevokeEndpointRequest) ProtoMessage ¶
func (*RevokeEndpointRequest) ProtoMessage()
func (*RevokeEndpointRequest) ProtoReflect ¶
func (x *RevokeEndpointRequest) ProtoReflect() protoreflect.Message
func (*RevokeEndpointRequest) Reset ¶
func (x *RevokeEndpointRequest) Reset()
func (*RevokeEndpointRequest) String ¶
func (x *RevokeEndpointRequest) String() string
func (*RevokeEndpointRequest) UnmarshalJSON ¶
func (m *RevokeEndpointRequest) UnmarshalJSON(b []byte) error
RevokeEndpointRequest implement json.Marshaler.
func (*RevokeEndpointRequest) UnmarshalURLValues ¶
func (m *RevokeEndpointRequest) UnmarshalURLValues(prefix string, values url.Values) error
RevokeEndpointRequest implement urlenc.URLValuesUnmarshaler.
func (*RevokeEndpointRequest) Validate ¶
func (this *RevokeEndpointRequest) Validate() error
type RevokeEndpointResponse ¶
type RevokeEndpointResponse struct { Data bool `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*RevokeEndpointResponse) Descriptor
deprecated
func (*RevokeEndpointResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokeEndpointResponse.ProtoReflect.Descriptor instead.
func (*RevokeEndpointResponse) GetData ¶
func (x *RevokeEndpointResponse) GetData() bool
func (*RevokeEndpointResponse) MarshalJSON ¶
func (m *RevokeEndpointResponse) MarshalJSON() ([]byte, error)
RevokeEndpointResponse implement json.Marshaler.
func (*RevokeEndpointResponse) ProtoMessage ¶
func (*RevokeEndpointResponse) ProtoMessage()
func (*RevokeEndpointResponse) ProtoReflect ¶
func (x *RevokeEndpointResponse) ProtoReflect() protoreflect.Message
func (*RevokeEndpointResponse) Reset ¶
func (x *RevokeEndpointResponse) Reset()
func (*RevokeEndpointResponse) String ¶
func (x *RevokeEndpointResponse) String() string
func (*RevokeEndpointResponse) UnmarshalJSON ¶
func (m *RevokeEndpointResponse) UnmarshalJSON(b []byte) error
RevokeEndpointResponse implement json.Marshaler.
func (*RevokeEndpointResponse) UnmarshalURLValues ¶
func (m *RevokeEndpointResponse) UnmarshalURLValues(prefix string, values url.Values) error
RevokeEndpointResponse implement urlenc.URLValuesUnmarshaler.
func (*RevokeEndpointResponse) Validate ¶
func (this *RevokeEndpointResponse) Validate() error
type UnimplementedOrgClientServiceServer ¶
type UnimplementedOrgClientServiceServer struct { }
UnimplementedOrgClientServiceServer should be embedded to have forward compatible implementations.
func (*UnimplementedOrgClientServiceServer) ChangeClientLimit ¶
func (*UnimplementedOrgClientServiceServer) ChangeClientLimit(context.Context, *ChangeClientLimitRequest) (*ChangeClientLimitResponse, error)
func (*UnimplementedOrgClientServiceServer) CreateClient ¶
func (*UnimplementedOrgClientServiceServer) CreateClient(context.Context, *CreateClientRequest) (*CreateClientResponse, error)
func (*UnimplementedOrgClientServiceServer) DeleteClient ¶
func (*UnimplementedOrgClientServiceServer) DeleteClient(context.Context, *DeleteClientRequest) (*DeleteClientResponse, error)
func (*UnimplementedOrgClientServiceServer) GetCredentials ¶
func (*UnimplementedOrgClientServiceServer) GetCredentials(context.Context, *GetCredentialsRequest) (*GetCredentialsResponse, error)
func (*UnimplementedOrgClientServiceServer) GrantEndpoint ¶
func (*UnimplementedOrgClientServiceServer) GrantEndpoint(context.Context, *GrantEndpointRequest) (*GrantEndpointResponse, error)
func (*UnimplementedOrgClientServiceServer) RevokeEndpoint ¶
func (*UnimplementedOrgClientServiceServer) RevokeEndpoint(context.Context, *RevokeEndpointRequest) (*RevokeEndpointResponse, error)
func (*UnimplementedOrgClientServiceServer) UpdateCredentials ¶
func (*UnimplementedOrgClientServiceServer) UpdateCredentials(context.Context, *UpdateCredentialsRequest) (*UpdateCredentialsResponse, error)
type UpdateCredentialsRequest ¶
type UpdateCredentialsRequest struct { ClientId string `protobuf:"bytes,1,opt,name=clientId,proto3" json:"clientId,omitempty"` ClientSecret string `protobuf:"bytes,2,opt,name=clientSecret,proto3" json:"clientSecret,omitempty"` // contains filtered or unexported fields }
func (*UpdateCredentialsRequest) Descriptor
deprecated
func (*UpdateCredentialsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCredentialsRequest.ProtoReflect.Descriptor instead.
func (*UpdateCredentialsRequest) GetClientId ¶
func (x *UpdateCredentialsRequest) GetClientId() string
func (*UpdateCredentialsRequest) GetClientSecret ¶
func (x *UpdateCredentialsRequest) GetClientSecret() string
func (*UpdateCredentialsRequest) MarshalJSON ¶
func (m *UpdateCredentialsRequest) MarshalJSON() ([]byte, error)
UpdateCredentialsRequest implement json.Marshaler.
func (*UpdateCredentialsRequest) ProtoMessage ¶
func (*UpdateCredentialsRequest) ProtoMessage()
func (*UpdateCredentialsRequest) ProtoReflect ¶
func (x *UpdateCredentialsRequest) ProtoReflect() protoreflect.Message
func (*UpdateCredentialsRequest) Reset ¶
func (x *UpdateCredentialsRequest) Reset()
func (*UpdateCredentialsRequest) String ¶
func (x *UpdateCredentialsRequest) String() string
func (*UpdateCredentialsRequest) UnmarshalJSON ¶
func (m *UpdateCredentialsRequest) UnmarshalJSON(b []byte) error
UpdateCredentialsRequest implement json.Marshaler.
func (*UpdateCredentialsRequest) UnmarshalURLValues ¶
func (m *UpdateCredentialsRequest) UnmarshalURLValues(prefix string, values url.Values) error
UpdateCredentialsRequest implement urlenc.URLValuesUnmarshaler.
func (*UpdateCredentialsRequest) Validate ¶
func (this *UpdateCredentialsRequest) Validate() error
type UpdateCredentialsResponse ¶
type UpdateCredentialsResponse struct { Data *ClientInfo `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*UpdateCredentialsResponse) Descriptor
deprecated
func (*UpdateCredentialsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCredentialsResponse.ProtoReflect.Descriptor instead.
func (*UpdateCredentialsResponse) GetData ¶
func (x *UpdateCredentialsResponse) GetData() *ClientInfo
func (*UpdateCredentialsResponse) MarshalJSON ¶
func (m *UpdateCredentialsResponse) MarshalJSON() ([]byte, error)
UpdateCredentialsResponse implement json.Marshaler.
func (*UpdateCredentialsResponse) ProtoMessage ¶
func (*UpdateCredentialsResponse) ProtoMessage()
func (*UpdateCredentialsResponse) ProtoReflect ¶
func (x *UpdateCredentialsResponse) ProtoReflect() protoreflect.Message
func (*UpdateCredentialsResponse) Reset ¶
func (x *UpdateCredentialsResponse) Reset()
func (*UpdateCredentialsResponse) String ¶
func (x *UpdateCredentialsResponse) String() string
func (*UpdateCredentialsResponse) UnmarshalJSON ¶
func (m *UpdateCredentialsResponse) UnmarshalJSON(b []byte) error
UpdateCredentialsResponse implement json.Marshaler.
func (*UpdateCredentialsResponse) UnmarshalURLValues ¶
func (m *UpdateCredentialsResponse) UnmarshalURLValues(prefix string, values url.Values) error
UpdateCredentialsResponse implement urlenc.URLValuesUnmarshaler.
func (*UpdateCredentialsResponse) Validate ¶
func (this *UpdateCredentialsResponse) Validate() error