edge_watch_service_client

package
v1.15.6 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2025 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EdgeWatchServiceServiceClient

type EdgeWatchServiceServiceClient interface {
	WatchAlertData(ctx context.Context, in *WatchAlertDataRequest, opts ...grpc.CallOption) (WatchAlertDataClientStream, error)
}

EdgeWatchServiceServiceClient is the client API for EdgeWatchServiceService.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type EdgeWatchServiceServiceDescriptor

type EdgeWatchServiceServiceDescriptor struct{}

func GetEdgeWatchServiceServiceDescriptor

func GetEdgeWatchServiceServiceDescriptor() *EdgeWatchServiceServiceDescriptor

func (*EdgeWatchServiceServiceDescriptor) AllMethodDescriptors

func (*EdgeWatchServiceServiceDescriptor) GetApiName

func (d *EdgeWatchServiceServiceDescriptor) GetApiName() string

func (*EdgeWatchServiceServiceDescriptor) GetFullAPIName

func (d *EdgeWatchServiceServiceDescriptor) GetFullAPIName() string

func (*EdgeWatchServiceServiceDescriptor) GetProtoPkgName

func (d *EdgeWatchServiceServiceDescriptor) GetProtoPkgName() string

func (*EdgeWatchServiceServiceDescriptor) GetServiceDomain

func (d *EdgeWatchServiceServiceDescriptor) GetServiceDomain() string

func (*EdgeWatchServiceServiceDescriptor) GetServiceVersion

func (d *EdgeWatchServiceServiceDescriptor) GetServiceVersion() string

type WatchAlertDataClientStream

type WatchAlertDataClientStream interface {
	Recv() (*WatchAlertDataResponse, error)
	grpc.ClientStream
}

type WatchAlertDataDescriptor

type WatchAlertDataDescriptor struct{}

func GetWatchAlertDataDescriptor

func GetWatchAlertDataDescriptor() *WatchAlertDataDescriptor

func (*WatchAlertDataDescriptor) GetApiDescriptor

func (d *WatchAlertDataDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*WatchAlertDataDescriptor) GetApiName

func (d *WatchAlertDataDescriptor) GetApiName() string

func (*WatchAlertDataDescriptor) GetClientMsgReflectHandle

func (d *WatchAlertDataDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchAlertDataDescriptor) GetFullMethodName

func (d *WatchAlertDataDescriptor) GetFullMethodName() string

func (*WatchAlertDataDescriptor) GetMethodName

func (d *WatchAlertDataDescriptor) GetMethodName() string

func (*WatchAlertDataDescriptor) GetProtoPkgName

func (d *WatchAlertDataDescriptor) GetProtoPkgName() string

func (*WatchAlertDataDescriptor) GetResourceDescriptor

func (d *WatchAlertDataDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*WatchAlertDataDescriptor) GetServerMsgReflectHandle

func (d *WatchAlertDataDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchAlertDataDescriptor) GetServiceDomain

func (d *WatchAlertDataDescriptor) GetServiceDomain() string

func (*WatchAlertDataDescriptor) GetServiceVersion

func (d *WatchAlertDataDescriptor) GetServiceVersion() string

func (*WatchAlertDataDescriptor) GetVerb

func (d *WatchAlertDataDescriptor) GetVerb() string

func (*WatchAlertDataDescriptor) HasResource

func (d *WatchAlertDataDescriptor) HasResource() bool

func (*WatchAlertDataDescriptor) IsClientStream

func (d *WatchAlertDataDescriptor) IsClientStream() bool

func (*WatchAlertDataDescriptor) IsCollection

func (d *WatchAlertDataDescriptor) IsCollection() bool

func (*WatchAlertDataDescriptor) IsPlural

func (d *WatchAlertDataDescriptor) IsPlural() bool

func (*WatchAlertDataDescriptor) IsServerStream

func (d *WatchAlertDataDescriptor) IsServerStream() bool

func (*WatchAlertDataDescriptor) IsUnary

func (d *WatchAlertDataDescriptor) IsUnary() bool

func (*WatchAlertDataDescriptor) NewEmptyClientMsg

func (d *WatchAlertDataDescriptor) NewEmptyClientMsg() proto.Message

func (*WatchAlertDataDescriptor) NewEmptyServerMsg

