action_cache

package
v1.509.12 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ActionCacheStatistics_MissReason_name = map[int32]string{
		0: "DIFFERENT_ACTION_KEY",
		1: "DIFFERENT_DEPS",
		2: "DIFFERENT_ENVIRONMENT",
		3: "DIFFERENT_FILES",
		4: "CORRUPTED_CACHE_ENTRY",
		5: "NOT_CACHED",
		6: "UNCONDITIONAL_EXECUTION",
	}
	ActionCacheStatistics_MissReason_value = map[string]int32{
		"DIFFERENT_ACTION_KEY":    0,
		"DIFFERENT_DEPS":          1,
		"DIFFERENT_ENVIRONMENT":   2,
		"DIFFERENT_FILES":         3,
		"CORRUPTED_CACHE_ENTRY":   4,
		"NOT_CACHED":              5,
		"UNCONDITIONAL_EXECUTION": 6,
	}
)

Enum value maps for ActionCacheStatistics_MissReason.

View Source
var File_bazel_action_cache_action_cache_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ActionCacheStatistics

type ActionCacheStatistics struct {
	SizeInBytes  uint64                              `protobuf:"varint,1,opt,name=size_in_bytes,json=sizeInBytes,proto3" json:"size_in_bytes,omitempty"`
	SaveTimeInMs uint64                              `protobuf:"varint,2,opt,name=save_time_in_ms,json=saveTimeInMs,proto3" json:"save_time_in_ms,omitempty"`
	Hits         int32                               `protobuf:"varint,3,opt,name=hits,proto3" json:"hits,omitempty"`
	Misses       int32                               `protobuf:"varint,4,opt,name=misses,proto3" json:"misses,omitempty"`
	MissDetails  []*ActionCacheStatistics_MissDetail `protobuf:"bytes,5,rep,name=miss_details,json=missDetails,proto3" json:"miss_details,omitempty"`
	LoadTimeInMs uint64                              `protobuf:"varint,6,opt,name=load_time_in_ms,json=loadTimeInMs,proto3" json:"load_time_in_ms,omitempty"`
	// contains filtered or unexported fields
}

func (*ActionCacheStatistics) Descriptor deprecated

func (*ActionCacheStatistics) Descriptor() ([]byte, []int)

Deprecated: Use ActionCacheStatistics.ProtoReflect.Descriptor instead.

func (*ActionCacheStatistics) GetHits

func (x *ActionCacheStatistics) GetHits() int32

func (*ActionCacheStatistics) GetLoadTimeInMs

func (x *ActionCacheStatistics) GetLoadTimeInMs() uint64

func (*ActionCacheStatistics) GetMissDetails

func (*ActionCacheStatistics) GetMisses

func (x *ActionCacheStatistics) GetMisses() int32

func (*ActionCacheStatistics) GetSaveTimeInMs

func (x *ActionCacheStatistics) GetSaveTimeInMs() uint64

func (*ActionCacheStatistics) GetSizeInBytes

func (x *ActionCacheStatistics) GetSizeInBytes() uint64

func (*ActionCacheStatistics) ProtoMessage

func (*ActionCacheStatistics) ProtoMessage()

func (*ActionCacheStatistics) ProtoReflect

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

func (*ActionCacheStatistics) Reset

func (x *ActionCacheStatistics) Reset()

func (*ActionCacheStatistics) String

func (x *ActionCacheStatistics) String() string

type ActionCacheStatistics_MissDetail

type ActionCacheStatistics_MissDetail struct {
	Reason ActionCacheStatistics_MissReason `protobuf:"varint,1,opt,name=reason,proto3,enum=bazel.ActionCacheStatistics_MissReason" json:"reason,omitempty"`
	Count  int32                            `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*ActionCacheStatistics_MissDetail) Descriptor deprecated

func (*ActionCacheStatistics_MissDetail) Descriptor() ([]byte, []int)

Deprecated: Use ActionCacheStatistics_MissDetail.ProtoReflect.Descriptor instead.

func (*ActionCacheStatistics_MissDetail) GetCount

func (*ActionCacheStatistics_MissDetail) GetReason

func (*ActionCacheStatistics_MissDetail) ProtoMessage

func (*ActionCacheStatistics_MissDetail) ProtoMessage()

func (*ActionCacheStatistics_MissDetail) ProtoReflect

func (*ActionCacheStatistics_MissDetail) Reset

func (*ActionCacheStatistics_MissDetail) String

type ActionCacheStatistics_MissReason

type ActionCacheStatistics_MissReason int32
const (
	ActionCacheStatistics_DIFFERENT_ACTION_KEY    ActionCacheStatistics_MissReason = 0
	ActionCacheStatistics_DIFFERENT_DEPS          ActionCacheStatistics_MissReason = 1
	ActionCacheStatistics_DIFFERENT_ENVIRONMENT   ActionCacheStatistics_MissReason = 2
	ActionCacheStatistics_DIFFERENT_FILES         ActionCacheStatistics_MissReason = 3
	ActionCacheStatistics_CORRUPTED_CACHE_ENTRY   ActionCacheStatistics_MissReason = 4
	ActionCacheStatistics_NOT_CACHED              ActionCacheStatistics_MissReason = 5
	ActionCacheStatistics_UNCONDITIONAL_EXECUTION ActionCacheStatistics_MissReason = 6
)

func (ActionCacheStatistics_MissReason) Descriptor

func (ActionCacheStatistics_MissReason) Enum

func (ActionCacheStatistics_MissReason) EnumDescriptor deprecated

func (ActionCacheStatistics_MissReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use ActionCacheStatistics_MissReason.Descriptor instead.

func (ActionCacheStatistics_MissReason) Number

func (ActionCacheStatistics_MissReason) String

func (ActionCacheStatistics_MissReason) Type

Jump to

Keyboard shortcuts

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