apiv1

package
v1.36.10-2025120116041... Latest Latest
Warning

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

Go to latest
Published: unknown License: AGPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_gharesults_gharesults_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CacheMetadata

type CacheMetadata struct {
	RepositoryId string        `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	Scope        []*CacheScope `protobuf:"bytes,2,rep,name=scope,proto3" json:"scope,omitempty"`
	// contains filtered or unexported fields
}

func (*CacheMetadata) GetRepositoryId

func (x *CacheMetadata) GetRepositoryId() string

func (*CacheMetadata) GetScope

func (x *CacheMetadata) GetScope() []*CacheScope

func (*CacheMetadata) ProtoMessage

func (*CacheMetadata) ProtoMessage()

func (*CacheMetadata) ProtoReflect

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

func (*CacheMetadata) Reset

func (x *CacheMetadata) Reset()

func (*CacheMetadata) SetRepositoryId

func (x *CacheMetadata) SetRepositoryId(v string)

func (*CacheMetadata) SetScope

func (x *CacheMetadata) SetScope(v []*CacheScope)

func (*CacheMetadata) String

func (x *CacheMetadata) String() string

type CacheMetadata_builder

type CacheMetadata_builder struct {
	RepositoryId string
	Scope        []*CacheScope
	// contains filtered or unexported fields
}

func (CacheMetadata_builder) Build

type CacheScope

type CacheScope struct {
	Scope      string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

func (*CacheScope) GetPermission

func (x *CacheScope) GetPermission() string

func (*CacheScope) GetScope

func (x *CacheScope) GetScope() string

func (*CacheScope) ProtoMessage

func (*CacheScope) ProtoMessage()

func (*CacheScope) ProtoReflect

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

func (*CacheScope) Reset

func (x *CacheScope) Reset()

func (*CacheScope) SetPermission

func (x *CacheScope) SetPermission(v string)

func (*CacheScope) SetScope

func (x *CacheScope) SetScope(v string)

func (*CacheScope) String

func (x *CacheScope) String() string

type CacheScope_builder

type CacheScope_builder struct {
	Scope      string
	Permission string
	// contains filtered or unexported fields
}

func (CacheScope_builder) Build

func (b0 CacheScope_builder) Build() *CacheScope

type CreateCacheEntryRequest

type CreateCacheEntryRequest struct {
	Metadata *CacheMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Key      string         `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Version  string         `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCacheEntryRequest) ClearMetadata

func (x *CreateCacheEntryRequest) ClearMetadata()

func (*CreateCacheEntryRequest) GetKey

func (x *CreateCacheEntryRequest) GetKey() string

func (*CreateCacheEntryRequest) GetMetadata

func (x *CreateCacheEntryRequest) GetMetadata() *CacheMetadata

func (*CreateCacheEntryRequest) GetVersion

func (x *CreateCacheEntryRequest) GetVersion() string

func (*CreateCacheEntryRequest) HasMetadata

func (x *CreateCacheEntryRequest) HasMetadata() bool

func (*CreateCacheEntryRequest) ProtoMessage

func (*CreateCacheEntryRequest) ProtoMessage()

func (*CreateCacheEntryRequest) ProtoReflect

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

func (*CreateCacheEntryRequest) Reset

func (x *CreateCacheEntryRequest) Reset()

func (*CreateCacheEntryRequest) SetKey

func (x *CreateCacheEntryRequest) SetKey(v string)

func (*CreateCacheEntryRequest) SetMetadata

func (x *CreateCacheEntryRequest) SetMetadata(v *CacheMetadata)

func (*CreateCacheEntryRequest) SetVersion

func (x *CreateCacheEntryRequest) SetVersion(v string)

func (*CreateCacheEntryRequest) String

func (x *CreateCacheEntryRequest) String() string

type CreateCacheEntryRequest_builder

type CreateCacheEntryRequest_builder struct {
	Metadata *CacheMetadata
	Key      string
	Version  string
	// contains filtered or unexported fields
}

func (CreateCacheEntryRequest_builder) Build

type CreateCacheEntryResponse

type CreateCacheEntryResponse struct {
	Ok              bool   `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	SignedUploadUrl string `protobuf:"bytes,2,opt,name=signed_upload_url,json=signedUploadUrl,proto3" json:"signed_upload_url,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCacheEntryResponse) GetOk

func (x *CreateCacheEntryResponse) GetOk() bool

func (*CreateCacheEntryResponse) GetSignedUploadUrl

func (x *CreateCacheEntryResponse) GetSignedUploadUrl() string

func (*CreateCacheEntryResponse) ProtoMessage

func (*CreateCacheEntryResponse) ProtoMessage()

func (*CreateCacheEntryResponse) ProtoReflect

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

func (*CreateCacheEntryResponse) Reset

func (x *CreateCacheEntryResponse) Reset()

func (*CreateCacheEntryResponse) SetOk

func (x *CreateCacheEntryResponse) SetOk(v bool)

func (*CreateCacheEntryResponse) SetSignedUploadUrl

func (x *CreateCacheEntryResponse) SetSignedUploadUrl(v string)

func (*CreateCacheEntryResponse) String

func (x *CreateCacheEntryResponse) String() string

type CreateCacheEntryResponse_builder

type CreateCacheEntryResponse_builder struct {
	Ok              bool
	SignedUploadUrl string
	// contains filtered or unexported fields
}

func (CreateCacheEntryResponse_builder) Build

type FinalizeCacheEntryUploadRequest

type FinalizeCacheEntryUploadRequest struct {
	Metadata  *CacheMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Key       string         `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	SizeBytes int64          `protobuf:"varint,3,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	Version   string         `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*FinalizeCacheEntryUploadRequest) ClearMetadata