func (d *WatchAlertDataDescriptor) NewEmptyServerMsg() proto.Message

func (*WatchAlertDataDescriptor) RequestHasResourceBody

func (d *WatchAlertDataDescriptor) RequestHasResourceBody() bool

type WatchAlertDataDescriptorClientMsgHandle

type WatchAlertDataDescriptorClientMsgHandle struct{}

func (*WatchAlertDataDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchAlertDataDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchAlertDataDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchAlertDataDescriptorClientMsgHandle) ExtractResourceName

func (*WatchAlertDataDescriptorClientMsgHandle) ExtractResourceNames

type WatchAlertDataDescriptorServerMsgHandle

type WatchAlertDataDescriptorServerMsgHandle struct{}

func (*WatchAlertDataDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchAlertDataDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchAlertDataDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchAlertDataDescriptorServerMsgHandle) ExtractResourceName

func (*WatchAlertDataDescriptorServerMsgHandle) ExtractResourceNames

type WatchAlertDataRequest

type WatchAlertDataRequest struct {
	Project              *iam_project.Name `protobuf:"bytes,1,opt,customtype=Name,name=project,proto3" json:"project,omitempty"`
	AlertingResourceName string            `protobuf:"bytes,2,opt,name=alerting_resource_name,json=alertingResourceName,proto3" json:"alerting_resource_name,omitempty"`
	AlertingResourceKind string            `protobuf:"bytes,3,opt,name=alerting_resource_kind,json=alertingResourceKind,proto3" json:"alerting_resource_kind,omitempty"`
	// contains filtered or unexported fields
}

A request message of the WatchAlertData method. This is special combined watch of 5 streams dedicated specifically for edge alerter component. It reduces number of watch streams and therefore connections maintained by server (and slightly agent).

func (*WatchAlertDataRequest) Descriptor

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

Deprecated, Use WatchAlertDataRequest.ProtoReflect.Descriptor instead.

func (*WatchAlertDataRequest) GetAlertingResourceKind

func (m *WatchAlertDataRequest) GetAlertingResourceKind() string

func (*WatchAlertDataRequest) GetAlertingResourceName

func (m *WatchAlertDataRequest) GetAlertingResourceName() string

func (*WatchAlertDataRequest) GetProject

func (m *WatchAlertDataRequest) GetProject() *iam_project.Name

func (*WatchAlertDataRequest) GotenMessage

func (*WatchAlertDataRequest) GotenMessage()

func (*WatchAlertDataRequest) GotenValidate

func (obj *WatchAlertDataRequest) GotenValidate() error

func (*WatchAlertDataRequest) Marshal

func (m *WatchAlertDataRequest) Marshal() ([]byte, error)

func (*WatchAlertDataRequest) MarshalJSON

func (m *WatchAlertDataRequest) MarshalJSON() ([]byte, error)

func (*WatchAlertDataRequest) ProtoMessage

func (*WatchAlertDataRequest) ProtoMessage()

func (*WatchAlertDataRequest) ProtoReflect

func (m *WatchAlertDataRequest) ProtoReflect() preflect.Message

func (*WatchAlertDataRequest) Reset

func (m *WatchAlertDataRequest) Reset()

func (*WatchAlertDataRequest) SetAlertingResourceKind

func (m *WatchAlertDataRequest) SetAlertingResourceKind(fv string)

func (*WatchAlertDataRequest) SetAlertingResourceName

func (m *WatchAlertDataRequest) SetAlertingResourceName(fv string)

func (*WatchAlertDataRequest) SetProject

func (m *WatchAlertDataRequest) SetProject(fv *iam_project.Name)

func (*WatchAlertDataRequest) String

func (m *WatchAlertDataRequest) String() string

func (*WatchAlertDataRequest) Unmarshal

func (m *WatchAlertDataRequest) Unmarshal(b []byte) error

func (*WatchAlertDataRequest) UnmarshalJSON

func (m *WatchAlertDataRequest) UnmarshalJSON(data []byte) error

type WatchAlertDataResponse

