Documentation
¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterAttachmentServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAttachmentServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AttachmentServiceClient) error
- func RegisterAttachmentServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAttachmentServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AttachmentServiceServer) error
- func RegisterAttachmentServiceServer(s grpc.ServiceRegistrar, srv AttachmentServiceServer)
- type AttachmentCreateResponse
- type AttachmentResponse
- type AttachmentServiceClient
- type AttachmentServiceServer
- type CreateAttachmentRequest
- func (*CreateAttachmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAttachmentRequest) GetAttachment() *v1alpha1.Attachment
- func (*CreateAttachmentRequest) ProtoMessage()
- func (x *CreateAttachmentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAttachmentRequest) Reset()
- func (x *CreateAttachmentRequest) String() string
- type CreateAttachmentResponse
- type DeleteAttachmentRequest
- func (*DeleteAttachmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAttachmentRequest) GetName() string
- func (x *DeleteAttachmentRequest) GetNamespace() string
- func (*DeleteAttachmentRequest) ProtoMessage()
- func (x *DeleteAttachmentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAttachmentRequest) Reset()
- func (x *DeleteAttachmentRequest) String() string
- type DeleteAttachmentResponse
- type GetAttachmentNamespacesRequest
- func (*GetAttachmentNamespacesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAttachmentNamespacesRequest) GetName() string
- func (x *GetAttachmentNamespacesRequest) GetNamespace() string
- func (*GetAttachmentNamespacesRequest) ProtoMessage()
- func (x *GetAttachmentNamespacesRequest) ProtoReflect() protoreflect.Message
- func (x *GetAttachmentNamespacesRequest) Reset()
- func (x *GetAttachmentNamespacesRequest) String() string
- type GetAttachmentNamespacesResponse
- func (*GetAttachmentNamespacesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAttachmentNamespacesResponse) GetNamespaces() []*v1.NamespaceInfo
- func (*GetAttachmentNamespacesResponse) ProtoMessage()
- func (x *GetAttachmentNamespacesResponse) ProtoReflect() protoreflect.Message
- func (x *GetAttachmentNamespacesResponse) Reset()
- func (x *GetAttachmentNamespacesResponse) String() string
- type GetAttachmentRequest
- func (*GetAttachmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAttachmentRequest) GetName() string
- func (x *GetAttachmentRequest) GetNamespace() string
- func (*GetAttachmentRequest) ProtoMessage()
- func (x *GetAttachmentRequest) ProtoReflect() protoreflect.Message
- func (x *GetAttachmentRequest) Reset()
- func (x *GetAttachmentRequest) String() string
- type GetAttachmentResponse
- func (*GetAttachmentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAttachmentResponse) GetAttachment() *v1alpha1.Attachment
- func (x *GetAttachmentResponse) GetYaml() string
- func (*GetAttachmentResponse) ProtoMessage()
- func (x *GetAttachmentResponse) ProtoReflect() protoreflect.Message
- func (x *GetAttachmentResponse) Reset()
- func (x *GetAttachmentResponse) String() string
- type ListAttachmentsRequest
- func (*ListAttachmentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAttachmentsRequest) GetLabels() map[string]string
- func (x *ListAttachmentsRequest) GetNamespace() string
- func (x *ListAttachmentsRequest) GetOrderBy() string
- func (x *ListAttachmentsRequest) GetPageSize() int32
- func (x *ListAttachmentsRequest) GetPageToken() string
- func (*ListAttachmentsRequest) ProtoMessage()
- func (x *ListAttachmentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAttachmentsRequest) Reset()
- func (x *ListAttachmentsRequest) String() string
- type ListAttachmentsResponse
- func (*ListAttachmentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAttachmentsResponse) GetAttachments() *v1alpha1.AttachmentList
- func (x *ListAttachmentsResponse) GetNextPageToken() string
- func (*ListAttachmentsResponse) ProtoMessage()
- func (x *ListAttachmentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAttachmentsResponse) Reset()
- func (x *ListAttachmentsResponse) String() string
- type UnimplementedAttachmentServiceServer
- func (UnimplementedAttachmentServiceServer) CreateAttachment(context.Context, *CreateAttachmentRequest) (*CreateAttachmentResponse, error)
- func (UnimplementedAttachmentServiceServer) DeleteAttachment(context.Context, *DeleteAttachmentRequest) (*DeleteAttachmentResponse, error)
- func (UnimplementedAttachmentServiceServer) GetAttachment(context.Context, *GetAttachmentRequest) (*GetAttachmentResponse, error)
- func (UnimplementedAttachmentServiceServer) ListAttachments(context.Context, *ListAttachmentsRequest) (*ListAttachmentsResponse, error)
- func (UnimplementedAttachmentServiceServer) UpdateAttachment(context.Context, *UpdateAttachmentRequest) (*UpdateAttachmentResponse, error)
- type UnsafeAttachmentServiceServer
- type UpdateAttachmentRequest
- func (*UpdateAttachmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAttachmentRequest) GetAttachment() *v1alpha1.Attachment
- func (x *UpdateAttachmentRequest) GetFieldMask() *field_mask.FieldMask
- func (*UpdateAttachmentRequest) ProtoMessage()
- func (x *UpdateAttachmentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAttachmentRequest) Reset()
- func (x *UpdateAttachmentRequest) String() string
- type UpdateAttachmentResponse
Constants ¶
This section is empty.
Variables ¶
var AttachmentService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "github.com.metaprov.modelaapi.services.attachment.v1.AttachmentService", HandlerType: (*AttachmentServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListAttachments", Handler: _AttachmentService_ListAttachments_Handler, }, { MethodName: "CreateAttachment", Handler: _AttachmentService_CreateAttachment_Handler, }, { MethodName: "GetAttachment", Handler: _AttachmentService_GetAttachment_Handler, }, { MethodName: "UpdateAttachment", Handler: _AttachmentService_UpdateAttachment_Handler, }, { MethodName: "DeleteAttachment", Handler: _AttachmentService_DeleteAttachment_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/metaprov/modelaapi/services/attachment/v1/attachment.proto", }
AttachmentService_ServiceDesc is the grpc.ServiceDesc for AttachmentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_github_com_metaprov_modelaapi_services_attachment_v1_attachment_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAttachmentServiceHandler ¶ added in v0.4.687
func RegisterAttachmentServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAttachmentServiceHandler registers the http handlers for service AttachmentService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAttachmentServiceHandlerClient ¶ added in v0.4.687
func RegisterAttachmentServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AttachmentServiceClient) error
RegisterAttachmentServiceHandlerClient registers the http handlers for service AttachmentService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AttachmentServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AttachmentServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AttachmentServiceClient" to call the correct interceptors.
func RegisterAttachmentServiceHandlerFromEndpoint ¶ added in v0.4.687
func RegisterAttachmentServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAttachmentServiceHandlerFromEndpoint is same as RegisterAttachmentServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAttachmentServiceHandlerServer ¶ added in v0.4.687
func RegisterAttachmentServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AttachmentServiceServer) error
RegisterAttachmentServiceHandlerServer registers the http handlers for service AttachmentService to "mux". UnaryRPC :call AttachmentServiceServer 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 RegisterAttachmentServiceHandlerFromEndpoint instead.
func RegisterAttachmentServiceServer ¶
func RegisterAttachmentServiceServer(s grpc.ServiceRegistrar, srv AttachmentServiceServer)
Types ¶
type AttachmentCreateResponse ¶
type AttachmentCreateResponse struct {
// contains filtered or unexported fields
}
func (*AttachmentCreateResponse) Descriptor
deprecated
func (*AttachmentCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttachmentCreateResponse.ProtoReflect.Descriptor instead.
func (*AttachmentCreateResponse) ProtoMessage ¶
func (*AttachmentCreateResponse) ProtoMessage()
func (*AttachmentCreateResponse) ProtoReflect ¶
func (x *AttachmentCreateResponse) ProtoReflect() protoreflect.Message
func (*AttachmentCreateResponse) Reset ¶
func (x *AttachmentCreateResponse) Reset()
func (*AttachmentCreateResponse) String ¶
func (x *AttachmentCreateResponse) String() string
type AttachmentResponse ¶
type AttachmentResponse struct {
// contains filtered or unexported fields
}
func (*AttachmentResponse) Descriptor
deprecated
func (*AttachmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttachmentResponse.ProtoReflect.Descriptor instead.
func (*AttachmentResponse) ProtoMessage ¶
func (*AttachmentResponse) ProtoMessage()
func (*AttachmentResponse) ProtoReflect ¶
func (x *AttachmentResponse) ProtoReflect() protoreflect.Message
func (*AttachmentResponse) Reset ¶
func (x *AttachmentResponse) Reset()
func (*AttachmentResponse) String ¶
func (x *AttachmentResponse) String() string
type AttachmentServiceClient ¶
type AttachmentServiceClient interface { ListAttachments(ctx context.Context, in *ListAttachmentsRequest, opts ...grpc.CallOption) (*ListAttachmentsResponse, error) CreateAttachment(ctx context.Context, in *CreateAttachmentRequest, opts ...grpc.CallOption) (*CreateAttachmentResponse, error) GetAttachment(ctx context.Context, in *GetAttachmentRequest, opts ...grpc.CallOption) (*GetAttachmentResponse, error) UpdateAttachment(ctx context.Context, in *UpdateAttachmentRequest, opts ...grpc.CallOption) (*UpdateAttachmentResponse, error) DeleteAttachment(ctx context.Context, in *DeleteAttachmentRequest, opts ...grpc.CallOption) (*DeleteAttachmentResponse, error) }
AttachmentServiceClient is the client API for AttachmentService 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 NewAttachmentServiceClient ¶
func NewAttachmentServiceClient(cc grpc.ClientConnInterface) AttachmentServiceClient
type AttachmentServiceServer ¶
type AttachmentServiceServer interface { ListAttachments(context.Context, *ListAttachmentsRequest) (*ListAttachmentsResponse, error) CreateAttachment(context.Context, *CreateAttachmentRequest) (*CreateAttachmentResponse, error) GetAttachment(context.Context, *GetAttachmentRequest) (*GetAttachmentResponse, error) UpdateAttachment(context.Context, *UpdateAttachmentRequest) (*UpdateAttachmentResponse, error) DeleteAttachment(context.Context, *DeleteAttachmentRequest) (*DeleteAttachmentResponse, error) // contains filtered or unexported methods }
AttachmentServiceServer is the server API for AttachmentService service. All implementations must embed UnimplementedAttachmentServiceServer for forward compatibility
type CreateAttachmentRequest ¶
type CreateAttachmentRequest struct { Attachment *v1alpha1.Attachment `protobuf:"bytes,1,opt,name=attachment,proto3" json:"attachment,omitempty"` // contains filtered or unexported fields }
func (*CreateAttachmentRequest) Descriptor
deprecated
func (*CreateAttachmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAttachmentRequest.ProtoReflect.Descriptor instead.
func (*CreateAttachmentRequest) GetAttachment ¶ added in v0.4.475
func (x *CreateAttachmentRequest) GetAttachment() *v1alpha1.Attachment
func (*CreateAttachmentRequest) ProtoMessage ¶
func (*CreateAttachmentRequest) ProtoMessage()
func (*CreateAttachmentRequest) ProtoReflect ¶
func (x *CreateAttachmentRequest) ProtoReflect() protoreflect.Message
func (*CreateAttachmentRequest) Reset ¶
func (x *CreateAttachmentRequest) Reset()
func (*CreateAttachmentRequest) String ¶
func (x *CreateAttachmentRequest) String() string
type CreateAttachmentResponse ¶
type CreateAttachmentResponse struct {
// contains filtered or unexported fields
}
func (*CreateAttachmentResponse) Descriptor
deprecated
func (*CreateAttachmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAttachmentResponse.ProtoReflect.Descriptor instead.
func (*CreateAttachmentResponse) ProtoMessage ¶
func (*CreateAttachmentResponse) ProtoMessage()
func (*CreateAttachmentResponse) ProtoReflect ¶
func (x *CreateAttachmentResponse) ProtoReflect() protoreflect.Message
func (*CreateAttachmentResponse) Reset ¶
func (x *CreateAttachmentResponse) Reset()
func (*CreateAttachmentResponse) String ¶
func (x *CreateAttachmentResponse) String() string
type DeleteAttachmentRequest ¶
type DeleteAttachmentRequest 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 (*DeleteAttachmentRequest) Descriptor
deprecated
func (*DeleteAttachmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAttachmentRequest.ProtoReflect.Descriptor instead.
func (*DeleteAttachmentRequest) GetName ¶
func (x *DeleteAttachmentRequest) GetName() string
func (*DeleteAttachmentRequest) GetNamespace ¶
func (x *DeleteAttachmentRequest) GetNamespace() string
func (*DeleteAttachmentRequest) ProtoMessage ¶
func (*DeleteAttachmentRequest) ProtoMessage()
func (*DeleteAttachmentRequest) ProtoReflect ¶
func (x *DeleteAttachmentRequest) ProtoReflect() protoreflect.Message
func (*DeleteAttachmentRequest) Reset ¶
func (x *DeleteAttachmentRequest) Reset()
func (*DeleteAttachmentRequest) String ¶
func (x *DeleteAttachmentRequest) String() string
type DeleteAttachmentResponse ¶
type DeleteAttachmentResponse struct {
// contains filtered or unexported fields
}
func (*DeleteAttachmentResponse) Descriptor
deprecated
func (*DeleteAttachmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAttachmentResponse.ProtoReflect.Descriptor instead.
func (*DeleteAttachmentResponse) ProtoMessage ¶
func (*DeleteAttachmentResponse) ProtoMessage()
func (*DeleteAttachmentResponse) ProtoReflect ¶
func (x *DeleteAttachmentResponse) ProtoReflect() protoreflect.Message
func (*DeleteAttachmentResponse) Reset ¶
func (x *DeleteAttachmentResponse) Reset()
func (*DeleteAttachmentResponse) String ¶
func (x *DeleteAttachmentResponse) String() string
type GetAttachmentNamespacesRequest ¶
type GetAttachmentNamespacesRequest 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 (*GetAttachmentNamespacesRequest) Descriptor
deprecated
func (*GetAttachmentNamespacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAttachmentNamespacesRequest.ProtoReflect.Descriptor instead.
func (*GetAttachmentNamespacesRequest) GetName ¶
func (x *GetAttachmentNamespacesRequest) GetName() string
func (*GetAttachmentNamespacesRequest) GetNamespace ¶
func (x *GetAttachmentNamespacesRequest) GetNamespace() string
func (*GetAttachmentNamespacesRequest) ProtoMessage ¶
func (*GetAttachmentNamespacesRequest) ProtoMessage()
func (*GetAttachmentNamespacesRequest) ProtoReflect ¶
func (x *GetAttachmentNamespacesRequest) ProtoReflect() protoreflect.Message
func (*GetAttachmentNamespacesRequest) Reset ¶
func (x *GetAttachmentNamespacesRequest) Reset()
func (*GetAttachmentNamespacesRequest) String ¶
func (x *GetAttachmentNamespacesRequest) String() string
type GetAttachmentNamespacesResponse ¶
type GetAttachmentNamespacesResponse struct { Namespaces []*v1.NamespaceInfo `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // contains filtered or unexported fields }
func (*GetAttachmentNamespacesResponse) Descriptor
deprecated
func (*GetAttachmentNamespacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAttachmentNamespacesResponse.ProtoReflect.Descriptor instead.
func (*GetAttachmentNamespacesResponse) GetNamespaces ¶
func (x *GetAttachmentNamespacesResponse) GetNamespaces() []*v1.NamespaceInfo
func (*GetAttachmentNamespacesResponse) ProtoMessage ¶
func (*GetAttachmentNamespacesResponse) ProtoMessage()
func (*GetAttachmentNamespacesResponse) ProtoReflect ¶
func (x *GetAttachmentNamespacesResponse) ProtoReflect() protoreflect.Message
func (*GetAttachmentNamespacesResponse) Reset ¶
func (x *GetAttachmentNamespacesResponse) Reset()
func (*GetAttachmentNamespacesResponse) String ¶
func (x *GetAttachmentNamespacesResponse) String() string
type GetAttachmentRequest ¶
type GetAttachmentRequest 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 (*GetAttachmentRequest) Descriptor
deprecated
func (*GetAttachmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAttachmentRequest.ProtoReflect.Descriptor instead.
func (*GetAttachmentRequest) GetName ¶
func (x *GetAttachmentRequest) GetName() string
func (*GetAttachmentRequest) GetNamespace ¶
func (x *GetAttachmentRequest) GetNamespace() string
func (*GetAttachmentRequest) ProtoMessage ¶
func (*GetAttachmentRequest) ProtoMessage()
func (*GetAttachmentRequest) ProtoReflect ¶
func (x *GetAttachmentRequest) ProtoReflect() protoreflect.Message
func (*GetAttachmentRequest) Reset ¶
func (x *GetAttachmentRequest) Reset()
func (*GetAttachmentRequest) String ¶
func (x *GetAttachmentRequest) String() string
type GetAttachmentResponse ¶
type GetAttachmentResponse struct { Attachment *v1alpha1.Attachment `protobuf:"bytes,1,opt,name=attachment,proto3" json:"attachment,omitempty"` Yaml string `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"` // contains filtered or unexported fields }
func (*GetAttachmentResponse) Descriptor
deprecated
func (*GetAttachmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAttachmentResponse.ProtoReflect.Descriptor instead.
func (*GetAttachmentResponse) GetAttachment ¶ added in v0.4.475
func (x *GetAttachmentResponse) GetAttachment() *v1alpha1.Attachment
func (*GetAttachmentResponse) GetYaml ¶
func (x *GetAttachmentResponse) GetYaml() string
func (*GetAttachmentResponse) ProtoMessage ¶
func (*GetAttachmentResponse) ProtoMessage()
func (*GetAttachmentResponse) ProtoReflect ¶
func (x *GetAttachmentResponse) ProtoReflect() protoreflect.Message
func (*GetAttachmentResponse) Reset ¶
func (x *GetAttachmentResponse) Reset()
func (*GetAttachmentResponse) String ¶
func (x *GetAttachmentResponse) String() string
type ListAttachmentsRequest ¶
type ListAttachmentsRequest 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 (*ListAttachmentsRequest) Descriptor
deprecated
func (*ListAttachmentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAttachmentsRequest.ProtoReflect.Descriptor instead.
func (*ListAttachmentsRequest) GetLabels ¶
func (x *ListAttachmentsRequest) GetLabels() map[string]string
func (*ListAttachmentsRequest) GetNamespace ¶
func (x *ListAttachmentsRequest) GetNamespace() string
func (*ListAttachmentsRequest) GetOrderBy ¶ added in v0.4.414
func (x *ListAttachmentsRequest) GetOrderBy() string
func (*ListAttachmentsRequest) GetPageSize ¶ added in v0.4.414
func (x *ListAttachmentsRequest) GetPageSize() int32
func (*ListAttachmentsRequest) GetPageToken ¶ added in v0.4.414
func (x *ListAttachmentsRequest) GetPageToken() string
func (*ListAttachmentsRequest) ProtoMessage ¶
func (*ListAttachmentsRequest) ProtoMessage()
func (*ListAttachmentsRequest) ProtoReflect ¶
func (x *ListAttachmentsRequest) ProtoReflect() protoreflect.Message
func (*ListAttachmentsRequest) Reset ¶
func (x *ListAttachmentsRequest) Reset()
func (*ListAttachmentsRequest) String ¶
func (x *ListAttachmentsRequest) String() string
type ListAttachmentsResponse ¶
type ListAttachmentsResponse struct { Attachments *v1alpha1.AttachmentList `protobuf:"bytes,1,opt,name=attachments,proto3" json:"attachments,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 (*ListAttachmentsResponse) Descriptor
deprecated
func (*ListAttachmentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAttachmentsResponse.ProtoReflect.Descriptor instead.
func (*ListAttachmentsResponse) GetAttachments ¶ added in v0.4.471
func (x *ListAttachmentsResponse) GetAttachments() *v1alpha1.AttachmentList
func (*ListAttachmentsResponse) GetNextPageToken ¶ added in v0.4.471
func (x *ListAttachmentsResponse) GetNextPageToken() string
func (*ListAttachmentsResponse) ProtoMessage ¶
func (*ListAttachmentsResponse) ProtoMessage()
func (*ListAttachmentsResponse) ProtoReflect ¶
func (x *ListAttachmentsResponse) ProtoReflect() protoreflect.Message
func (*ListAttachmentsResponse) Reset ¶
func (x *ListAttachmentsResponse) Reset()
func (*ListAttachmentsResponse) String ¶
func (x *ListAttachmentsResponse) String() string
type UnimplementedAttachmentServiceServer ¶
type UnimplementedAttachmentServiceServer struct { }
UnimplementedAttachmentServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAttachmentServiceServer) CreateAttachment ¶
func (UnimplementedAttachmentServiceServer) CreateAttachment(context.Context, *CreateAttachmentRequest) (*CreateAttachmentResponse, error)
func (UnimplementedAttachmentServiceServer) DeleteAttachment ¶
func (UnimplementedAttachmentServiceServer) DeleteAttachment(context.Context, *DeleteAttachmentRequest) (*DeleteAttachmentResponse, error)
func (UnimplementedAttachmentServiceServer) GetAttachment ¶
func (UnimplementedAttachmentServiceServer) GetAttachment(context.Context, *GetAttachmentRequest) (*GetAttachmentResponse, error)
func (UnimplementedAttachmentServiceServer) ListAttachments ¶
func (UnimplementedAttachmentServiceServer) ListAttachments(context.Context, *ListAttachmentsRequest) (*ListAttachmentsResponse, error)
func (UnimplementedAttachmentServiceServer) UpdateAttachment ¶
func (UnimplementedAttachmentServiceServer) UpdateAttachment(context.Context, *UpdateAttachmentRequest) (*UpdateAttachmentResponse, error)
type UnsafeAttachmentServiceServer ¶ added in v0.4.687
type UnsafeAttachmentServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAttachmentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AttachmentServiceServer will result in compilation errors.
type UpdateAttachmentRequest ¶
type UpdateAttachmentRequest struct { Attachment *v1alpha1.Attachment `protobuf:"bytes,1,opt,name=attachment,proto3" json:"attachment,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 (*UpdateAttachmentRequest) Descriptor
deprecated
func (*UpdateAttachmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAttachmentRequest.ProtoReflect.Descriptor instead.
func (*UpdateAttachmentRequest) GetAttachment ¶ added in v0.4.475
func (x *UpdateAttachmentRequest) GetAttachment() *v1alpha1.Attachment
func (*UpdateAttachmentRequest) GetFieldMask ¶ added in v0.4.422
func (x *UpdateAttachmentRequest) GetFieldMask() *field_mask.FieldMask
func (*UpdateAttachmentRequest) ProtoMessage ¶
func (*UpdateAttachmentRequest) ProtoMessage()
func (*UpdateAttachmentRequest) ProtoReflect ¶
func (x *UpdateAttachmentRequest) ProtoReflect() protoreflect.Message
func (*UpdateAttachmentRequest) Reset ¶
func (x *UpdateAttachmentRequest) Reset()
func (*UpdateAttachmentRequest) String ¶
func (x *UpdateAttachmentRequest) String() string
type UpdateAttachmentResponse ¶
type UpdateAttachmentResponse struct {
// contains filtered or unexported fields
}
func (*UpdateAttachmentResponse) Descriptor
deprecated
func (*UpdateAttachmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAttachmentResponse.ProtoReflect.Descriptor instead.
func (*UpdateAttachmentResponse) ProtoMessage ¶
func (*UpdateAttachmentResponse) ProtoMessage()
func (*UpdateAttachmentResponse) ProtoReflect ¶
func (x *UpdateAttachmentResponse) ProtoReflect() protoreflect.Message
func (*UpdateAttachmentResponse) Reset ¶
func (x *UpdateAttachmentResponse) Reset()
func (*UpdateAttachmentResponse) String ¶
func (x *UpdateAttachmentResponse) String() string