response

package
v0.0.0-...-0ba9b0d Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_external_event_feed_response_event_proto protoreflect.FileDescriptor
View Source
var File_external_event_feed_response_eventstrings_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Event

type Event struct {

	// Type of event (cookbook, role, etc).
	EventType string `protobuf:"bytes,1,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
	// Type of event task (create, update, delete).
	Task string `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"`
	// Event start time.
	StartTime  *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EntityName string                 `protobuf:"bytes,4,opt,name=entity_name,json=entityName,proto3" json:"entity_name,omitempty"`
	// Event record requestor type.
	RequestorType string `protobuf:"bytes,5,opt,name=requestor_type,json=requestorType,proto3" json:"requestor_type,omitempty"`
	// Event record requestor name.
	RequestorName string `protobuf:"bytes,6,opt,name=requestor_name,json=requestorName,proto3" json:"requestor_name,omitempty"`
	// Hostname from which the record was gathered.
	ServiceHostname string `protobuf:"bytes,7,opt,name=service_hostname,json=serviceHostname,proto3" json:"service_hostname,omitempty"`
	// Used for grouping events together.
	StartId string `protobuf:"bytes,8,opt,name=start_id,json=startId,proto3" json:"start_id,omitempty"`
	// Used for grouping events together.
	EventCount int32 `protobuf:"varint,9,opt,name=event_count,json=eventCount,proto3" json:"event_count,omitempty"`
	// Used for grouping events together.
	ParentName string `protobuf:"bytes,16,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"`
	// Used for grouping events together.
	ParentType string `protobuf:"bytes,17,opt,name=parent_type,json=parentType,proto3" json:"parent_type,omitempty"`
	// Used for grouping events together; equal to start_time if not grouped
	EndTime *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Used for grouping events together; equal to start_id if not grouped
	EndId string `protobuf:"bytes,19,opt,name=end_id,json=endId,proto3" json:"end_id,omitempty"`
	// Event's Chef Organization
	ChefOrganization string `protobuf:"bytes,20,opt,name=chef_organization,json=chefOrganization,proto3" json:"chef_organization,omitempty"`
	// Event's Chef Infra Server
	ChefInfraServer string `protobuf:"bytes,21,opt,name=chef_infra_server,json=chefInfraServer,proto3" json:"chef_infra_server,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetChefInfraServer

func (x *Event) GetChefInfraServer() string

func (*Event) GetChefOrganization

func (x *Event) GetChefOrganization() string

func (*Event) GetEndId

func (x *Event) GetEndId() string

func (*Event) GetEndTime

func (x *Event) GetEndTime() *timestamppb.Timestamp

func (*Event) GetEntityName

func (x *Event) GetEntityName() string

func (*Event) GetEventCount

func (x *Event) GetEventCount() int32

func (*Event) GetEventType

func (x *Event) GetEventType() string

func (*Event) GetParentName

func (x *Event) GetParentName() string

func (*Event) GetParentType

func (x *Event) GetParentType() string

func (*Event) GetRequestorName

func (x *Event) GetRequestorName() string

func (*Event) GetRequestorType

func (x *Event) GetRequestorType() string

func (*Event) GetServiceHostname

func (x *Event) GetServiceHostname() string

func (*Event) GetStartId

func (x *Event) GetStartId() string

func (*Event) GetStartTime

func (x *Event) GetStartTime() *timestamppb.Timestamp

func (*Event) GetTask

func (x *Event) GetTask() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type EventCollection

type EventCollection struct {
	EventsCount []*EventCount `protobuf:"bytes,1,rep,name=events_count,json=eventsCount,proto3" json:"events_count,omitempty"`
	// contains filtered or unexported fields
}

func (*EventCollection) Descriptor deprecated

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

Deprecated: Use EventCollection.ProtoReflect.Descriptor instead.

func (*EventCollection) GetEventsCount

func (x *EventCollection) GetEventsCount() []*EventCount

func (*EventCollection) ProtoMessage

func (*EventCollection) ProtoMessage()

func (*EventCollection) ProtoReflect

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

func (*EventCollection) Reset

func (x *EventCollection) Reset()

func (*EventCollection) String

func (x *EventCollection) String() string

type EventCount

type EventCount struct {

	// Event name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Count of events.
	Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*EventCount) Descriptor deprecated

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

Deprecated: Use EventCount.ProtoReflect.Descriptor instead.

func (*EventCount) GetCount

func (x *EventCount) GetCount() int64

func (*EventCount) GetName

func (x *EventCount) GetName() string

func (*EventCount) ProtoMessage

func (*EventCount) ProtoMessage()

func (*EventCount) ProtoReflect

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

func (*EventCount) Reset

func (x *EventCount) Reset()

func (*EventCount) String

func (x *EventCount) String() string

type EventExportResponse

type EventExportResponse struct {

	// Exported reports in JSON or CSV.
	Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*EventExportResponse) Descriptor deprecated

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

Deprecated: Use EventExportResponse.ProtoReflect.Descriptor instead.

func (*EventExportResponse) GetContent

func (x *EventExportResponse) GetContent() []byte

func (*EventExportResponse) ProtoMessage

func (*EventExportResponse) ProtoMessage()

func (*EventExportResponse) ProtoReflect

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

func (*EventExportResponse) Reset

func (x *EventExportResponse) Reset()

func (*EventExportResponse) String

func (x *EventExportResponse) String() string

type EventString

type EventString struct {
	Collection  []*EventCollection `protobuf:"bytes,1,rep,name=collection,proto3" json:"collection,omitempty"`
	EventAction string             `protobuf:"bytes,2,opt,name=event_action,json=eventAction,proto3" json:"event_action,omitempty"`
	// contains filtered or unexported fields
}

func (*EventString) Descriptor deprecated

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

Deprecated: Use EventString.ProtoReflect.Descriptor instead.

func (*EventString) GetCollection

func (x *EventString) GetCollection() []*EventCollection

func (*EventString) GetEventAction

func (x *EventString) GetEventAction() string

func (*EventString) ProtoMessage

func (*EventString) ProtoMessage()

func (*EventString) ProtoReflect

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

func (*EventString) Reset

func (x *EventString) Reset()

func (*EventString) String

func (x *EventString) String() string

type GetEventFeedResponse

type GetEventFeedResponse struct {

	// List of events.
	Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// Total count of events.
	TotalEvents int64 `protobuf:"varint,2,opt,name=total_events,json=totalEvents,proto3" json:"total_events,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventFeedResponse) Descriptor deprecated

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

Deprecated: Use GetEventFeedResponse.ProtoReflect.Descriptor instead.

func (*GetEventFeedResponse) GetEvents

func (x *GetEventFeedResponse) GetEvents() []*Event

func (*GetEventFeedResponse) GetTotalEvents

func (x *GetEventFeedResponse) GetTotalEvents() int64

func (*GetEventFeedResponse) ProtoMessage

func (*GetEventFeedResponse) ProtoMessage()

func (*GetEventFeedResponse) ProtoReflect

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

func (*GetEventFeedResponse) Reset

func (x *GetEventFeedResponse) Reset()

func (*GetEventFeedResponse) String

func (x *GetEventFeedResponse) String() string

type GetEventStringBucketsResponse

type GetEventStringBucketsResponse struct {
	Strings      []*EventString `protobuf:"bytes,1,rep,name=strings,proto3" json:"strings,omitempty"`
	Start        string         `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
	End          string         `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
	HoursBetween int32          `protobuf:"varint,4,opt,name=hours_between,json=hoursBetween,proto3" json:"hours_between,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventStringBucketsResponse) Descriptor deprecated

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

Deprecated: Use GetEventStringBucketsResponse.ProtoReflect.Descriptor instead.

func (*GetEventStringBucketsResponse) GetEnd

func (*GetEventStringBucketsResponse) GetHoursBetween

func (x *GetEventStringBucketsResponse) GetHoursBetween() int32

func (*GetEventStringBucketsResponse) GetStart

func (x *GetEventStringBucketsResponse) GetStart() string

func (*GetEventStringBucketsResponse) GetStrings

func (x *GetEventStringBucketsResponse) GetStrings() []*EventString

func (*GetEventStringBucketsResponse) ProtoMessage

func (*GetEventStringBucketsResponse) ProtoMessage()

func (*GetEventStringBucketsResponse) ProtoReflect

func (*GetEventStringBucketsResponse) Reset

func (x *GetEventStringBucketsResponse) Reset()

func (*GetEventStringBucketsResponse) String

type GetEventTaskCountsResponse

type GetEventTaskCountsResponse struct {

	// Total count of events.
	Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// Total count of events per type.
	Counts []*EventCount `protobuf:"bytes,2,rep,name=counts,proto3" json:"counts,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventTaskCountsResponse) Descriptor deprecated

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

Deprecated: Use GetEventTaskCountsResponse.ProtoReflect.Descriptor instead.

func (*GetEventTaskCountsResponse) GetCounts

func (x *GetEventTaskCountsResponse) GetCounts() []*EventCount

func (*GetEventTaskCountsResponse) GetTotal

func (x *GetEventTaskCountsResponse) GetTotal() int64

func (*GetEventTaskCountsResponse) ProtoMessage

func (*GetEventTaskCountsResponse) ProtoMessage()

func (*GetEventTaskCountsResponse) ProtoReflect

func (*GetEventTaskCountsResponse) Reset

func (x *GetEventTaskCountsResponse) Reset()

func (*GetEventTaskCountsResponse) String

func (x *GetEventTaskCountsResponse) String() string

type GetEventTypeCountsResponse

type GetEventTypeCountsResponse struct {

	// Total count of events.
	Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// Total count of events per type.
	Counts []*EventCount `protobuf:"bytes,2,rep,name=counts,proto3" json:"counts,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventTypeCountsResponse) Descriptor deprecated

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

Deprecated: Use GetEventTypeCountsResponse.ProtoReflect.Descriptor instead.

func (*GetEventTypeCountsResponse) GetCounts

func (x *GetEventTypeCountsResponse) GetCounts() []*EventCount

func (*GetEventTypeCountsResponse) GetTotal

func (x *GetEventTypeCountsResponse) GetTotal() int64

func (*GetEventTypeCountsResponse) ProtoMessage

func (*GetEventTypeCountsResponse) ProtoMessage()

func (*GetEventTypeCountsResponse) ProtoReflect

func (*GetEventTypeCountsResponse) Reset

func (x *GetEventTypeCountsResponse) Reset()

func (*GetEventTypeCountsResponse) String

func (x *GetEventTypeCountsResponse) String() string

Jump to

Keyboard shortcuts

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