type WatchAlertDataResponse struct {
	AlertsToAdd          []*alert.Alert                `protobuf:"bytes,1,rep,name=alerts_to_add,json=alertsToAdd,proto3" json:"alerts_to_add,omitempty"`
	TsEntriesToAdd       []*ts_entry.TsEntry           `protobuf:"bytes,2,rep,name=ts_entries_to_add,json=tsEntriesToAdd,proto3" json:"ts_entries_to_add,omitempty"`
	PoliciesToAdd        []*policy.Policy              `protobuf:"bytes,3,rep,name=policies_to_add,json=policiesToAdd,proto3" json:"policies_to_add,omitempty"`
	TsCndsToAdd          []*ts_condition.TsCondition   `protobuf:"bytes,4,rep,name=ts_cnds_to_add,json=tsCndsToAdd,proto3" json:"ts_cnds_to_add,omitempty"`
	LogCndsToAdd         []*log_condition.LogCondition `protobuf:"bytes,5,rep,name=log_cnds_to_add,json=logCndsToAdd,proto3" json:"log_cnds_to_add,omitempty"`
	AlertNamesToRemove   []*alert.Name                 `` /* 135-byte string literal not displayed */
	TsEntryNamesToRemove []*ts_entry.Name              `` /* 143-byte string literal not displayed */
	PolicyNamesToRemove  []*policy.Name                `` /* 138-byte string literal not displayed */
	TsCndNamesToRemove   []*ts_condition.Name          `` /* 137-byte string literal not displayed */
	LogCndNamesToRemove  []*log_condition.Name         `` /* 141-byte string literal not displayed */
	ResetAlerts          bool                          `protobuf:"varint,11,opt,name=reset_alerts,json=resetAlerts,proto3" json:"reset_alerts,omitempty"`
	ResetTsEntries       bool                          `protobuf:"varint,12,opt,name=reset_ts_entries,json=resetTsEntries,proto3" json:"reset_ts_entries,omitempty"`
	ResetPolicies        bool                          `protobuf:"varint,13,opt,name=reset_policies,json=resetPolicies,proto3" json:"reset_policies,omitempty"`
	ResetTsCnds          bool                          `protobuf:"varint,14,opt,name=reset_ts_cnds,json=resetTsCnds,proto3" json:"reset_ts_cnds,omitempty"`
	ResetLogCnds         bool                          `protobuf:"varint,15,opt,name=reset_log_cnds,json=resetLogCnds,proto3" json:"reset_log_cnds,omitempty"`
	// contains filtered or unexported fields
}

A response message of the WatchAlertData method.

func (*WatchAlertDataResponse) Descriptor

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

Deprecated, Use WatchAlertDataResponse.ProtoReflect.Descriptor instead.

func (*WatchAlertDataResponse) GetAlertNamesToRemove

func (m *WatchAlertDataResponse) GetAlertNamesToRemove() []*alert.Name

func (*WatchAlertDataResponse) GetAlertsToAdd

func (m *WatchAlertDataResponse) GetAlertsToAdd() []*alert.Alert

func (*WatchAlertDataResponse) GetLogCndNamesToRemove

func (m *WatchAlertDataResponse) GetLogCndNamesToRemove() []*log_condition.Name

func (*WatchAlertDataResponse) GetLogCndsToAdd

func (m *WatchAlertDataResponse) GetLogCndsToAdd() []*log_condition.LogCondition

func (*WatchAlertDataResponse) GetPoliciesToAdd

func (m *WatchAlertDataResponse) GetPoliciesToAdd() []*policy.Policy

func (*WatchAlertDataResponse) GetPolicyNamesToRemove

func (m *WatchAlertDataResponse) GetPolicyNamesToRemove() []*policy.Name

func (*WatchAlertDataResponse) GetResetAlerts

func (m *WatchAlertDataResponse) GetResetAlerts() bool

func (*WatchAlertDataResponse) GetResetLogCnds

func (m *WatchAlertDataResponse) GetResetLogCnds() bool

func (*WatchAlertDataResponse) GetResetPolicies

func (m *WatchAlertDataResponse) GetResetPolicies() bool

func (*WatchAlertDataResponse) GetResetTsCnds

func (m *WatchAlertDataResponse) GetResetTsCnds() bool

func (*WatchAlertDataResponse) GetResetTsEntries

func (m *WatchAlertDataResponse) GetResetTsEntries() bool

func (*WatchAlertDataResponse) GetTsCndNamesToRemove

