alert

package
v0.0.0-...-1768917 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConfigErrorType_name = map[int32]string{
		0: "CONFIG_ERROR_TYPE_UNSPECIFIED",
		2: "CONFIG_ERROR_TYPE_INVALID_FORMAT",
		3: "CONFIG_ERROR_TYPE_INVALID_SYNTAX",
		4: "CONFIG_ERROR_TYPE_TEMPLATE_INVALID",
		5: "CONFIG_ERROR_TYPE_ILLEGAL_VALUE",
		6: "CONFIG_ERROR_TYPE_MISSING_REQUIRED",
		7: "CONFIG_ERROR_TYPE_INVALID_TYPE",
	}
	ConfigErrorType_value = map[string]int32{
		"CONFIG_ERROR_TYPE_UNSPECIFIED":      0,
		"CONFIG_ERROR_TYPE_INVALID_FORMAT":   2,
		"CONFIG_ERROR_TYPE_INVALID_SYNTAX":   3,
		"CONFIG_ERROR_TYPE_TEMPLATE_INVALID": 4,
		"CONFIG_ERROR_TYPE_ILLEGAL_VALUE":    5,
		"CONFIG_ERROR_TYPE_MISSING_REQUIRED": 6,
		"CONFIG_ERROR_TYPE_INVALID_TYPE":     7,
	}
)

Enum value maps for ConfigErrorType.

View Source
var (
	EndpointErrorType_name = map[int32]string{
		0:  "ENDPOINT_ERROR_TYPE_UNSPECIFIED",
		1:  "ENDPOINT_ERROR_TYPE_HTTP_POST_ERROR",
		2:  "ENDPOINT_ERROR_TYPE_JSON_MARSHAL_ERROR",
		3:  "ENDPOINT_ERROR_TYPE_INVALID_CONFIG_ERROR",
		4:  "ENDPOINT_ERROR_TYPE_TEMPLATE_ERROR",
		5:  "ENDPOINT_ERROR_TYPE_BAD_RESPONSE_ERROR",
		6:  "ENDPOINT_ERROR_TYPE_SMTP_ERROR",
		7:  "ENDPOINT_ERROR_TYPE_CONNECTION_ERROR",
		8:  "ENDPOINT_ERROR_TYPE_TIMEOUT_ERROR",
		9:  "ENDPOINT_ERROR_TYPE_RATE_LIMIT_ERROR",
		10: "ENDPOINT_ERROR_TYPE_ALERT_CAP_ERROR",
		11: "ENDPOINT_ERROR_TYPE_O_AUTH_ERROR",
	}
	EndpointErrorType_value = map[string]int32{
		"ENDPOINT_ERROR_TYPE_UNSPECIFIED":          0,
		"ENDPOINT_ERROR_TYPE_HTTP_POST_ERROR":      1,
		"ENDPOINT_ERROR_TYPE_JSON_MARSHAL_ERROR":   2,
		"ENDPOINT_ERROR_TYPE_INVALID_CONFIG_ERROR": 3,
		"ENDPOINT_ERROR_TYPE_TEMPLATE_ERROR":       4,
		"ENDPOINT_ERROR_TYPE_BAD_RESPONSE_ERROR":   5,
		"ENDPOINT_ERROR_TYPE_SMTP_ERROR":           6,
		"ENDPOINT_ERROR_TYPE_CONNECTION_ERROR":     7,
		"ENDPOINT_ERROR_TYPE_TIMEOUT_ERROR":        8,
		"ENDPOINT_ERROR_TYPE_RATE_LIMIT_ERROR":     9,
		"ENDPOINT_ERROR_TYPE_ALERT_CAP_ERROR":      10,
		"ENDPOINT_ERROR_TYPE_O_AUTH_ERROR":         11,
	}
)

Enum value maps for EndpointErrorType.

View Source
var (
	CueSyslogMessageFormat_name = map[int32]string{
		0: "CUE_SYSLOG_MESSAGE_FORMAT_UNSPECIFIED",
		1: "CUE_SYSLOG_MESSAGE_FORMAT_PLAIN",
		2: "CUE_SYSLOG_MESSAGE_FORMAT_IDMEF",
	}
	CueSyslogMessageFormat_value = map[string]int32{
		"CUE_SYSLOG_MESSAGE_FORMAT_UNSPECIFIED": 0,
		"CUE_SYSLOG_MESSAGE_FORMAT_PLAIN":       1,
		"CUE_SYSLOG_MESSAGE_FORMAT_IDMEF":       2,
	}
)

Enum value maps for CueSyslogMessageFormat.

View Source
var (
	SNMPSecurityLevel_name = map[int32]string{
		0: "SNMP_SECURITY_LEVEL_UNSPECIFIED",
		1: "SNMP_SECURITY_LEVEL_NO_AUTH_NO_PRIV",
		2: "SNMP_SECURITY_LEVEL_AUTH_NO_PRIV",
		3: "SNMP_SECURITY_LEVEL_AUTH_PRIV",
	}
	SNMPSecurityLevel_value = map[string]int32{
		"SNMP_SECURITY_LEVEL_UNSPECIFIED":     0,
		"SNMP_SECURITY_LEVEL_NO_AUTH_NO_PRIV": 1,
		"SNMP_SECURITY_LEVEL_AUTH_NO_PRIV":    2,
		"SNMP_SECURITY_LEVEL_AUTH_PRIV":       3,
	}
)

Enum value maps for SNMPSecurityLevel.

View Source
var (
	SNMPAuthProtocol_name = map[int32]string{
		0: "SNMP_AUTH_PROTOCOL_UNSPECIFIED",
		1: "SNMP_AUTH_PROTOCOL_MD5",
		2: "SNMP_AUTH_PROTOCOL_SHA",
		3: "SNMP_AUTH_PROTOCOL_SHA_224",
		4: "SNMP_AUTH_PROTOCOL_SHA_256",
		5: "SNMP_AUTH_PROTOCOL_SHA_384",
		6: "SNMP_AUTH_PROTOCOL_SHA_512",
	}
	SNMPAuthProtocol_value = map[string]int32{
		"SNMP_AUTH_PROTOCOL_UNSPECIFIED": 0,
		"SNMP_AUTH_PROTOCOL_MD5":         1,
		"SNMP_AUTH_PROTOCOL_SHA":         2,
		"SNMP_AUTH_PROTOCOL_SHA_224":     3,
		"SNMP_AUTH_PROTOCOL_SHA_256":     4,
		"SNMP_AUTH_PROTOCOL_SHA_384":     5,
		"SNMP_AUTH_PROTOCOL_SHA_512":     6,
	}
)

Enum value maps for SNMPAuthProtocol.

View Source
var (
	SNMPPrivProtocol_name = map[int32]string{
		0: "SNMP_PRIV_PROTOCOL_UNSPECIFIED",
		1: "SNMP_PRIV_PROTOCOL_DES",
		2: "SNMP_PRIV_PROTOCOL_AES",
		3: "SNMP_PRIV_PROTOCOL_AES_192",
		4: "SNMP_PRIV_PROTOCOL_AES_256",
		5: "SNMP_PRIV_PROTOCOL_AES_192C",
		6: "SNMP_PRIV_PROTOCOL_AES_256C",
	}
	SNMPPrivProtocol_value = map[string]int32{
		"SNMP_PRIV_PROTOCOL_UNSPECIFIED": 0,
		"SNMP_PRIV_PROTOCOL_DES":         1,
		"SNMP_PRIV_PROTOCOL_AES":         2,
		"SNMP_PRIV_PROTOCOL_AES_192":     3,
		"SNMP_PRIV_PROTOCOL_AES_256":     4,
		"SNMP_PRIV_PROTOCOL_AES_192C":    5,
		"SNMP_PRIV_PROTOCOL_AES_256C":    6,
	}
)

Enum value maps for SNMPPrivProtocol.

View Source
var (
	CueSNMPAuthProtocol_name = map[int32]string{
		0: "CUE_SNMP_AUTH_PROTOCOL_UNSPECIFIED",
		1: "CUE_SNMP_AUTH_PROTOCOL_MD5",
		2: "CUE_SNMP_AUTH_PROTOCOL_SHA",
	}
	CueSNMPAuthProtocol_value = map[string]int32{
		"CUE_SNMP_AUTH_PROTOCOL_UNSPECIFIED": 0,
		"CUE_SNMP_AUTH_PROTOCOL_MD5":         1,
		"CUE_SNMP_AUTH_PROTOCOL_SHA":         2,
	}
)

Enum value maps for CueSNMPAuthProtocol.

View Source
var (
	CueSNMPPrivProtocol_name = map[int32]string{
		0: "CUE_SNMP_PRIV_PROTOCOL_UNSPECIFIED",
		1: "CUE_SNMP_PRIV_PROTOCOL_DES",
		2: "CUE_SNMP_PRIV_PROTOCOL_AES",
	}
	CueSNMPPrivProtocol_value = map[string]int32{
		"CUE_SNMP_PRIV_PROTOCOL_UNSPECIFIED": 0,
		"CUE_SNMP_PRIV_PROTOCOL_DES":         1,
		"CUE_SNMP_PRIV_PROTOCOL_AES":         2,
	}
)

Enum value maps for CueSNMPPrivProtocol.

View Source
var (
	TemplateType_name = map[int32]string{
		0:  "TEMPLATE_TYPE_UNSPECIFIED",
		1:  "TEMPLATE_TYPE_EMAIL_HTML",
		2:  "TEMPLATE_TYPE_EMAIL_TEXT",
		3:  "TEMPLATE_TYPE_SLACK_MESSAGE",
		4:  "TEMPLATE_TYPE_PUSHOVER_MESSAGE",
		5:  "TEMPLATE_TYPE_PAGERDUTY_SUMMARY",
		6:  "TEMPLATE_TYPE_VICTOROPS_DISPLAY_NAME",
		7:  "TEMPLATE_TYPE_VICTOROPS_STATE_MESSAGE",
		8:  "TEMPLATE_TYPE_GOOGLE_CHAT_MESSAGE",
		9:  "TEMPLATE_TYPE_MICROSOFT_TEAMS_MESSAGE",
		10: "TEMPLATE_TYPE_EMAIL_SUBJECT",
		11: "TEMPLATE_TYPE_SYSLOG_MESSAGE",
		12: "TEMPLATE_TYPE_OPSGENIE_MESSAGE",
		13: "TEMPLATE_TYPE_ZOOM_MESSAGE",
		14: "TEMPLATE_TYPE_EMAIL_SINGLE_HTML",
		15: "TEMPLATE_TYPE_EMAIL_SINGLE_TEXT",
		16: "TEMPLATE_TYPE_EMAIL_SINGLE_SUBJECT",
		17: "TEMPLATE_TYPE_WEBHOOK_SINGLE",
		18: "TEMPLATE_TYPE_WEBHOOK_MULTIPLE",
	}
	TemplateType_value = map[string]int32{
		"TEMPLATE_TYPE_UNSPECIFIED":             0,
		"TEMPLATE_TYPE_EMAIL_HTML":              1,
		"TEMPLATE_TYPE_EMAIL_TEXT":              2,
		"TEMPLATE_TYPE_SLACK_MESSAGE":           3,
		"TEMPLATE_TYPE_PUSHOVER_MESSAGE":        4,
		"TEMPLATE_TYPE_PAGERDUTY_SUMMARY":       5,
		"TEMPLATE_TYPE_VICTOROPS_DISPLAY_NAME":  6,
		"TEMPLATE_TYPE_VICTOROPS_STATE_MESSAGE": 7,
		"TEMPLATE_TYPE_GOOGLE_CHAT_MESSAGE":     8,
		"TEMPLATE_TYPE_MICROSOFT_TEAMS_MESSAGE": 9,
		"TEMPLATE_TYPE_EMAIL_SUBJECT":           10,
		"TEMPLATE_TYPE_SYSLOG_MESSAGE":          11,
		"TEMPLATE_TYPE_OPSGENIE_MESSAGE":        12,
		"TEMPLATE_TYPE_ZOOM_MESSAGE":            13,
		"TEMPLATE_TYPE_EMAIL_SINGLE_HTML":       14,
		"TEMPLATE_TYPE_EMAIL_SINGLE_TEXT":       15,
		"TEMPLATE_TYPE_EMAIL_SINGLE_SUBJECT":    16,
		"TEMPLATE_TYPE_WEBHOOK_SINGLE":          17,
		"TEMPLATE_TYPE_WEBHOOK_MULTIPLE":        18,
	}
)

Enum value maps for TemplateType.

View Source
var (
	TemplateOutput_name = map[int32]string{
		0: "TEMPLATE_OUTPUT_UNSPECIFIED",
		1: "TEMPLATE_OUTPUT_TEXT",
		2: "TEMPLATE_OUTPUT_JSON",
		3: "TEMPLATE_OUTPUT_HTML",
	}
	TemplateOutput_value = map[string]int32{
		"TEMPLATE_OUTPUT_UNSPECIFIED": 0,
		"TEMPLATE_OUTPUT_TEXT":        1,
		"TEMPLATE_OUTPUT_JSON":        2,
		"TEMPLATE_OUTPUT_HTML":        3,
	}
)

Enum value maps for TemplateOutput.

View Source
var AlertConfigService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "arista.alert.v1.AlertConfigService",
	HandlerType: (*AlertConfigServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOne",
			Handler:    _AlertConfigService_GetOne_Handler,
		},
		{
			MethodName: "Set",
			Handler:    _AlertConfigService_Set_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetAll",
			Handler:       _AlertConfigService_GetAll_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Subscribe",
			Handler:       _AlertConfigService_Subscribe_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SubscribeMeta",
			Handler:       _AlertConfigService_SubscribeMeta_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "arista/alert.v1/services.gen.proto",
}

AlertConfigService_ServiceDesc is the grpc.ServiceDesc for AlertConfigService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var AlertService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "arista.alert.v1.AlertService",
	HandlerType: (*AlertServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOne",
			Handler:    _AlertService_GetOne_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetAll",
			Handler:       _AlertService_GetAll_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Subscribe",
			Handler:       _AlertService_Subscribe_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SubscribeMeta",
			Handler:       _AlertService_SubscribeMeta_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "arista/alert.v1/services.gen.proto",
}

AlertService_ServiceDesc is the grpc.ServiceDesc for AlertService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var DefaultTemplateService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "arista.alert.v1.DefaultTemplateService",
	HandlerType: (*DefaultTemplateServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOne",
			Handler:    _DefaultTemplateService_GetOne_Handler,
		},
		{
			MethodName: "GetMeta",
			Handler:    _DefaultTemplateService_GetMeta_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetSome",
			Handler:       _DefaultTemplateService_GetSome_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetAll",
			Handler:       _DefaultTemplateService_GetAll_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Subscribe",
			Handler:       _DefaultTemplateService_Subscribe_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SubscribeMeta",
			Handler:       _DefaultTemplateService_SubscribeMeta_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "arista/alert.v1/services.gen.proto",
}

DefaultTemplateService_ServiceDesc is the grpc.ServiceDesc for DefaultTemplateService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_arista_alert_v1_alert_proto protoreflect.FileDescriptor
View Source
var File_arista_alert_v1_services_gen_proto protoreflect.FileDescriptor
View Source
var TemplateConfigService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "arista.alert.v1.TemplateConfigService",
	HandlerType: (*TemplateConfigServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOne",
			Handler:    _TemplateConfigService_GetOne_Handler,
		},
		{
			MethodName: "GetMeta",
			Handler:    _TemplateConfigService_GetMeta_Handler,
		},
		{
			MethodName: "Set",
			Handler:    _TemplateConfigService_Set_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _TemplateConfigService_Delete_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetSome",
			Handler:       _TemplateConfigService_GetSome_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetAll",
			Handler:       _TemplateConfigService_GetAll_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Subscribe",
			Handler:       _TemplateConfigService_Subscribe_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SubscribeMeta",
			Handler:       _TemplateConfigService_SubscribeMeta_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SetSome",
			Handler:       _TemplateConfigService_SetSome_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "DeleteSome",
			Handler:       _TemplateConfigService_DeleteSome_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "DeleteAll",
			Handler:       _TemplateConfigService_DeleteAll_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "arista/alert.v1/services.gen.proto",
}

TemplateConfigService_ServiceDesc is the grpc.ServiceDesc for TemplateConfigService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAlertConfigServiceServer

func RegisterAlertConfigServiceServer(s grpc.ServiceRegistrar, srv AlertConfigServiceServer)

func RegisterAlertServiceServer

func RegisterAlertServiceServer(s grpc.ServiceRegistrar, srv AlertServiceServer)

func RegisterDefaultTemplateServiceServer

func RegisterDefaultTemplateServiceServer(s grpc.ServiceRegistrar, srv DefaultTemplateServiceServer)

func RegisterTemplateConfigServiceServer

func RegisterTemplateConfigServiceServer(s grpc.ServiceRegistrar, srv TemplateConfigServiceServer)

Types

type Alert

type Alert struct {

	// configuration_errors contain any configuration errors reported by the backend
	ConfigurationErrors *ConfigErrors `protobuf:"bytes,1,opt,name=configuration_errors,json=configurationErrors,proto3" json:"configuration_errors,omitempty"`
	// endpoint_errors contain any failed attempts to send alerts
	EndpointErrors *EndpointErrors `protobuf:"bytes,2,opt,name=endpoint_errors,json=endpointErrors,proto3" json:"endpoint_errors,omitempty"`
	// last_modified_at is the time at which the configuration was last modified
	LastModifiedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_modified_at,json=lastModifiedAt,proto3" json:"last_modified_at,omitempty"`
	// last_modified_by is the user who last modified the configuration
	LastModifiedBy *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=last_modified_by,json=lastModifiedBy,proto3" json:"last_modified_by,omitempty"`
	// contains filtered or unexported fields
}

Alert is the current status of the alert system

func (*Alert) Descriptor deprecated

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

Deprecated: Use Alert.ProtoReflect.Descriptor instead.

func (*Alert) GetConfigurationErrors

func (x *Alert) GetConfigurationErrors() *ConfigErrors

func (*Alert) GetEndpointErrors

func (x *Alert) GetEndpointErrors() *EndpointErrors

func (*Alert) GetLastModifiedAt

func (x *Alert) GetLastModifiedAt() *timestamppb.Timestamp

func (*Alert) GetLastModifiedBy

func (x *Alert) GetLastModifiedBy() *wrapperspb.StringValue

func (*Alert) ProtoMessage

func (*Alert) ProtoMessage()

func (*Alert) ProtoReflect

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

func (*Alert) Reset

func (x *Alert) Reset()

func (*Alert) String

func (x *Alert) String() string

type AlertConfig

type AlertConfig struct {

	// settings is the global default settings for various endpoints used in broadcast groups.
	// Can be overwritten in individual endpoint settings
	Settings *Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// rules define how we route alerts to broadcast groups
	Rules *Rules `protobuf:"bytes,2,opt,name=rules,proto3" json:"rules,omitempty"`
	// broadcast_groups are groups of endpoints that alerts are sent to
	BroadcastGroups *BroadcastGroups `protobuf:"bytes,3,opt,name=broadcast_groups,json=broadcastGroups,proto3" json:"broadcast_groups,omitempty"`
	// contains filtered or unexported fields
}

AlertConfig is the configuration for sending alerts

func (*AlertConfig) Descriptor deprecated

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

Deprecated: Use AlertConfig.ProtoReflect.Descriptor instead.

func (*AlertConfig) GetBroadcastGroups

func (x *AlertConfig) GetBroadcastGroups() *BroadcastGroups

func (*AlertConfig) GetRules

func (x *AlertConfig) GetRules() *Rules

func (*AlertConfig) GetSettings

func (x *AlertConfig) GetSettings() *Settings

func (*AlertConfig) ProtoMessage

func (*AlertConfig) ProtoMessage()

func (*AlertConfig) ProtoReflect

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

func (*AlertConfig) Reset

func (x *AlertConfig) Reset()

func (*AlertConfig) String

func (x *AlertConfig) String() string

type AlertConfigRequest

type AlertConfigRequest struct {

	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertConfigRequest) Descriptor deprecated

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

Deprecated: Use AlertConfigRequest.ProtoReflect.Descriptor instead.

func (*AlertConfigRequest) GetTime

func (*AlertConfigRequest) ProtoMessage

func (*AlertConfigRequest) ProtoMessage()

func (*AlertConfigRequest) ProtoReflect

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

func (*AlertConfigRequest) Reset

func (x *AlertConfigRequest) Reset()

func (*AlertConfigRequest) String

func (x *AlertConfigRequest) String() string

type AlertConfigResponse

type AlertConfigResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *AlertConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time carries the (UTC) timestamp of the last-modification of the
	// AlertConfig instance in this response.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertConfigResponse) Descriptor deprecated

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

Deprecated: Use AlertConfigResponse.ProtoReflect.Descriptor instead.

func (*AlertConfigResponse) GetTime

func (*AlertConfigResponse) GetValue

func (x *AlertConfigResponse) GetValue() *AlertConfig

func (*AlertConfigResponse) ProtoMessage

func (*AlertConfigResponse) ProtoMessage()

func (*AlertConfigResponse) ProtoReflect

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

func (*AlertConfigResponse) Reset

func (x *AlertConfigResponse) Reset()

func (*AlertConfigResponse) String

func (x *AlertConfigResponse) String() string

type AlertConfigServiceClient

AlertConfigServiceClient is the client API for AlertConfigService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AlertConfigServiceServer

AlertConfigServiceServer is the server API for AlertConfigService service. All implementations must embed UnimplementedAlertConfigServiceServer for forward compatibility

type AlertConfigService_GetAllClient

type AlertConfigService_GetAllClient interface {
	Recv() (*AlertConfigStreamResponse, error)
	grpc.ClientStream
}

type AlertConfigService_GetAllServer

type AlertConfigService_GetAllServer interface {
	Send(*AlertConfigStreamResponse) error
	grpc.ServerStream
}

type AlertConfigService_SubscribeClient

type AlertConfigService_SubscribeClient interface {
	Recv() (*AlertConfigStreamResponse, error)
	grpc.ClientStream
}

type AlertConfigService_SubscribeMetaClient

type AlertConfigService_SubscribeMetaClient interface {
	Recv() (*MetaResponse, error)
	grpc.ClientStream
}

type AlertConfigService_SubscribeMetaServer