func (x *FinalizeCacheEntryUploadRequest) ClearMetadata()

func (*FinalizeCacheEntryUploadRequest) GetKey

func (*FinalizeCacheEntryUploadRequest) GetMetadata

func (*FinalizeCacheEntryUploadRequest) GetSizeBytes

func (x *FinalizeCacheEntryUploadRequest) GetSizeBytes() int64

func (*FinalizeCacheEntryUploadRequest) GetVersion

func (x *FinalizeCacheEntryUploadRequest) GetVersion() string

func (*FinalizeCacheEntryUploadRequest) HasMetadata

func (x *FinalizeCacheEntryUploadRequest) HasMetadata() bool

func (*FinalizeCacheEntryUploadRequest) ProtoMessage

func (*FinalizeCacheEntryUploadRequest) ProtoMessage()

func (*FinalizeCacheEntryUploadRequest) ProtoReflect

func (*FinalizeCacheEntryUploadRequest) Reset

func (*FinalizeCacheEntryUploadRequest) SetKey

func (*FinalizeCacheEntryUploadRequest) SetMetadata

func (*FinalizeCacheEntryUploadRequest) SetSizeBytes

func (x *FinalizeCacheEntryUploadRequest) SetSizeBytes(v int64)

func (*FinalizeCacheEntryUploadRequest) SetVersion

func (x *FinalizeCacheEntryUploadRequest) SetVersion(v string)

func (*FinalizeCacheEntryUploadRequest) String

type FinalizeCacheEntryUploadRequest_builder

type FinalizeCacheEntryUploadRequest_builder struct {
	Metadata  *CacheMetadata
	Key       string
	SizeBytes int64
	Version   string
	// contains filtered or unexported fields
}

func (FinalizeCacheEntryUploadRequest_builder) Build

type FinalizeCacheEntryUploadResponse

