dummy_project implements a monitoring target interface for DummyProject.



This section is empty.


This section is empty.


This section is empty.


type DummyProject

type DummyProject struct {
	// The project id that uniquely identifies the dummy project owning the data.
	Project string `protobuf:"bytes,10,opt,name=project,proto3" json:"project,omitempty"`
	// The location (e.g., GCE zone, Metro, Lab, etc), where the project is
	// located.
	Location string `protobuf:"bytes,20,opt,name=location,proto3" json:"location,omitempty"`
	// Uniquely identifies the worker instance which processed a given request.
	WorkerId int64 `protobuf:"varint,30,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"`
	// Whether a given project is staging or not.
	IsStaging            bool     `protobuf:"varint,40,opt,name=is_staging,json=isStaging,proto3" json:"is_staging,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`

func (*DummyProject) Clone

func (t *DummyProject) Clone() types.Target

Clone returns a copy of this object.

func (*DummyProject) Descriptor

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

func (*DummyProject) GetIsStaging

func (m *DummyProject) GetIsStaging() bool

func (*DummyProject) GetLocation

func (m *DummyProject) GetLocation() string

func (*DummyProject) GetProject

func (m *DummyProject) GetProject() string

func (*DummyProject) GetWorkerId

func (m *DummyProject) GetWorkerId() int64

func (*DummyProject) Hash

func (t *DummyProject) Hash() uint64

Hash returns a uint64 hash of this target.

func (*DummyProject) PopulateProto

func (t *DummyProject) PopulateProto(d *pb.MetricsCollection)

PopulateProto implements Target.

func (*DummyProject) ProtoMessage

func (*DummyProject) ProtoMessage()

func (*DummyProject) Reset

func (m *DummyProject) Reset()

func (*DummyProject) String

func (m *DummyProject) String() string

func (*DummyProject) Type

func (t *DummyProject) Type() types.TargetType

Type returns the TargetType of DummyProject.

func (*DummyProject) XXX_DiscardUnknown

func (m *DummyProject) XXX_DiscardUnknown()

func (*DummyProject) XXX_Marshal

func (m *DummyProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DummyProject) XXX_Merge

func (m *DummyProject) XXX_Merge(src proto.Message)

func (*DummyProject) XXX_Size

func (m *DummyProject) XXX_Size() int

func (*DummyProject) XXX_Unmarshal

func (m *DummyProject) XXX_Unmarshal(b []byte) error