Documentation ¶
Index ¶
- type ResourceName
- func (r *ResourceName) DownloadString() string
- func (r *ResourceName) GetCompressor() repb.Compressor_Value
- func (r *ResourceName) GetDigest() *repb.Digest
- func (r *ResourceName) GetInstanceName() string
- func (r *ResourceName) SetCompressor(compressor repb.Compressor_Value)
- func (r *ResourceName) UploadString() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceName ¶
type ResourceName struct {
// contains filtered or unexported fields
}
func NewResourceName ¶
func NewResourceName(d *repb.Digest, instanceName string) *ResourceName
func ParseUploadResourceName ¶
func ParseUploadResourceName(resourceName string) (*ResourceName, error)
func (*ResourceName) DownloadString ¶
func (r *ResourceName) DownloadString() string
DownloadString returns a string representing the resource name for download purposes.
func (*ResourceName) GetCompressor ¶
func (r *ResourceName) GetCompressor() repb.Compressor_Value
func (*ResourceName) GetDigest ¶
func (r *ResourceName) GetDigest() *repb.Digest
func (*ResourceName) GetInstanceName ¶
func (r *ResourceName) GetInstanceName() string
func (*ResourceName) SetCompressor ¶
func (r *ResourceName) SetCompressor(compressor repb.Compressor_Value)
func (*ResourceName) UploadString ¶
func (r *ResourceName) UploadString() (string, error)
UploadString returns a string representing the resource name for upload purposes.
Click to show internal directories.
Click to hide internal directories.