Documentation
¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterLicenseServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterLicenseServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LicenseServiceClient) error
- func RegisterLicenseServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterLicenseServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LicenseServiceServer) error
- func RegisterLicenseServiceServer(s grpc.ServiceRegistrar, srv LicenseServiceServer)
- type CreateLicenseFromKeyRequest
- func (*CreateLicenseFromKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLicenseFromKeyRequest) GetKey() string
- func (x *CreateLicenseFromKeyRequest) GetTenant() string
- func (*CreateLicenseFromKeyRequest) ProtoMessage()
- func (x *CreateLicenseFromKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateLicenseFromKeyRequest) Reset()
- func (x *CreateLicenseFromKeyRequest) String() string
- type CreateLicenseRequest
- func (*CreateLicenseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLicenseRequest) GetLicense() *v1alpha1.License
- func (*CreateLicenseRequest) ProtoMessage()
- func (x *CreateLicenseRequest) ProtoReflect() protoreflect.Message
- func (x *CreateLicenseRequest) Reset()
- func (x *CreateLicenseRequest) String() string
- type CreateLicenseResponse
- type DeleteLicenseRequest
- func (*DeleteLicenseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteLicenseRequest) GetName() string
- func (x *DeleteLicenseRequest) GetNamespace() string
- func (*DeleteLicenseRequest) ProtoMessage()
- func (x *DeleteLicenseRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteLicenseRequest) Reset()
- func (x *DeleteLicenseRequest) String() string
- type DeleteLicenseResponse
- type GetLicenseNamespacesRequest
- func (*GetLicenseNamespacesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLicenseNamespacesRequest) GetName() string
- func (x *GetLicenseNamespacesRequest) GetNamespace() string
- func (*GetLicenseNamespacesRequest) ProtoMessage()
- func (x *GetLicenseNamespacesRequest) ProtoReflect() protoreflect.Message
- func (x *GetLicenseNamespacesRequest) Reset()
- func (x *GetLicenseNamespacesRequest) String() string
- type GetLicenseNamespacesResponse
- func (*GetLicenseNamespacesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLicenseNamespacesResponse) GetNamespaces() []*v1.NamespaceInfo
- func (*GetLicenseNamespacesResponse) ProtoMessage()
- func (x *GetLicenseNamespacesResponse) ProtoReflect() protoreflect.Message
- func (x *GetLicenseNamespacesResponse) Reset()
- func (x *GetLicenseNamespacesResponse) String() string
- type GetLicenseRequest
- func (*GetLicenseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLicenseRequest) GetName() string
- func (x *GetLicenseRequest) GetNamespace() string
- func (*GetLicenseRequest) ProtoMessage()
- func (x *GetLicenseRequest) ProtoReflect() protoreflect.Message
- func (x *GetLicenseRequest) Reset()
- func (x *GetLicenseRequest) String() string
- type GetLicenseResponse
- func (*GetLicenseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLicenseResponse) GetLicense() *v1alpha1.License
- func (x *GetLicenseResponse) GetYaml() string
- func (*GetLicenseResponse) ProtoMessage()
- func (x *GetLicenseResponse) ProtoReflect() protoreflect.Message
- func (x *GetLicenseResponse) Reset()
- func (x *GetLicenseResponse) String() string
- type LicenseResponse
- type LicenseServiceClient
- type LicenseServiceServer
- type ListLicensesRequest
- func (*ListLicensesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListLicensesRequest) GetLabels() map[string]string
- func (x *ListLicensesRequest) GetNamespace() string
- func (x *ListLicensesRequest) GetOrderBy() string
- func (x *ListLicensesRequest) GetPageSize() int32
- func (x *ListLicensesRequest) GetPageToken() string
- func (*ListLicensesRequest) ProtoMessage()
- func (x *ListLicensesRequest) ProtoReflect() protoreflect.Message
- func (x *ListLicensesRequest) Reset()
- func (x *ListLicensesRequest) String() string
- type ListLicensesResponse
- func (*ListLicensesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListLicensesResponse) GetLicences() *v1alpha1.LicenseList
- func (x *ListLicensesResponse) GetNextPageToken() string
- func (*ListLicensesResponse) ProtoMessage()
- func (x *ListLicensesResponse) ProtoReflect() protoreflect.Message
- func (x *ListLicensesResponse) Reset()
- func (x *ListLicensesResponse) String() string
- type UnimplementedLicenseServiceServer
- func (UnimplementedLicenseServiceServer) CreateLicense(context.Context, *CreateLicenseRequest) (*CreateLicenseResponse, error)
- func (UnimplementedLicenseServiceServer) CreateLicenseFromKey(context.Context, *CreateLicenseFromKeyRequest) (*CreateLicenseResponse, error)
- func (UnimplementedLicenseServiceServer) DeleteLicense(context.Context, *DeleteLicenseRequest) (*DeleteLicenseResponse, error)
- func (UnimplementedLicenseServiceServer) GetLicense(context.Context, *GetLicenseRequest) (*GetLicenseResponse, error)
- func (UnimplementedLicenseServiceServer) ListLicenses(context.Context, *ListLicensesRequest) (*ListLicensesResponse, error)
- func (UnimplementedLicenseServiceServer) UpdateLicense(context.Context, *UpdateLicenseRequest) (*UpdateLicenseResponse, error)
- type UnsafeLicenseServiceServer
- type UpdateLicenseRequest
- func (*UpdateLicenseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLicenseRequest) GetFieldMask() *field_mask.FieldMask
- func (x *UpdateLicenseRequest) GetLicense() *v1alpha1.License
- func (*UpdateLicenseRequest) ProtoMessage()
- func (x *UpdateLicenseRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateLicenseRequest) Reset()
- func (x *UpdateLicenseRequest) String() string
- type UpdateLicenseResponse
Constants ¶
This section is empty.
Variables ¶
var File_github_com_metaprov_modelaapi_services_license_v1_license_proto protoreflect.FileDescriptor
var LicenseService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "github.com.metaprov.modelaapi.services.license.v1.LicenseService", HandlerType: (*LicenseServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListLicenses", Handler: _LicenseService_ListLicenses_Handler, }, { MethodName: "CreateLicense", Handler: _LicenseService_CreateLicense_Handler, }, { MethodName: "CreateLicenseFromKey", Handler: _LicenseService_CreateLicenseFromKey_Handler, }, { MethodName: "GetLicense", Handler: _LicenseService_GetLicense_Handler, }, { MethodName: "UpdateLicense", Handler: _LicenseService_UpdateLicense_Handler, }, { MethodName: "DeleteLicense", Handler: _LicenseService_DeleteLicense_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/metaprov/modelaapi/services/license/v1/license.proto", }
LicenseService_ServiceDesc is the grpc.ServiceDesc for LicenseService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLicenseServiceHandler ¶ added in v0.4.687
func RegisterLicenseServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterLicenseServiceHandler registers the http handlers for service LicenseService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterLicenseServiceHandlerClient ¶ added in v0.4.687
func RegisterLicenseServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LicenseServiceClient) error
RegisterLicenseServiceHandlerClient registers the http handlers for service LicenseService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LicenseServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LicenseServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LicenseServiceClient" to call the correct interceptors.
func RegisterLicenseServiceHandlerFromEndpoint ¶ added in v0.4.687
func RegisterLicenseServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterLicenseServiceHandlerFromEndpoint is same as RegisterLicenseServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterLicenseServiceHandlerServer ¶ added in v0.4.687
func RegisterLicenseServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LicenseServiceServer) error
RegisterLicenseServiceHandlerServer registers the http handlers for service LicenseService to "mux". UnaryRPC :call LicenseServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterLicenseServiceHandlerFromEndpoint instead.
func RegisterLicenseServiceServer ¶
func RegisterLicenseServiceServer(s grpc.ServiceRegistrar, srv LicenseServiceServer)
Types ¶
type CreateLicenseFromKeyRequest ¶
type CreateLicenseFromKeyRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Tenant string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"` // contains filtered or unexported fields }
func (*CreateLicenseFromKeyRequest) Descriptor
deprecated
func (*CreateLicenseFromKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateLicenseFromKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateLicenseFromKeyRequest) GetKey ¶
func (x *CreateLicenseFromKeyRequest) GetKey() string
func (*CreateLicenseFromKeyRequest) GetTenant ¶
func (x *CreateLicenseFromKeyRequest) GetTenant() string
func (*CreateLicenseFromKeyRequest) ProtoMessage ¶
func (*CreateLicenseFromKeyRequest) ProtoMessage()
func (*CreateLicenseFromKeyRequest) ProtoReflect ¶
func (x *CreateLicenseFromKeyRequest) ProtoReflect() protoreflect.Message
func (*CreateLicenseFromKeyRequest) Reset ¶
func (x *CreateLicenseFromKeyRequest) Reset()
func (*CreateLicenseFromKeyRequest) String ¶
func (x *CreateLicenseFromKeyRequest) String() string
type CreateLicenseRequest ¶
type CreateLicenseRequest struct { License *v1alpha1.License `protobuf:"bytes,1,opt,name=license,proto3" json:"license,omitempty"` // contains filtered or unexported fields }
func (*CreateLicenseRequest) Descriptor
deprecated
func (*CreateLicenseRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateLicenseRequest.ProtoReflect.Descriptor instead.
func (*CreateLicenseRequest) GetLicense ¶ added in v0.4.472
func (x *CreateLicenseRequest) GetLicense() *v1alpha1.License
func (*CreateLicenseRequest) ProtoMessage ¶
func (*CreateLicenseRequest) ProtoMessage()
func (*CreateLicenseRequest) ProtoReflect ¶
func (x *CreateLicenseRequest) ProtoReflect() protoreflect.Message
func (*CreateLicenseRequest) Reset ¶
func (x *CreateLicenseRequest) Reset()
func (*CreateLicenseRequest) String ¶
func (x *CreateLicenseRequest) String() string
type CreateLicenseResponse ¶
type CreateLicenseResponse struct {
// contains filtered or unexported fields
}
func (*CreateLicenseResponse) Descriptor
deprecated
func (*CreateLicenseResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateLicenseResponse.ProtoReflect.Descriptor instead.
func (*CreateLicenseResponse) ProtoMessage ¶
func (*CreateLicenseResponse) ProtoMessage()
func (*CreateLicenseResponse) ProtoReflect ¶
func (x *CreateLicenseResponse) ProtoReflect() protoreflect.Message
func (*CreateLicenseResponse) Reset ¶
func (x *CreateLicenseResponse) Reset()
func (*CreateLicenseResponse) String ¶
func (x *CreateLicenseResponse) String() string
type DeleteLicenseRequest ¶
type DeleteLicenseRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteLicenseRequest) Descriptor
deprecated
func (*DeleteLicenseRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLicenseRequest.ProtoReflect.Descriptor instead.
func (*DeleteLicenseRequest) GetName ¶
func (x *DeleteLicenseRequest) GetName() string
func (*DeleteLicenseRequest) GetNamespace ¶
func (x *DeleteLicenseRequest) GetNamespace() string
func (*DeleteLicenseRequest) ProtoMessage ¶
func (*DeleteLicenseRequest) ProtoMessage()
func (*DeleteLicenseRequest) ProtoReflect ¶
func (x *DeleteLicenseRequest) ProtoReflect() protoreflect.Message
func (*DeleteLicenseRequest) Reset ¶
func (x *DeleteLicenseRequest) Reset()
func (*DeleteLicenseRequest) String ¶
func (x *DeleteLicenseRequest) String() string
type DeleteLicenseResponse ¶
type DeleteLicenseResponse struct {
// contains filtered or unexported fields
}
func (*DeleteLicenseResponse) Descriptor
deprecated
func (*DeleteLicenseResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLicenseResponse.ProtoReflect.Descriptor instead.
func (*DeleteLicenseResponse) ProtoMessage ¶
func (*DeleteLicenseResponse) ProtoMessage()
func (*DeleteLicenseResponse) ProtoReflect ¶
func (x *DeleteLicenseResponse) ProtoReflect() protoreflect.Message
func (*DeleteLicenseResponse) Reset ¶
func (x *DeleteLicenseResponse) Reset()
func (*DeleteLicenseResponse) String ¶
func (x *DeleteLicenseResponse) String() string
type GetLicenseNamespacesRequest ¶
type GetLicenseNamespacesRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetLicenseNamespacesRequest) Descriptor
deprecated
func (*GetLicenseNamespacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLicenseNamespacesRequest.ProtoReflect.Descriptor instead.
func (*GetLicenseNamespacesRequest) GetName ¶
func (x *GetLicenseNamespacesRequest) GetName() string
func (*GetLicenseNamespacesRequest) GetNamespace ¶
func (x *GetLicenseNamespacesRequest) GetNamespace() string
func (*GetLicenseNamespacesRequest) ProtoMessage ¶
func (*GetLicenseNamespacesRequest) ProtoMessage()
func (*GetLicenseNamespacesRequest) ProtoReflect ¶
func (x *GetLicenseNamespacesRequest) ProtoReflect() protoreflect.Message
func (*GetLicenseNamespacesRequest) Reset ¶
func (x *GetLicenseNamespacesRequest) Reset()
func (*GetLicenseNamespacesRequest) String ¶
func (x *GetLicenseNamespacesRequest) String() string
type GetLicenseNamespacesResponse ¶
type GetLicenseNamespacesResponse struct { Namespaces []*v1.NamespaceInfo `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // contains filtered or unexported fields }
func (*GetLicenseNamespacesResponse) Descriptor
deprecated
func (*GetLicenseNamespacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLicenseNamespacesResponse.ProtoReflect.Descriptor instead.
func (*GetLicenseNamespacesResponse) GetNamespaces ¶
func (x *GetLicenseNamespacesResponse) GetNamespaces() []*v1.NamespaceInfo
func (*GetLicenseNamespacesResponse) ProtoMessage ¶
func (*GetLicenseNamespacesResponse) ProtoMessage()
func (*GetLicenseNamespacesResponse) ProtoReflect ¶
func (x *GetLicenseNamespacesResponse) ProtoReflect() protoreflect.Message
func (*GetLicenseNamespacesResponse) Reset ¶
func (x *GetLicenseNamespacesResponse) Reset()
func (*GetLicenseNamespacesResponse) String ¶
func (x *GetLicenseNamespacesResponse) String() string
type GetLicenseRequest ¶
type GetLicenseRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetLicenseRequest) Descriptor
deprecated
func (*GetLicenseRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLicenseRequest.ProtoReflect.Descriptor instead.
func (*GetLicenseRequest) GetName ¶
func (x *GetLicenseRequest) GetName() string
func (*GetLicenseRequest) GetNamespace ¶
func (x *GetLicenseRequest) GetNamespace() string
func (*GetLicenseRequest) ProtoMessage ¶
func (*GetLicenseRequest) ProtoMessage()
func (*GetLicenseRequest) ProtoReflect ¶
func (x *GetLicenseRequest) ProtoReflect() protoreflect.Message
func (*GetLicenseRequest) Reset ¶
func (x *GetLicenseRequest) Reset()
func (*GetLicenseRequest) String ¶
func (x *GetLicenseRequest) String() string
type GetLicenseResponse ¶
type GetLicenseResponse struct { License *v1alpha1.License `protobuf:"bytes,1,opt,name=license,proto3" json:"license,omitempty"` Yaml string `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"` // contains filtered or unexported fields }
func (*GetLicenseResponse) Descriptor
deprecated
func (*GetLicenseResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLicenseResponse.ProtoReflect.Descriptor instead.
func (*GetLicenseResponse) GetLicense ¶
func (x *GetLicenseResponse) GetLicense() *v1alpha1.License
func (*GetLicenseResponse) GetYaml ¶
func (x *GetLicenseResponse) GetYaml() string
func (*GetLicenseResponse) ProtoMessage ¶
func (*GetLicenseResponse) ProtoMessage()
func (*GetLicenseResponse) ProtoReflect ¶
func (x *GetLicenseResponse) ProtoReflect() protoreflect.Message
func (*GetLicenseResponse) Reset ¶
func (x *GetLicenseResponse) Reset()
func (*GetLicenseResponse) String ¶
func (x *GetLicenseResponse) String() string
type LicenseResponse ¶
type LicenseResponse struct {
// contains filtered or unexported fields
}
func (*LicenseResponse) Descriptor
deprecated
func (*LicenseResponse) Descriptor() ([]byte, []int)
Deprecated: Use LicenseResponse.ProtoReflect.Descriptor instead.
func (*LicenseResponse) ProtoMessage ¶
func (*LicenseResponse) ProtoMessage()
func (*LicenseResponse) ProtoReflect ¶
func (x *LicenseResponse) ProtoReflect() protoreflect.Message
func (*LicenseResponse) Reset ¶
func (x *LicenseResponse) Reset()
func (*LicenseResponse) String ¶
func (x *LicenseResponse) String() string
type LicenseServiceClient ¶
type LicenseServiceClient interface { ListLicenses(ctx context.Context, in *ListLicensesRequest, opts ...grpc.CallOption) (*ListLicensesResponse, error) CreateLicense(ctx context.Context, in *CreateLicenseRequest, opts ...grpc.CallOption) (*CreateLicenseResponse, error) CreateLicenseFromKey(ctx context.Context, in *CreateLicenseFromKeyRequest, opts ...grpc.CallOption) (*CreateLicenseResponse, error) GetLicense(ctx context.Context, in *GetLicenseRequest, opts ...grpc.CallOption) (*GetLicenseResponse, error) UpdateLicense(ctx context.Context, in *UpdateLicenseRequest, opts ...grpc.CallOption) (*UpdateLicenseResponse, error) DeleteLicense(ctx context.Context, in *DeleteLicenseRequest, opts ...grpc.CallOption) (*DeleteLicenseResponse, error) }
LicenseServiceClient is the client API for LicenseService 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 NewLicenseServiceClient ¶
func NewLicenseServiceClient(cc grpc.ClientConnInterface) LicenseServiceClient
type LicenseServiceServer ¶
type LicenseServiceServer interface { ListLicenses(context.Context, *ListLicensesRequest) (*ListLicensesResponse, error) CreateLicense(context.Context, *CreateLicenseRequest) (*CreateLicenseResponse, error) CreateLicenseFromKey(context.Context, *CreateLicenseFromKeyRequest) (*CreateLicenseResponse, error) GetLicense(context.Context, *GetLicenseRequest) (*GetLicenseResponse, error) UpdateLicense(context.Context, *UpdateLicenseRequest) (*UpdateLicenseResponse, error) DeleteLicense(context.Context, *DeleteLicenseRequest) (*DeleteLicenseResponse, error) // contains filtered or unexported methods }
LicenseServiceServer is the server API for LicenseService service. All implementations must embed UnimplementedLicenseServiceServer for forward compatibility
type ListLicensesRequest ¶
type ListLicensesRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
func (*ListLicensesRequest) Descriptor
deprecated
func (*ListLicensesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListLicensesRequest.ProtoReflect.Descriptor instead.
func (*ListLicensesRequest) GetLabels ¶
func (x *ListLicensesRequest) GetLabels() map[string]string
func (*ListLicensesRequest) GetNamespace ¶
func (x *ListLicensesRequest) GetNamespace() string
func (*ListLicensesRequest) GetOrderBy ¶ added in v0.4.414
func (x *ListLicensesRequest) GetOrderBy() string
func (*ListLicensesRequest) GetPageSize ¶ added in v0.4.414
func (x *ListLicensesRequest) GetPageSize() int32
func (*ListLicensesRequest) GetPageToken ¶ added in v0.4.414
func (x *ListLicensesRequest) GetPageToken() string
func (*ListLicensesRequest) ProtoMessage ¶
func (*ListLicensesRequest) ProtoMessage()
func (*ListLicensesRequest) ProtoReflect ¶
func (x *ListLicensesRequest) ProtoReflect() protoreflect.Message
func (*ListLicensesRequest) Reset ¶
func (x *ListLicensesRequest) Reset()
func (*ListLicensesRequest) String ¶
func (x *ListLicensesRequest) String() string
type ListLicensesResponse ¶
type ListLicensesResponse struct { Licences *v1alpha1.LicenseList `protobuf:"bytes,1,opt,name=licences,proto3" json:"licences,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListLicensesResponse) Descriptor
deprecated
func (*ListLicensesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListLicensesResponse.ProtoReflect.Descriptor instead.
func (*ListLicensesResponse) GetLicences ¶ added in v0.4.472
func (x *ListLicensesResponse) GetLicences() *v1alpha1.LicenseList
func (*ListLicensesResponse) GetNextPageToken ¶ added in v0.4.472
func (x *ListLicensesResponse) GetNextPageToken() string
func (*ListLicensesResponse) ProtoMessage ¶
func (*ListLicensesResponse) ProtoMessage()
func (*ListLicensesResponse) ProtoReflect ¶
func (x *ListLicensesResponse) ProtoReflect() protoreflect.Message
func (*ListLicensesResponse) Reset ¶
func (x *ListLicensesResponse) Reset()
func (*ListLicensesResponse) String ¶
func (x *ListLicensesResponse) String() string
type UnimplementedLicenseServiceServer ¶
type UnimplementedLicenseServiceServer struct { }
UnimplementedLicenseServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedLicenseServiceServer) CreateLicense ¶
func (UnimplementedLicenseServiceServer) CreateLicense(context.Context, *CreateLicenseRequest) (*CreateLicenseResponse, error)
func (UnimplementedLicenseServiceServer) CreateLicenseFromKey ¶
func (UnimplementedLicenseServiceServer) CreateLicenseFromKey(context.Context, *CreateLicenseFromKeyRequest) (*CreateLicenseResponse, error)
func (UnimplementedLicenseServiceServer) DeleteLicense ¶
func (UnimplementedLicenseServiceServer) DeleteLicense(context.Context, *DeleteLicenseRequest) (*DeleteLicenseResponse, error)
func (UnimplementedLicenseServiceServer) GetLicense ¶
func (UnimplementedLicenseServiceServer) GetLicense(context.Context, *GetLicenseRequest) (*GetLicenseResponse, error)
func (UnimplementedLicenseServiceServer) ListLicenses ¶
func (UnimplementedLicenseServiceServer) ListLicenses(context.Context, *ListLicensesRequest) (*ListLicensesResponse, error)
func (UnimplementedLicenseServiceServer) UpdateLicense ¶
func (UnimplementedLicenseServiceServer) UpdateLicense(context.Context, *UpdateLicenseRequest) (*UpdateLicenseResponse, error)
type UnsafeLicenseServiceServer ¶ added in v0.4.687
type UnsafeLicenseServiceServer interface {
// contains filtered or unexported methods
}
UnsafeLicenseServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LicenseServiceServer will result in compilation errors.
type UpdateLicenseRequest ¶
type UpdateLicenseRequest struct { License *v1alpha1.License `protobuf:"bytes,1,opt,name=license,proto3" json:"license,omitempty"` FieldMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateLicenseRequest) Descriptor
deprecated
func (*UpdateLicenseRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateLicenseRequest.ProtoReflect.Descriptor instead.
func (*UpdateLicenseRequest) GetFieldMask ¶ added in v0.4.422
func (x *UpdateLicenseRequest) GetFieldMask() *field_mask.FieldMask
func (*UpdateLicenseRequest) GetLicense ¶ added in v0.4.475
func (x *UpdateLicenseRequest) GetLicense() *v1alpha1.License
func (*UpdateLicenseRequest) ProtoMessage ¶
func (*UpdateLicenseRequest) ProtoMessage()
func (*UpdateLicenseRequest) ProtoReflect ¶
func (x *UpdateLicenseRequest) ProtoReflect() protoreflect.Message
func (*UpdateLicenseRequest) Reset ¶
func (x *UpdateLicenseRequest) Reset()
func (*UpdateLicenseRequest) String ¶
func (x *UpdateLicenseRequest) String() string
type UpdateLicenseResponse ¶
type UpdateLicenseResponse struct {
// contains filtered or unexported fields
}
func (*UpdateLicenseResponse) Descriptor
deprecated
func (*UpdateLicenseResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateLicenseResponse.ProtoReflect.Descriptor instead.
func (*UpdateLicenseResponse) ProtoMessage ¶
func (*UpdateLicenseResponse) ProtoMessage()
func (*UpdateLicenseResponse) ProtoReflect ¶
func (x *UpdateLicenseResponse) ProtoReflect() protoreflect.Message
func (*UpdateLicenseResponse) Reset ¶
func (x *UpdateLicenseResponse) Reset()
func (*UpdateLicenseResponse) String ¶
func (x *UpdateLicenseResponse) String() string