type AlertConfigService_SubscribeMetaServer interface {
	Send(*MetaResponse) error
	grpc.ServerStream
}

type AlertConfigService_SubscribeServer

type AlertConfigService_SubscribeServer interface {
	Send(*AlertConfigStreamResponse) error
	grpc.ServerStream
}

type AlertConfigSetRequest

type AlertConfigSetRequest struct {

	// AlertConfig carries the value to set into the datastore.
	// See the documentation on the AlertConfig struct for which fields are required.
	Value *AlertConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertConfigSetRequest) Descriptor deprecated

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

Deprecated: Use AlertConfigSetRequest.ProtoReflect.Descriptor instead.

func (*AlertConfigSetRequest) GetValue

func (x *AlertConfigSetRequest) GetValue() *AlertConfig

func (*AlertConfigSetRequest) ProtoMessage

func (*AlertConfigSetRequest) ProtoMessage()

func (*AlertConfigSetRequest) ProtoReflect

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

func (*AlertConfigSetRequest) Reset

func (x *AlertConfigSetRequest) Reset()

func (*AlertConfigSetRequest) String

func (x *AlertConfigSetRequest) String() string

type AlertConfigSetResponse

type AlertConfigSetResponse struct {

	// Value carries all the values given in the AlertConfigSetRequest as well
	// as any server-generated values.
	Value *AlertConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time indicates the (UTC) timestamp at which the system recognizes the
	// creation. The only guarantees made about this timestamp are:
	//
	//    - it is after the time the request was received
	//    - a time-ranged query with StartTime==CreatedAt will include this instance.
	//
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertConfigSetResponse) Descriptor deprecated

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

Deprecated: Use AlertConfigSetResponse.ProtoReflect.Descriptor instead.

func (*AlertConfigSetResponse) GetTime

func (*AlertConfigSetResponse) GetValue

func (x *AlertConfigSetResponse) GetValue() *AlertConfig

func (*AlertConfigSetResponse) ProtoMessage

func (*AlertConfigSetResponse) ProtoMessage()

func (*AlertConfigSetResponse) ProtoReflect

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

func (*AlertConfigSetResponse) Reset

func (x *AlertConfigSetResponse) Reset()

func (*AlertConfigSetResponse) String

func (x *AlertConfigSetResponse) String() string

type AlertConfigStreamRequest

type AlertConfigStreamRequest struct {

	// TimeRange allows limiting response data to within a specified time window.
	// If this field is populated, at least one of the two time fields are required.
	//
	// For GetAll, the fields start and end can be used as follows:
	//
	//   * end: Returns the state of each AlertConfig at end.
	//     * Each AlertConfig response is fully-specified (all fields set).
	//   * start: Returns the state of each AlertConfig at start, followed by updates until now.
	//     * Each AlertConfig response at start is fully-specified, but updates may be partial.
	//   * start and end: Returns the state of each AlertConfig at start, followed by updates
	//     until end.
	//     * Each AlertConfig response at start is fully-specified, but updates until end may
	//       be partial.
	//
	// This field is not allowed in the Subscribe RPC.
	Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertConfigStreamRequest) Descriptor deprecated

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

Deprecated: Use AlertConfigStreamRequest.ProtoReflect.Descriptor instead.

func (*AlertConfigStreamRequest) GetTime

func (*AlertConfigStreamRequest) ProtoMessage

func (*AlertConfigStreamRequest) ProtoMessage()

func (*AlertConfigStreamRequest) ProtoReflect

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

func (*AlertConfigStreamRequest) Reset

func (x *AlertConfigStreamRequest) Reset()

func (*AlertConfigStreamRequest) String

func (x *AlertConfigStreamRequest) String() string

type AlertConfigStreamResponse

type AlertConfigStreamResponse struct {

	// Value is a value deemed relevant to the initiating request.
	// This structure will always have its key-field populated. Which other fields are
	// populated, and why, depends on the value of Operation and what triggered this notification.
	Value *AlertConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time holds the timestamp of this AlertConfig's last modification.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// Operation indicates how the AlertConfig value in this response should be considered.
	// Under non-subscribe requests, this value should always be INITIAL. In a subscription,
	// once all initial data is streamed and the client begins to receive modification updates,
	// you should not see INITIAL again.
	Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertConfigStreamResponse) Descriptor deprecated

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

Deprecated: Use AlertConfigStreamResponse.ProtoReflect.Descriptor instead.

func (*AlertConfigStreamResponse) GetTime

func (*AlertConfigStreamResponse) GetType

func (*AlertConfigStreamResponse) GetValue

func (x *AlertConfigStreamResponse) GetValue() *AlertConfig

func (*AlertConfigStreamResponse) ProtoMessage

func (*AlertConfigStreamResponse) ProtoMessage()

func (*AlertConfigStreamResponse) ProtoReflect

func (*AlertConfigStreamResponse) Reset

func (x *AlertConfigStreamResponse) Reset()

func (*AlertConfigStreamResponse) String

func (x *AlertConfigStreamResponse) String() string

type AlertRequest

type AlertRequest struct {

	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertRequest) Descriptor deprecated

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

Deprecated: Use AlertRequest.ProtoReflect.Descriptor instead.

func (*AlertRequest) GetTime

func (x *AlertRequest) GetTime() *timestamppb.Timestamp

func (*AlertRequest) ProtoMessage

func (*AlertRequest) ProtoMessage()

func (*AlertRequest) ProtoReflect

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

func (*AlertRequest) Reset

func (x *AlertRequest) Reset()

func (*AlertRequest) String

func (x *AlertRequest) String() string

type AlertResponse

type AlertResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *Alert `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time carries the (UTC) timestamp of the last-modification of the
	// Alert instance in this response.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertResponse) Descriptor deprecated

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

Deprecated: Use AlertResponse.ProtoReflect.Descriptor instead.

func (*AlertResponse) GetTime

func (x *AlertResponse) GetTime() *timestamppb.Timestamp

func (*AlertResponse) GetValue

func (x *AlertResponse) GetValue() *Alert

func (*AlertResponse) ProtoMessage

func (*AlertResponse) ProtoMessage()

func (*AlertResponse) ProtoReflect

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

func (*AlertResponse) Reset

func (x *AlertResponse) Reset()

func (*AlertResponse) String

func (x *AlertResponse) String() string

type AlertServiceClient

AlertServiceClient is the client API for AlertService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AlertServiceServer

type AlertServiceServer interface {
	GetOne(context.Context, *AlertRequest) (*AlertResponse, error)
	GetAll(*AlertStreamRequest, AlertService_GetAllServer) error
	Subscribe(*AlertStreamRequest, AlertService_SubscribeServer) error
	SubscribeMeta(*AlertStreamRequest, AlertService_SubscribeMetaServer) error
	// contains filtered or unexported methods
}

AlertServiceServer is the server API for AlertService service. All implementations must embed UnimplementedAlertServiceServer for forward compatibility

type AlertService_GetAllClient

type AlertService_GetAllClient interface {
	Recv() (*AlertStreamResponse, error)
	grpc.ClientStream
}

type AlertService_GetAllServer

type AlertService_GetAllServer interface {
	Send(*AlertStreamResponse) error
	grpc.ServerStream
}

type AlertService_SubscribeClient

type AlertService_SubscribeClient interface {
	Recv() (*AlertStreamResponse, error)
	grpc.ClientStream
}

type AlertService_SubscribeMetaClient

type AlertService_SubscribeMetaClient interface {
	Recv() (*MetaResponse, error)
	grpc.ClientStream
}

type AlertService_SubscribeMetaServer

type AlertService_SubscribeMetaServer interface {
	Send(*MetaResponse) error
	grpc.ServerStream
}

type AlertService_SubscribeServer

type AlertService_SubscribeServer interface {
	Send(*AlertStreamResponse) error
	grpc.ServerStream
}

type AlertStreamRequest

type AlertStreamRequest struct {

	// TimeRange allows limiting response data to within a specified time window.
	// If this field is populated, at least one of the two time fields are required.
	//
	// For GetAll, the fields start and end can be used as follows:
	//
	//   * end: Returns the state of each Alert at end.
	//     * Each Alert response is fully-specified (all fields set).
	//   * start: Returns the state of each Alert at start, followed by updates until now.
	//     * Each Alert response at start is fully-specified, but updates may be partial.
	//   * start and end: Returns the state of each Alert at start, followed by updates
	//     until end.
	//     * Each Alert response at start is fully-specified, but updates until end may
	//       be partial.
	//
	// This field is not allowed in the Subscribe RPC.
	Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertStreamRequest) Descriptor deprecated

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

Deprecated: Use AlertStreamRequest.ProtoReflect.Descriptor instead.

func (*AlertStreamRequest) GetTime

func (x *AlertStreamRequest) GetTime() *time.TimeBounds

func (*AlertStreamRequest) ProtoMessage

func (*AlertStreamRequest) ProtoMessage()

func (*AlertStreamRequest) ProtoReflect

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

func (*AlertStreamRequest) Reset

func (x *AlertStreamRequest) Reset()

func (*AlertStreamRequest) String

func (x *AlertStreamRequest) String() string

type AlertStreamResponse

type AlertStreamResponse struct {

	// Value is a value deemed relevant to the initiating request.
	// This structure will always have its key-field populated. Which other fields are
	// populated, and why, depends on the value of Operation and what triggered this notification.
	Value *Alert `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time holds the timestamp of this Alert's last modification.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// Operation indicates how the Alert value in this response should be considered.
	// Under non-subscribe requests, this value should always be INITIAL. In a subscription,
	// once all initial data is streamed and the client begins to receive modification updates,
	// you should not see INITIAL again.
	Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertStreamResponse) Descriptor deprecated

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

Deprecated: Use AlertStreamResponse.ProtoReflect.Descriptor instead.

func (*AlertStreamResponse) GetTime

func (*AlertStreamResponse) GetType

func (*AlertStreamResponse) GetValue

func (x *AlertStreamResponse) GetValue() *Alert

func (*AlertStreamResponse) ProtoMessage

func (*AlertStreamResponse) ProtoMessage()

func (*AlertStreamResponse) ProtoReflect

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

func (*AlertStreamResponse) Reset

func (x *AlertStreamResponse) Reset()

func (*AlertStreamResponse) String

func (x *AlertStreamResponse) String() string

type AzureOAuth

type AzureOAuth struct {

	// client_id of the Azure environment
	ClientId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// tenant_id of the Azure environment
	TenantId *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	// client_secret is a user generated secret key used for auth
	ClientSecret *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// auth_uri is the URI used for OAuth
	AuthUri *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=auth_uri,json=authUri,proto3" json:"auth_uri,omitempty"`
	// contains filtered or unexported fields
}

AzureOAuth contains the settings for the sending of emails on Azure smtp server

func (*AzureOAuth) Descriptor deprecated

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

Deprecated: Use AzureOAuth.ProtoReflect.Descriptor instead.

func (*AzureOAuth) GetAuthUri

func (x *AzureOAuth) GetAuthUri() *wrapperspb.StringValue

func (*AzureOAuth) GetClientId

func (x *AzureOAuth) GetClientId() *wrapperspb.StringValue

func (*AzureOAuth) GetClientSecret

func (x *AzureOAuth) GetClientSecret() *wrapperspb.StringValue

func (*AzureOAuth) GetTenantId

func (x *AzureOAuth) GetTenantId() *wrapperspb.StringValue

func (*AzureOAuth) ProtoMessage

func (*AzureOAuth) ProtoMessage()

func (*AzureOAuth) ProtoReflect

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

func (*AzureOAuth) Reset

func (x *AzureOAuth) Reset()

func (*AzureOAuth) String

func (x *AzureOAuth) String() string

type BroadcastGroup