type FinalizeCacheEntryUploadResponse struct {
	Ok      bool  `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	EntryId int64 `protobuf:"varint,2,opt,name=entry_id,json=entryId,proto3" json:"entry_id,omitempty"`
	// contains filtered or unexported fields
}

func (*FinalizeCacheEntryUploadResponse) GetEntryId

func (x *FinalizeCacheEntryUploadResponse) GetEntryId() int64

func (*FinalizeCacheEntryUploadResponse) GetOk

func (*FinalizeCacheEntryUploadResponse) ProtoMessage

func (*FinalizeCacheEntryUploadResponse) ProtoMessage()

func (*FinalizeCacheEntryUploadResponse) ProtoReflect

func (*FinalizeCacheEntryUploadResponse) Reset

func (*FinalizeCacheEntryUploadResponse) SetEntryId

func (x *FinalizeCacheEntryUploadResponse) SetEntryId(v int64)

func (*FinalizeCacheEntryUploadResponse) SetOk

func (*FinalizeCacheEntryUploadResponse) String

type FinalizeCacheEntryUploadResponse_builder

type FinalizeCacheEntryUploadResponse_builder struct {
	Ok      bool
	EntryId int64
	// contains filtered or unexported fields
}

func (FinalizeCacheEntryUploadResponse_builder) Build

type GetCacheEntryDownloadURLRequest

type GetCacheEntryDownloadURLRequest struct {
	Metadata    *CacheMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Key         string         `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	RestoreKeys []string       `protobuf:"bytes,3,rep,name=restore_keys,json=restoreKeys,proto3" json:"restore_keys,omitempty"`
	Version     string         `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCacheEntryDownloadURLRequest) ClearMetadata

func (x *GetCacheEntryDownloadURLRequest) ClearMetadata()

func (*GetCacheEntryDownloadURLRequest) GetKey

func (*GetCacheEntryDownloadURLRequest) GetMetadata

func (*GetCacheEntryDownloadURLRequest) GetRestoreKeys

func (x *GetCacheEntryDownloadURLRequest) GetRestoreKeys() []string

func (*GetCacheEntryDownloadURLRequest) GetVersion

func (x *GetCacheEntryDownloadURLRequest) GetVersion() string

func (*GetCacheEntryDownloadURLRequest) HasMetadata

func (x *GetCacheEntryDownloadURLRequest) HasMetadata() bool

func (*GetCacheEntryDownloadURLRequest) ProtoMessage

func (*GetCacheEntryDownloadURLRequest) ProtoMessage()

func (*GetCacheEntryDownloadURLRequest) ProtoReflect

func (*GetCacheEntryDownloadURLRequest) Reset

func (*GetCacheEntryDownloadURLRequest) SetKey

func (*GetCacheEntryDownloadURLRequest) SetMetadata

func (*GetCacheEntryDownloadURLRequest) SetRestoreKeys

func (x *GetCacheEntryDownloadURLRequest) SetRestoreKeys(v []string)

func (*GetCacheEntryDownloadURLRequest) SetVersion

func (x *GetCacheEntryDownloadURLRequest) SetVersion(v string)

func (*GetCacheEntryDownloadURLRequest) String

type GetCacheEntryDownloadURLRequest_builder

type GetCacheEntryDownloadURLRequest_builder struct {
	Metadata    *CacheMetadata
	Key         string
	RestoreKeys []string
	Version     string
	// contains filtered or unexported fields
}

func (GetCacheEntryDownloadURLRequest_builder) Build

type GetCacheEntryDownloadURLResponse

type GetCacheEntryDownloadURLResponse struct {
	Ok                bool   `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	SignedDownloadUrl string `protobuf:"bytes,2,opt,name=signed_download_url,json=signedDownloadUrl,proto3" json:"signed_download_url,omitempty"`
	MatchedKey        string `protobuf:"bytes,3,opt,name=matched_key,json=matchedKey,proto3" json:"matched_key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCacheEntryDownloadURLResponse) GetMatchedKey

func (x *GetCacheEntryDownloadURLResponse) GetMatchedKey() string

func (*GetCacheEntryDownloadURLResponse) GetOk

func (*GetCacheEntryDownloadURLResponse) GetSignedDownloadUrl

func (x *GetCacheEntryDownloadURLResponse) GetSignedDownloadUrl() string

func (*GetCacheEntryDownloadURLResponse) ProtoMessage

func (*GetCacheEntryDownloadURLResponse) ProtoMessage()

func (*GetCacheEntryDownloadURLResponse) ProtoReflect

func (*GetCacheEntryDownloadURLResponse) Reset

func (*GetCacheEntryDownloadURLResponse) SetMatchedKey

func (x *GetCacheEntryDownloadURLResponse) SetMatchedKey(v string)

func (*GetCacheEntryDownloadURLResponse) SetOk

func (*GetCacheEntryDownloadURLResponse) SetSignedDownloadUrl

func (x *GetCacheEntryDownloadURLResponse) SetSignedDownloadUrl(v string)

func (*GetCacheEntryDownloadURLResponse) String

type GetCacheEntryDownloadURLResponse_builder

type GetCacheEntryDownloadURLResponse_builder struct {
	Ok                bool
	SignedDownloadUrl string
	MatchedKey        string
	// contains filtered or unexported fields
}

func (GetCacheEntryDownloadURLResponse_builder) Build

Source Files

  • gharesults.pb.go

Jump to

Keyboard shortcuts

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