Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action interface {
RunAction(actionContext *ActionContext) error
}
func ParseAction ¶
func ParseGenerateAction ¶
func ParseLoadDigestsAction ¶
func ParseReadAction ¶
func ParseSaveDigestsAction ¶
type ActionContext ¶
type ActionContext struct { // Go context for the current operation. Ctx context.Context // Clients to use to access the CAS. CasClient remote_pb.ContentAddressableStorageClient BytestreamClient bytestream_pb.ByteStreamClient InstanceName string MaxBatchBlobSize int64 WriteChunkSize int64 // Map of a digest in string form to a bool representing whether it is known to be present or missing // in the CAS. KnownDigests map[string]bool // contains filtered or unexported fields }
func (*ActionContext) AddKnownDigest ¶
func (ac *ActionContext) AddKnownDigest(digest *remote_pb.Digest, present bool)
func (*ActionContext) GetKnownDigests ¶
func (ac *ActionContext) GetKnownDigests(presence bool) []*remote_pb.Digest
Click to show internal directories.
Click to hide internal directories.