Documentation
¶
Overview ¶
Package twirp contains the protobuf wire messages used by the GitHub Actions CacheService Twirp endpoints.
Index ¶
- Variables
- type CacheMetadata
- func (*CacheMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CacheMetadata) GetRepositoryId() int64
- func (x *CacheMetadata) GetScope() []*CacheScope
- func (*CacheMetadata) ProtoMessage()
- func (x *CacheMetadata) ProtoReflect() protoreflect.Message
- func (x *CacheMetadata) Reset()
- func (x *CacheMetadata) String() string
- type CacheScope
- type CreateCacheEntryRequest
- func (*CreateCacheEntryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCacheEntryRequest) GetKey() string
- func (x *CreateCacheEntryRequest) GetMetadata() *CacheMetadata
- func (x *CreateCacheEntryRequest) GetVersion() string
- func (*CreateCacheEntryRequest) ProtoMessage()
- func (x *CreateCacheEntryRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCacheEntryRequest) Reset()
- func (x *CreateCacheEntryRequest) String() string
- type CreateCacheEntryResponse
- func (*CreateCacheEntryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCacheEntryResponse) GetMessage() string
- func (x *CreateCacheEntryResponse) GetOk() bool
- func (x *CreateCacheEntryResponse) GetSignedUploadUrl() string
- func (*CreateCacheEntryResponse) ProtoMessage()
- func (x *CreateCacheEntryResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCacheEntryResponse) Reset()
- func (x *CreateCacheEntryResponse) String() string
- type FinalizeCacheEntryUploadRequest
- func (*FinalizeCacheEntryUploadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FinalizeCacheEntryUploadRequest) GetKey() string
- func (x *FinalizeCacheEntryUploadRequest) GetMetadata() *CacheMetadata
- func (x *FinalizeCacheEntryUploadRequest) GetSizeBytes() int64
- func (x *FinalizeCacheEntryUploadRequest) GetVersion() string
- func (*FinalizeCacheEntryUploadRequest) ProtoMessage()
- func (x *FinalizeCacheEntryUploadRequest) ProtoReflect() protoreflect.Message
- func (x *FinalizeCacheEntryUploadRequest) Reset()
- func (x *FinalizeCacheEntryUploadRequest) String() string
- type FinalizeCacheEntryUploadResponse
- func (*FinalizeCacheEntryUploadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FinalizeCacheEntryUploadResponse) GetEntryId() int64
- func (x *FinalizeCacheEntryUploadResponse) GetMessage() string
- func (x *FinalizeCacheEntryUploadResponse) GetOk() bool
- func (*FinalizeCacheEntryUploadResponse) ProtoMessage()
- func (x *FinalizeCacheEntryUploadResponse) ProtoReflect() protoreflect.Message
- func (x *FinalizeCacheEntryUploadResponse) Reset()
- func (x *FinalizeCacheEntryUploadResponse) String() string
- type GetCacheEntryDownloadURLRequest
- func (*GetCacheEntryDownloadURLRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCacheEntryDownloadURLRequest) GetKey() string
- func (x *GetCacheEntryDownloadURLRequest) GetMetadata() *CacheMetadata
- func (x *GetCacheEntryDownloadURLRequest) GetRestoreKeys() []string
- func (x *GetCacheEntryDownloadURLRequest) GetVersion() string
- func (*GetCacheEntryDownloadURLRequest) ProtoMessage()
- func (x *GetCacheEntryDownloadURLRequest) ProtoReflect() protoreflect.Message
- func (x *GetCacheEntryDownloadURLRequest) Reset()
- func (x *GetCacheEntryDownloadURLRequest) String() string
- type GetCacheEntryDownloadURLResponse
- func (*GetCacheEntryDownloadURLResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCacheEntryDownloadURLResponse) GetMatchedKey() string
- func (x *GetCacheEntryDownloadURLResponse) GetOk() bool
- func (x *GetCacheEntryDownloadURLResponse) GetSignedDownloadUrl() string
- func (*GetCacheEntryDownloadURLResponse) ProtoMessage()
- func (x *GetCacheEntryDownloadURLResponse) ProtoReflect() protoreflect.Message
- func (x *GetCacheEntryDownloadURLResponse) Reset()
- func (x *GetCacheEntryDownloadURLResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_cache_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CacheMetadata ¶
type CacheMetadata struct {
RepositoryId int64 `protobuf:"varint,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) Descriptor
deprecated
func (*CacheMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CacheMetadata.ProtoReflect.Descriptor instead.
func (*CacheMetadata) GetRepositoryId ¶
func (x *CacheMetadata) GetRepositoryId() int64
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) String ¶
func (x *CacheMetadata) String() string
type CacheScope ¶
type CacheScope struct {
Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
Permission int64 `protobuf:"varint,2,opt,name=permission,proto3" json:"permission,omitempty"`
// contains filtered or unexported fields
}
func (*CacheScope) Descriptor
deprecated
func (*CacheScope) Descriptor() ([]byte, []int)
Deprecated: Use CacheScope.ProtoReflect.Descriptor instead.
func (*CacheScope) GetPermission ¶
func (x *CacheScope) GetPermission() int64
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) String ¶
func (x *CacheScope) String() string
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) Descriptor
deprecated
func (*CreateCacheEntryRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCacheEntryRequest.ProtoReflect.Descriptor instead.
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) ProtoMessage ¶
func (*CreateCacheEntryRequest) ProtoMessage()
func (*CreateCacheEntryRequest) ProtoReflect ¶
func (x *CreateCacheEntryRequest) ProtoReflect() protoreflect.Message
func (*CreateCacheEntryRequest) Reset ¶
func (x *CreateCacheEntryRequest) Reset()
func (*CreateCacheEntryRequest) String ¶
func (x *CreateCacheEntryRequest) String() string
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"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*CreateCacheEntryResponse) Descriptor
deprecated
func (*CreateCacheEntryResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCacheEntryResponse.ProtoReflect.Descriptor instead.
func (*CreateCacheEntryResponse) GetMessage ¶
func (x *CreateCacheEntryResponse) GetMessage() string
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) String ¶
func (x *CreateCacheEntryResponse) String() string
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) Descriptor
deprecated
func (*FinalizeCacheEntryUploadRequest) Descriptor() ([]byte, []int)
Deprecated: Use FinalizeCacheEntryUploadRequest.ProtoReflect.Descriptor instead.
func (*FinalizeCacheEntryUploadRequest) GetKey ¶
func (x *FinalizeCacheEntryUploadRequest) GetKey() string
func (*FinalizeCacheEntryUploadRequest) GetMetadata ¶
func (x *FinalizeCacheEntryUploadRequest) GetMetadata() *CacheMetadata
func (*FinalizeCacheEntryUploadRequest) GetSizeBytes ¶
func (x *FinalizeCacheEntryUploadRequest) GetSizeBytes() int64
func (*FinalizeCacheEntryUploadRequest) GetVersion ¶
func (x *FinalizeCacheEntryUploadRequest) GetVersion() string
func (*FinalizeCacheEntryUploadRequest) ProtoMessage ¶
func (*FinalizeCacheEntryUploadRequest) ProtoMessage()
func (*FinalizeCacheEntryUploadRequest) ProtoReflect ¶
func (x *FinalizeCacheEntryUploadRequest) ProtoReflect() protoreflect.Message
func (*FinalizeCacheEntryUploadRequest) Reset ¶
func (x *FinalizeCacheEntryUploadRequest) Reset()
func (*FinalizeCacheEntryUploadRequest) String ¶
func (x *FinalizeCacheEntryUploadRequest) String() string
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"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*FinalizeCacheEntryUploadResponse) Descriptor
deprecated
func (*FinalizeCacheEntryUploadResponse) Descriptor() ([]byte, []int)
Deprecated: Use FinalizeCacheEntryUploadResponse.ProtoReflect.Descriptor instead.
func (*FinalizeCacheEntryUploadResponse) GetEntryId ¶
func (x *FinalizeCacheEntryUploadResponse) GetEntryId() int64
func (*FinalizeCacheEntryUploadResponse) GetMessage ¶
func (x *FinalizeCacheEntryUploadResponse) GetMessage() string
func (*FinalizeCacheEntryUploadResponse) GetOk ¶
func (x *FinalizeCacheEntryUploadResponse) GetOk() bool
func (*FinalizeCacheEntryUploadResponse) ProtoMessage ¶
func (*FinalizeCacheEntryUploadResponse) ProtoMessage()
func (*FinalizeCacheEntryUploadResponse) ProtoReflect ¶
func (x *FinalizeCacheEntryUploadResponse) ProtoReflect() protoreflect.Message
func (*FinalizeCacheEntryUploadResponse) Reset ¶
func (x *FinalizeCacheEntryUploadResponse) Reset()
func (*FinalizeCacheEntryUploadResponse) String ¶
func (x *FinalizeCacheEntryUploadResponse) String() string
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) Descriptor
deprecated
func (*GetCacheEntryDownloadURLRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCacheEntryDownloadURLRequest.ProtoReflect.Descriptor instead.
func (*GetCacheEntryDownloadURLRequest) GetKey ¶
func (x *GetCacheEntryDownloadURLRequest) GetKey() string
func (*GetCacheEntryDownloadURLRequest) GetMetadata ¶
func (x *GetCacheEntryDownloadURLRequest) GetMetadata() *CacheMetadata
func (*GetCacheEntryDownloadURLRequest) GetRestoreKeys ¶
func (x *GetCacheEntryDownloadURLRequest) GetRestoreKeys() []string
func (*GetCacheEntryDownloadURLRequest) GetVersion ¶
func (x *GetCacheEntryDownloadURLRequest) GetVersion() string
func (*GetCacheEntryDownloadURLRequest) ProtoMessage ¶
func (*GetCacheEntryDownloadURLRequest) ProtoMessage()
func (*GetCacheEntryDownloadURLRequest) ProtoReflect ¶
func (x *GetCacheEntryDownloadURLRequest) ProtoReflect() protoreflect.Message
func (*GetCacheEntryDownloadURLRequest) Reset ¶
func (x *GetCacheEntryDownloadURLRequest) Reset()
func (*GetCacheEntryDownloadURLRequest) String ¶
func (x *GetCacheEntryDownloadURLRequest) String() string
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) Descriptor
deprecated
func (*GetCacheEntryDownloadURLResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCacheEntryDownloadURLResponse.ProtoReflect.Descriptor instead.
func (*GetCacheEntryDownloadURLResponse) GetMatchedKey ¶
func (x *GetCacheEntryDownloadURLResponse) GetMatchedKey() string
func (*GetCacheEntryDownloadURLResponse) GetOk ¶
func (x *GetCacheEntryDownloadURLResponse) GetOk() bool
func (*GetCacheEntryDownloadURLResponse) GetSignedDownloadUrl ¶
func (x *GetCacheEntryDownloadURLResponse) GetSignedDownloadUrl() string
func (*GetCacheEntryDownloadURLResponse) ProtoMessage ¶
func (*GetCacheEntryDownloadURLResponse) ProtoMessage()
func (*GetCacheEntryDownloadURLResponse) ProtoReflect ¶
func (x *GetCacheEntryDownloadURLResponse) ProtoReflect() protoreflect.Message
func (*GetCacheEntryDownloadURLResponse) Reset ¶
func (x *GetCacheEntryDownloadURLResponse) Reset()
func (*GetCacheEntryDownloadURLResponse) String ¶
func (x *GetCacheEntryDownloadURLResponse) String() string