type BroadcastGroup struct {

	// email is a set of email endpoints to send alerts to as part of this group
	Email *EmailEndpoints `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// webhook is a set of webhook endpoints to send alerts to as part of this group
	Webhook *WebhookEndpoints `protobuf:"bytes,2,opt,name=webhook,proto3" json:"webhook,omitempty"`
	// slack is a set of slack endpoints to send alerts to as part of this group
	Slack *SlackEndpoints `protobuf:"bytes,3,opt,name=slack,proto3" json:"slack,omitempty"`
	// opsgenie is a set of opsgenie endpoints to send alerts to as part of this group
	Opsgenie *OpsgenieEndpoints `protobuf:"bytes,4,opt,name=opsgenie,proto3" json:"opsgenie,omitempty"`
	// pushover is a set of pushover endpoints to send alerts to as part of this group
	Pushover *PushoverEndpoints `protobuf:"bytes,5,opt,name=pushover,proto3" json:"pushover,omitempty"`
	// pagerduty is a set of pagerduty endpoints to send alerts to as part of this group
	Pagerduty *PagerdutyEndpoints `protobuf:"bytes,6,opt,name=pagerduty,proto3" json:"pagerduty,omitempty"`
	// victorops is a set of victorops endpoints to send alerts to as part of this group
	Victorops *VictorOpsEndpoints `protobuf:"bytes,7,opt,name=victorops,proto3" json:"victorops,omitempty"`
	// gchat is a set of google chat endpoints to send alerts to as part of this group
	Gchat *GoogleChatEndpoints `protobuf:"bytes,8,opt,name=gchat,proto3" json:"gchat,omitempty"`
	// msteams is a set of MS teams endpoints to send alerts to as part of this group
	Msteams *MsTeamsEndpoints `protobuf:"bytes,9,opt,name=msteams,proto3" json:"msteams,omitempty"`
	// sendgrid is a set of sendgrid endpoints to send alerts to as part of this group
	Sendgrid *SendgridEndpoints `protobuf:"bytes,10,opt,name=sendgrid,proto3" json:"sendgrid,omitempty"`
	// syslog is a set of syslog endpoints to send alerts to as part of this group
	Syslog *SyslogEndpoints `protobuf:"bytes,11,opt,name=syslog,proto3" json:"syslog,omitempty"`
	// snmp is a set of snmp endpoints to send alerts to as part of this group
	Snmp *SNMPEndpoints `protobuf:"bytes,12,opt,name=snmp,proto3" json:"snmp,omitempty"`
	// cue_syslog is a set of cue syslog endpoints to send alerts to as part of this group
	CueSyslog *CueSyslogEndpoints `protobuf:"bytes,13,opt,name=cue_syslog,json=cueSyslog,proto3" json:"cue_syslog,omitempty"`
	// cue_snmp is a set of cue snmp endpoints to send alerts to as part of this group
	CueSnmp *CueSnmpEndpoints `protobuf:"bytes,14,opt,name=cue_snmp,json=cueSnmp,proto3" json:"cue_snmp,omitempty"`
	// cue_sendgrid is a set of cue sendgrid endpoints to send alerts to as part of this group
	CueSendgrid *CueSendgridEndpoints `protobuf:"bytes,15,opt,name=cue_sendgrid,json=cueSendgrid,proto3" json:"cue_sendgrid,omitempty"`
	// zoom is a set of zoom endpoints to send alerts to as part of this group
	Zoom *ZoomEndpoints `protobuf:"bytes,16,opt,name=zoom,proto3" json:"zoom,omitempty"`
	// contains filtered or unexported fields
}

BroadcastGroup is a series of endpoints that alerts are sent to if routed there by a rule No restriction on the number of types of endpoints that can be defined

func (*BroadcastGroup) Descriptor deprecated

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

Deprecated: Use BroadcastGroup.ProtoReflect.Descriptor instead.

func (*BroadcastGroup) GetCueSendgrid

func (x *BroadcastGroup) GetCueSendgrid() *CueSendgridEndpoints

func (*BroadcastGroup) GetCueSnmp

func (x *BroadcastGroup) GetCueSnmp() *CueSnmpEndpoints

func (*BroadcastGroup) GetCueSyslog

func (x *BroadcastGroup) GetCueSyslog() *CueSyslogEndpoints

func (*BroadcastGroup) GetEmail

func (x *BroadcastGroup) GetEmail() *EmailEndpoints

func (*BroadcastGroup) GetGchat

func (x *BroadcastGroup) GetGchat() *GoogleChatEndpoints

func (*BroadcastGroup) GetMsteams

func (x *BroadcastGroup) GetMsteams() *MsTeamsEndpoints

func (*BroadcastGroup) GetOpsgenie

func (x *BroadcastGroup) GetOpsgenie() *OpsgenieEndpoints

func (*BroadcastGroup) GetPagerduty

func (x *BroadcastGroup) GetPagerduty() *PagerdutyEndpoints

func (*BroadcastGroup) GetPushover

func (x *BroadcastGroup) GetPushover() *PushoverEndpoints

func (*BroadcastGroup) GetSendgrid

func (x *BroadcastGroup) GetSendgrid() *SendgridEndpoints

func (*BroadcastGroup) GetSlack

func (x *BroadcastGroup) GetSlack() *SlackEndpoints

func (*BroadcastGroup) GetSnmp

func (x *BroadcastGroup) GetSnmp() *SNMPEndpoints

func (*BroadcastGroup) GetSyslog

func (x *BroadcastGroup) GetSyslog() *SyslogEndpoints

func (*BroadcastGroup) GetVictorops

func (x *BroadcastGroup) GetVictorops() *VictorOpsEndpoints

func (*BroadcastGroup) GetWebhook

func (x *BroadcastGroup) GetWebhook() *WebhookEndpoints

func (*BroadcastGroup) GetZoom

func (x *BroadcastGroup) GetZoom() *ZoomEndpoints

func (*BroadcastGroup) ProtoMessage

func (*BroadcastGroup) ProtoMessage()

func (*BroadcastGroup) ProtoReflect

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

func (*BroadcastGroup) Reset

func (x *BroadcastGroup) Reset()

func (*BroadcastGroup) String

func (x *BroadcastGroup) String() string

type BroadcastGroups

type BroadcastGroups struct {

	// values is a map of user defined ids to broadcast groups. No restrictions to naming applies
	Values map[string]*BroadcastGroup `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

BroadcastGroups is a collection of named broadcast groups

func (*BroadcastGroups) Descriptor deprecated

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

Deprecated: Use BroadcastGroups.ProtoReflect.Descriptor instead.

func (*BroadcastGroups) GetValues

func (x *BroadcastGroups) GetValues() map[string]*BroadcastGroup

func (*BroadcastGroups) ProtoMessage

func (*BroadcastGroups) ProtoMessage()

func (*BroadcastGroups) ProtoReflect

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

func (*BroadcastGroups) Reset

func (x *BroadcastGroups) Reset()

func (*BroadcastGroups) String

func (x *BroadcastGroups) String() string

type ConfigError

type ConfigError struct {

	// path is the 'path' to the invalid config element,
	// eg: path.userPathName.email_configs[1].to =
	// the 'to' field of the second email config of the 'userPathName' broadcast_group
	Path *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// error_type is the type of error, this allows custom handling of different error types
	ErrorType ConfigErrorType `` /* 126-byte string literal not displayed */
	// error is a user-friendly error message
	Error *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

ConfigError is an error caused by an invalid config being rejected by the backend

func (*ConfigError) Descriptor deprecated

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

Deprecated: Use ConfigError.ProtoReflect.Descriptor instead.

func (*ConfigError) GetError

func (x *ConfigError) GetError() *wrapperspb.StringValue

func (*ConfigError) GetErrorType

func (x *ConfigError) GetErrorType() ConfigErrorType

func (*ConfigError) GetPath

func (x *ConfigError) GetPath() *wrapperspb.StringValue

func (*ConfigError) ProtoMessage

func (*ConfigError) ProtoMessage()

func (*ConfigError) ProtoReflect

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

func (*ConfigError) Reset

func (x *ConfigError) Reset()

func (*ConfigError) String

func (x *ConfigError) String() string

type ConfigErrorType

type ConfigErrorType int32

ConfigErrorType describes the set of possible config error types

const (
	// CONFIG_ERROR_TYPE_UNSPECIFIED is the unspecified enum value
	ConfigErrorType_CONFIG_ERROR_TYPE_UNSPECIFIED ConfigErrorType = 0
	// CONFIG_ERROR_TYPE_INVALID_FORMAT is caused by invalid format for value (eg: url)
	ConfigErrorType_CONFIG_ERROR_TYPE_INVALID_FORMAT ConfigErrorType = 2
	// CONFIG_ERROR_TYPE_INVALID_SYNTAX is caused by invalid syntax for value (eg: regex)
	ConfigErrorType_CONFIG_ERROR_TYPE_INVALID_SYNTAX ConfigErrorType = 3
	// CONFIG_ERROR_TYPE_TEMPLATE_INVALID is caused by failure to parse a template
	ConfigErrorType_CONFIG_ERROR_TYPE_TEMPLATE_INVALID ConfigErrorType = 4
	// CONFIG_ERROR_TYPE_ILLEGAL_VALUE is caused by a value outside of its bounds
	ConfigErrorType_CONFIG_ERROR_TYPE_ILLEGAL_VALUE ConfigErrorType = 5
	// CONFIG_ERROR_TYPE_MISSING_REQUIRED is caused by a missing required attribute
	ConfigErrorType_CONFIG_ERROR_TYPE_MISSING_REQUIRED ConfigErrorType = 6
	// CONFIG_ERROR_TYPE_INVALID_TYPE is caused by the wrong type found in backing store
	ConfigErrorType_CONFIG_ERROR_TYPE_INVALID_TYPE ConfigErrorType = 7
)

func (ConfigErrorType) Descriptor

func (ConfigErrorType) Enum

func (x ConfigErrorType) Enum() *ConfigErrorType

func (ConfigErrorType) EnumDescriptor deprecated

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

Deprecated: Use ConfigErrorType.Descriptor instead.

func (ConfigErrorType) Number

func (ConfigErrorType) String

func (x ConfigErrorType) String() string

func (ConfigErrorType) Type

type ConfigErrors

type ConfigErrors struct {

	// values is a list of errors
	Values []*ConfigError `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

ConfigErrors is a list of configuration-related errors

func (*ConfigErrors) Descriptor deprecated

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

Deprecated: Use ConfigErrors.ProtoReflect.Descriptor instead.

func (*ConfigErrors) GetValues

func (x *ConfigErrors) GetValues() []*ConfigError

func (*ConfigErrors) ProtoMessage

func (*ConfigErrors) ProtoMessage()

func (*ConfigErrors) ProtoReflect

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

func (*ConfigErrors) Reset

func (x *ConfigErrors) Reset()

func (*ConfigErrors) String

func (x *ConfigErrors) String() string

type CueData

type CueData struct {

	// values can contain some additional data which is required by the cue specific provider
	Values map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

CueData contains additional cue-specific data

func (*CueData) Descriptor deprecated

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

Deprecated: Use CueData.ProtoReflect.Descriptor instead.

func (*CueData) GetValues

func (x *CueData) GetValues() map[string]string

func (*CueData) ProtoMessage

func (*CueData) ProtoMessage()

func (*CueData) ProtoReflect

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

func (*CueData) Reset

func (x *CueData) Reset()

func (*CueData) String

func (x *CueData) String() string

type CueSNMPAuth

type CueSNMPAuth struct {

	// community is the community string used for authentication in SNMPv1 and v2c
	// required if version < 3
	Community *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=community,proto3" json:"community,omitempty"`
	// username the username for SNMPv3 auth
	Username *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// security_level the security level for SNMPv3
	SecurityLevel SNMPSecurityLevel `` /* 140-byte string literal not displayed */
	// authentication_protocol is the protocol to use for authentication in SNMPv3
	// required for AUTH_NO_PRIV/AUTH_PRIV security levels
	AuthenticationProtocol CueSNMPAuthProtocol `` /* 169-byte string literal not displayed */
	// authentication_passphrase is the passphrase to use for authentication in SNMPv3
	// required for AUTH_NO_PRIV/AUTH_PRIV security levels
	AuthenticationPassphrase *wrapperspb.StringValue `` /* 133-byte string literal not displayed */
	// privacy_protocol is the protocol to use for privacy in SNMPv3
	// required for AUTH_PRIV security level
	PrivacyProtocol CueSNMPPrivProtocol `` /* 148-byte string literal not displayed */
	// privacy_passphrase is the passphrase to use for privacy in SNMPv3
	// required for AUTH_PRIV security level
	PrivacyPassphrase *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=privacy_passphrase,json=privacyPassphrase,proto3" json:"privacy_passphrase,omitempty"`
	// contains filtered or unexported fields
}

CueSNMPAuth is the authentication

func (*CueSNMPAuth) Descriptor deprecated

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

Deprecated: Use CueSNMPAuth.ProtoReflect.Descriptor instead.

func (*CueSNMPAuth) GetAuthenticationPassphrase

func (x *CueSNMPAuth) GetAuthenticationPassphrase() *wrapperspb.StringValue

func (*CueSNMPAuth) GetAuthenticationProtocol

func (x *CueSNMPAuth) GetAuthenticationProtocol() CueSNMPAuthProtocol

func (*CueSNMPAuth) GetCommunity

func (x *CueSNMPAuth) GetCommunity() *wrapperspb.StringValue

func (*CueSNMPAuth) GetPrivacyPassphrase

func (x *CueSNMPAuth) GetPrivacyPassphrase() *wrapperspb.StringValue

func (*CueSNMPAuth) GetPrivacyProtocol

func (x *CueSNMPAuth) GetPrivacyProtocol() CueSNMPPrivProtocol

func (*CueSNMPAuth) GetSecurityLevel

func (x *CueSNMPAuth) GetSecurityLevel() SNMPSecurityLevel

func (*CueSNMPAuth) GetUsername

func (x *CueSNMPAuth) GetUsername() *wrapperspb.StringValue

func (*CueSNMPAuth) ProtoMessage

func (*CueSNMPAuth) ProtoMessage()

func (*CueSNMPAuth) ProtoReflect

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

func (*CueSNMPAuth) Reset

func (x *CueSNMPAuth) Reset()

func (*CueSNMPAuth) String

func (x *CueSNMPAuth) String() string

type CueSNMPAuthProtocol

type CueSNMPAuthProtocol int32

CueSNMPAuthProtocol represents the authentication protocol to be used

const (
	// CUE_SNMP_AUTH_PROTOCOL_UNSPECIFIED is the unspecified enum value
	CueSNMPAuthProtocol_CUE_SNMP_AUTH_PROTOCOL_UNSPECIFIED CueSNMPAuthProtocol = 0
	// CUE_SNMP_AUTH_PROTOCOL_MD5 use the md5 protocol
	CueSNMPAuthProtocol_CUE_SNMP_AUTH_PROTOCOL_MD5 CueSNMPAuthProtocol = 1
	// CUE_SNMP_AUTH_PROTOCOL_SHA use the sha protocol
	CueSNMPAuthProtocol_CUE_SNMP_AUTH_PROTOCOL_SHA CueSNMPAuthProtocol = 2
)

func (CueSNMPAuthProtocol) Descriptor

func (CueSNMPAuthProtocol) Enum

func (CueSNMPAuthProtocol) EnumDescriptor deprecated

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

Deprecated: Use CueSNMPAuthProtocol.Descriptor instead.

func (CueSNMPAuthProtocol) Number

func (CueSNMPAuthProtocol) String

func (x CueSNMPAuthProtocol) String() string

func (CueSNMPAuthProtocol) Type

type CueSNMPEndpoint

type CueSNMPEndpoint struct {

	// send_resolved send alerts when events are resolved along with when they are triggered
	SendResolved *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"`
	// settings_override is the override for the cue snmp global endpoint settings
	SettingsOverride *CueSNMPSettings `protobuf:"bytes,2,opt,name=settings_override,json=settingsOverride,proto3" json:"settings_override,omitempty"`
	// contains filtered or unexported fields
}

CueSNMPEndpoint contains the required information for an alert to be sent to a cue SNMP endpoint

func (*CueSNMPEndpoint) Descriptor deprecated

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

Deprecated: Use CueSNMPEndpoint.ProtoReflect.Descriptor instead.

func (*CueSNMPEndpoint) GetSendResolved

func (x *CueSNMPEndpoint) GetSendResolved() *wrapperspb.BoolValue

func (*CueSNMPEndpoint) GetSettingsOverride

func (x *CueSNMPEndpoint) GetSettingsOverride() *CueSNMPSettings

func (*CueSNMPEndpoint) ProtoMessage

func (*CueSNMPEndpoint) ProtoMessage()

func (*CueSNMPEndpoint) ProtoReflect

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

func (*CueSNMPEndpoint) Reset

func (x *CueSNMPEndpoint) Reset()

func (*CueSNMPEndpoint) String

func (x *CueSNMPEndpoint) String() string

type CueSNMPPrivProtocol

type CueSNMPPrivProtocol int32

CueSNMPPrivProtocol represents the privacy protocol to be used

const (
	// CUE_SNMP_PRIV_PROTOCOL_UNSPECIFIED is the unspecified enum value
	CueSNMPPrivProtocol_CUE_SNMP_PRIV_PROTOCOL_UNSPECIFIED CueSNMPPrivProtocol = 0
	// CUE_SNMP_PRIV_PROTOCOL_DES use the des protocol
	CueSNMPPrivProtocol_CUE_SNMP_PRIV_PROTOCOL_DES CueSNMPPrivProtocol = 1
	// CUE_SNMP_PRIV_PROTOCOL_AES use the aes protocol
	CueSNMPPrivProtocol_CUE_SNMP_PRIV_PROTOCOL_AES CueSNMPPrivProtocol = 2
)

func (CueSNMPPrivProtocol) Descriptor

func (CueSNMPPrivProtocol) Enum

func (CueSNMPPrivProtocol) EnumDescriptor deprecated

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

Deprecated: Use CueSNMPPrivProtocol.Descriptor instead.

func (CueSNMPPrivProtocol) Number

func (CueSNMPPrivProtocol) String

func (x CueSNMPPrivProtocol) String() string

func (CueSNMPPrivProtocol) Type

type CueSNMPSettings

type CueSNMPSettings struct {

	// target is an ipv4 address to send messages to
	Target *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// port is the network port to target
	Port *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"`
	// transport is the transport protocol to use ("udp" or "tcp"); if unset "udp" will be used
	Transport *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=transport,proto3" json:"transport,omitempty"`
	// version is the SNMP version, v2c and v3 are supported and can be set with 2 and 3 respectively
	Version *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// auth is the optional authentication settings
	Auth *CueSNMPAuth `protobuf:"bytes,5,opt,name=auth,proto3" json:"auth,omitempty"`
	// data is additional data that maybe required for constructing the message or sending it
	Data *CueData `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

CueSNMPSettings contain the settings for sending cue alerts with SNMP

func (*CueSNMPSettings) Descriptor deprecated

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

Deprecated: Use CueSNMPSettings.ProtoReflect.Descriptor instead.

func (*CueSNMPSettings) GetAuth

func (x *CueSNMPSettings) GetAuth() *CueSNMPAuth

func (*CueSNMPSettings) GetData

func (x *CueSNMPSettings) GetData() *CueData

func (*CueSNMPSettings) GetPort

func (x *CueSNMPSettings) GetPort() *wrapperspb.Int32Value

func (*CueSNMPSettings) GetTarget

func (x *CueSNMPSettings) GetTarget() *wrapperspb.StringValue

func (*CueSNMPSettings) GetTransport

func (x *CueSNMPSettings) GetTransport() *wrapperspb.StringValue

func (*CueSNMPSettings) GetVersion

func (x *CueSNMPSettings) GetVersion() *wrapperspb.Int32Value

func (*CueSNMPSettings) ProtoMessage

func (*CueSNMPSettings) ProtoMessage()

func (*CueSNMPSettings) ProtoReflect

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

func (*CueSNMPSettings) Reset

func (x *CueSNMPSettings) Reset()

func (*CueSNMPSettings) String

func (x *CueSNMPSettings) String() string

type CueSendgridEndpoint

type CueSendgridEndpoint struct {

	// send_resolved send alerts when events are resolved along with when they are triggered
	SendResolved *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"`
	// to address to send email to
	To *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// http_override is the override of the global http settings
	// This overrides the value used in Settings message in the global alert config
	HttpOverride *HttpSettings `protobuf:"bytes,3,opt,name=http_override,json=httpOverride,proto3" json:"http_override,omitempty"`
	// contains filtered or unexported fields
}

CueSendgridEndpoint contains the required information for an alert to be sent to a cue sendgrid endpoint

func (*CueSendgridEndpoint) Descriptor deprecated

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

Deprecated: Use CueSendgridEndpoint.ProtoReflect.Descriptor instead.

func (*CueSendgridEndpoint) GetHttpOverride

func (x *CueSendgridEndpoint) GetHttpOverride() *HttpSettings

func (*CueSendgridEndpoint) GetSendResolved

func (x *CueSendgridEndpoint) GetSendResolved() *wrapperspb.BoolValue

func (*CueSendgridEndpoint) GetTo

func (*CueSendgridEndpoint) ProtoMessage

func (*CueSendgridEndpoint) ProtoMessage()

func (*CueSendgridEndpoint) ProtoReflect

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

func (*CueSendgridEndpoint) Reset

func (x *CueSendgridEndpoint) Reset()

func (*CueSendgridEndpoint) String

func (x *CueSendgridEndpoint) String() string

type CueSendgridEndpoints

type CueSendgridEndpoints struct {

	// values are the elements of the set
	Values []*CueSendgridEndpoint `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

CueSendgridEndpoints is a set of cue sendgrid endpoints

func (*CueSendgridEndpoints) Descriptor deprecated

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

Deprecated: Use CueSendgridEndpoints.ProtoReflect.Descriptor instead.

func (*CueSendgridEndpoints) GetValues

func (x *CueSendgridEndpoints) GetValues() []*CueSendgridEndpoint

func (*CueSendgridEndpoints) ProtoMessage

func (*CueSendgridEndpoints) ProtoMessage()

func (*CueSendgridEndpoints) ProtoReflect

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

func (*CueSendgridEndpoints) Reset

func (x *CueSendgridEndpoints) Reset()

func (*CueSendgridEndpoints) String

func (x *CueSendgridEndpoints) String() string

type CueSendgridSettings

type CueSendgridSettings struct {

	// api_key is the key used to connect to the sendgrid APIs
	ApiKey *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// from is the sender's address in the email sent
	From *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	// contains filtered or unexported fields
}

CueSendgridSettings contain the settings for sending cue alerts to sendgrid

func (*CueSendgridSettings) Descriptor deprecated

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

Deprecated: Use CueSendgridSettings.ProtoReflect.Descriptor instead.

func (*CueSendgridSettings) GetApiKey

func (x *CueSendgridSettings) GetApiKey() *wrapperspb.StringValue

func (*CueSendgridSettings) GetFrom

func (*CueSendgridSettings) ProtoMessage

func (*CueSendgridSettings) ProtoMessage()

func (*CueSendgridSettings) ProtoReflect

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

func (*CueSendgridSettings) Reset

func (x *CueSendgridSettings) Reset()

func (*CueSendgridSettings) String

func (x *CueSendgridSettings) String() string

type CueSnmpEndpoints

type CueSnmpEndpoints struct {

	// values are the elements of the set
	Values []*CueSNMPEndpoint `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

CueSnmpEndpoints is a set of cue SNMP endpoints

func (*CueSnmpEndpoints) Descriptor deprecated

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

Deprecated: Use CueSnmpEndpoints.ProtoReflect.Descriptor instead.

func (*CueSnmpEndpoints) GetValues

func (x *CueSnmpEndpoints) GetValues() []*CueSNMPEndpoint

func (*CueSnmpEndpoints) ProtoMessage

func (*CueSnmpEndpoints) ProtoMessage()

func (*CueSnmpEndpoints) ProtoReflect

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

func (*CueSnmpEndpoints) Reset

func (x *CueSnmpEndpoints) Reset()

func (*CueSnmpEndpoints) String

func (x *CueSnmpEndpoints) String() string

type CueSyslogEndpoint

type CueSyslogEndpoint struct {

	// send_resolved send alerts when events are resolved along with when they are triggered
	SendResolved *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"`
	// settings_override is the override for the cue syslog global endpoint settings
	SettingsOverride *CueSyslogSettings `protobuf:"bytes,2,opt,name=settings_override,json=settingsOverride,proto3" json:"settings_override,omitempty"`
	// contains filtered or unexported fields
}

CueSyslogEndpoint contains the required information for an alert to be sent to a cue syslog endpoint

func (*CueSyslogEndpoint) Descriptor deprecated

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

Deprecated: Use CueSyslogEndpoint.ProtoReflect.Descriptor instead.

func (*CueSyslogEndpoint) GetSendResolved

func (x *CueSyslogEndpoint) GetSendResolved() *wrapperspb.BoolValue

func (*CueSyslogEndpoint) GetSettingsOverride

func (x *CueSyslogEndpoint) GetSettingsOverride() *CueSyslogSettings

func (*CueSyslogEndpoint) ProtoMessage

func (*CueSyslogEndpoint) ProtoMessage()

func (*CueSyslogEndpoint) ProtoReflect

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

func (*CueSyslogEndpoint) Reset

func (x *CueSyslogEndpoint) Reset()

func (*CueSyslogEndpoint) String

func (x *CueSyslogEndpoint) String() string

type CueSyslogEndpoints

type CueSyslogEndpoints struct {

	// values are the elements of the set
	Values []*CueSyslogEndpoint `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

CueSyslogEndpoints is a set of cue syslog endpoints

func (*CueSyslogEndpoints) Descriptor deprecated

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

Deprecated: Use CueSyslogEndpoints.ProtoReflect.Descriptor instead.

func (*CueSyslogEndpoints) GetValues

func (x *CueSyslogEndpoints) GetValues() []*CueSyslogEndpoint

func (*CueSyslogEndpoints) ProtoMessage

func (*CueSyslogEndpoints) ProtoMessage()

func (*CueSyslogEndpoints) ProtoReflect

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

func (*CueSyslogEndpoints) Reset

func (x *CueSyslogEndpoints) Reset()

func (*CueSyslogEndpoints) String

func (x *CueSyslogEndpoints) String() string

type CueSyslogMessageFormat

type CueSyslogMessageFormat int32

CueSyslogMessageFormat is the message format for cue syslog messages

const (
	// CUE_SYSLOG_MESSAGE_FORMAT_UNSPECIFIED is the unspecified enum value
	CueSyslogMessageFormat_CUE_SYSLOG_MESSAGE_FORMAT_UNSPECIFIED CueSyslogMessageFormat = 0
	// CUE_SYSLOG_MESSAGE_FORMAT_PLAIN format uses the text format for constructing the syslog message
	CueSyslogMessageFormat_CUE_SYSLOG_MESSAGE_FORMAT_PLAIN CueSyslogMessageFormat = 1
	// CUE_SYSLOG_MESSAGE_FORMAT_IDMEF uses IDMEF message format as described here:
	// https://datatracker.ietf.org/doc/html/rfc4765
	CueSyslogMessageFormat_CUE_SYSLOG_MESSAGE_FORMAT_IDMEF CueSyslogMessageFormat = 2
)

func (CueSyslogMessageFormat) Descriptor

func (CueSyslogMessageFormat) Enum

func (CueSyslogMessageFormat) EnumDescriptor deprecated

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

Deprecated: Use CueSyslogMessageFormat.Descriptor instead.

func (CueSyslogMessageFormat) Number

func (CueSyslogMessageFormat) String

func (x CueSyslogMessageFormat) String() string

func (CueSyslogMessageFormat) Type

type CueSyslogSettings

type CueSyslogSettings struct {

	// network is the network protocol to use, default is "udp",
	// options also include: tcp,tcp4,tcp6,udp4,udp6
	Network *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// address is the ip address to send syslog messages to
	Address *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// port is server's port to connect to
	Port *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=port,proto3" json:"port,omitempty"`
	// message_format defines the message format to use
	MessageFormat CueSyslogMessageFormat `` /* 145-byte string literal not displayed */
	// append_bom_header if true a BOM( Byte Order Mark ) will be appended to the outgoing message
	// BOM will tell the server that is receiving the messages, that the format is UTF8.
	AppendBomHeader *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=append_bom_header,json=appendBomHeader,proto3" json:"append_bom_header,omitempty"`
	// data is additional data that maybe required for constructing the message or sending it
	Data *CueData `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

CueSyslogSettings contain the settings for sending alerts with syslog for cue

func (*CueSyslogSettings) Descriptor deprecated

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

Deprecated: Use CueSyslogSettings.ProtoReflect.Descriptor instead.

func (*CueSyslogSettings) GetAddress

func (x *CueSyslogSettings) GetAddress() *wrapperspb.StringValue

func (*CueSyslogSettings) GetAppendBomHeader

func (x *CueSyslogSettings) GetAppendBomHeader() *wrapperspb.BoolValue

func (*CueSyslogSettings) GetData

func (x *CueSyslogSettings) GetData() *CueData

func (*CueSyslogSettings) GetMessageFormat

func (x *CueSyslogSettings) GetMessageFormat() CueSyslogMessageFormat

func (*CueSyslogSettings) GetNetwork

func (x *CueSyslogSettings) GetNetwork() *wrapperspb.StringValue

func (*CueSyslogSettings) GetPort

func (x *CueSyslogSettings) GetPort() *wrapperspb.Int32Value

func (*CueSyslogSettings) ProtoMessage

func (*CueSyslogSettings) ProtoMessage()

func (*CueSyslogSettings) ProtoReflect

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

func (*CueSyslogSettings) Reset

func (x *CueSyslogSettings) Reset()

func (*CueSyslogSettings) String

func (x *CueSyslogSettings) String() string

type DefaultTemplate

type DefaultTemplate struct {

	// key identifies which template the configuration is for
	Key *TemplateKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// template is the string template value to be used
	// Templates need to be compatible with their respective parsers
	// Message templates are read and parsed by https://golang.org/pkg/text/template/
	// Html templates are read and parsed by https://golang.org/pkg/html/template/
	// Templates must output valid JSON for certain templates
	// Templates must not fail for any valid input
	Template *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"`
	// multi_alert is true if this template uses a multiple alert context and false if a single
	// alert context is used.
	MultiAlert *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=multi_alert,json=multiAlert,proto3" json:"multi_alert,omitempty"`
	// description is a description of the template.
	Description *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// external_documentation is a url to any relevant external documentation, or "" if there is no
	// relevant documentation.
	ExternalDocumentation *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=external_documentation,json=externalDocumentation,proto3" json:"external_documentation,omitempty"`
	// output_format is the expected output format of this template
	// Any submitted template will be expected to output text with valid formatting for any input or
	// may fail validation.
	OutputFormat TemplateOutput `` /* 134-byte string literal not displayed */
	// display_name is the name that can be displayed to the user for this particular template type
	DisplayName *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

DefaultTemplate is the system default template which is used when no user template has been set

func (*DefaultTemplate) Descriptor deprecated

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

Deprecated: Use DefaultTemplate.ProtoReflect.Descriptor instead.

func (*DefaultTemplate) GetDescription

func (x *DefaultTemplate) GetDescription() *wrapperspb.StringValue

func (*DefaultTemplate) GetDisplayName

func (x *DefaultTemplate) GetDisplayName() *wrapperspb.StringValue

func (*DefaultTemplate) GetExternalDocumentation

func (x *DefaultTemplate) GetExternalDocumentation() *wrapperspb.StringValue

func (*DefaultTemplate) GetKey

func (x *DefaultTemplate) GetKey() *TemplateKey

func (*DefaultTemplate) GetMultiAlert

func (x *DefaultTemplate) GetMultiAlert() *wrapperspb.BoolValue

func (*DefaultTemplate) GetOutputFormat

func (x *DefaultTemplate) GetOutputFormat() TemplateOutput

func (*DefaultTemplate) GetTemplate

func (x *DefaultTemplate) GetTemplate() *wrapperspb.StringValue

func (*DefaultTemplate) ProtoMessage

func (*DefaultTemplate) ProtoMessage()

func (*DefaultTemplate) ProtoReflect

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

func (*DefaultTemplate) Reset

func (x *DefaultTemplate) Reset()

func (*DefaultTemplate) String

func (x *DefaultTemplate) String() string

type DefaultTemplateRequest

type DefaultTemplateRequest struct {

	// Key uniquely identifies a DefaultTemplate instance to retrieve.
	// This value must be populated.
	Key *TemplateKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*DefaultTemplateRequest) Descriptor deprecated

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

Deprecated: Use DefaultTemplateRequest.ProtoReflect.Descriptor instead.

func (*DefaultTemplateRequest) GetKey

func (x *DefaultTemplateRequest) GetKey() *TemplateKey

func (*DefaultTemplateRequest) GetTime

func (*DefaultTemplateRequest) ProtoMessage

func (*DefaultTemplateRequest) ProtoMessage()

func (*DefaultTemplateRequest) ProtoReflect

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

func (*DefaultTemplateRequest) Reset

func (x *DefaultTemplateRequest) Reset()

func (*DefaultTemplateRequest) String

func (x *DefaultTemplateRequest) String() string

type DefaultTemplateResponse

type DefaultTemplateResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *DefaultTemplate `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time carries the (UTC) timestamp of the last-modification of the
	// DefaultTemplate instance in this response.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*DefaultTemplateResponse) Descriptor deprecated

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

Deprecated: Use DefaultTemplateResponse.ProtoReflect.Descriptor instead.

func (*DefaultTemplateResponse) GetTime

func (*DefaultTemplateResponse) GetValue

func (*DefaultTemplateResponse) ProtoMessage

func (*DefaultTemplateResponse) ProtoMessage()

func (*DefaultTemplateResponse) ProtoReflect

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

func (*DefaultTemplateResponse) Reset

func (x *DefaultTemplateResponse) Reset()

func (*DefaultTemplateResponse) String

func (x *DefaultTemplateResponse) String() string

type DefaultTemplateServiceClient

DefaultTemplateServiceClient is the client API for DefaultTemplateService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type DefaultTemplateServiceServer

DefaultTemplateServiceServer is the server API for DefaultTemplateService service. All implementations must embed UnimplementedDefaultTemplateServiceServer for forward compatibility

type DefaultTemplateService_GetAllClient

type DefaultTemplateService_GetAllClient interface {
	Recv() (*DefaultTemplateStreamResponse, error)
	grpc.ClientStream
}

type DefaultTemplateService_GetAllServer

type DefaultTemplateService_GetAllServer interface {
	Send(*DefaultTemplateStreamResponse) error
	grpc.ServerStream
}

type DefaultTemplateService_GetSomeClient

type DefaultTemplateService_GetSomeClient interface {
	Recv() (*DefaultTemplateSomeResponse, error)
	grpc.ClientStream
}

type DefaultTemplateService_GetSomeServer

type DefaultTemplateService_GetSomeServer interface {
	Send(*DefaultTemplateSomeResponse) error
	grpc.ServerStream
}

type DefaultTemplateService_SubscribeClient

type DefaultTemplateService_SubscribeClient interface {
	Recv() (*DefaultTemplateStreamResponse, error)
	grpc.ClientStream
}

type DefaultTemplateService_SubscribeMetaClient

type DefaultTemplateService_SubscribeMetaClient interface {
	Recv() (*MetaResponse, error)
	grpc.ClientStream
}

type DefaultTemplateService_SubscribeMetaServer

type DefaultTemplateService_SubscribeMetaServer interface {
	Send(*MetaResponse) error
	grpc.ServerStream
}

type DefaultTemplateService_SubscribeServer

type DefaultTemplateService_SubscribeServer interface {
	Send(*DefaultTemplateStreamResponse) error
	grpc.ServerStream
}

type DefaultTemplateSomeRequest

type DefaultTemplateSomeRequest struct {
	Keys []*TemplateKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*DefaultTemplateSomeRequest) Descriptor deprecated

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

Deprecated: Use DefaultTemplateSomeRequest.ProtoReflect.Descriptor instead.

func (*DefaultTemplateSomeRequest) GetKeys

func (x *DefaultTemplateSomeRequest) GetKeys() []*TemplateKey

func (*DefaultTemplateSomeRequest) GetTime

func (*DefaultTemplateSomeRequest) ProtoMessage

func (*DefaultTemplateSomeRequest) ProtoMessage()

func (*DefaultTemplateSomeRequest) ProtoReflect

func (*DefaultTemplateSomeRequest) Reset

func (x *DefaultTemplateSomeRequest) Reset()

func (*DefaultTemplateSomeRequest) String

func (x *DefaultTemplateSomeRequest) String() string

type DefaultTemplateSomeResponse

type DefaultTemplateSomeResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *DefaultTemplate `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Error is an optional field.
	// It should be filled when there is an error in the GetSome process.
	Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Time  *timestamppb.Timestamp  `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*DefaultTemplateSomeResponse) Descriptor deprecated

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

Deprecated: Use DefaultTemplateSomeResponse.ProtoReflect.Descriptor instead.

func (*DefaultTemplateSomeResponse) GetError

func (*DefaultTemplateSomeResponse) GetTime

func (*DefaultTemplateSomeResponse) GetValue

func (*DefaultTemplateSomeResponse) ProtoMessage

func (*DefaultTemplateSomeResponse) ProtoMessage()

func (*DefaultTemplateSomeResponse) ProtoReflect

func (*DefaultTemplateSomeResponse) Reset

func (x *DefaultTemplateSomeResponse) Reset()

func (*DefaultTemplateSomeResponse) String

func (x *DefaultTemplateSomeResponse) String() string

type DefaultTemplateStreamRequest

type DefaultTemplateStreamRequest struct {

	// TimeRange allows limiting response data to within a specified time window.
	// If this field is populated, at least one of the two time fields are required.
	//
	// For GetAll, the fields start and end can be used as follows:
	//
	//   * end: Returns the state of each DefaultTemplate at end.
	//     * Each DefaultTemplate response is fully-specified (all fields set).
	//   * start: Returns the state of each DefaultTemplate at start, followed by updates until now.
	//     * Each DefaultTemplate response at start is fully-specified, but updates may be partial.
	//   * start and end: Returns the state of each DefaultTemplate at start, followed by updates
	//     until end.
	//     * Each DefaultTemplate response at start is fully-specified, but updates until end may
	//       be partial.
	//
	// This field is not allowed in the Subscribe RPC.
	Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*DefaultTemplateStreamRequest) Descriptor deprecated

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

Deprecated: Use DefaultTemplateStreamRequest.ProtoReflect.Descriptor instead.

func (*DefaultTemplateStreamRequest) GetTime

func (*DefaultTemplateStreamRequest) ProtoMessage

func (*DefaultTemplateStreamRequest) ProtoMessage()

func (*DefaultTemplateStreamRequest) ProtoReflect

func (*DefaultTemplateStreamRequest) Reset

func (x *DefaultTemplateStreamRequest) Reset()

func (*DefaultTemplateStreamRequest) String

type DefaultTemplateStreamResponse

type DefaultTemplateStreamResponse struct {

	// Value is a value deemed relevant to the initiating request.
	// This structure will always have its key-field populated. Which other fields are
	// populated, and why, depends on the value of Operation and what triggered this notification.
	Value *DefaultTemplate `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time holds the timestamp of this DefaultTemplate's last modification.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// Operation indicates how the DefaultTemplate value in this response should be considered.
	// Under non-subscribe requests, this value should always be INITIAL. In a subscription,
	// once all initial data is streamed and the client begins to receive modification updates,
	// you should not see INITIAL again.
	Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*DefaultTemplateStreamResponse) Descriptor deprecated

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

Deprecated: Use DefaultTemplateStreamResponse.ProtoReflect.Descriptor instead.

func (*DefaultTemplateStreamResponse) GetTime

func (*DefaultTemplateStreamResponse) GetType

func (*DefaultTemplateStreamResponse) GetValue

func (*DefaultTemplateStreamResponse) ProtoMessage

func (*DefaultTemplateStreamResponse) ProtoMessage()

func (*DefaultTemplateStreamResponse) ProtoReflect

func (*DefaultTemplateStreamResponse) Reset

func (x *DefaultTemplateStreamResponse) Reset()

func (*DefaultTemplateStreamResponse) String

type EmailEndpoint

type EmailEndpoint struct {

	// send_resolved send alerts when events are resolved along with when they are triggered
	SendResolved *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"`
	// to address to send email to
	To *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

EmailEndpoint contains the required information for an alert to be sent to an email endpoint

func (*EmailEndpoint) Descriptor deprecated

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

Deprecated: Use EmailEndpoint.ProtoReflect.Descriptor instead.

func (*EmailEndpoint) GetSendResolved

func (x *EmailEndpoint) GetSendResolved() *wrapperspb.BoolValue

func (*EmailEndpoint) GetTo

func (x *EmailEndpoint) GetTo() *wrapperspb.StringValue

func (*EmailEndpoint) ProtoMessage

func (*EmailEndpoint) ProtoMessage()

func (*EmailEndpoint) ProtoReflect

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

func (*EmailEndpoint) Reset

func (x *EmailEndpoint) Reset()

func (*EmailEndpoint) String

func (x *EmailEndpoint) String() string

type EmailEndpoints

type EmailEndpoints struct {

	// values are the elements of the set
	Values []*EmailEndpoint `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

EmailEndpoints is a set of email endpoints

func (*EmailEndpoints) Descriptor deprecated

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

Deprecated: Use EmailEndpoints.ProtoReflect.Descriptor instead.

func (*EmailEndpoints) GetValues

func (x *EmailEndpoints) GetValues() []*EmailEndpoint

func (*EmailEndpoints) ProtoMessage

func (*EmailEndpoints) ProtoMessage()

func (*EmailEndpoints) ProtoReflect

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

func (*EmailEndpoints) Reset

func (x *EmailEndpoints) Reset()

func (*EmailEndpoints) String

func (x *EmailEndpoints) String() string

type EmailSettings

type EmailSettings struct {

	// from is the email address to send from
	From *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	// smarthost is the hostname and port of the SMTP server
	Smarthost *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=smarthost,proto3" json:"smarthost,omitempty"`
	// auth_username the username to use when sending emails
	// required for all auth methods
	AuthUsername *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=auth_username,json=authUsername,proto3" json:"auth_username,omitempty"`
	// auth_password the password to use when sending emails
	AuthPassword *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"`
	// require_tls always use TLS connections when sending emails
	RequireTls *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=require_tls,json=requireTls,proto3" json:"require_tls,omitempty"`
	// single_alert_per_email configures the Alerter such that each alert generates a separate email
	// notification, the email will only have a single notification, the format will also be different
	SingleAlertPerEmail *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=single_alert_per_email,json=singleAlertPerEmail,proto3" json:"single_alert_per_email,omitempty"`
	// azure_o_auth used for auth when using an Azure smtp server
	// uses auth_username
	AzureOAuth *AzureOAuth `protobuf:"bytes,7,opt,name=azure_o_auth,json=azureOAuth,proto3" json:"azure_o_auth,omitempty"`
	// contains filtered or unexported fields
}

EmailSettings contain the settings for the sending of emails

func (*EmailSettings) Descriptor deprecated

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

Deprecated: Use EmailSettings.ProtoReflect.Descriptor instead.

func (*EmailSettings) GetAuthPassword

func (x *EmailSettings) GetAuthPassword() *wrapperspb.StringValue

func (*EmailSettings) GetAuthUsername

func (x *EmailSettings) GetAuthUsername() *wrapperspb.StringValue

func (*EmailSettings) GetAzureOAuth

func (x *EmailSettings) GetAzureOAuth() *AzureOAuth

func (*EmailSettings) GetFrom

func (x *EmailSettings) GetFrom() *wrapperspb.StringValue

func (*EmailSettings) GetRequireTls

func (x *EmailSettings) GetRequireTls() *wrapperspb.BoolValue

func (*EmailSettings) GetSingleAlertPerEmail

func (x *EmailSettings) GetSingleAlertPerEmail() *wrapperspb.BoolValue

func (*EmailSettings) GetSmarthost

func (x *EmailSettings) GetSmarthost() *wrapperspb.StringValue

func (*EmailSettings) ProtoMessage

func (*EmailSettings) ProtoMessage()

func (*EmailSettings) ProtoReflect

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

func (*EmailSettings) Reset

func (x *EmailSettings) Reset()

func (*EmailSettings) String

func (x *EmailSettings) String() string

type EndpointError

type EndpointError struct {

	// endpoint_type indicates the type of endpoint which failed,
	// or unknown if not endpoint-specific (eg: slack, opsgenie)
	EndpointType *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=endpoint_type,json=endpointType,proto3" json:"endpoint_type,omitempty"`
	// broadcast_group_name is the name of the broadcast group which was being used,
	// empty string if not group specific
	BroadcastGroupName *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=broadcast_group_name,json=broadcastGroupName,proto3" json:"broadcast_group_name,omitempty"`
	// config_index is the index of the config on the broadcast group or -1 if not applicable
	// eg: if there are two email config in one broadcast group, then the indices for each are 0 and 1
	// note that these are done per type, so only counting email/slack/...
	ConfigIndex *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=config_index,json=configIndex,proto3" json:"config_index,omitempty"`
	// error_type is the type of error, this allows custom handling of different error types
	ErrorType EndpointErrorType `` /* 128-byte string literal not displayed */
	// error is a user-friendly error message
	Error *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

EndpointError is an error caused by a failure to send alert(s) for any reason

func (*EndpointError) Descriptor deprecated

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

Deprecated: Use EndpointError.ProtoReflect.Descriptor instead.

func (*EndpointError) GetBroadcastGroupName

func (x *EndpointError) GetBroadcastGroupName() *wrapperspb.StringValue

func (*EndpointError) GetConfigIndex

func (x *EndpointError) GetConfigIndex() *wrapperspb.Int32Value

func (*EndpointError) GetEndpointType

func (x *EndpointError) GetEndpointType() *wrapperspb.StringValue

func (*EndpointError) GetError

func (x *EndpointError) GetError() *wrapperspb.StringValue

func (*EndpointError) GetErrorType

func (x *EndpointError) GetErrorType() EndpointErrorType

func (*EndpointError) ProtoMessage

func (*EndpointError) ProtoMessage()

func (*EndpointError) ProtoReflect

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

func (*EndpointError) Reset

func (x *EndpointError) Reset()

func (*EndpointError) String

func (x *EndpointError) String() string

type EndpointErrorType

type EndpointErrorType int32

EndpointErrorType describe the set of possible endpoint types

const (
	// ENDPOINT_ERROR_TYPE_UNSPECIFIED is the unspecified enum value
	EndpointErrorType_ENDPOINT_ERROR_TYPE_UNSPECIFIED EndpointErrorType = 0
	// ENDPOINT_ERROR_TYPE_HTTP_POST_ERROR an error in sending HTTP request or reading a HTTP
	// response
	EndpointErrorType_ENDPOINT_ERROR_TYPE_HTTP_POST_ERROR EndpointErrorType = 1
	// ENDPOINT_ERROR_TYPE_JSON_MARSHAL_ERROR is caused by errors while encoding json
	EndpointErrorType_ENDPOINT_ERROR_TYPE_JSON_MARSHAL_ERROR EndpointErrorType = 2
	// ENDPOINT_ERROR_TYPE_INVALID_CONFIG_ERROR is an error caused by invalid config (missing,
	// bad format, etc)
	EndpointErrorType_ENDPOINT_ERROR_TYPE_INVALID_CONFIG_ERROR EndpointErrorType = 3
	// ENDPOINT_ERROR_TYPE_TEMPLATE_ERROR is caused by errors while executing templates
	EndpointErrorType_ENDPOINT_ERROR_TYPE_TEMPLATE_ERROR EndpointErrorType = 4
	// ENDPOINT_ERROR_TYPE_BAD_RESPONSE_ERROR is caused by receiving a negative response from an
	// endpoint indicating that the alert was not sent
	EndpointErrorType_ENDPOINT_ERROR_TYPE_BAD_RESPONSE_ERROR EndpointErrorType = 5
	// ENDPOINT_ERROR_TYPE_SMTP_ERROR is caused by errors with SMTP
	EndpointErrorType_ENDPOINT_ERROR_TYPE_SMTP_ERROR EndpointErrorType = 6
	// ENDPOINT_ERROR_TYPE_CONNECTION_ERROR is caused by errors with a connection
	EndpointErrorType_ENDPOINT_ERROR_TYPE_CONNECTION_ERROR EndpointErrorType = 7
	// ENDPOINT_ERROR_TYPE_TIMEOUT_ERROR is caused by errors with a connection
	EndpointErrorType_ENDPOINT_ERROR_TYPE_TIMEOUT_ERROR EndpointErrorType = 8
	// ENDPOINT_ERROR_TYPE_RATE_LIMIT_ERROR is caused by an Alerter rate limit being exceeded
	EndpointErrorType_ENDPOINT_ERROR_TYPE_RATE_LIMIT_ERROR EndpointErrorType = 9
	// ENDPOINT_ERROR_TYPE_ALERT_CAP_ERROR is caused by the number of alerts sent to a sender
	// exceeding the built-in limit
	EndpointErrorType_ENDPOINT_ERROR_TYPE_ALERT_CAP_ERROR EndpointErrorType = 10
	// ENDPOINT_ERROR_TYPE_O_AUTH_ERROR is caused when we failed authenticating using the
	// OAuth apis
	EndpointErrorType_ENDPOINT_ERROR_TYPE_O_AUTH_ERROR EndpointErrorType = 11
)

func (EndpointErrorType) Descriptor

func (EndpointErrorType) Enum

func (EndpointErrorType) EnumDescriptor deprecated

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

Deprecated: Use EndpointErrorType.Descriptor instead.

func (EndpointErrorType) Number

func (EndpointErrorType) String

func (x EndpointErrorType) String() string

func (EndpointErrorType) Type

type EndpointErrors

type EndpointErrors struct {

	// values is the list of errors
	Values []*EndpointError `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

EndpointErrors is a set of errors related to sending of alerts

func (*EndpointErrors) Descriptor deprecated

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

Deprecated: Use EndpointErrors.ProtoReflect.Descriptor instead.

func (*EndpointErrors) GetValues

func (x *EndpointErrors) GetValues() []*EndpointError

func (*EndpointErrors) ProtoMessage

func (*EndpointErrors) ProtoMessage()

func (*EndpointErrors) ProtoReflect

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

func (*EndpointErrors) Reset

func (x *EndpointErrors) Reset()

func (*EndpointErrors) String

func (x *EndpointErrors) String() string

type EventList

type EventList struct {

	// event_types contain the event types
	EventTypes *fmp.RepeatedString `protobuf:"bytes,1,opt,name=event_types,json=eventTypes,proto3" json:"event_types,omitempty"`
	// contains filtered or unexported fields
}

EventList is a list of event types

func (*EventList) Descriptor deprecated

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

Deprecated: Use EventList.ProtoReflect.Descriptor instead.

func (*EventList) GetEventTypes

func (x *EventList) GetEventTypes() *fmp.RepeatedString

func (*EventList) ProtoMessage

func (*EventList) ProtoMessage()

func (*EventList) ProtoReflect

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

func (*EventList) Reset

func (x *EventList) Reset()

func (*EventList) String

func (x *EventList) String() string

type GoogleChatEndpoint

type GoogleChatEndpoint struct {

	// send_resolved send alerts when events are resolved along with when they are triggered
	SendResolved *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"`
	// http_override is the override of the global http settings
	HttpOverride *HttpSettings `protobuf:"bytes,2,opt,name=http_override,json=httpOverride,proto3" json:"http_override,omitempty"`
	// settings_override is the override for the google chat global endpoint settings
	SettingsOverride *GoogleChatSettings `protobuf:"bytes,3,opt,name=settings_override,json=settingsOverride,proto3" json:"settings_override,omitempty"`
	// contains filtered or unexported fields
}

GoogleChatEndpoint contains the required information for an alert to be sent to a google chat endpoint

func (*GoogleChatEndpoint) Descriptor deprecated

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

Deprecated: Use GoogleChatEndpoint.ProtoReflect.Descriptor instead.

func (*GoogleChatEndpoint) GetHttpOverride

func (x *GoogleChatEndpoint) GetHttpOverride() *HttpSettings

func (*GoogleChatEndpoint) GetSendResolved

func (x *GoogleChatEndpoint) GetSendResolved() *wrapperspb.BoolValue

func (*GoogleChatEndpoint) GetSettingsOverride

func (x *GoogleChatEndpoint) GetSettingsOverride() *GoogleChatSettings

func (*GoogleChatEndpoint) ProtoMessage

func (*GoogleChatEndpoint) ProtoMessage()

func (*GoogleChatEndpoint) ProtoReflect

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

func (*GoogleChatEndpoint) Reset

func (x *GoogleChatEndpoint) Reset()

func (*GoogleChatEndpoint) String

func (x *GoogleChatEndpoint) String() string

type GoogleChatEndpoints

type GoogleChatEndpoints struct {

	// values are the elements of the set
	Values []*GoogleChatEndpoint `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

GoogleChatEndpoints is a set of googleChat endpoints

func (*GoogleChatEndpoints) Descriptor deprecated

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

Deprecated: Use GoogleChatEndpoints.ProtoReflect.Descriptor instead.

func (*GoogleChatEndpoints) GetValues

func (x *GoogleChatEndpoints) GetValues() []*GoogleChatEndpoint

func (*GoogleChatEndpoints) ProtoMessage

func (*GoogleChatEndpoints) ProtoMessage()

func (*GoogleChatEndpoints) ProtoReflect

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

func (*GoogleChatEndpoints) Reset

func (x *GoogleChatEndpoints) Reset()

func (*GoogleChatEndpoints) String

func (x *GoogleChatEndpoints) String() string

type GoogleChatSettings

type GoogleChatSettings struct {

	// url is the url of the webhook to send alerts to
	Url *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

GoogleChatSettings contain the settings for sending alerts to google chat

func (*GoogleChatSettings) Descriptor deprecated

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

Deprecated: Use GoogleChatSettings.ProtoReflect.Descriptor instead.

func (*GoogleChatSettings) GetUrl

func (*GoogleChatSettings) ProtoMessage

func (*GoogleChatSettings) ProtoMessage()

func (*GoogleChatSettings) ProtoReflect

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

func (*GoogleChatSettings) Reset

func (x *GoogleChatSettings) Reset()

func (*GoogleChatSettings) String

func (x *GoogleChatSettings) String() string

type HeaderValues

type HeaderValues struct {

	// values is the header values
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

HeaderValues is a set of values for this header

func (*HeaderValues) Descriptor deprecated

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

Deprecated: Use HeaderValues.ProtoReflect.Descriptor instead.

func (*HeaderValues) GetValues

func (x *HeaderValues) GetValues() []string

func (*HeaderValues) ProtoMessage

func (*HeaderValues) ProtoMessage()

func (*HeaderValues) ProtoReflect

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

func (*HeaderValues) Reset

func (x *HeaderValues) Reset()

func (*HeaderValues) String

func (x *HeaderValues) String() string

type HttpHeaders

type HttpHeaders struct {

	// values is a map of http header names to values
	Values map[string]*HeaderValues `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

HttpHeaders is a set of http headers

func (*HttpHeaders) Descriptor deprecated

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

Deprecated: Use HttpHeaders.ProtoReflect.Descriptor instead.

func (*HttpHeaders) GetValues

func (x *HttpHeaders) GetValues() map[string]*HeaderValues

func (*HttpHeaders) ProtoMessage

func (*HttpHeaders) ProtoMessage()

func (*HttpHeaders) ProtoReflect

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

func (*HttpHeaders) Reset

func (x *HttpHeaders) Reset()

func (*HttpHeaders) String

func (x *HttpHeaders) String() string

type HttpSettings

type HttpSettings struct {

	// username is the username to use when connecting to the http proxy
	Username *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// password is the password to use when connecting to the http proxy
	Password *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// proxy_url is the url for the http proxy
	ProxyUrl *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=proxy_url,json=proxyUrl,proto3" json:"proxy_url,omitempty"`
	// custom_headers is custom http headers to be used along with the default headers
	CustomHeaders *HttpHeaders `protobuf:"bytes,4,opt,name=custom_headers,json=customHeaders,proto3" json:"custom_headers,omitempty"`
	// contains filtered or unexported fields
}

HttpSettings are the settings to be used when sending various message over a http connection

func (*HttpSettings) Descriptor deprecated

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

Deprecated: Use HttpSettings.ProtoReflect.Descriptor instead.

func (*HttpSettings) GetCustomHeaders

func (x *HttpSettings) GetCustomHeaders() *HttpHeaders

func (*HttpSettings) GetPassword

func (x *HttpSettings) GetPassword() *wrapperspb.StringValue

func (*HttpSettings) GetProxyUrl

func (x *HttpSettings) GetProxyUrl() *wrapperspb.StringValue

func (*HttpSettings) GetUsername

func (x *HttpSettings) GetUsername() *wrapperspb.StringValue

func (*HttpSettings) ProtoMessage

func (*HttpSettings) ProtoMessage()

func (*HttpSettings) ProtoReflect

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

func (*HttpSettings) Reset

func (x *HttpSettings) Reset()

func (*HttpSettings) String

func (x *HttpSettings) String() string

type InhibitionSettings

type InhibitionSettings struct {

	// values is a map where the keys are event type which when active will suppress any events with
	// event types in the related EventList
	Values map[string]*EventList `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

InhibitionSettings allows certain event types to be suppressed while other event types are active

func (*InhibitionSettings) Descriptor deprecated

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

Deprecated: Use InhibitionSettings.ProtoReflect.Descriptor instead.

func (*InhibitionSettings) GetValues

func (x *InhibitionSettings) GetValues() map[string]*EventList

func (*InhibitionSettings) ProtoMessage

func (*InhibitionSettings) ProtoMessage()

func (*InhibitionSettings) ProtoReflect

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

func (*InhibitionSettings) Reset

func (x *InhibitionSettings) Reset()

func (*InhibitionSettings) String

func (x *InhibitionSettings) String() string

type Matches

type Matches struct {

	// severities is a list of severities to filter on,
	// if an event does not have one of these severities, it will not match
	// Valid values are DEBUG, INFO, WARNING, ERROR and CRITICAL
	Severities *fmp.RepeatedString `protobuf:"bytes,1,opt,name=severities,proto3" json:"severities,omitempty"`
	// devices is a list of device IDs to filter on,
	// if an event does not belong to one of these devices, it will not match
	Devices *fmp.RepeatedString `protobuf:"bytes,2,opt,name=devices,proto3" json:"devices,omitempty"`
	// event_types is a list of event types to filter on,
	// if an event does not have one of these event types, it will not match
	EventTypes *fmp.RepeatedString `protobuf:"bytes,3,opt,name=event_types,json=eventTypes,proto3" json:"event_types,omitempty"`
	// device_tags is a string tag query that is used to match on the event's device tags
	DeviceTags *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=device_tags,json=deviceTags,proto3" json:"device_tags,omitempty"`
	// intf_tags is a string tag query that is used to match on the event's interface tags
	IntfTags *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=intf_tags,json=intfTags,proto3" json:"intf_tags,omitempty"`
	// rule_ids is a list of rule IDs to filter on,
	// if an event does not have one of these rule IDs, it will not match
	RuleIds *fmp.RepeatedString `protobuf:"bytes,6,opt,name=rule_ids,json=ruleIds,proto3" json:"rule_ids,omitempty"`
	// contains filtered or unexported fields
}

Matches is a set of restrictions that must be satisfied for a rule to be matched Empty fields are ignored for matching purposes. Condition contents are OR'd and then AND'd with the other criteria

func (*Matches) Descriptor deprecated

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

Deprecated: Use Matches.ProtoReflect.Descriptor instead.

func (*Matches) GetDeviceTags

func (x *Matches) GetDeviceTags() *wrapperspb.StringValue

func (*Matches) GetDevices

func (x *Matches) GetDevices() *fmp.RepeatedString

func (*Matches) GetEventTypes

func (x *Matches) GetEventTypes() *fmp.RepeatedString

func (*Matches) GetIntfTags

func (x *Matches) GetIntfTags() *wrapperspb.StringValue

func (*Matches) GetRuleIds

func (x *Matches) GetRuleIds() *fmp.RepeatedString

func (*Matches) GetSeverities

func (x *Matches) GetSeverities() *fmp.RepeatedString

func (*Matches) ProtoMessage

func (*Matches) ProtoMessage()

func (*Matches) ProtoReflect

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

func (*Matches) Reset

func (x *Matches) Reset()

func (*Matches) String

func (x *Matches) String() string

type MetaResponse

type MetaResponse struct {

	// Time holds the timestamp of the last item included in the metadata calculation.
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// Operation indicates how the value in this response should be considered.
	// Under non-subscribe requests, this value should always be INITIAL. In a subscription,
	// once all initial data is streamed and the client begins to receive modification updates,
	// you should not see INITIAL again.
	Type subscriptions.Operation `protobuf:"varint,2,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"`
	// Count is the number of items present under the conditions of the request.
	Count *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*MetaResponse) Descriptor deprecated

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

Deprecated: Use MetaResponse.ProtoReflect.Descriptor instead.

func (*MetaResponse) GetCount

func (x *MetaResponse) GetCount() *wrapperspb.UInt32Value

func (*MetaResponse) GetTime

func (x *MetaResponse) GetTime() *timestamppb.Timestamp

func (*MetaResponse) GetType

func (x *MetaResponse) GetType() subscriptions.Operation

func (*MetaResponse) ProtoMessage

func (*MetaResponse) ProtoMessage()

func (*MetaResponse) ProtoReflect

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

func (*MetaResponse) Reset

func (x *MetaResponse) Reset()

func (*MetaResponse) String

func (x *MetaResponse) String() string

type MsTeamsEndpoint

type MsTeamsEndpoint struct {

	// send_resolved send alerts when events are resolved along with when they are triggered
	SendResolved *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"`
	// http_override is the override of the global http settings
	HttpOverride *HttpSettings `protobuf:"bytes,2,opt,name=http_override,json=httpOverride,proto3" json:"http_override,omitempty"`
	// settings_override is the override for the microsoft teams global endpoint settings
	SettingsOverride *MsTeamsSettings `protobuf:"bytes,3,opt,name=settings_override,json=settingsOverride,proto3" json:"settings_override,omitempty"`
	// contains filtered or unexported fields
}

MsTeamsEndpoint contains the required information for an alert to be sent to an ms teams endpoint

func (*MsTeamsEndpoint) Descriptor deprecated

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

Deprecated: Use MsTeamsEndpoint.ProtoReflect.Descriptor instead.

func (*MsTeamsEndpoint) GetHttpOverride

func (x *MsTeamsEndpoint) GetHttpOverride() *HttpSettings

func (*MsTeamsEndpoint) GetSendResolved

func (x *MsTeamsEndpoint) GetSendResolved() *wrapperspb.BoolValue

func (*MsTeamsEndpoint) GetSettingsOverride

func (x *MsTeamsEndpoint) GetSettingsOverride() *MsTeamsSettings

func (*MsTeamsEndpoint) ProtoMessage

func (*MsTeamsEndpoint) ProtoMessage()

func (*MsTeamsEndpoint) ProtoReflect

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

func (*MsTeamsEndpoint) Reset

func (x *MsTeamsEndpoint) Reset()

func (*MsTeamsEndpoint) String

func (x *MsTeamsEndpoint) String() string

type MsTeamsEndpoints

type MsTeamsEndpoints struct {

	// values are the elements of the set
	Values []*MsTeamsEndpoint `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

MsTeamsEndpoints is a set of ms teams endpoints

func (*MsTeamsEndpoints) Descriptor deprecated

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

Deprecated: Use MsTeamsEndpoints.ProtoReflect.Descriptor instead.

func (*MsTeamsEndpoints) GetValues

func (x *MsTeamsEndpoints) GetValues() []*MsTeamsEndpoint

func (*MsTeamsEndpoints) ProtoMessage

func (*MsTeamsEndpoints) ProtoMessage()

func (*MsTeamsEndpoints) ProtoReflect

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

func (*MsTeamsEndpoints) Reset

func (x *MsTeamsEndpoints) Reset()

func (*MsTeamsEndpoints) String

func (x *MsTeamsEndpoints) String() string

type MsTeamsSettings

type MsTeamsSettings struct {

	// url is the url of the webhook to send alerts to
	Url *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

MsTeamsSettings contain the settings for sending alerts to MS Teams

func (*MsTeamsSettings) Descriptor deprecated

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

Deprecated: Use MsTeamsSettings.ProtoReflect.Descriptor instead.

func (*MsTeamsSettings) GetUrl

func (x *MsTeamsSettings) GetUrl() *wrapperspb.StringValue

func (*MsTeamsSettings) ProtoMessage

func (*MsTeamsSettings) ProtoMessage()

func (*MsTeamsSettings) ProtoReflect

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

func (*MsTeamsSettings) Reset

func (x *MsTeamsSettings) Reset()

func (*MsTeamsSettings) String

func (x *MsTeamsSettings) String() string

type OpsgenieEndpoint

type OpsgenieEndpoint struct {

	// send_resolved send alerts when events are resolved along with when they are triggered
	SendResolved *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"`
	// http_override is the override of the global http settings
	HttpOverride *HttpSettings `protobuf:"bytes,2,opt,name=http_override,json=httpOverride,proto3" json:"http_override,omitempty"`
	// settings_override is the override for the opsgenie global endpoint settings
	SettingsOverride *OpsgenieSettings `protobuf:"bytes,3,opt,name=settings_override,json=settingsOverride,proto3" json:"settings_override,omitempty"`
	// contains filtered or unexported fields
}

OpsgenieEndpoint contains the required information for an alert to be sent to an opsgenie endpoint

func (*OpsgenieEndpoint) Descriptor deprecated

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

Deprecated: Use OpsgenieEndpoint.ProtoReflect.Descriptor instead.

func (*OpsgenieEndpoint) GetHttpOverride

func (x *OpsgenieEndpoint) GetHttpOverride() *HttpSettings

func (*OpsgenieEndpoint) GetSendResolved

func (x *OpsgenieEndpoint) GetSendResolved() *wrapperspb.BoolValue

func (*OpsgenieEndpoint) GetSettingsOverride

func (x *OpsgenieEndpoint) GetSettingsOverride() *OpsgenieSettings

func (*OpsgenieEndpoint) ProtoMessage

func (*OpsgenieEndpoint) ProtoMessage()

func (*OpsgenieEndpoint) ProtoReflect

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

func (*OpsgenieEndpoint) Reset

func (x *OpsgenieEndpoint) Reset()

func (*OpsgenieEndpoint) String

func (x *OpsgenieEndpoint) String() string

type OpsgenieEndpoints

type OpsgenieEndpoints struct {

	// values are the elements of the set
	Values []*OpsgenieEndpoint `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

OpsgenieEndpoints is a set of opsgenie endpoints

func (*OpsgenieEndpoints) Descriptor deprecated

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

Deprecated: Use OpsgenieEndpoints.ProtoReflect.Descriptor instead.

func (*OpsgenieEndpoints) GetValues

func (x *OpsgenieEndpoints) GetValues() []*OpsgenieEndpoint

func (*OpsgenieEndpoints) ProtoMessage

func (*OpsgenieEndpoints) ProtoMessage()

func (*OpsgenieEndpoints) ProtoReflect

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

func (*OpsgenieEndpoints) Reset

func (x *OpsgenieEndpoints) Reset()

func (*OpsgenieEndpoints) String

func (x *OpsgenieEndpoints) String() string

type OpsgenieSettings

type OpsgenieSettings struct {

	// key is the API key to use when talking to the OpsGenie API
	Key *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// url is the url to use when sending alerts to opsgenie
	Url *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

OpsgenieSettings contain the settings for sending alerts to opsgenie

func (*OpsgenieSettings) Descriptor deprecated

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

Deprecated: Use OpsgenieSettings.ProtoReflect.Descriptor instead.

func (*OpsgenieSettings) GetKey

func (*OpsgenieSettings) GetUrl

func (*OpsgenieSettings) ProtoMessage

func (*OpsgenieSettings) ProtoMessage()

func (*OpsgenieSettings) ProtoReflect

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

func (*OpsgenieSettings) Reset

func (x *OpsgenieSettings) Reset()

func (*OpsgenieSettings) String

func (x *OpsgenieSettings) String() string

type PagerdutyEndpoint

type PagerdutyEndpoint struct {

	// send_resolved send alerts when events are resolved along with when they are triggered
	SendResolved *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"`
	// routing_key is the routing key for sending pagerduty alerts
	RoutingKey *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=routing_key,json=routingKey,proto3" json:"routing_key,omitempty"`
	// http_override is the override of the global http settings
	HttpOverride *HttpSettings `protobuf:"bytes,3,opt,name=http_override,json=httpOverride,proto3" json:"http_override,omitempty"`
	// settings_override is the override for the pagerduty global endpoint settings
	SettingsOverride *PagerdutySettings `protobuf:"bytes,4,opt,name=settings_override,json=settingsOverride,proto3" json:"settings_override,omitempty"`
	// contains filtered or unexported fields
}

PagerdutyEndpoint contains the required information for an alert to be sent to a pagerduty endpoint

func (*PagerdutyEndpoint) Descriptor deprecated

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

Deprecated: Use PagerdutyEndpoint.ProtoReflect.Descriptor instead.

func (*PagerdutyEndpoint) GetHttpOverride

func (x *PagerdutyEndpoint) GetHttpOverride() *HttpSettings

func (*PagerdutyEndpoint) GetRoutingKey

func (x *PagerdutyEndpoint) GetRoutingKey() *wrapperspb.StringValue

func (*PagerdutyEndpoint) GetSendResolved

func (x *PagerdutyEndpoint) GetSendResolved() *wrapperspb.BoolValue

func (*PagerdutyEndpoint) GetSettingsOverride

func (x *PagerdutyEndpoint) GetSettingsOverride() *PagerdutySettings

func (*PagerdutyEndpoint) ProtoMessage

func (*PagerdutyEndpoint) ProtoMessage()

func (*PagerdutyEndpoint) ProtoReflect

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

func (*PagerdutyEndpoint) Reset

func (x *PagerdutyEndpoint) Reset()

func (*PagerdutyEndpoint) String

func (x *PagerdutyEndpoint) String() string

type PagerdutyEndpoints

type PagerdutyEndpoints struct {

	// values are the elements of the set
	Values []*PagerdutyEndpoint `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

PagerdutyEndpoints is a set of pagerduty endpoints

func (*PagerdutyEndpoints) Descriptor deprecated

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

Deprecated: Use PagerdutyEndpoints.ProtoReflect.Descriptor instead.

func (*PagerdutyEndpoints) GetValues

func (x *PagerdutyEndpoints) GetValues() []*PagerdutyEndpoint

func (*PagerdutyEndpoints) ProtoMessage

func (*PagerdutyEndpoints) ProtoMessage()

func (*PagerdutyEndpoints) ProtoReflect

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

func (*PagerdutyEndpoints) Reset

func (x *PagerdutyEndpoints) Reset()

func (*PagerdutyEndpoints) String

func (x *PagerdutyEndpoints) String() string

type PagerdutySettings

type PagerdutySettings struct {

	// url is the url to use when sending alerts to pagerduty
	Url *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

PagerdutySettings contain the settings for sending alerts to pagerduty

func (*PagerdutySettings) Descriptor deprecated

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

Deprecated: Use PagerdutySettings.ProtoReflect.Descriptor instead.

func (*PagerdutySettings) GetUrl

func (*PagerdutySettings) ProtoMessage

func (*PagerdutySettings) ProtoMessage()

func (*PagerdutySettings) ProtoReflect

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

func (*PagerdutySettings) Reset

func (x *PagerdutySettings) Reset()

func (*PagerdutySettings) String

func (x *PagerdutySettings) String() string

type Priorities

type Priorities struct {

	// critical priority, default = 2 (Critical)
	Critical *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=critical,proto3" json:"critical,omitempty"`
	// error priority, default = 3 (Error)
	Error *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// warn priority, default = 4 (Warning)
	Warn *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=warn,proto3" json:"warn,omitempty"`
	// info priority, default = 6 (Informational)
	Info *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

Priorities is a mapping of CV event severities to syslog severities

func (*Priorities) Descriptor deprecated

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

Deprecated: Use Priorities.ProtoReflect.Descriptor instead.

func (*Priorities) GetCritical

func (x *Priorities) GetCritical() *wrapperspb.Int32Value

func (*Priorities) GetError

func (x *Priorities) GetError() *wrapperspb.Int32Value

func (*Priorities) GetInfo

func (x *Priorities) GetInfo() *wrapperspb.Int32Value

func (*Priorities) GetWarn

func (x *Priorities) GetWarn() *wrapperspb.Int32Value

func (*Priorities) ProtoMessage

func (*Priorities) ProtoMessage()

func (*Priorities) ProtoReflect

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

func (*Priorities) Reset

func (x *Priorities) Reset()

func (*Priorities) String

func (x *Priorities) String() string

type PushoverEndpoint

type PushoverEndpoint struct {

	// send_resolved send alerts when events are resolved along with when they are triggered
	SendResolved *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"`
	// token is the user's registered application's API token, see https://pushover.net/apps
	Token *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// user_key is the user's user key
	UserKey *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=user_key,json=userKey,proto3" json:"user_key,omitempty"`
	// http_override is the override of the global http settings
	HttpOverride *HttpSettings `protobuf:"bytes,4,opt,name=http_override,json=httpOverride,proto3" json:"http_override,omitempty"` // Pushover does not have a settings override
	// contains filtered or unexported fields
}

PushoverEndpoint contains the required information for an alert to be sent to a pushover endpoint

func (*PushoverEndpoint) Descriptor deprecated

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

Deprecated: Use PushoverEndpoint.ProtoReflect.Descriptor instead.

func (*PushoverEndpoint) GetHttpOverride

func (x *PushoverEndpoint) GetHttpOverride() *HttpSettings

func (*PushoverEndpoint) GetSendResolved

func (x *PushoverEndpoint) GetSendResolved() *wrapperspb.BoolValue

func (*PushoverEndpoint) GetToken

func (x *PushoverEndpoint) GetToken() *wrapperspb.StringValue

func (*PushoverEndpoint) GetUserKey

func (x *PushoverEndpoint) GetUserKey() *wrapperspb.StringValue

func (*PushoverEndpoint) ProtoMessage

func (*PushoverEndpoint) ProtoMessage()

func (*PushoverEndpoint) ProtoReflect

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

func (*PushoverEndpoint) Reset

func (x *PushoverEndpoint) Reset()

func (*PushoverEndpoint) String

func (x *PushoverEndpoint) String() string

type PushoverEndpoints

type PushoverEndpoints struct {

	// values are the elements of the set
	Values []*PushoverEndpoint `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

PushoverEndpoints is a set of pushover endpoints

func (*PushoverEndpoints) Descriptor deprecated

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

Deprecated: Use PushoverEndpoints.ProtoReflect.Descriptor instead.

func (*PushoverEndpoints) GetValues

func (x *PushoverEndpoints) GetValues() []*PushoverEndpoint

func (*PushoverEndpoints) ProtoMessage

func (*PushoverEndpoints) ProtoMessage()

func (*PushoverEndpoints) ProtoReflect

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

func (*PushoverEndpoints) Reset

func (x *PushoverEndpoints) Reset()

func (*PushoverEndpoints) String

func (x *PushoverEndpoints) String() string

type Rule

type Rule struct {

	// sends_to is the name of the broadcast group top send matching alerts to
	SendsTo *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=sends_to,json=sendsTo,proto3" json:"sends_to,omitempty"`
	// match_criteria is the criteria that an alert must match to be sent to the broadcast group
	MatchCriteria *Matches `protobuf:"bytes,2,opt,name=match_criteria,json=matchCriteria,proto3" json:"match_criteria,omitempty"`
	// continue_checks if true, causes alerts matching this rule's criteria to continue
	// checking against other rules, allowing for additional matches. If false,
	// alerts matching this rule will not proceed with checking
	ContinueChecks *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=continue_checks,json=continueChecks,proto3" json:"continue_checks,omitempty"`
	// comment is a comment to include that will be displayed in the alert
	Comment *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

Rule is a rule to send to a certain broadcast group

func (*Rule) Descriptor deprecated

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

Deprecated: Use Rule.ProtoReflect.Descriptor instead.

func (*Rule) GetComment

func (x *Rule) GetComment() *wrapperspb.StringValue

func (*Rule) GetContinueChecks

func (x *Rule) GetContinueChecks() *wrapperspb.BoolValue

func (*Rule) GetMatchCriteria

func (x *Rule) GetMatchCriteria() *Matches

func (*Rule) GetSendsTo

func (x *Rule) GetSendsTo() *wrapperspb.StringValue

func (*Rule) ProtoMessage

func (*Rule) ProtoMessage()

func (*Rule) ProtoReflect

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

func (*Rule) Reset

func (x *Rule) Reset()

func (*Rule) String

func (x *Rule) String() string

type Rules

type Rules struct {

	// values contains the rules
	Values []*Rule `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

Rules is a list of rules which dictates which events generate alerts for which broadcast groups

func (*Rules) Descriptor deprecated

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

Deprecated: Use Rules.ProtoReflect.Descriptor instead.

func (*Rules) GetValues

func (x *Rules) GetValues() []*Rule

func (*Rules) ProtoMessage

func (*Rules) ProtoMessage()

func (*Rules) ProtoReflect

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

func (*Rules) Reset

func (x *Rules) Reset()

func (*Rules) String

func (x *Rules) String() string

type SNMPAuth

type SNMPAuth struct {

	// community is the community string used for authentication in SNMPv1 and v2c
	// required if version < 3
	Community *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=community,proto3" json:"community,omitempty"`
	// username the username for SNMPv3 auth
	Username *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// security_level the security level for SNMPv3
	SecurityLevel SNMPSecurityLevel `` /* 140-byte string literal not displayed */
	// authentication_protocol is the protocol to use for authentication in SNMPv3
	// required for AUTH_NO_PRIV/AUTH_PRIV security levels
	AuthenticationProtocol SNMPAuthProtocol `` /* 166-byte string literal not displayed */
	// authentication_passphrase is the passphrase to use for authentication in SNMPv3
	// required for AUTH_NO_PRIV/AUTH_PRIV security levels
	AuthenticationPassphrase *wrapperspb.StringValue `` /* 133-byte string literal not displayed */
	// privacy_protocol is the protocol to use for privacy in SNMPv3
	// required for AUTH_PRIV security level
	PrivacyProtocol SNMPPrivProtocol `` /* 145-byte string literal not displayed */
	// privacy_passphrase is the passphrase to use for privacy in SNMPv3
	// required for AUTH_PRIV security level
	PrivacyPassphrase *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=privacy_passphrase,json=privacyPassphrase,proto3" json:"privacy_passphrase,omitempty"`
	// contains filtered or unexported fields
}

SNMPAuth contain authentication information for SNMP

func (*SNMPAuth) Descriptor deprecated

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

Deprecated: Use SNMPAuth.ProtoReflect.Descriptor instead.

func (*SNMPAuth) GetAuthenticationPassphrase

func (x *SNMPAuth) GetAuthenticationPassphrase() *wrapperspb.StringValue

func (*SNMPAuth) GetAuthenticationProtocol

func (x *SNMPAuth) GetAuthenticationProtocol() SNMPAuthProtocol

func (*SNMPAuth) GetCommunity

func (x *SNMPAuth) GetCommunity() *wrapperspb.StringValue

func (*SNMPAuth) GetPrivacyPassphrase

func (x *SNMPAuth) GetPrivacyPassphrase() *wrapperspb.StringValue

func (*SNMPAuth) GetPrivacyProtocol

func (x *SNMPAuth) GetPrivacyProtocol() SNMPPrivProtocol

func (*SNMPAuth) GetSecurityLevel

func (x *SNMPAuth) GetSecurityLevel() SNMPSecurityLevel

func (*SNMPAuth) GetUsername

func (x *SNMPAuth) GetUsername() *wrapperspb.StringValue

func (*SNMPAuth) ProtoMessage

func (*SNMPAuth) ProtoMessage()

func (*SNMPAuth) ProtoReflect

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

func (*SNMPAuth) Reset

func (x *SNMPAuth) Reset()

func (*SNMPAuth) String

func (x *SNMPAuth) String() string

type SNMPAuthProtocol

type SNMPAuthProtocol int32

SNMPAuthProtocol represents the authentication protocol to be used

const (
	// SNMP_AUTH_PROTOCOL_UNSPECIFIED is the unspecified enum value
	SNMPAuthProtocol_SNMP_AUTH_PROTOCOL_UNSPECIFIED SNMPAuthProtocol = 0
	// SNMP_AUTH_PROTOCOL_MD5 use the md5 protocol
	SNMPAuthProtocol_SNMP_AUTH_PROTOCOL_MD5 SNMPAuthProtocol = 1
	// SNMP_AUTH_PROTOCOL_SHA use the sha protocol
	SNMPAuthProtocol_SNMP_AUTH_PROTOCOL_SHA SNMPAuthProtocol = 2
	// SNMP_AUTH_PROTOCOL_SHA_224 use the sha224 protocol
	SNMPAuthProtocol_SNMP_AUTH_PROTOCOL_SHA_224 SNMPAuthProtocol = 3
	// SNMP_AUTH_PROTOCOL_SHA_256 use the sha256 protocol
	SNMPAuthProtocol_SNMP_AUTH_PROTOCOL_SHA_256 SNMPAuthProtocol = 4
	// SNMP_AUTH_PROTOCOL_SHA_384 use the sha384 protocol
	SNMPAuthProtocol_SNMP_AUTH_PROTOCOL_SHA_384 SNMPAuthProtocol = 5
	// SNMP_AUTH_PROTOCOL_SHA_512 use the sha512 protocol
	SNMPAuthProtocol_SNMP_AUTH_PROTOCOL_SHA_512 SNMPAuthProtocol = 6
)

func (SNMPAuthProtocol) Descriptor

func (SNMPAuthProtocol) Enum

func (SNMPAuthProtocol) EnumDescriptor deprecated

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

Deprecated: Use SNMPAuthProtocol.Descriptor instead.

func (SNMPAuthProtocol) Number

func (SNMPAuthProtocol) String

func (x SNMPAuthProtocol) String() string

func (SNMPAuthProtocol) Type

type SNMPEndpoint

type SNMPEndpoint struct {

	// send_resolved send alerts when events are resolved along with when they are triggered
	SendResolved *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"`
	// settings_override is the override for the microsoft teams global endpoint settings
	SettingsOverride *SNMPSettings `protobuf:"bytes,2,opt,name=settings_override,json=settingsOverride,proto3" json:"settings_override,omitempty"`
	// contains filtered or unexported fields
}

SNMPEndpoint contains the required information for an alert to be sent to an SNMP endpoint

func (*SNMPEndpoint) Descriptor deprecated

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

Deprecated: Use SNMPEndpoint.ProtoReflect.Descriptor instead.

func (*SNMPEndpoint) GetSendResolved

func (x *SNMPEndpoint) GetSendResolved() *wrapperspb.BoolValue

func (*SNMPEndpoint) GetSettingsOverride

func (x *SNMPEndpoint) GetSettingsOverride() *SNMPSettings

func (*SNMPEndpoint) ProtoMessage

func (*SNMPEndpoint) ProtoMessage()

func (*SNMPEndpoint) ProtoReflect

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

func (*SNMPEndpoint) Reset

func (x *SNMPEndpoint) Reset()

func (*SNMPEndpoint) String

func (x *SNMPEndpoint) String() string

type SNMPEndpoints

type SNMPEndpoints struct {

	// values are the elements of the set
	Values []*SNMPEndpoint `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

SNMPEndpoints is a set of SNMP endpoints

func (*SNMPEndpoints) Descriptor deprecated

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

Deprecated: Use SNMPEndpoints.ProtoReflect.Descriptor instead.

func (*SNMPEndpoints) GetValues

func (x *SNMPEndpoints) GetValues() []*SNMPEndpoint

func (*SNMPEndpoints) ProtoMessage

func (*SNMPEndpoints) ProtoMessage()

func (*SNMPEndpoints) ProtoReflect

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

func (*SNMPEndpoints) Reset

func (x *SNMPEndpoints) Reset()

func (*SNMPEndpoints) String

func (x *SNMPEndpoints) String() string

type SNMPPrivProtocol

type SNMPPrivProtocol int32

SNMPPrivProtocol represents the privacy protocol to be used

const (
	// SNMP_PRIV_PROTOCOL_UNSPECIFIED is the unspecified enum value
	SNMPPrivProtocol_SNMP_PRIV_PROTOCOL_UNSPECIFIED SNMPPrivProtocol = 0
	// SNMP_PRIV_PROTOCOL_DES use the des protocol
	SNMPPrivProtocol_SNMP_PRIV_PROTOCOL_DES SNMPPrivProtocol = 1
	// SNMP_PRIV_PROTOCOL_AES use the aes protocol
	SNMPPrivProtocol_SNMP_PRIV_PROTOCOL_AES SNMPPrivProtocol = 2
	// SNMP_PRIV_PROTOCOL_AES_192 use the aes192 protocol
	SNMPPrivProtocol_SNMP_PRIV_PROTOCOL_AES_192 SNMPPrivProtocol = 3
	// SNMP_PRIV_PROTOCOL_AES_256 use the aes256 protocol
	SNMPPrivProtocol_SNMP_PRIV_PROTOCOL_AES_256 SNMPPrivProtocol = 4
	// SNMP_PRIV_PROTOCOL_AES_192C use the aes192c protocol
	SNMPPrivProtocol_SNMP_PRIV_PROTOCOL_AES_192C SNMPPrivProtocol = 5
	// SNMP_PRIV_PROTOCOL_AES_256C use the aes256c protocol
	SNMPPrivProtocol_SNMP_PRIV_PROTOCOL_AES_256C SNMPPrivProtocol = 6
)

func (SNMPPrivProtocol) Descriptor

func (SNMPPrivProtocol) Enum

func (SNMPPrivProtocol) EnumDescriptor deprecated

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

Deprecated: Use SNMPPrivProtocol.Descriptor instead.

func (SNMPPrivProtocol) Number

func (SNMPPrivProtocol) String

func (x SNMPPrivProtocol) String() string

func (SNMPPrivProtocol) Type

type SNMPSecurityLevel

type SNMPSecurityLevel int32

SNMPSecurityLevel indicates what level of security should be used

const (
	// SNMP_SECURITY_LEVEL_UNSPECIFIED is the unspecified enum value
	SNMPSecurityLevel_SNMP_SECURITY_LEVEL_UNSPECIFIED SNMPSecurityLevel = 0
	// SNMP_SECURITY_LEVEL_NO_AUTH_NO_PRIV use no security
	SNMPSecurityLevel_SNMP_SECURITY_LEVEL_NO_AUTH_NO_PRIV SNMPSecurityLevel = 1
	// SNMP_SECURITY_LEVEL_AUTH_NO_PRIV use authentication without privacy
	SNMPSecurityLevel_SNMP_SECURITY_LEVEL_AUTH_NO_PRIV SNMPSecurityLevel = 2
	// SNMP_SECURITY_LEVEL_AUTH_PRIV use both authentication and privacy
	SNMPSecurityLevel_SNMP_SECURITY_LEVEL_AUTH_PRIV SNMPSecurityLevel = 3
)

func (SNMPSecurityLevel) Descriptor

func (SNMPSecurityLevel) Enum

func (SNMPSecurityLevel) EnumDescriptor deprecated

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

Deprecated: Use SNMPSecurityLevel.Descriptor instead.

func (SNMPSecurityLevel) Number

func (SNMPSecurityLevel) String

func (x SNMPSecurityLevel) String() string

func (SNMPSecurityLevel) Type

type SNMPSettings

type SNMPSettings struct {

	// target is an ipv4 address to send messages to
	Target *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// port is the network port to target
	Port *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"`
	// transport is the transport protocol to use ("udp" or "tcp"); if unset "udp" will be used
	Transport *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=transport,proto3" json:"transport,omitempty"`
	// version is the SNMP version, v1, v2c and v3 are supported and can be set
	// with 1, 2 and 3 respectively
	Version *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// auth is optional authentication settings
	Auth *SNMPAuth `protobuf:"bytes,5,opt,name=auth,proto3" json:"auth,omitempty"`
	// engine_id is the engine ID that will be used by the Alerter
	// This should be a hexadecimal string, colon separators between bytes will be accepted when
	// writing, but will be absent when reading
	// optional: if excluded or left blank, this will be automatically generated
	EngineId *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=engine_id,json=engineId,proto3" json:"engine_id,omitempty"`
	// contains filtered or unexported fields
}

SNMPSettings contain the settings for sending alerts with SNMP

func (*SNMPSettings) Descriptor deprecated

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

Deprecated: Use SNMPSettings.ProtoReflect.Descriptor instead.

func (*SNMPSettings) GetAuth

func (x *SNMPSettings) GetAuth() *SNMPAuth

func (*SNMPSettings) GetEngineId

func (x *SNMPSettings) GetEngineId() *wrapperspb.StringValue

func (*SNMPSettings) GetPort

func (x *SNMPSettings) GetPort() *wrapperspb.Int32Value

func (*SNMPSettings) GetTarget

func (x *SNMPSettings) GetTarget() *wrapperspb.StringValue

func (*SNMPSettings) GetTransport

func (x *SNMPSettings) GetTransport() *wrapperspb.StringValue

func (*SNMPSettings) GetVersion

func (x *SNMPSettings) GetVersion() *wrapperspb.Int32Value

func (*SNMPSettings) ProtoMessage

func (*SNMPSettings) ProtoMessage()

func (*SNMPSettings) ProtoReflect

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

func (*SNMPSettings) Reset

func (x *SNMPSettings) Reset()

func (*SNMPSettings) String

func (x *SNMPSettings) String() string

type SendgridEndpoint

type SendgridEndpoint struct {

	// send_resolved send alerts when events are resolved along with when they are triggered
	SendResolved *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"`
	// to address to send email to
	To *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// http_override is the override of the global http settings
	HttpOverride *HttpSettings `protobuf:"bytes,3,opt,name=http_override,json=httpOverride,proto3" json:"http_override,omitempty"`
	// contains filtered or unexported fields
}

SendgridEndpoint contains the required information for an alert to be sent to a sendgrid endpoint

func (*SendgridEndpoint) Descriptor deprecated

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

Deprecated: Use SendgridEndpoint.ProtoReflect.Descriptor instead.

func (*SendgridEndpoint) GetHttpOverride

func (x *SendgridEndpoint) GetHttpOverride() *HttpSettings

func (*SendgridEndpoint) GetSendResolved

func (x *SendgridEndpoint) GetSendResolved() *wrapperspb.BoolValue

func (*SendgridEndpoint) GetTo

func (*SendgridEndpoint) ProtoMessage

func (*SendgridEndpoint) ProtoMessage()

func (*SendgridEndpoint) ProtoReflect

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

func (*SendgridEndpoint) Reset

func (x *SendgridEndpoint) Reset()

func (*SendgridEndpoint) String

func (x *SendgridEndpoint) String() string

type SendgridEndpoints

type SendgridEndpoints struct {

	// values are the elements of the set
	Values []*SendgridEndpoint `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

SendgridEndpoints is a set of sendgrid endpoints

func (*SendgridEndpoints) Descriptor deprecated

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

Deprecated: Use SendgridEndpoints.ProtoReflect.Descriptor instead.

func (*SendgridEndpoints) GetValues

func (x *SendgridEndpoints) GetValues() []*SendgridEndpoint

func (*SendgridEndpoints) ProtoMessage

func (*SendgridEndpoints) ProtoMessage()

func (*SendgridEndpoints) ProtoReflect

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

func (*SendgridEndpoints) Reset

func (x *SendgridEndpoints) Reset()

func (*SendgridEndpoints) String

func (x *SendgridEndpoints) String() string

type SendgridSettings

type SendgridSettings struct {

	// api_key is the api key to use
	ApiKey *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// from is the email address to send from
	From *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	// contains filtered or unexported fields
}

SendgridSettings contain the settings for sending emails via sendgrid

func (*SendgridSettings) Descriptor deprecated

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

Deprecated: Use SendgridSettings.ProtoReflect.Descriptor instead.

func (*SendgridSettings) GetApiKey

func (x *SendgridSettings) GetApiKey() *wrapperspb.StringValue

func (*SendgridSettings) GetFrom

func (x *SendgridSettings) GetFrom() *wrapperspb.StringValue

func (*SendgridSettings) ProtoMessage

func (*SendgridSettings) ProtoMessage()

func (*SendgridSettings) ProtoReflect

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

func (*SendgridSettings) Reset

func (x *SendgridSettings) Reset()

func (*SendgridSettings) String

func (x *SendgridSettings) String() string

type Settings

type Settings struct {

	// email is the global default settings for email
	Email *EmailSettings `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// http is the global default settings for http
	Http *HttpSettings `protobuf:"bytes,2,opt,name=http,proto3" json:"http,omitempty"`
	// slack is the global default settings for slack
	Slack *SlackSettings `protobuf:"bytes,3,opt,name=slack,proto3" json:"slack,omitempty"`
	// victorops is the global default settings for victorops
	Victorops *VictoropsSettings `protobuf:"bytes,4,opt,name=victorops,proto3" json:"victorops,omitempty"`
	// pagerduty is the global default settings for pagerduty
	Pagerduty *PagerdutySettings `protobuf:"bytes,5,opt,name=pagerduty,proto3" json:"pagerduty,omitempty"`
	// opsgenie is the global default settings for opsgenie
	Opsgenie *OpsgenieSettings `protobuf:"bytes,6,opt,name=opsgenie,proto3" json:"opsgenie,omitempty"`
	// gchat is the global default settings for google chat
	Gchat *GoogleChatSettings `protobuf:"bytes,7,opt,name=gchat,proto3" json:"gchat,omitempty"`
	// msteams is the global default settings for ms teams
	Msteams *MsTeamsSettings `protobuf:"bytes,8,opt,name=msteams,proto3" json:"msteams,omitempty"`
	// inhibition defines the inhibition rules for alerts, allowing events of certain types to be
	// suppressed while another event type is active
	Inhibition *InhibitionSettings `protobuf:"bytes,9,opt,name=inhibition,proto3" json:"inhibition,omitempty"`
	// base_url is the root address of your CloudVision app. Used to generate links in notifications.
	BaseUrl *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
	// timezone is used for formatting event times in notifications. E.g. 'UTC', 'US/Pacific'
	Timezone *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=timezone,proto3" json:"timezone,omitempty"`
	// syslog is the global default settings for syslog
	Syslog *SyslogSettings `protobuf:"bytes,12,opt,name=syslog,proto3" json:"syslog,omitempty"`
	// snmp is the global default settings for snmp
	Snmp *SNMPSettings `protobuf:"bytes,13,opt,name=snmp,proto3" json:"snmp,omitempty"`
	// sendgrid is the global default settings for sendgrid
	Sendgrid *SendgridSettings `protobuf:"bytes,14,opt,name=sendgrid,proto3" json:"sendgrid,omitempty"`
	// cue_syslog is the global default settings for cue syslog
	CueSyslog *CueSyslogSettings `protobuf:"bytes,15,opt,name=cue_syslog,json=cueSyslog,proto3" json:"cue_syslog,omitempty"`
	// cue_snmp is the global default settings for cue snmp
	CueSnmp *CueSNMPSettings `protobuf:"bytes,16,opt,name=cue_snmp,json=cueSnmp,proto3" json:"cue_snmp,omitempty"`
	// cue_sendgrid is the global default settings for cue sendgrid
	CueSendgrid *CueSendgridSettings `protobuf:"bytes,17,opt,name=cue_sendgrid,json=cueSendgrid,proto3" json:"cue_sendgrid,omitempty"`
	// hide_tags is used to by the alerting system to omit tags and other "superfluous"
	// values from the notifications that are sent out by the system
	HideTags *wrapperspb.BoolValue `protobuf:"bytes,18,opt,name=hide_tags,json=hideTags,proto3" json:"hide_tags,omitempty"`
	// zoom is the global default settings for zoom
	Zoom *ZoomSettings `protobuf:"bytes,19,opt,name=zoom,proto3" json:"zoom,omitempty"`
	// contains filtered or unexported fields
}

Settings portion of config, a list of default global settings used by broadcast groups

func (*Settings) Descriptor deprecated

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

Deprecated: Use Settings.ProtoReflect.Descriptor instead.

func (*Settings) GetBaseUrl

func (x *Settings) GetBaseUrl() *wrapperspb.StringValue

func (*Settings) GetCueSendgrid

func (x *Settings) GetCueSendgrid() *CueSendgridSettings

func (*Settings) GetCueSnmp

func (x *Settings) GetCueSnmp() *CueSNMPSettings

func (*Settings) GetCueSyslog

func (x *Settings) GetCueSyslog() *CueSyslogSettings

func (*Settings) GetEmail

func (x *Settings) GetEmail() *EmailSettings

func (*Settings) GetGchat

func (x *Settings) GetGchat() *GoogleChatSettings

func (*Settings) GetHideTags

func (x *Settings) GetHideTags() *wrapperspb.BoolValue

func (*Settings) GetHttp

func (x *Settings) GetHttp() *HttpSettings

func (*Settings) GetInhibition

func (x *Settings) GetInhibition() *InhibitionSettings

func (*Settings) GetMsteams

func (x *Settings) GetMsteams() *MsTeamsSettings

func (*Settings) GetOpsgenie

func (x *Settings) GetOpsgenie() *OpsgenieSettings

func (*Settings) GetPagerduty

func (x *Settings) GetPagerduty() *PagerdutySettings

func (*Settings) GetSendgrid

func (x *Settings) GetSendgrid() *SendgridSettings

func (*Settings) GetSlack

func (x *Settings) GetSlack() *SlackSettings

func (*Settings) GetSnmp

func (x *Settings) GetSnmp() *SNMPSettings

func (*Settings) GetSyslog

func (x *Settings) GetSyslog() *SyslogSettings

func (*Settings) GetTimezone

func (x *Settings) GetTimezone() *wrapperspb.StringValue

func (*Settings) GetVictorops

func (x *Settings) GetVictorops() *VictoropsSettings

func (*Settings) GetZoom

func (x *Settings) GetZoom() *ZoomSettings

func (*Settings) ProtoMessage

func (*Settings) ProtoMessage()

func (*Settings) ProtoReflect

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

func (*Settings) Reset

func (x *Settings) Reset()

func (*Settings) String

func (x *Settings) String() string

type SlackEndpoint

type SlackEndpoint struct {

	// send_resolved send alerts when events are resolved along with when they are triggered
	SendResolved *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"`
	// http_override is the override of the global http settings
	HttpOverride *HttpSettings `protobuf:"bytes,2,opt,name=http_override,json=httpOverride,proto3" json:"http_override,omitempty"`
	// settings_override is the override for the slack global endpoint settings
	SettingsOverride *SlackSettings `protobuf:"bytes,3,opt,name=settings_override,json=settingsOverride,proto3" json:"settings_override,omitempty"`
	// contains filtered or unexported fields
}

SlackEndpoint contains the required information for an alert to be sent to a slack endpoint

func (*SlackEndpoint) Descriptor deprecated

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

Deprecated: Use SlackEndpoint.ProtoReflect.Descriptor instead.

func (*SlackEndpoint) GetHttpOverride

func (x *SlackEndpoint) GetHttpOverride() *HttpSettings

func (*SlackEndpoint) GetSendResolved

func (x *SlackEndpoint) GetSendResolved() *wrapperspb.BoolValue

func (*SlackEndpoint) GetSettingsOverride

func (x *SlackEndpoint) GetSettingsOverride() *SlackSettings

func (*SlackEndpoint) ProtoMessage

func (*SlackEndpoint) ProtoMessage()

func (*SlackEndpoint) ProtoReflect

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

func (*SlackEndpoint) Reset

func (x *SlackEndpoint) Reset()

func (*SlackEndpoint) String

func (x *SlackEndpoint) String() string

type SlackEndpoints

type SlackEndpoints struct {

	// values are the elements of the set
	Values []*SlackEndpoint `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

SlackEndpoints is a set of slack endpoints

func (*SlackEndpoints) Descriptor deprecated

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

Deprecated: Use SlackEndpoints.ProtoReflect.Descriptor instead.

func (*SlackEndpoints) GetValues

func (x *SlackEndpoints) GetValues() []*SlackEndpoint

func (*SlackEndpoints) ProtoMessage

func (*SlackEndpoints) ProtoMessage()

func (*SlackEndpoints) ProtoReflect

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

func (*SlackEndpoints) Reset

func (x *SlackEndpoints) Reset()

func (*SlackEndpoints) String

func (x *SlackEndpoints) String() string

type SlackSettings

type SlackSettings struct {

	// url is the url of the slack webhook to use
	Url *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

SlackSettings contain the settings for sending alerts to slack

func (*SlackSettings) Descriptor deprecated

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

Deprecated: Use SlackSettings.ProtoReflect.Descriptor instead.

func (*SlackSettings) GetUrl

func (x *SlackSettings) GetUrl() *wrapperspb.StringValue

func (*SlackSettings) ProtoMessage

func (*SlackSettings) ProtoMessage()

func (*SlackSettings) ProtoReflect

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

func (*SlackSettings) Reset

func (x *SlackSettings) Reset()

func (*SlackSettings) String

func (x *SlackSettings) String() string

type SyslogEndpoint

type SyslogEndpoint struct {

	// send_resolved send alerts when events are resolved along with when they are triggered
	SendResolved *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"`
	// settings_override is the override for the microsoft teams global endpoint settings
	SettingsOverride *SyslogSettings `protobuf:"bytes,2,opt,name=settings_override,json=settingsOverride,proto3" json:"settings_override,omitempty"`
	// contains filtered or unexported fields
}

SyslogEndpoint contains the required information for an alert to be sent to a syslog endpoint

func (*SyslogEndpoint) Descriptor deprecated

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

Deprecated: Use SyslogEndpoint.ProtoReflect.Descriptor instead.

func (*SyslogEndpoint) GetSendResolved

func (x *SyslogEndpoint) GetSendResolved() *wrapperspb.BoolValue

func (*SyslogEndpoint) GetSettingsOverride

func (x *SyslogEndpoint) GetSettingsOverride() *SyslogSettings

func (*SyslogEndpoint) ProtoMessage

func (*SyslogEndpoint) ProtoMessage()

func (*SyslogEndpoint) ProtoReflect

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

func (*SyslogEndpoint) Reset

func (x *SyslogEndpoint) Reset()

func (*SyslogEndpoint) String

func (x *SyslogEndpoint) String() string

type SyslogEndpoints

type SyslogEndpoints struct {

	// values are the elements of the set
	Values []*SyslogEndpoint `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

SyslogEndpoints is a set of syslog endpoints

func (*SyslogEndpoints) Descriptor deprecated

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

Deprecated: Use SyslogEndpoints.ProtoReflect.Descriptor instead.

func (*SyslogEndpoints) GetValues

func (x *SyslogEndpoints) GetValues() []*SyslogEndpoint

func (*SyslogEndpoints) ProtoMessage

func (*SyslogEndpoints) ProtoMessage()

func (*SyslogEndpoints) ProtoReflect

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

func (*SyslogEndpoints) Reset

func (x *SyslogEndpoints) Reset()

func (*SyslogEndpoints) String

func (x *SyslogEndpoints) String() string

type SyslogSettings

type SyslogSettings struct {

	// network is the network protocol to use, default is "udp",
	// options also include: tcp,tcp4,tcp6,udp4,udp6
	Network *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// address is the network address to send syslog messages to
	Address *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// facility is the syslog facility 0-23 inc. This is the syslog facility as defined in RFC-3164
	Facility *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=facility,proto3" json:"facility,omitempty"`
	// priorities describes how CVP severity maps to syslog priority
	// priority is a number between 0-7 inc. as defined in RFC-3164
	Priorities *Priorities `protobuf:"bytes,4,opt,name=priorities,proto3" json:"priorities,omitempty"`
	// tag is the syslog TAG as described in RFC-3164, it is the prefix to all syslog messages
	Tag *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=tag,proto3" json:"tag,omitempty"`
	// per_device allows message to optionally be sent per device,
	// if an event concerns two devices the behaviour is changed based on this option:
	//   true: two messages are sent, one for each device
	//   false: a single message is sent
	PerDevice *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=per_device,json=perDevice,proto3" json:"per_device,omitempty"`
	// use_tls determines if the connection to the server should be secured with TLS
	UseTls *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=use_tls,json=useTls,proto3" json:"use_tls,omitempty"`
	// contains filtered or unexported fields
}

SyslogSettings contain the settings for sending alerts with syslog

func (*SyslogSettings) Descriptor deprecated

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

Deprecated: Use SyslogSettings.ProtoReflect.Descriptor instead.

func (*SyslogSettings) GetAddress

func (x *SyslogSettings) GetAddress() *wrapperspb.StringValue

func (*SyslogSettings) GetFacility

func (x *SyslogSettings) GetFacility() *wrapperspb.Int32Value

func (*SyslogSettings) GetNetwork

func (x *SyslogSettings) GetNetwork() *wrapperspb.StringValue

func (*SyslogSettings) GetPerDevice

func (x *SyslogSettings) GetPerDevice() *wrapperspb.BoolValue

func (*SyslogSettings) GetPriorities

func (x *SyslogSettings) GetPriorities() *Priorities

func (*SyslogSettings) GetTag

func (x *SyslogSettings) GetTag() *wrapperspb.StringValue

func (*SyslogSettings) GetUseTls

func (x *SyslogSettings) GetUseTls() *wrapperspb.BoolValue

func (*SyslogSettings) ProtoMessage

func (*SyslogSettings) ProtoMessage()

func (*SyslogSettings) ProtoReflect

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

func (*SyslogSettings) Reset

func (x *SyslogSettings) Reset()

func (*SyslogSettings) String

func (x *SyslogSettings) String() string

type TemplateConfig

type TemplateConfig struct {

	// key identifies which template the configuration is for
	Key *TemplateKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// template is the string template value to be used
	// Templates need to be compatible with their respective parsers
	// Message templates are read and parsed by https://golang.org/pkg/text/template/
	// Html templates are read and parsed by https://golang.org/pkg/html/template/
	// Templates must output valid JSON for certain templates
	// Templates must not fail for any valid input
	Template *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"`
	// contains filtered or unexported fields
}

TemplateConfig represents a template configuration

func (*TemplateConfig) Descriptor deprecated

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

Deprecated: Use TemplateConfig.ProtoReflect.Descriptor instead.

func (*TemplateConfig) GetKey

func (x *TemplateConfig) GetKey() *TemplateKey

func (*TemplateConfig) GetTemplate

func (x *TemplateConfig) GetTemplate() *wrapperspb.StringValue

func (*TemplateConfig) ProtoMessage

func (*TemplateConfig) ProtoMessage()

func (*TemplateConfig) ProtoReflect

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

func (*TemplateConfig) Reset

func (x *TemplateConfig) Reset()

func (*TemplateConfig) String

func (x *TemplateConfig) String() string

type TemplateConfigDeleteAllRequest

type TemplateConfigDeleteAllRequest struct {
	// contains filtered or unexported fields
}

func (*TemplateConfigDeleteAllRequest) Descriptor deprecated

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

Deprecated: Use TemplateConfigDeleteAllRequest.ProtoReflect.Descriptor instead.

func (*TemplateConfigDeleteAllRequest) ProtoMessage

func (*TemplateConfigDeleteAllRequest) ProtoMessage()

func (*TemplateConfigDeleteAllRequest) ProtoReflect

func (*TemplateConfigDeleteAllRequest) Reset

func (x *TemplateConfigDeleteAllRequest) Reset()

func (*TemplateConfigDeleteAllRequest) String

type TemplateConfigDeleteAllResponse

type TemplateConfigDeleteAllResponse struct {

	// This describes the class of delete error.
	Type fmp.DeleteError `protobuf:"varint,1,opt,name=type,proto3,enum=fmp.DeleteError" json:"type,omitempty"`
	// This indicates the error message from the delete failure.
	Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// This is the key of the TemplateConfig instance that failed to be deleted.
	Key *TemplateKey `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	// Time indicates the (UTC) timestamp when the key was being deleted.
	Time *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*TemplateConfigDeleteAllResponse) Descriptor deprecated

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

Deprecated: Use TemplateConfigDeleteAllResponse.ProtoReflect.Descriptor instead.

func (*TemplateConfigDeleteAllResponse) GetError

func (*TemplateConfigDeleteAllResponse) GetKey

func (*TemplateConfigDeleteAllResponse) GetTime

func (*TemplateConfigDeleteAllResponse) GetType

func (*TemplateConfigDeleteAllResponse) ProtoMessage

func (*TemplateConfigDeleteAllResponse) ProtoMessage()

func (*TemplateConfigDeleteAllResponse) ProtoReflect

func (*TemplateConfigDeleteAllResponse) Reset

func (*TemplateConfigDeleteAllResponse) String

type TemplateConfigDeleteRequest

type TemplateConfigDeleteRequest struct {

	// Key indicates which TemplateConfig instance to remove.
	// This field must always be set.
	Key *TemplateKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*TemplateConfigDeleteRequest) Descriptor deprecated

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

Deprecated: Use TemplateConfigDeleteRequest.ProtoReflect.Descriptor instead.

func (*TemplateConfigDeleteRequest) GetKey

func (*TemplateConfigDeleteRequest) ProtoMessage

func (*TemplateConfigDeleteRequest) ProtoMessage()

func (*TemplateConfigDeleteRequest) ProtoReflect

func (*TemplateConfigDeleteRequest) Reset

func (x *TemplateConfigDeleteRequest) Reset()

func (*TemplateConfigDeleteRequest) String

func (x *TemplateConfigDeleteRequest) String() string

type TemplateConfigDeleteResponse

type TemplateConfigDeleteResponse struct {

	// Key echoes back the key of the deleted TemplateConfig instance.
	Key *TemplateKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Time indicates the (UTC) timestamp at which the system recognizes the
	// deletion. The only guarantees made about this timestamp are:
	//
	//    - it is after the time the request was received
	//    - a time-ranged query with StartTime==DeletedAt will not include this instance.
	//
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*TemplateConfigDeleteResponse) Descriptor deprecated

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

Deprecated: Use TemplateConfigDeleteResponse.ProtoReflect.Descriptor instead.

func (*TemplateConfigDeleteResponse) GetKey

func (*TemplateConfigDeleteResponse) GetTime

func (*TemplateConfigDeleteResponse) ProtoMessage

func (*TemplateConfigDeleteResponse) ProtoMessage()

func (*TemplateConfigDeleteResponse) ProtoReflect

func (*TemplateConfigDeleteResponse) Reset

func (x *TemplateConfigDeleteResponse) Reset()

func (*TemplateConfigDeleteResponse) String

type TemplateConfigDeleteSomeRequest

type TemplateConfigDeleteSomeRequest struct {

	// key contains a list of TemplateConfig keys to delete
	Keys []*TemplateKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*TemplateConfigDeleteSomeRequest) Descriptor deprecated

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

Deprecated: Use TemplateConfigDeleteSomeRequest.ProtoReflect.Descriptor instead.

func (*TemplateConfigDeleteSomeRequest) GetKeys

func (*TemplateConfigDeleteSomeRequest) ProtoMessage

func (*TemplateConfigDeleteSomeRequest) ProtoMessage()

func (*TemplateConfigDeleteSomeRequest) ProtoReflect

func (*TemplateConfigDeleteSomeRequest) Reset

func (*TemplateConfigDeleteSomeRequest) String

type TemplateConfigDeleteSomeResponse

type TemplateConfigDeleteSomeResponse struct {
	Key   *TemplateKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Error string       `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

TemplateConfigDeleteSomeResponse is only sent when there is an error.

func (*TemplateConfigDeleteSomeResponse) Descriptor deprecated

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

Deprecated: Use TemplateConfigDeleteSomeResponse.ProtoReflect.Descriptor instead.

func (*TemplateConfigDeleteSomeResponse) GetError

func (*TemplateConfigDeleteSomeResponse) GetKey

func (*TemplateConfigDeleteSomeResponse) ProtoMessage

func (*TemplateConfigDeleteSomeResponse) ProtoMessage()

func (*TemplateConfigDeleteSomeResponse) ProtoReflect

func (*TemplateConfigDeleteSomeResponse) Reset

func (*TemplateConfigDeleteSomeResponse) String

type TemplateConfigRequest

type TemplateConfigRequest struct {

	// Key uniquely identifies a TemplateConfig instance to retrieve.
	// This value must be populated.
	Key *TemplateKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*TemplateConfigRequest) Descriptor deprecated

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

Deprecated: Use TemplateConfigRequest.ProtoReflect.Descriptor instead.

func (*TemplateConfigRequest) GetKey

func (x *TemplateConfigRequest) GetKey() *TemplateKey

func (*TemplateConfigRequest) GetTime

func (*TemplateConfigRequest) ProtoMessage

func (*TemplateConfigRequest) ProtoMessage()

func (*TemplateConfigRequest) ProtoReflect

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

func (*TemplateConfigRequest) Reset

func (x *TemplateConfigRequest) Reset()

func (*TemplateConfigRequest) String

func (x *TemplateConfigRequest) String() string

type TemplateConfigResponse

type TemplateConfigResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *TemplateConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time carries the (UTC) timestamp of the last-modification of the
	// TemplateConfig instance in this response.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*TemplateConfigResponse) Descriptor deprecated

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

Deprecated: Use TemplateConfigResponse.ProtoReflect.Descriptor instead.

func (*TemplateConfigResponse) GetTime

func (*TemplateConfigResponse) GetValue

func (x *TemplateConfigResponse) GetValue() *TemplateConfig

func (*TemplateConfigResponse) ProtoMessage

func (*TemplateConfigResponse) ProtoMessage()

func (*TemplateConfigResponse) ProtoReflect

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

func (*TemplateConfigResponse) Reset

func (x *TemplateConfigResponse) Reset()

func (*TemplateConfigResponse) String

func (x *TemplateConfigResponse) String() string

type TemplateConfigServiceClient

TemplateConfigServiceClient is the client API for TemplateConfigService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type TemplateConfigService_DeleteAllClient

type TemplateConfigService_DeleteAllClient interface {
	Recv() (*TemplateConfigDeleteAllResponse, error)
	grpc.ClientStream
}

type TemplateConfigService_DeleteAllServer

type TemplateConfigService_DeleteAllServer interface {
	Send(*TemplateConfigDeleteAllResponse) error
	grpc.ServerStream
}

type TemplateConfigService_DeleteSomeClient

type TemplateConfigService_DeleteSomeClient interface {
	Recv() (*TemplateConfigDeleteSomeResponse, error)
	grpc.ClientStream
}

type TemplateConfigService_DeleteSomeServer

type TemplateConfigService_DeleteSomeServer interface {
	Send(*TemplateConfigDeleteSomeResponse) error
	grpc.ServerStream
}

type TemplateConfigService_GetAllClient

type TemplateConfigService_GetAllClient interface {
	Recv() (*TemplateConfigStreamResponse, error)
	grpc.ClientStream
}

type TemplateConfigService_GetAllServer

type TemplateConfigService_GetAllServer interface {
	Send(*TemplateConfigStreamResponse) error
	grpc.ServerStream
}

type TemplateConfigService_GetSomeClient

type TemplateConfigService_GetSomeClient interface {
	Recv() (*TemplateConfigSomeResponse, error)
	grpc.ClientStream
}

type TemplateConfigService_GetSomeServer

type TemplateConfigService_GetSomeServer interface {
	Send(*TemplateConfigSomeResponse) error
	grpc.ServerStream
}

type TemplateConfigService_SetSomeClient

type TemplateConfigService_SetSomeClient interface {
	Recv() (*TemplateConfigSetSomeResponse, error)
	grpc.ClientStream
}

type TemplateConfigService_SetSomeServer

type TemplateConfigService_SetSomeServer interface {
	Send(*TemplateConfigSetSomeResponse) error
	grpc.ServerStream
}

type TemplateConfigService_SubscribeClient

type TemplateConfigService_SubscribeClient interface {
	Recv() (*TemplateConfigStreamResponse, error)
	grpc.ClientStream
}

type TemplateConfigService_SubscribeMetaClient

type TemplateConfigService_SubscribeMetaClient interface {
	Recv() (*MetaResponse, error)
	grpc.ClientStream
}

type TemplateConfigService_SubscribeMetaServer

type TemplateConfigService_SubscribeMetaServer interface {
	Send(*MetaResponse) error
	grpc.ServerStream
}

type TemplateConfigService_SubscribeServer

type TemplateConfigService_SubscribeServer interface {
	Send(*TemplateConfigStreamResponse) error
	grpc.ServerStream
}

type TemplateConfigSetRequest

type TemplateConfigSetRequest struct {

	// TemplateConfig carries the value to set into the datastore.
	// See the documentation on the TemplateConfig struct for which fields are required.
	Value *TemplateConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*TemplateConfigSetRequest) Descriptor deprecated

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

Deprecated: Use TemplateConfigSetRequest.ProtoReflect.Descriptor instead.

func (*TemplateConfigSetRequest) GetValue

func (*TemplateConfigSetRequest) ProtoMessage

func (*TemplateConfigSetRequest) ProtoMessage()

func (*TemplateConfigSetRequest) ProtoReflect

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

func (*TemplateConfigSetRequest) Reset

func (x *TemplateConfigSetRequest) Reset()

func (*TemplateConfigSetRequest) String

func (x *TemplateConfigSetRequest) String() string

type TemplateConfigSetResponse

type TemplateConfigSetResponse struct {

	// Value carries all the values given in the TemplateConfigSetRequest as well
	// as any server-generated values.
	Value *TemplateConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time indicates the (UTC) timestamp at which the system recognizes the
	// creation. The only guarantees made about this timestamp are:
	//
	//    - it is after the time the request was received
	//    - a time-ranged query with StartTime==CreatedAt will include this instance.
	//
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*TemplateConfigSetResponse) Descriptor deprecated

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

Deprecated: Use TemplateConfigSetResponse.ProtoReflect.Descriptor instead.

func (*TemplateConfigSetResponse) GetTime

func (*TemplateConfigSetResponse) GetValue

func (*TemplateConfigSetResponse) ProtoMessage

func (*TemplateConfigSetResponse) ProtoMessage()

func (*TemplateConfigSetResponse) ProtoReflect

func (*TemplateConfigSetResponse) Reset

func (x *TemplateConfigSetResponse) Reset()

func (*TemplateConfigSetResponse) String

func (x *TemplateConfigSetResponse) String() string

type TemplateConfigSetSomeRequest

type TemplateConfigSetSomeRequest struct {

	// value contains a list of TemplateConfig values to write.
	// It is possible to provide more values than can fit within either:
	//     - the maxiumum send size of the client
	//     - the maximum receive size of the server
	// If this error occurs you must reduce the number of values sent.
	// See gRPC "maximum message size" documentation for more information.
	Values []*TemplateConfig `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*TemplateConfigSetSomeRequest) Descriptor deprecated

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

Deprecated: Use TemplateConfigSetSomeRequest.ProtoReflect.Descriptor instead.

func (*TemplateConfigSetSomeRequest) GetValues

func (x *TemplateConfigSetSomeRequest) GetValues() []*TemplateConfig

func (*TemplateConfigSetSomeRequest) ProtoMessage

func (*TemplateConfigSetSomeRequest) ProtoMessage()

func (*TemplateConfigSetSomeRequest) ProtoReflect

func (*TemplateConfigSetSomeRequest) Reset

func (x *TemplateConfigSetSomeRequest) Reset()

func (*TemplateConfigSetSomeRequest) String

type TemplateConfigSetSomeResponse

type TemplateConfigSetSomeResponse struct {
	Key   *TemplateKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Error string       `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*TemplateConfigSetSomeResponse) Descriptor deprecated

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

Deprecated: Use TemplateConfigSetSomeResponse.ProtoReflect.Descriptor instead.

func (*TemplateConfigSetSomeResponse) GetError

func (x *TemplateConfigSetSomeResponse) GetError() string

func (*TemplateConfigSetSomeResponse) GetKey

func (*TemplateConfigSetSomeResponse) ProtoMessage

func (*TemplateConfigSetSomeResponse) ProtoMessage()

func (*TemplateConfigSetSomeResponse) ProtoReflect

func (*TemplateConfigSetSomeResponse) Reset

func (x *TemplateConfigSetSomeResponse) Reset()

func (*TemplateConfigSetSomeResponse) String

type TemplateConfigSomeRequest

type TemplateConfigSomeRequest struct {
	Keys []*TemplateKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*TemplateConfigSomeRequest) Descriptor deprecated

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

Deprecated: Use TemplateConfigSomeRequest.ProtoReflect.Descriptor instead.

func (*TemplateConfigSomeRequest) GetKeys

func (x *TemplateConfigSomeRequest) GetKeys() []*TemplateKey

func (*TemplateConfigSomeRequest) GetTime

func (*TemplateConfigSomeRequest) ProtoMessage

func (*TemplateConfigSomeRequest) ProtoMessage()

func (*TemplateConfigSomeRequest) ProtoReflect

func (*TemplateConfigSomeRequest) Reset

func (x *TemplateConfigSomeRequest) Reset()

func (*TemplateConfigSomeRequest) String

func (x *TemplateConfigSomeRequest) String() string

type TemplateConfigSomeResponse

type TemplateConfigSomeResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *TemplateConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Error is an optional field.
	// It should be filled when there is an error in the GetSome process.
	Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Time  *timestamppb.Timestamp  `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*TemplateConfigSomeResponse) Descriptor deprecated

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

Deprecated: Use TemplateConfigSomeResponse.ProtoReflect.Descriptor instead.

func (*TemplateConfigSomeResponse) GetError

func (*TemplateConfigSomeResponse) GetTime

func (*TemplateConfigSomeResponse) GetValue

func (*TemplateConfigSomeResponse) ProtoMessage

func (*TemplateConfigSomeResponse) ProtoMessage()

func (*TemplateConfigSomeResponse) ProtoReflect

func (*TemplateConfigSomeResponse) Reset

func (x *TemplateConfigSomeResponse) Reset()

func (*TemplateConfigSomeResponse) String

func (x *TemplateConfigSomeResponse) String() string

type TemplateConfigStreamRequest

type TemplateConfigStreamRequest struct {

	// TimeRange allows limiting response data to within a specified time window.
	// If this field is populated, at least one of the two time fields are required.
	//
	// For GetAll, the fields start and end can be used as follows:
	//
	//   * end: Returns the state of each TemplateConfig at end.
	//     * Each TemplateConfig response is fully-specified (all fields set).
	//   * start: Returns the state of each TemplateConfig at start, followed by updates until now.
	//     * Each TemplateConfig response at start is fully-specified, but updates may be partial.
	//   * start and end: Returns the state of each TemplateConfig at start, followed by updates
	//     until end.
	//     * Each TemplateConfig response at start is fully-specified, but updates until end may
	//       be partial.
	//
	// This field is not allowed in the Subscribe RPC.
	Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*TemplateConfigStreamRequest) Descriptor deprecated

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

Deprecated: Use TemplateConfigStreamRequest.ProtoReflect.Descriptor instead.

func (*TemplateConfigStreamRequest) GetTime

func (*TemplateConfigStreamRequest) ProtoMessage

func (*TemplateConfigStreamRequest) ProtoMessage()

func (*TemplateConfigStreamRequest) ProtoReflect

func (*TemplateConfigStreamRequest) Reset

func (x *TemplateConfigStreamRequest) Reset()

func (*TemplateConfigStreamRequest) String

func (x *TemplateConfigStreamRequest) String() string

type TemplateConfigStreamResponse

type TemplateConfigStreamResponse struct {

	// Value is a value deemed relevant to the initiating request.
	// This structure will always have its key-field populated. Which other fields are
	// populated, and why, depends on the value of Operation and what triggered this notification.
	Value *TemplateConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time holds the timestamp of this TemplateConfig's last modification.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// Operation indicates how the TemplateConfig value in this response should be considered.
	// Under non-subscribe requests, this value should always be INITIAL. In a subscription,
	// once all initial data is streamed and the client begins to receive modification updates,
	// you should not see INITIAL again.
	Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*TemplateConfigStreamResponse) Descriptor deprecated

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

Deprecated: Use TemplateConfigStreamResponse.ProtoReflect.Descriptor instead.

func (*TemplateConfigStreamResponse) GetTime

func (*TemplateConfigStreamResponse) GetType

func (*TemplateConfigStreamResponse) GetValue

func (*TemplateConfigStreamResponse) ProtoMessage

func (*TemplateConfigStreamResponse) ProtoMessage()

func (*TemplateConfigStreamResponse) ProtoReflect

func (*TemplateConfigStreamResponse) Reset

func (x *TemplateConfigStreamResponse) Reset()

func (*TemplateConfigStreamResponse) String

type TemplateKey

type TemplateKey struct {

	// template_type is the enum value to match with the template
	TemplateType TemplateType `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

TemplateKey is used to identify templates for event notifications

func (*TemplateKey) Descriptor deprecated

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

Deprecated: Use TemplateKey.ProtoReflect.Descriptor instead.

func (*TemplateKey) GetTemplateType

func (x *TemplateKey) GetTemplateType() TemplateType

func (*TemplateKey) ProtoMessage

func (*TemplateKey) ProtoMessage()

func (*TemplateKey) ProtoReflect

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

func (*TemplateKey) Reset

func (x *TemplateKey) Reset()

func (*TemplateKey) String

func (x *TemplateKey) String() string

type TemplateOutput

type TemplateOutput int32

TemplateOutput is an enum of all of the possible output formats for templates

const (
	// TEMPLATE_OUTPUT_UNSPECIFIED is the unspecfied value.
	TemplateOutput_TEMPLATE_OUTPUT_UNSPECIFIED TemplateOutput = 0
	// TEMPLATE_OUTPUT_TEXT indicates the the template outputs plain text.
	TemplateOutput_TEMPLATE_OUTPUT_TEXT TemplateOutput = 1
	// TEMPLATE_OUTPUT_JSON indicates the the template outputs JSON.
	TemplateOutput_TEMPLATE_OUTPUT_JSON TemplateOutput = 2
	// TEMPLATE_OUTPUT_HTML indicates the the template outputs HTML.
	// This also indicates that "html/templates" will be used instead of "text/templates" so that
	// html characters are automatically escaped from input.
	TemplateOutput_TEMPLATE_OUTPUT_HTML TemplateOutput = 3
)

func (TemplateOutput) Descriptor

func (TemplateOutput) Enum

func (x TemplateOutput) Enum() *TemplateOutput

func (TemplateOutput) EnumDescriptor deprecated

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

Deprecated: Use TemplateOutput.Descriptor instead.

func (TemplateOutput) Number

func (TemplateOutput) String

func (x TemplateOutput) String() string

func (TemplateOutput) Type

type TemplateType

type TemplateType int32

TemplateType describes the types of Templates that are usable

const (
	// TEMPLATE_TYPE_UNSPECIFIED is the unspecified enum value
	TemplateType_TEMPLATE_TYPE_UNSPECIFIED TemplateType = 0
	// TEMPLATE_TYPE_EMAIL_HTML is the key of the html template for sent emails
	TemplateType_TEMPLATE_TYPE_EMAIL_HTML TemplateType = 1
	// TEMPLATE_TYPE_EMAIL_TEXT is the key of the text template for sent emails
	TemplateType_TEMPLATE_TYPE_EMAIL_TEXT TemplateType = 2
	// TEMPLATE_TYPE_SLACK_MESSAGE is the key of the message template for sent slack messages
	TemplateType_TEMPLATE_TYPE_SLACK_MESSAGE TemplateType = 3
	// TEMPLATE_TYPE_PUSHOVER_MESSAGE is the key of the message template for sent pushover messages
	TemplateType_TEMPLATE_TYPE_PUSHOVER_MESSAGE TemplateType = 4
	// TEMPLATE_TYPE_PAGERDUTY_SUMMARY is the key of the summary template for sent pagerduty messages
	TemplateType_TEMPLATE_TYPE_PAGERDUTY_SUMMARY TemplateType = 5
	// TEMPLATE_TYPE_VICTOROPS_DISPLAY_NAME is the key of the display name template for sent victorops
	// messages
	TemplateType_TEMPLATE_TYPE_VICTOROPS_DISPLAY_NAME TemplateType = 6
	// TEMPLATE_TYPE_VICTOROPS_STATE_MESSAGE is the key of the state message template for sent
	// victorops messages
	TemplateType_TEMPLATE_TYPE_VICTOROPS_STATE_MESSAGE TemplateType = 7
	// TEMPLATE_TYPE_GOOGLE_CHAT_MESSAGE is the key of the message template for sent Google chat
	// messages
	TemplateType_TEMPLATE_TYPE_GOOGLE_CHAT_MESSAGE TemplateType = 8
	// TEMPLATE_TYPE_MICROSOFT_TEAMS_MESSAGE is the key of the message template for sent Microsoft
	// teams messages
	TemplateType_TEMPLATE_TYPE_MICROSOFT_TEAMS_MESSAGE TemplateType = 9
	// TEMPLATE_TYPE_EMAIL_SUBJECT is the key of the subject line template of a sent email
	TemplateType_TEMPLATE_TYPE_EMAIL_SUBJECT TemplateType = 10
	// TEMPLATE_TYPE_SYSLOG_MESSAGE is the key of the message template for a syslog message part
	TemplateType_TEMPLATE_TYPE_SYSLOG_MESSAGE TemplateType = 11
	// TEMPLATE_TYPE_OPSGENIE_MESSAGE is the key of the message template for a opsgenie alert
	TemplateType_TEMPLATE_TYPE_OPSGENIE_MESSAGE TemplateType = 12
	// TEMPLATE_TYPE_ZOOM_MESSAGE is the key of the message template for sent Zoom messages
	TemplateType_TEMPLATE_TYPE_ZOOM_MESSAGE TemplateType = 13
	// TEMPLATE_TYPE_EMAIL_SINGLE_HTML is the key of the html template for sent emails when the
	// single alert per email option is selected
	TemplateType_TEMPLATE_TYPE_EMAIL_SINGLE_HTML TemplateType = 14
	// TEMPLATE_TYPE_EMAIL_SINGLE_TEXT is the key of the text template for sent emails when the
	// single alert per email option is selected
	TemplateType_TEMPLATE_TYPE_EMAIL_SINGLE_TEXT TemplateType = 15
	// TEMPLATE_TYPE_EMAIL_SINGLE_SUBJECT is the key of the subject line template of a sent email
	// when the single alert per email option is selected
	TemplateType_TEMPLATE_TYPE_EMAIL_SINGLE_SUBJECT TemplateType = 16
	// TEMPLATE_TYPE_WEBHOOK_SINGLE is the key of the template for webhook message body when the
	// single_alert option is true
	TemplateType_TEMPLATE_TYPE_WEBHOOK_SINGLE TemplateType = 17
	// TEMPLATE_TYPE_WEBHOOK_MULTIPLE is the key of the template for webhook message body when the
	// single_alert option is false
	TemplateType_TEMPLATE_TYPE_WEBHOOK_MULTIPLE TemplateType = 18
)

func (TemplateType) Descriptor

func (TemplateType) Enum

func (x TemplateType) Enum() *TemplateType

func (TemplateType) EnumDescriptor deprecated

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

Deprecated: Use TemplateType.Descriptor instead.

func (TemplateType) Number

func (TemplateType) String

func (x TemplateType) String() string

func (TemplateType) Type

type UnimplementedAlertConfigServiceServer

type UnimplementedAlertConfigServiceServer struct {
}

UnimplementedAlertConfigServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAlertConfigServiceServer) GetOne

func (UnimplementedAlertConfigServiceServer) Set

type UnimplementedAlertServiceServer

type UnimplementedAlertServiceServer struct {
}

UnimplementedAlertServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAlertServiceServer) GetAll

func (UnimplementedAlertServiceServer) GetOne

func (UnimplementedAlertServiceServer) Subscribe

func (UnimplementedAlertServiceServer) SubscribeMeta

type UnimplementedDefaultTemplateServiceServer

type UnimplementedDefaultTemplateServiceServer struct {
}

UnimplementedDefaultTemplateServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDefaultTemplateServiceServer) GetMeta

func (UnimplementedDefaultTemplateServiceServer) GetOne

type UnimplementedTemplateConfigServiceServer

type UnimplementedTemplateConfigServiceServer struct {
}

UnimplementedTemplateConfigServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedTemplateConfigServiceServer) GetMeta

func (UnimplementedTemplateConfigServiceServer) GetOne

type UnsafeAlertConfigServiceServer

type UnsafeAlertConfigServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAlertConfigServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AlertConfigServiceServer will result in compilation errors.

type UnsafeAlertServiceServer

type UnsafeAlertServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAlertServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AlertServiceServer will result in compilation errors.

type UnsafeDefaultTemplateServiceServer

type UnsafeDefaultTemplateServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeDefaultTemplateServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DefaultTemplateServiceServer will result in compilation errors.

type UnsafeTemplateConfigServiceServer

type UnsafeTemplateConfigServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTemplateConfigServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TemplateConfigServiceServer will result in compilation errors.

type VictorOpsEndpoint

type VictorOpsEndpoint struct {

	// send_resolved send alerts when events are resolved along with when they are triggered
	SendResolved *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"`
	// routing_key is the PagerDuty integration key
	RoutingKey *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=routing_key,json=routingKey,proto3" json:"routing_key,omitempty"`
	// http_override is the override of the global http settings
	HttpOverride *HttpSettings `protobuf:"bytes,3,opt,name=http_override,json=httpOverride,proto3" json:"http_override,omitempty"`
	// settings_override is the override for the victorops global endpoint settings
	SettingsOverride *VictoropsSettings `protobuf:"bytes,4,opt,name=settings_override,json=settingsOverride,proto3" json:"settings_override,omitempty"`
	// contains filtered or unexported fields
}

VictorOpsEndpoint contains the required information for an alert to be sent to a victorOps endpoint

func (*VictorOpsEndpoint) Descriptor deprecated

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

Deprecated: Use VictorOpsEndpoint.ProtoReflect.Descriptor instead.

func (*VictorOpsEndpoint) GetHttpOverride

func (x *VictorOpsEndpoint) GetHttpOverride() *HttpSettings

func (*VictorOpsEndpoint) GetRoutingKey

func (x *VictorOpsEndpoint) GetRoutingKey() *wrapperspb.StringValue

func (*VictorOpsEndpoint) GetSendResolved

func (x *VictorOpsEndpoint) GetSendResolved() *wrapperspb.BoolValue

func (*VictorOpsEndpoint) GetSettingsOverride

func (x *VictorOpsEndpoint) GetSettingsOverride() *VictoropsSettings

func (*VictorOpsEndpoint) ProtoMessage

func (*VictorOpsEndpoint) ProtoMessage()

func (*VictorOpsEndpoint) ProtoReflect

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

func (*VictorOpsEndpoint) Reset

func (x *VictorOpsEndpoint) Reset()

func (*VictorOpsEndpoint) String

func (x *VictorOpsEndpoint) String() string

type VictorOpsEndpoints

type VictorOpsEndpoints struct {

	// values are the elements of the set
	Values []*VictorOpsEndpoint `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

VictorOpsEndpoints is a set of victorOps endpoints

func (*VictorOpsEndpoints) Descriptor deprecated

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

Deprecated: Use VictorOpsEndpoints.ProtoReflect.Descriptor instead.

func (*VictorOpsEndpoints) GetValues

func (x *VictorOpsEndpoints) GetValues() []*VictorOpsEndpoint

func (*VictorOpsEndpoints) ProtoMessage

func (*VictorOpsEndpoints) ProtoMessage()

func (*VictorOpsEndpoints) ProtoReflect

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

func (*VictorOpsEndpoints) Reset

func (x *VictorOpsEndpoints) Reset()

func (*VictorOpsEndpoints) String

func (x *VictorOpsEndpoints) String() string

type VictoropsSettings

type VictoropsSettings struct {

	// key is the API key to use when talking to the VictorOps API
	Key *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// url is the victorops url to use (without integration or routing key
	// default: https://alert.victorops.com/integrations/generic/20131114/alert/
	Url *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

VictoropsSettings contain the settings for sending alerts to victorops

func (*VictoropsSettings) Descriptor deprecated

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

Deprecated: Use VictoropsSettings.ProtoReflect.Descriptor instead.

func (*VictoropsSettings) GetKey

func (*VictoropsSettings) GetUrl

func (*VictoropsSettings) ProtoMessage

func (*VictoropsSettings) ProtoMessage()

func (*VictoropsSettings) ProtoReflect

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

func (*VictoropsSettings) Reset

func (x *VictoropsSettings) Reset()

func (*VictoropsSettings) String

func (x *VictoropsSettings) String() string

type WebhookEndpoint

type WebhookEndpoint struct {

	// send_resolved send alerts when events are resolved along with when they are triggered
	SendResolved *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"`
	// url is the url
	Url *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// http_override is the override of the global http settings
	HttpOverride *HttpSettings `protobuf:"bytes,3,opt,name=http_override,json=httpOverride,proto3" json:"http_override,omitempty"`
	// simple_output is a boolean flag to control the JSON structure of the webhook body.
	// When false the output mimics the old alertmanager format.
	// When true the output is a simple array of json objects which each represent an event.
	SimpleOutput *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=simple_output,json=simpleOutput,proto3" json:"simple_output,omitempty"`
	// single_alert is a boolean flag that will cause an individual webhook message to be sent per
	// alert when true.
	SingleAlert *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=single_alert,json=singleAlert,proto3" json:"single_alert,omitempty"` // Webhook does not have a settings override
	// contains filtered or unexported fields
}

WebhookEndpoint contains the required information for an alert to be sent to a webhook endpoint

func (*WebhookEndpoint) Descriptor deprecated

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

Deprecated: Use WebhookEndpoint.ProtoReflect.Descriptor instead.

func (*WebhookEndpoint) GetHttpOverride

func (x *WebhookEndpoint) GetHttpOverride() *HttpSettings

func (*WebhookEndpoint) GetSendResolved

func (x *WebhookEndpoint) GetSendResolved() *wrapperspb.BoolValue

func (*WebhookEndpoint) GetSimpleOutput

func (x *WebhookEndpoint) GetSimpleOutput() *wrapperspb.BoolValue

func (*WebhookEndpoint) GetSingleAlert

func (x *WebhookEndpoint) GetSingleAlert() *wrapperspb.BoolValue

func (*WebhookEndpoint) GetUrl

func (x *WebhookEndpoint) GetUrl() *wrapperspb.StringValue

func (*WebhookEndpoint) ProtoMessage

func (*WebhookEndpoint) ProtoMessage()

func (*WebhookEndpoint) ProtoReflect

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

func (*WebhookEndpoint) Reset

func (x *WebhookEndpoint) Reset()

func (*WebhookEndpoint) String

func (x *WebhookEndpoint) String() string

type WebhookEndpoints

type WebhookEndpoints struct {

	// values are the elements of the set
	Values []*WebhookEndpoint `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

WebhookEndpoints is a set of webhook endpoints

func (*WebhookEndpoints) Descriptor deprecated

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

Deprecated: Use WebhookEndpoints.ProtoReflect.Descriptor instead.

func (*WebhookEndpoints) GetValues

func (x *WebhookEndpoints) GetValues() []*WebhookEndpoint

func (*WebhookEndpoints) ProtoMessage

func (*WebhookEndpoints) ProtoMessage()

func (*WebhookEndpoints) ProtoReflect

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

func (*WebhookEndpoints) Reset

func (x *WebhookEndpoints) Reset()

func (*WebhookEndpoints) String

func (x *WebhookEndpoints) String() string

type ZoomEndpoint

type ZoomEndpoint struct {

	// send_resolved send alerts when events are resolved along with when they are triggered
	SendResolved *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"`
	// http_override is the override of the global http settings
	HttpOverride *HttpSettings `protobuf:"bytes,2,opt,name=http_override,json=httpOverride,proto3" json:"http_override,omitempty"`
	// settings_override is the override for the zoom global endpoint settings
	SettingsOverride *ZoomSettings `protobuf:"bytes,3,opt,name=settings_override,json=settingsOverride,proto3" json:"settings_override,omitempty"`
	// contains filtered or unexported fields
}

ZoomEndpoint contains the required information for an alert to be sent to a zoom endpoint

func (*ZoomEndpoint) Descriptor deprecated

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

Deprecated: Use ZoomEndpoint.ProtoReflect.Descriptor instead.

func (*ZoomEndpoint) GetHttpOverride

func (x *ZoomEndpoint) GetHttpOverride() *HttpSettings

func (*ZoomEndpoint) GetSendResolved

func (x *ZoomEndpoint) GetSendResolved() *wrapperspb.BoolValue

func (*ZoomEndpoint) GetSettingsOverride

func (x *ZoomEndpoint) GetSettingsOverride() *ZoomSettings

func (*ZoomEndpoint) ProtoMessage

func (*ZoomEndpoint) ProtoMessage()

func (*ZoomEndpoint) ProtoReflect

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

func (*ZoomEndpoint) Reset

func (x *ZoomEndpoint) Reset()

func (*ZoomEndpoint) String

func (x *ZoomEndpoint) String() string

type ZoomEndpoints

type ZoomEndpoints struct {

	// values are the elements of the set
	Values []*ZoomEndpoint `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

ZoomEndpoints is a set of zoom endpoints

func (*ZoomEndpoints) Descriptor deprecated

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

Deprecated: Use ZoomEndpoints.ProtoReflect.Descriptor instead.

func (*ZoomEndpoints) GetValues

func (x *ZoomEndpoints) GetValues() []*ZoomEndpoint

func (*ZoomEndpoints) ProtoMessage

func (*ZoomEndpoints) ProtoMessage()

func (*ZoomEndpoints) ProtoReflect

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

func (*ZoomEndpoints) Reset

func (x *ZoomEndpoints) Reset()

func (*ZoomEndpoints) String

func (x *ZoomEndpoints) String() string

type ZoomSettings

type ZoomSettings struct {

	// url is the zoom incoming webhook URL to send messages to
	Url *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// verification_token is the verification token to authenticate with
	VerificationToken *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=verification_token,json=verificationToken,proto3" json:"verification_token,omitempty"`
	// contains filtered or unexported fields
}

ZoomSettings contain the settings for sending alerts to zoom

func (*ZoomSettings) Descriptor deprecated

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

Deprecated: Use ZoomSettings.ProtoReflect.Descriptor instead.

func (*ZoomSettings) GetUrl

func (x *ZoomSettings) GetUrl() *wrapperspb.StringValue

func (*ZoomSettings) GetVerificationToken

func (x *ZoomSettings) GetVerificationToken() *wrapperspb.StringValue

func (*ZoomSettings) ProtoMessage

func (*ZoomSettings) ProtoMessage()

func (*ZoomSettings) ProtoReflect

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

func (*ZoomSettings) Reset

func (x *ZoomSettings) Reset()

func (*ZoomSettings) String

func (x *ZoomSettings) String() string

Jump to

Keyboard shortcuts

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