chaparralv1

package
v0.0.0-...-8c72eba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_chaparral_v1_access_service_proto protoreflect.FileDescriptor
View Source
var File_chaparral_v1_commit_service_proto protoreflect.FileDescriptor
View Source
var File_chaparral_v1_core_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CommitRequest

type CommitRequest struct {

	// storage_root_id is the id of the storage root for the object to create/update
	StorageRootId string `protobuf:"bytes,1,opt,name=storage_root_id,json=storageRootId,proto3" json:"storage_root_id,omitempty"`
	// object_id is the id for the object to create/update
	ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	// version is used to set the expected number for the newly created object
	// version. Use 0 to not require a particular version.
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// User name and email saved with the new object version.
	User *User `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
	// The message saved with the new object version.
	Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	// state is a map of paths to digests using digest_algorithm
	State map[string]string `` /* 151-byte string literal not displayed */
	// the digest algorithm used in state. It must be 'sha512' or 'sha256'
	DigestAlgorithm string `protobuf:"bytes,7,opt,name=digest_algorithm,json=digestAlgorithm,proto3" json:"digest_algorithm,omitempty"`
	// content sources is a list of places (ContentSourceItems) where new
	// content referred to  in state can be found. Content sources can be
	// uploaders or existing objects.
	ContentSources []*CommitRequest_ContentSourceItem `protobuf:"bytes,8,rep,name=content_sources,json=contentSources,proto3" json:"content_sources,omitempty"`
	// contains filtered or unexported fields
}

CommitRequest is used to create or update OCFL objects.

func (*CommitRequest) Descriptor deprecated

func (*CommitRequest) Descriptor() ([]byte, []int)

Deprecated: Use CommitRequest.ProtoReflect.Descriptor instead.

func (*CommitRequest) GetContentSources

func (x *CommitRequest) GetContentSources() []*CommitRequest_ContentSourceItem

func (*CommitRequest) GetDigestAlgorithm

func (x *CommitRequest) GetDigestAlgorithm() string

func (*CommitRequest) GetMessage

func (x *CommitRequest) GetMessage() string

func (*CommitRequest) GetObjectId

func (x *CommitRequest) GetObjectId() string

func (*CommitRequest) GetState

func (x *CommitRequest) GetState() map[string]string

func (*CommitRequest) GetStorageRootId

func (x *CommitRequest) GetStorageRootId() string

func (*CommitRequest) GetUser

func (x *CommitRequest) GetUser() *User

func (*CommitRequest) GetVersion

func (x *CommitRequest) GetVersion() int32

func (*CommitRequest) ProtoMessage

func (*CommitRequest) ProtoMessage()

func (*CommitRequest) ProtoReflect

func (x *CommitRequest) ProtoReflect() protoreflect.Message

func (*CommitRequest) Reset

func (x *CommitRequest) Reset()

func (*CommitRequest) String

func (x *CommitRequest) String() string

type CommitRequest_ContentSourceItem

type CommitRequest_ContentSourceItem struct {

	// Types that are assignable to Item:
	//
	//	*CommitRequest_ContentSourceItem_Uploader
	//	*CommitRequest_ContentSourceItem_Object
	Item isCommitRequest_ContentSourceItem_Item `protobuf_oneof:"item"`
	// contains filtered or unexported fields
}

func (*CommitRequest_ContentSourceItem) Descriptor deprecated

func (*CommitRequest_ContentSourceItem) Descriptor() ([]byte, []int)

Deprecated: Use CommitRequest_ContentSourceItem.ProtoReflect.Descriptor instead.

func (*CommitRequest_ContentSourceItem) GetItem

func (m *CommitRequest_ContentSourceItem) GetItem() isCommitRequest_ContentSourceItem_Item

func (*CommitRequest_ContentSourceItem) GetObject

func (*CommitRequest_ContentSourceItem) GetUploader

func (*CommitRequest_ContentSourceItem) ProtoMessage

func (*CommitRequest_ContentSourceItem) ProtoMessage()

func (*CommitRequest_ContentSourceItem) ProtoReflect

func (*CommitRequest_ContentSourceItem) Reset

func (*CommitRequest_ContentSourceItem) String

type CommitRequest_ContentSourceItem_Object

type CommitRequest_ContentSourceItem_Object struct {
	// get new content from an existing object
	Object *CommitRequest_ObjectSource `protobuf:"bytes,2,opt,name=object,proto3,oneof"`
}

type CommitRequest_ContentSourceItem_Uploader

type CommitRequest_ContentSourceItem_Uploader struct {
	// get new content from the uploader
	Uploader *CommitRequest_UploaderSource `protobuf:"bytes,1,opt,name=uploader,proto3,oneof"`
}

type CommitRequest_ObjectSource

type CommitRequest_ObjectSource struct {
	StorageRootId string `protobuf:"bytes,1,opt,name=storage_root_id,json=storageRootId,proto3" json:"storage_root_id,omitempty"`
	ObjectId      string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitRequest_ObjectSource) Descriptor deprecated

func (*CommitRequest_ObjectSource) Descriptor() ([]byte, []int)

Deprecated: Use CommitRequest_ObjectSource.ProtoReflect.Descriptor instead.

func (*CommitRequest_ObjectSource) GetObjectId

func (x *CommitRequest_ObjectSource) GetObjectId() string

func (*CommitRequest_ObjectSource) GetStorageRootId

func (x *CommitRequest_ObjectSource) GetStorageRootId() string

func (*CommitRequest_ObjectSource) ProtoMessage

func (*CommitRequest_ObjectSource) ProtoMessage()

func (*CommitRequest_ObjectSource) ProtoReflect

func (*CommitRequest_ObjectSource) Reset

func (x *CommitRequest_ObjectSource) Reset()

func (*CommitRequest_ObjectSource) String

func (x *CommitRequest_ObjectSource) String() string

type CommitRequest_UploaderSource

type CommitRequest_UploaderSource struct {
	UploaderId string `protobuf:"bytes,1,opt,name=uploader_id,json=uploaderId,proto3" json:"uploader_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitRequest_UploaderSource) Descriptor deprecated

func (*CommitRequest_UploaderSource) Descriptor() ([]byte, []int)

Deprecated: Use CommitRequest_UploaderSource.ProtoReflect.Descriptor instead.

func (*CommitRequest_UploaderSource) GetUploaderId

func (x *CommitRequest_UploaderSource) GetUploaderId() string

func (*CommitRequest_UploaderSource) ProtoMessage

func (*CommitRequest_UploaderSource) ProtoMessage()

func (*CommitRequest_UploaderSource) ProtoReflect

func (*CommitRequest_UploaderSource) Reset

func (x *CommitRequest_UploaderSource) Reset()

func (*CommitRequest_UploaderSource) String

type CommitResponse

type CommitResponse struct {
	// contains filtered or unexported fields
}

CommitResponse represents a successful commit

func (*CommitResponse) Descriptor deprecated

func (*CommitResponse) Descriptor() ([]byte, []int)

Deprecated: Use CommitResponse.ProtoReflect.Descriptor instead.

func (*CommitResponse) ProtoMessage

func (*CommitResponse) ProtoMessage()

func (*CommitResponse) ProtoReflect

func (x *CommitResponse) ProtoReflect() protoreflect.Message

func (*CommitResponse) Reset

func (x *CommitResponse) Reset()

func (*CommitResponse) String

func (x *CommitResponse) String() string

type DeleteObjectRequest

type DeleteObjectRequest struct {
	StorageRootId string `protobuf:"bytes,1,opt,name=storage_root_id,json=storageRootId,proto3" json:"storage_root_id,omitempty"`
	ObjectId      string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	// contains filtered or unexported fields
}

DeleteObjectRequest is used to delete an object and its files.

func (*DeleteObjectRequest) Descriptor deprecated

func (*DeleteObjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteObjectRequest.ProtoReflect.Descriptor instead.

func (*DeleteObjectRequest) GetObjectId

func (x *DeleteObjectRequest) GetObjectId() string

func (*DeleteObjectRequest) GetStorageRootId

func (x *DeleteObjectRequest) GetStorageRootId() string

func (*DeleteObjectRequest) ProtoMessage

func (*DeleteObjectRequest) ProtoMessage()

func (*DeleteObjectRequest) ProtoReflect

func (x *DeleteObjectRequest) ProtoReflect() protoreflect.Message

func (*DeleteObjectRequest) Reset

func (x *DeleteObjectRequest) Reset()

func (*DeleteObjectRequest) String

func (x *DeleteObjectRequest) String() string

type DeleteObjectResponse

type DeleteObjectResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteObjectResponse) Descriptor deprecated

func (*DeleteObjectResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteObjectResponse.ProtoReflect.Descriptor instead.

func (*DeleteObjectResponse) ProtoMessage

func (*DeleteObjectResponse) ProtoMessage()

func (*DeleteObjectResponse) ProtoReflect

func (x *DeleteObjectResponse) ProtoReflect() protoreflect.Message

func (*DeleteObjectResponse) Reset

func (x *DeleteObjectResponse) Reset()

func (*DeleteObjectResponse) String

func (x *DeleteObjectResponse) String() string

type DeleteUploaderRequest

type DeleteUploaderRequest struct {
	UploaderId string `protobuf:"bytes,1,opt,name=uploader_id,json=uploaderId,proto3" json:"uploader_id,omitempty"`
	// contains filtered or unexported fields
}

DeleteUploaderRequest is used to delete an uploader and all its files.

func (*DeleteUploaderRequest) Descriptor deprecated

func (*DeleteUploaderRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUploaderRequest.ProtoReflect.Descriptor instead.

func (*DeleteUploaderRequest) GetUploaderId

func (x *DeleteUploaderRequest) GetUploaderId() string

func (*DeleteUploaderRequest) ProtoMessage

func (*DeleteUploaderRequest) ProtoMessage()

func (*DeleteUploaderRequest) ProtoReflect

func (x *DeleteUploaderRequest) ProtoReflect() protoreflect.Message

func (*DeleteUploaderRequest) Reset

func (x *DeleteUploaderRequest) Reset()

func (*DeleteUploaderRequest) String

func (x *DeleteUploaderRequest) String() string

type DeleteUploaderResponse

type DeleteUploaderResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteUploaderResponse) Descriptor deprecated

func (*DeleteUploaderResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUploaderResponse.ProtoReflect.Descriptor instead.

func (*DeleteUploaderResponse) ProtoMessage

func (*DeleteUploaderResponse) ProtoMessage()

func (*DeleteUploaderResponse) ProtoReflect

func (x *DeleteUploaderResponse) ProtoReflect() protoreflect.Message

func (*DeleteUploaderResponse) Reset

func (x *DeleteUploaderResponse) Reset()

func (*DeleteUploaderResponse) String

func (x *DeleteUploaderResponse) String() string

type FileInfo

type FileInfo struct {

	// file size
	Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// one or more file paths for the content
	Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"`
	// map of alternate digests alg -> digest
	Fixity map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FileInfo) Descriptor deprecated

func (*FileInfo) Descriptor() ([]byte, []int)

Deprecated: Use FileInfo.ProtoReflect.Descriptor instead.

func (*FileInfo) GetFixity

func (x *FileInfo) GetFixity() map[string]string

func (*FileInfo) GetPaths

func (x *FileInfo) GetPaths() []string

func (*FileInfo) GetSize

func (x *FileInfo) GetSize() int64

func (*FileInfo) ProtoMessage

func (*FileInfo) ProtoMessage()

func (*FileInfo) ProtoReflect

func (x *FileInfo) ProtoReflect() protoreflect.Message

func (*FileInfo) Reset

func (x *FileInfo) Reset()

func (*FileInfo) String

func (x *FileInfo) String() string

type GetObjectManifestRequest

type GetObjectManifestRequest struct {

	// The storage root id for the object to access.
	StorageRootId string `protobuf:"bytes,1,opt,name=storage_root_id,json=storageRootId,proto3" json:"storage_root_id,omitempty"`
	// The object id to access (required).
	ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	// contains filtered or unexported fields
}

GetObjectManifestRequest is used to request details about all content files in an object

func (*GetObjectManifestRequest) Descriptor deprecated

func (*GetObjectManifestRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetObjectManifestRequest.ProtoReflect.Descriptor instead.

func (*GetObjectManifestRequest) GetObjectId

func (x *GetObjectManifestRequest) GetObjectId() string

func (*GetObjectManifestRequest) GetStorageRootId

func (x *GetObjectManifestRequest) GetStorageRootId() string

func (*GetObjectManifestRequest) ProtoMessage

func (*GetObjectManifestRequest) ProtoMessage()

func (*GetObjectManifestRequest) ProtoReflect

func (x *GetObjectManifestRequest) ProtoReflect() protoreflect.Message

func (*GetObjectManifestRequest) Reset

func (x *GetObjectManifestRequest) Reset()

func (*GetObjectManifestRequest) String

func (x *GetObjectManifestRequest) String() string

type GetObjectManifestResponse

type GetObjectManifestResponse struct {

	// The storage root id for the object
	StorageRootId string `protobuf:"bytes,1,opt,name=storage_root_id,json=storageRootId,proto3" json:"storage_root_id,omitempty"`
	// The object id for the manifest
	ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	// The object's path relative to the OCFL Storage Root
	// that contains it
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// digest algorithm used for manifest keys
	DigestAlgorithm string `protobuf:"bytes,4,opt,name=digest_algorithm,json=digestAlgorithm,proto3" json:"digest_algorithm,omitempty"`
	// manifest is a map of digest values to file info. Path
	// entries represent content paths relative to root of the
	// OCFL object
	Manifest map[string]*FileInfo `` /* 157-byte string literal not displayed */
	// The OCFL specification version for the object
	Spec string `protobuf:"bytes,6,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

GetObjectManifestResponse represents all content files stored in an object across all versions

func (*GetObjectManifestResponse) Descriptor deprecated

func (*GetObjectManifestResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetObjectManifestResponse.ProtoReflect.Descriptor instead.

func (*GetObjectManifestResponse) GetDigestAlgorithm

func (x *GetObjectManifestResponse) GetDigestAlgorithm() string

func (*GetObjectManifestResponse) GetManifest

func (x *GetObjectManifestResponse) GetManifest() map[string]*FileInfo

func (*GetObjectManifestResponse) GetObjectId

func (x *GetObjectManifestResponse) GetObjectId() string

func (*GetObjectManifestResponse) GetPath

func (x *GetObjectManifestResponse) GetPath() string

func (*GetObjectManifestResponse) GetSpec

func (x *GetObjectManifestResponse) GetSpec() string

func (*GetObjectManifestResponse) GetStorageRootId

func (x *GetObjectManifestResponse) GetStorageRootId() string

func (*GetObjectManifestResponse) ProtoMessage

func (*GetObjectManifestResponse) ProtoMessage()

func (*GetObjectManifestResponse) ProtoReflect

func (*GetObjectManifestResponse) Reset

func (x *GetObjectManifestResponse) Reset()

func (*GetObjectManifestResponse) String

func (x *GetObjectManifestResponse) String() string

type GetObjectVersionRequest

type GetObjectVersionRequest struct {

	// The storage root id for the object to access.
	StorageRootId string `protobuf:"bytes,1,opt,name=storage_root_id,json=storageRootId,proto3" json:"storage_root_id,omitempty"`
	// The object id to access (required).
	ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	// The version index for the object state. The default value is 0, which
	// refers to the most recent version.
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

GetObjectVersionRequest is used to request information about an object's state.

func (*GetObjectVersionRequest) Descriptor deprecated

func (*GetObjectVersionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetObjectVersionRequest.ProtoReflect.Descriptor instead.

func (*GetObjectVersionRequest) GetObjectId

func (x *GetObjectVersionRequest) GetObjectId() string

func (*GetObjectVersionRequest) GetStorageRootId

func (x *GetObjectVersionRequest) GetStorageRootId() string

func (*GetObjectVersionRequest) GetVersion

func (x *GetObjectVersionRequest) GetVersion() int32

func (*GetObjectVersionRequest) ProtoMessage

func (*GetObjectVersionRequest) ProtoMessage()

func (*GetObjectVersionRequest) ProtoReflect

func (x *GetObjectVersionRequest) ProtoReflect() protoreflect.Message

func (*GetObjectVersionRequest) Reset

func (x *GetObjectVersionRequest) Reset()

func (*GetObjectVersionRequest) String

func (x *GetObjectVersionRequest) String() string

type GetObjectVersionResponse

type GetObjectVersionResponse struct {

	// The object's storage root id.
	StorageRootId string `protobuf:"bytes,1,opt,name=storage_root_id,json=storageRootId,proto3" json:"storage_root_id,omitempty"`
	// The object's id
	ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	// The index for the object version represented by the state.
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// The object's most recent version index.
	Head int32 `protobuf:"varint,4,opt,name=head,proto3" json:"head,omitempty"`
	// The object's digest algorithm (sha512 or sha256)
	DigestAlgorithm string `protobuf:"bytes,5,opt,name=digest_algorithm,json=digestAlgorithm,proto3" json:"digest_algorithm,omitempty"`
	// The object's logical state represented as a map from digests to
	// file info. Path entries in the file info represent logical
	// filenames for the object version state.
	State map[string]*FileInfo `` /* 151-byte string literal not displayed */
	// The message associated with the object version
	Message string `protobuf:"bytes,7,opt,name=message,proto3" json:"message,omitempty"`
	// The user information associated with the object version
	User *User `protobuf:"bytes,8,opt,name=user,proto3" json:"user,omitempty"`
	// The timestamp associated witht he object version
	Created *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created,proto3" json:"created,omitempty"`
	// The OCFL specification version for the object version.
	Spec string `protobuf:"bytes,10,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

GetObjectVersionResponse represents state for a specific object version.

func (*GetObjectVersionResponse) Descriptor deprecated

func (*GetObjectVersionResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetObjectVersionResponse.ProtoReflect.Descriptor instead.

func (*GetObjectVersionResponse) GetCreated

func (*GetObjectVersionResponse) GetDigestAlgorithm

func (x *GetObjectVersionResponse) GetDigestAlgorithm() string

func (*GetObjectVersionResponse) GetHead

func (x *GetObjectVersionResponse) GetHead() int32

func (*GetObjectVersionResponse) GetMessage

func (x *GetObjectVersionResponse) GetMessage() string

func (*GetObjectVersionResponse) GetObjectId

func (x *GetObjectVersionResponse) GetObjectId() string

func (*GetObjectVersionResponse) GetSpec

func (x *GetObjectVersionResponse) GetSpec() string

func (*GetObjectVersionResponse) GetState

func (x *GetObjectVersionResponse) GetState() map[string]*FileInfo

func (*GetObjectVersionResponse) GetStorageRootId

func (x *GetObjectVersionResponse) GetStorageRootId() string

func (*GetObjectVersionResponse) GetUser

func (x *GetObjectVersionResponse) GetUser() *User

func (*GetObjectVersionResponse) GetVersion

func (x *GetObjectVersionResponse) GetVersion() int32

func (*GetObjectVersionResponse) ProtoMessage

func (*GetObjectVersionResponse) ProtoMessage()

func (*GetObjectVersionResponse) ProtoReflect

func (x *GetObjectVersionResponse) ProtoReflect() protoreflect.Message

func (*GetObjectVersionResponse) Reset

func (x *GetObjectVersionResponse) Reset()

func (*GetObjectVersionResponse) String

func (x *GetObjectVersionResponse) String() string

type GetUploaderRequest

type GetUploaderRequest struct {
	UploaderId string `protobuf:"bytes,1,opt,name=uploader_id,json=uploaderId,proto3" json:"uploader_id,omitempty"`
	// contains filtered or unexported fields
}

GetUploaderRequest is used to access information about an existing uploader

func (*GetUploaderRequest) Descriptor deprecated

func (*GetUploaderRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUploaderRequest.ProtoReflect.Descriptor instead.

func (*GetUploaderRequest) GetUploaderId

func (x *GetUploaderRequest) GetUploaderId() string

func (*GetUploaderRequest) ProtoMessage

func (*GetUploaderRequest) ProtoMessage()

func (*GetUploaderRequest) ProtoReflect

func (x *GetUploaderRequest) ProtoReflect() protoreflect.Message

func (*GetUploaderRequest) Reset

func (x *GetUploaderRequest) Reset()

func (*GetUploaderRequest) String

func (x *GetUploaderRequest) String() string

type GetUploaderResponse

type GetUploaderResponse struct {

	// uploader's unique ID
	UploaderId string `protobuf:"bytes,1,opt,name=uploader_id,json=uploaderId,proto3" json:"uploader_id,omitempty"`
	// algorithm used to digest uploaded data
	DigestAlgorithms []string `protobuf:"bytes,2,rep,name=digest_algorithms,json=digestAlgorithms,proto3" json:"digest_algorithms,omitempty"`
	// optional description (may be empty)
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// ID for user who created uploader (may be empty)
	UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// timestamp when uploader was created
	Created *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created,proto3" json:"created,omitempty"`
	// path for uploading content to the uploader
	UploadPath string `protobuf:"bytes,6,opt,name=upload_path,json=uploadPath,proto3" json:"upload_path,omitempty"`
	// list of uploads in the uploader
	Uploads []*GetUploaderResponse_Upload `protobuf:"bytes,7,rep,name=uploads,proto3" json:"uploads,omitempty"`
	// contains filtered or unexported fields
}

GetUploadResponse represent information about an uploader

func (*GetUploaderResponse) Descriptor deprecated

func (*GetUploaderResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUploaderResponse.ProtoReflect.Descriptor instead.

func (*GetUploaderResponse) GetCreated

func (x *GetUploaderResponse) GetCreated() *timestamppb.Timestamp

func (*GetUploaderResponse) GetDescription

func (x *GetUploaderResponse) GetDescription() string

func (*GetUploaderResponse) GetDigestAlgorithms

func (x *GetUploaderResponse) GetDigestAlgorithms() []string

func (*GetUploaderResponse) GetUploadPath

func (x *GetUploaderResponse) GetUploadPath() string

func (*GetUploaderResponse) GetUploaderId

func (x *GetUploaderResponse) GetUploaderId() string

func (*GetUploaderResponse) GetUploads

func (*GetUploaderResponse) GetUserId

func (x *GetUploaderResponse) GetUserId() string

func (*GetUploaderResponse) ProtoMessage

func (*GetUploaderResponse) ProtoMessage()

func (*GetUploaderResponse) ProtoReflect

func (x *GetUploaderResponse) ProtoReflect() protoreflect.Message

func (*GetUploaderResponse) Reset

func (x *GetUploaderResponse) Reset()

func (*GetUploaderResponse) String

func (x *GetUploaderResponse) String() string

type GetUploaderResponse_Upload

type GetUploaderResponse_Upload struct {

	// map of algorithm name to digest value for the upload
	Digests map[string]string `` /* 155-byte string literal not displayed */
	// size of the upload in bytes
	Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUploaderResponse_Upload) Descriptor deprecated

func (*GetUploaderResponse_Upload) Descriptor() ([]byte, []int)

Deprecated: Use GetUploaderResponse_Upload.ProtoReflect.Descriptor instead.

func (*GetUploaderResponse_Upload) GetDigests

func (x *GetUploaderResponse_Upload) GetDigests() map[string]string

func (*GetUploaderResponse_Upload) GetSize

func (x *GetUploaderResponse_Upload) GetSize() int64

func (*GetUploaderResponse_Upload) ProtoMessage

func (*GetUploaderResponse_Upload) ProtoMessage()

func (*GetUploaderResponse_Upload) ProtoReflect

func (*GetUploaderResponse_Upload) Reset

func (x *GetUploaderResponse_Upload) Reset()

func (*GetUploaderResponse_Upload) String

func (x *GetUploaderResponse_Upload) String() string

type ListUploadersRequest

type ListUploadersRequest struct {
	// contains filtered or unexported fields
}

ListUploaderRequest is used to access a list of uploaders.

func (*ListUploadersRequest) Descriptor deprecated

func (*ListUploadersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListUploadersRequest.ProtoReflect.Descriptor instead.

func (*ListUploadersRequest) ProtoMessage

func (*ListUploadersRequest) ProtoMessage()

func (*ListUploadersRequest) ProtoReflect

func (x *ListUploadersRequest) ProtoReflect() protoreflect.Message

func (*ListUploadersRequest) Reset

func (x *ListUploadersRequest) Reset()

func (*ListUploadersRequest) String

func (x *ListUploadersRequest) String() string

type ListUploadersResponse

type ListUploadersResponse struct {
	Uploaders []*ListUploadersResponse_Item `protobuf:"bytes,1,rep,name=uploaders,proto3" json:"uploaders,omitempty"`
	// contains filtered or unexported fields
}

ListUploaderResponse includes a list of uploaders

func (*ListUploadersResponse) Descriptor deprecated

func (*ListUploadersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListUploadersResponse.ProtoReflect.Descriptor instead.

func (*ListUploadersResponse) GetUploaders

func (*ListUploadersResponse) ProtoMessage

func (*ListUploadersResponse) ProtoMessage()

func (*ListUploadersResponse) ProtoReflect

func (x *ListUploadersResponse) ProtoReflect() protoreflect.Message

func (*ListUploadersResponse) Reset

func (x *ListUploadersResponse) Reset()

func (*ListUploadersResponse) String

func (x *ListUploadersResponse) String() string

type ListUploadersResponse_Item

type ListUploadersResponse_Item struct {
	UploaderId string `protobuf:"bytes,1,opt,name=uploader_id,json=uploaderId,proto3" json:"uploader_id,omitempty"`
	// creation date for the uploader
	Created *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"`
	// optional description (may be empty)
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// user id for the uploader (may be empty)
	UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUploadersResponse_Item) Descriptor deprecated

func (*ListUploadersResponse_Item) Descriptor() ([]byte, []int)

Deprecated: Use ListUploadersResponse_Item.ProtoReflect.Descriptor instead.

func (*ListUploadersResponse_Item) GetCreated

func (*ListUploadersResponse_Item) GetDescription

func (x *ListUploadersResponse_Item) GetDescription() string

func (*ListUploadersResponse_Item) GetUploaderId

func (x *ListUploadersResponse_Item) GetUploaderId() string

func (*ListUploadersResponse_Item) GetUserId

func (x *ListUploadersResponse_Item) GetUserId() string

func (*ListUploadersResponse_Item) ProtoMessage

func (*ListUploadersResponse_Item) ProtoMessage()

func (*ListUploadersResponse_Item) ProtoReflect

func (*ListUploadersResponse_Item) Reset

func (x *ListUploadersResponse_Item) Reset()

func (*ListUploadersResponse_Item) String

func (x *ListUploadersResponse_Item) String() string

type NewUploaderRequest

type NewUploaderRequest struct {

	// a list of digest algorithms use to digest files uploaded to the uploader.
	// The list must include `sha512` or `sha256`.
	DigestAlgorithms []string `protobuf:"bytes,1,rep,name=digest_algorithms,json=digestAlgorithms,proto3" json:"digest_algorithms,omitempty"`
	// An optional uploader description
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

NewUploaderRequest is used to create an uploader, which is a namespace for uploading files. Files uploaded to the uploader are digested as they are received using one or more digest algorithms (must include sha512 or sha256).

func (*NewUploaderRequest) Descriptor deprecated

func (*NewUploaderRequest) Descriptor() ([]byte, []int)

Deprecated: Use NewUploaderRequest.ProtoReflect.Descriptor instead.

func (*NewUploaderRequest) GetDescription

func (x *NewUploaderRequest) GetDescription() string

func (*NewUploaderRequest) GetDigestAlgorithms

func (x *NewUploaderRequest) GetDigestAlgorithms() []string

func (*NewUploaderRequest) ProtoMessage

func (*NewUploaderRequest) ProtoMessage()

func (*NewUploaderRequest) ProtoReflect

func (x *NewUploaderRequest) ProtoReflect() protoreflect.Message

func (*NewUploaderRequest) Reset

func (x *NewUploaderRequest) Reset()

func (*NewUploaderRequest) String

func (x *NewUploaderRequest) String() string

type NewUploaderResponse

type NewUploaderResponse struct {
	UploaderId string `protobuf:"bytes,1,opt,name=uploader_id,json=uploaderId,proto3" json:"uploader_id,omitempty"`
	// algorithm used to digest uploaded data
	DigestAlgorithms []string `protobuf:"bytes,2,rep,name=digest_algorithms,json=digestAlgorithms,proto3" json:"digest_algorithms,omitempty"`
	// optional description (may be empty)
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// ID for user who created uploader (may be empty)
	UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// timestamp when uploader was created
	Created *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created,proto3" json:"created,omitempty"`
	// path for uploading content to the uploader
	UploadPath string `protobuf:"bytes,6,opt,name=upload_path,json=uploadPath,proto3" json:"upload_path,omitempty"`
	// contains filtered or unexported fields
}

NewUploaderResponse represents a newly created uploader.

func (*NewUploaderResponse) Descriptor deprecated

func (*NewUploaderResponse) Descriptor() ([]byte, []int)

Deprecated: Use NewUploaderResponse.ProtoReflect.Descriptor instead.

func (*NewUploaderResponse) GetCreated

func (x *NewUploaderResponse) GetCreated() *timestamppb.Timestamp

func (*NewUploaderResponse) GetDescription

func (x *NewUploaderResponse) GetDescription() string

func (*NewUploaderResponse) GetDigestAlgorithms

func (x *NewUploaderResponse) GetDigestAlgorithms() []string

func (*NewUploaderResponse) GetUploadPath

func (x *NewUploaderResponse) GetUploadPath() string

func (*NewUploaderResponse) GetUploaderId

func (x *NewUploaderResponse) GetUploaderId() string

func (*NewUploaderResponse) GetUserId

func (x *NewUploaderResponse) GetUserId() string

func (*NewUploaderResponse) ProtoMessage

func (*NewUploaderResponse) ProtoMessage()

func (*NewUploaderResponse) ProtoReflect

func (x *NewUploaderResponse) ProtoReflect() protoreflect.Message

func (*NewUploaderResponse) Reset

func (x *NewUploaderResponse) Reset()

func (*NewUploaderResponse) String

func (x *NewUploaderResponse) String() string

type User

type User struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

user info for version block in inventory

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAddress

func (x *User) GetAddress() string

func (*User) GetName

func (x *User) GetName() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL