twirp

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package twirp contains the protobuf wire messages used by the GitHub Actions CacheService Twirp endpoints.

Index

Constants

This section is empty.

Variables

View Source
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 (*FinalizeCacheEntryUploadRequest) GetMetadata

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 (*FinalizeCacheEntryUploadRequest) Reset

func (*FinalizeCacheEntryUploadRequest) 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 (*FinalizeCacheEntryUploadResponse) ProtoMessage

func (*FinalizeCacheEntryUploadResponse) ProtoMessage()

func (*FinalizeCacheEntryUploadResponse) ProtoReflect

func (*FinalizeCacheEntryUploadResponse) Reset

func (*FinalizeCacheEntryUploadResponse) 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 (*GetCacheEntryDownloadURLRequest) GetMetadata

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 (*GetCacheEntryDownloadURLRequest) Reset

func (*GetCacheEntryDownloadURLRequest) 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 (*GetCacheEntryDownloadURLResponse) GetSignedDownloadUrl

func (x *GetCacheEntryDownloadURLResponse) GetSignedDownloadUrl() string

func (*GetCacheEntryDownloadURLResponse) ProtoMessage

func (*GetCacheEntryDownloadURLResponse) ProtoMessage()

func (*GetCacheEntryDownloadURLResponse) ProtoReflect

func (*GetCacheEntryDownloadURLResponse) Reset

func (*GetCacheEntryDownloadURLResponse) String

Jump to

Keyboard shortcuts

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