func (m *WatchAlertDataResponse) GetTsCndNamesToRemove() []*ts_condition.Name

func (*WatchAlertDataResponse) GetTsCndsToAdd

func (m *WatchAlertDataResponse) GetTsCndsToAdd() []*ts_condition.TsCondition

func (*WatchAlertDataResponse) GetTsEntriesToAdd

func (m *WatchAlertDataResponse) GetTsEntriesToAdd() []*ts_entry.TsEntry

func (*WatchAlertDataResponse) GetTsEntryNamesToRemove

func (m *WatchAlertDataResponse) GetTsEntryNamesToRemove() []*ts_entry.Name

func (*WatchAlertDataResponse) GotenMessage

func (*WatchAlertDataResponse) GotenMessage()

func (*WatchAlertDataResponse) GotenValidate

func (obj *WatchAlertDataResponse) GotenValidate() error

func (*WatchAlertDataResponse) Marshal

func (m *WatchAlertDataResponse) Marshal() ([]byte, error)

func (*WatchAlertDataResponse) MarshalJSON

func (m *WatchAlertDataResponse) MarshalJSON() ([]byte, error)

func (*WatchAlertDataResponse) ProtoMessage

func (*WatchAlertDataResponse) ProtoMessage()

func (*WatchAlertDataResponse) ProtoReflect

func (m *WatchAlertDataResponse) ProtoReflect() preflect.Message

func (*WatchAlertDataResponse) Reset

func (m *WatchAlertDataResponse) Reset()

func (*WatchAlertDataResponse) SetAlertNamesToRemove

func (m *WatchAlertDataResponse) SetAlertNamesToRemove(fv []*alert.Name)

func (*WatchAlertDataResponse) SetAlertsToAdd

func (m *WatchAlertDataResponse) SetAlertsToAdd(fv []*alert.Alert)

func (*WatchAlertDataResponse) SetLogCndNamesToRemove

func (m *WatchAlertDataResponse) SetLogCndNamesToRemove(fv []*log_condition.Name)

func (*WatchAlertDataResponse) SetLogCndsToAdd

func (m *WatchAlertDataResponse) SetLogCndsToAdd(fv []*log_condition.LogCondition)

func (*WatchAlertDataResponse) SetPoliciesToAdd

func (m *WatchAlertDataResponse) SetPoliciesToAdd(fv []*policy.Policy)

func (*WatchAlertDataResponse) SetPolicyNamesToRemove

func (m *WatchAlertDataResponse) SetPolicyNamesToRemove(fv []*policy.Name)

func (*WatchAlertDataResponse) SetResetAlerts

func (m *WatchAlertDataResponse) SetResetAlerts(fv bool)

func (*WatchAlertDataResponse) SetResetLogCnds

func (m *WatchAlertDataResponse) SetResetLogCnds(fv bool)

func (*WatchAlertDataResponse) SetResetPolicies

func (m *WatchAlertDataResponse) SetResetPolicies(fv bool)

func (*WatchAlertDataResponse) SetResetTsCnds

func (m *WatchAlertDataResponse) SetResetTsCnds(fv bool)

func (*WatchAlertDataResponse) SetResetTsEntries

func (m *WatchAlertDataResponse) SetResetTsEntries(fv bool)

func (*WatchAlertDataResponse) SetTsCndNamesToRemove

func (m *WatchAlertDataResponse) SetTsCndNamesToRemove(fv []*ts_condition.Name)

func (*WatchAlertDataResponse) SetTsCndsToAdd

func (m *WatchAlertDataResponse) SetTsCndsToAdd(fv []*ts_condition.TsCondition)

func (*WatchAlertDataResponse) SetTsEntriesToAdd

func (m *WatchAlertDataResponse) SetTsEntriesToAdd(fv []*ts_entry.TsEntry)

func (*WatchAlertDataResponse) SetTsEntryNamesToRemove

func (m *WatchAlertDataResponse) SetTsEntryNamesToRemove(fv []*ts_entry.Name)

func (*WatchAlertDataResponse) String

func (m *WatchAlertDataResponse) String() string

func (*WatchAlertDataResponse) Unmarshal

func (m *WatchAlertDataResponse) Unmarshal(b []byte) error

func (*WatchAlertDataResponse) UnmarshalJSON

func (m *WatchAlertDataResponse) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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