mkp

package
v0.0.0-...-e47837b 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 File_kentik_mkp_v202102alpha1_mkp_proto protoreflect.FileDescriptor
View Source
var PackageService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "kentik.mkp.v202102alpha1.PackageService",
	HandlerType: (*PackageServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListPackage",
			Handler:    _PackageService_ListPackage_Handler,
		},
		{
			MethodName: "GetPackage",
			Handler:    _PackageService_GetPackage_Handler,
		},
		{
			MethodName: "CreatePackage",
			Handler:    _PackageService_CreatePackage_Handler,
		},
		{
			MethodName: "UpdatePackage",
			Handler:    _PackageService_UpdatePackage_Handler,
		},
		{
			MethodName: "PatchPackage",
			Handler:    _PackageService_PatchPackage_Handler,
		},
		{
			MethodName: "DeletePackage",
			Handler:    _PackageService_DeletePackage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "kentik/mkp/v202102alpha1/mkp.proto",
}

PackageService_ServiceDesc is the grpc.ServiceDesc for PackageService 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 TenantService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "kentik.mkp.v202102alpha1.TenantService",
	HandlerType: (*TenantServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListTenant",
			Handler:    _TenantService_ListTenant_Handler,
		},
		{
			MethodName: "GetTenant",
			Handler:    _TenantService_GetTenant_Handler,
		},
		{
			MethodName: "CreateTenant",
			Handler:    _TenantService_CreateTenant_Handler,
		},
		{
			MethodName: "UpdateTenant",
			Handler:    _TenantService_UpdateTenant_Handler,
		},
		{
			MethodName: "PatchTenant",
			Handler:    _TenantService_PatchTenant_Handler,
		},
		{
			MethodName: "DeleteTenant",
			Handler:    _TenantService_DeleteTenant_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "kentik/mkp/v202102alpha1/mkp.proto",
}

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

Functions

func RegisterPackageServiceServer

func RegisterPackageServiceServer(s grpc.ServiceRegistrar, srv PackageServiceServer)

func RegisterTenantServiceServer

func RegisterTenantServiceServer(s grpc.ServiceRegistrar, srv TenantServiceServer)

Types

type Activate

type Activate struct {
	Times       uint32 `protobuf:"varint,1,opt,name=times,proto3" json:"times,omitempty"`
	Operator    string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	TimeUnit    string `protobuf:"bytes,3,opt,name=time_unit,json=timeUnit,proto3" json:"time_unit,omitempty"`
	TimeWindow  uint32 `protobuf:"varint,4,opt,name=time_window,json=timeWindow,proto3" json:"time_window,omitempty"`
	GracePeriod uint32 `protobuf:"varint,5,opt,name=grace_period,json=gracePeriod,proto3" json:"grace_period,omitempty"`
	// contains filtered or unexported fields
}

func (*Activate) Descriptor deprecated

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

Deprecated: Use Activate.ProtoReflect.Descriptor instead.

func (*Activate) GetGracePeriod

func (x *Activate) GetGracePeriod() uint32

func (*Activate) GetOperator

func (x *Activate) GetOperator() string

func (*Activate) GetTimeUnit

func (x *Activate) GetTimeUnit() string

func (*Activate) GetTimeWindow

func (x *Activate) GetTimeWindow() uint32

func (*Activate) GetTimes

func (x *Activate) GetTimes() uint32

func (*Activate) ProtoMessage

func (*Activate) ProtoMessage()

func (*Activate) ProtoReflect

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

func (*Activate) Reset

func (x *Activate) Reset()

func (*Activate) String

func (x *Activate) String() string

type Alert

type Alert struct {
	Saved            bool         `protobuf:"varint,1,opt,name=saved,proto3" json:"saved,omitempty"`
	PolicyId         uint64       `protobuf:"varint,2,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	Thresholds       []*Threshold `protobuf:"bytes,3,rep,name=thresholds,proto3" json:"thresholds,omitempty"`
	PrimaryMetric    string       `protobuf:"bytes,4,opt,name=primary_metric,json=primaryMetric,proto3" json:"primary_metric,omitempty"`
	SecondaryMetrics []string     `protobuf:"bytes,5,rep,name=secondary_metrics,json=secondaryMetrics,proto3" json:"secondary_metrics,omitempty"`
	IsTemplate       bool         `protobuf:"varint,6,opt,name=is_template,json=isTemplate,proto3" json:"is_template,omitempty"`
	SubpolicyId      string       `protobuf:"bytes,7,opt,name=subpolicy_id,json=subpolicyId,proto3" json:"subpolicy_id,omitempty"`
	// contains filtered or unexported fields
}

Alert Policy

func (*Alert) Descriptor deprecated

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

Deprecated: Use Alert.ProtoReflect.Descriptor instead.

func (*Alert) GetIsTemplate

func (x *Alert) GetIsTemplate() bool

func (*Alert) GetPolicyId

func (x *Alert) GetPolicyId() uint64

func (*Alert) GetPrimaryMetric

func (x *Alert) GetPrimaryMetric() string

func (*Alert) GetSaved

func (x *Alert) GetSaved() bool

func (*Alert) GetSecondaryMetrics

func (x *Alert) GetSecondaryMetrics() []string

func (*Alert) GetSubpolicyId

func (x *Alert) GetSubpolicyId() string

func (*Alert) GetThresholds

func (x *Alert) GetThresholds() []*Threshold

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 Asset

type Asset struct {
	Reports       []*Asset_Report `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"`
	DefaultReport *Asset_Report   `protobuf:"bytes,2,opt,name=default_report,json=defaultReport,proto3" json:"default_report,omitempty"`
	// contains filtered or unexported fields
}

func (*Asset) Descriptor deprecated

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

Deprecated: Use Asset.ProtoReflect.Descriptor instead.

func (*Asset) GetDefaultReport

func (x *Asset) GetDefaultReport() *Asset_Report

func (*Asset) GetReports

func (x *Asset) GetReports() []*Asset_Report

func (*Asset) ProtoMessage

func (*Asset) ProtoMessage()

func (*Asset) ProtoReflect

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

func (*Asset) Reset

func (x *Asset) Reset()

func (*Asset) String

func (x *Asset) String() string

type Asset_Report

type Asset_Report struct {
	Id   uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Asset_Report) Descriptor deprecated

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

Deprecated: Use Asset_Report.ProtoReflect.Descriptor instead.

func (*Asset_Report) GetId

func (x *Asset_Report) GetId() uint64

func (*Asset_Report) GetType

func (x *Asset_Report) GetType() string

func (*Asset_Report) ProtoMessage

func (*Asset_Report) ProtoMessage()

func (*Asset_Report) ProtoReflect

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

func (*Asset_Report) Reset

func (x *Asset_Report) Reset()

func (*Asset_Report) String

func (x *Asset_Report) String() string

type Condition

type Condition struct {
	Type        string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Value       uint32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	Metric      string `protobuf:"bytes,3,opt,name=metric,proto3" json:"metric,omitempty"`
	Operator    string `protobuf:"bytes,4,opt,name=operator,proto3" json:"operator,omitempty"`
	ValueType   string `protobuf:"bytes,5,opt,name=value_type,json=valueType,proto3" json:"value_type,omitempty"`
	ValueSelect string `protobuf:"bytes,6,opt,name=value_select,json=valueSelect,proto3" json:"value_select,omitempty"`
	// contains filtered or unexported fields
}

func (*Condition) Descriptor deprecated

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

Deprecated: Use Condition.ProtoReflect.Descriptor instead.

func (*Condition) GetMetric

func (x *Condition) GetMetric() string

func (*Condition) GetOperator

func (x *Condition) GetOperator() string

func (*Condition) GetType

func (x *Condition) GetType() string

func (*Condition) GetValue

func (x *Condition) GetValue() uint32

func (*Condition) GetValueSelect

func (x *Condition) GetValueSelect() string

func (*Condition) GetValueType

func (x *Condition) GetValueType() string

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) ProtoReflect

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

func (*Condition) Reset

func (x *Condition) Reset()

func (*Condition) String

func (x *Condition) String() string

type CreatePackageRequest

type CreatePackageRequest struct {
	Package *Package `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePackageRequest) Descriptor deprecated

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

Deprecated: Use CreatePackageRequest.ProtoReflect.Descriptor instead.

func (*CreatePackageRequest) GetPackage

func (x *CreatePackageRequest) GetPackage() *Package

func (*CreatePackageRequest) ProtoMessage

func (*CreatePackageRequest) ProtoMessage()

func (*CreatePackageRequest) ProtoReflect

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

func (*CreatePackageRequest) Reset

func (x *CreatePackageRequest) Reset()

func (*CreatePackageRequest) String

func (x *CreatePackageRequest) String() string

type CreatePackageResponse

type CreatePackageResponse struct {
	Package *Package `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePackageResponse) Descriptor deprecated

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

Deprecated: Use CreatePackageResponse.ProtoReflect.Descriptor instead.

func (*CreatePackageResponse) GetPackage

func (x *CreatePackageResponse) GetPackage() *Package

func (*CreatePackageResponse) ProtoMessage

func (*CreatePackageResponse) ProtoMessage()

func (*CreatePackageResponse) ProtoReflect

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

func (*CreatePackageResponse) Reset

func (x *CreatePackageResponse) Reset()

func (*CreatePackageResponse) String

func (x *CreatePackageResponse) String() string

type CreateTenantRequest

type CreateTenantRequest struct {
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTenantRequest) Descriptor deprecated

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

Deprecated: Use CreateTenantRequest.ProtoReflect.Descriptor instead.

func (*CreateTenantRequest) GetTenant

func (x *CreateTenantRequest) GetTenant() *Tenant

func (*CreateTenantRequest) ProtoMessage

func (*CreateTenantRequest) ProtoMessage()

func (*CreateTenantRequest) ProtoReflect

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

func (*CreateTenantRequest) Reset

func (x *CreateTenantRequest) Reset()

func (*CreateTenantRequest) String

func (x *CreateTenantRequest) String() string

type CreateTenantResponse

type CreateTenantResponse struct {
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTenantResponse) Descriptor deprecated

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

Deprecated: Use CreateTenantResponse.ProtoReflect.Descriptor instead.

func (*CreateTenantResponse) GetTenant

func (x *CreateTenantResponse) GetTenant() *Tenant

func (*CreateTenantResponse) ProtoMessage

func (*CreateTenantResponse) ProtoMessage()

func (*CreateTenantResponse) ProtoReflect

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

func (*CreateTenantResponse) Reset

func (x *CreateTenantResponse) Reset()

func (*CreateTenantResponse) String

func (x *CreateTenantResponse) String() string

type CustomDimension

type CustomDimension struct {
	Dimension string `protobuf:"bytes,1,opt,name=dimension,proto3" json:"dimension,omitempty"`
	Populator string `protobuf:"bytes,2,opt,name=populator,proto3" json:"populator,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomDimension) Descriptor deprecated

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

Deprecated: Use CustomDimension.ProtoReflect.Descriptor instead.

func (*CustomDimension) GetDimension

func (x *CustomDimension) GetDimension() string

func (*CustomDimension) GetPopulator

func (x *CustomDimension) GetPopulator() string

func (*CustomDimension) ProtoMessage

func (*CustomDimension) ProtoMessage()

func (*CustomDimension) ProtoReflect

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

func (*CustomDimension) Reset

func (x *CustomDimension) Reset()

func (*CustomDimension) String

func (x *CustomDimension) String() string

type DeletePackageRequest

type DeletePackageRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePackageRequest) Descriptor deprecated

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

Deprecated: Use DeletePackageRequest.ProtoReflect.Descriptor instead.

func (*DeletePackageRequest) GetId

func (x *DeletePackageRequest) GetId() uint64

func (*DeletePackageRequest) ProtoMessage

func (*DeletePackageRequest) ProtoMessage()

func (*DeletePackageRequest) ProtoReflect

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

func (*DeletePackageRequest) Reset

func (x *DeletePackageRequest) Reset()

func (*DeletePackageRequest) String

func (x *DeletePackageRequest) String() string

type DeletePackageResponse

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

func (*DeletePackageResponse) Descriptor deprecated

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

Deprecated: Use DeletePackageResponse.ProtoReflect.Descriptor instead.

func (*DeletePackageResponse) ProtoMessage

func (*DeletePackageResponse) ProtoMessage()

func (*DeletePackageResponse) ProtoReflect

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

func (*DeletePackageResponse) Reset

func (x *DeletePackageResponse) Reset()

func (*DeletePackageResponse) String

func (x *DeletePackageResponse) String() string

type DeleteTenantRequest

type DeleteTenantRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTenantRequest) Descriptor deprecated

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

Deprecated: Use DeleteTenantRequest.ProtoReflect.Descriptor instead.

func (*DeleteTenantRequest) GetId

func (x *DeleteTenantRequest) GetId() uint64

func (*DeleteTenantRequest) ProtoMessage

func (*DeleteTenantRequest) ProtoMessage()

func (*DeleteTenantRequest) ProtoReflect

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

func (*DeleteTenantRequest) Reset

func (x *DeleteTenantRequest) Reset()

func (*DeleteTenantRequest) String

func (x *DeleteTenantRequest) String() string

type DeleteTenantResponse

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

func (*DeleteTenantResponse) Descriptor deprecated

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

Deprecated: Use DeleteTenantResponse.ProtoReflect.Descriptor instead.

func (*DeleteTenantResponse) ProtoMessage

func (*DeleteTenantResponse) ProtoMessage()

func (*DeleteTenantResponse) ProtoReflect

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

func (*DeleteTenantResponse) Reset

func (x *DeleteTenantResponse) Reset()

func (*DeleteTenantResponse) String

func (x *DeleteTenantResponse) String() string

type Device

type Device struct {
	AllDevices   bool     `protobuf:"varint,1,opt,name=all_devices,json=allDevices,proto3" json:"all_devices,omitempty"`
	DeviceTypes  []string `protobuf:"bytes,2,rep,name=device_types,json=deviceTypes,proto3" json:"device_types,omitempty"`
	DeviceLabels []uint32 `protobuf:"varint,3,rep,packed,name=device_labels,json=deviceLabels,proto3" json:"device_labels,omitempty"`
	DeviceSites  []uint32 `protobuf:"varint,4,rep,packed,name=device_sites,json=deviceSites,proto3" json:"device_sites,omitempty"`
	DeviceName   []string `protobuf:"bytes,5,rep,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
	// contains filtered or unexported fields
}

func (*Device) Descriptor deprecated

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

Deprecated: Use Device.ProtoReflect.Descriptor instead.

func (*Device) GetAllDevices

func (x *Device) GetAllDevices() bool

func (*Device) GetDeviceLabels

func (x *Device) GetDeviceLabels() []uint32

func (*Device) GetDeviceName

func (x *Device) GetDeviceName() []string

func (*Device) GetDeviceSites

func (x *Device) GetDeviceSites() []uint32

func (*Device) GetDeviceTypes

func (x *Device) GetDeviceTypes() []string

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) ProtoReflect

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

func (*Device) Reset

func (x *Device) Reset()

func (*Device) String

func (x *Device) String() string

type Filter

type Filter struct {
	Name         string         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Named        bool           `protobuf:"varint,2,opt,name=named,proto3" json:"named,omitempty"`
	Connector    string         `protobuf:"bytes,3,opt,name=connector,proto3" json:"connector,omitempty"`
	Not          bool           `protobuf:"varint,4,opt,name=not,proto3" json:"not,omitempty"`
	AutoAdded    string         `protobuf:"bytes,5,opt,name=auto_added,json=autoAdded,proto3" json:"auto_added,omitempty"`
	SavedFilters []string       `protobuf:"bytes,6,rep,name=saved_filters,json=savedFilters,proto3" json:"saved_filters,omitempty"`
	Filters      []*FilterField `protobuf:"bytes,7,rep,name=filters,proto3" json:"filters,omitempty"`
	FilterGroups []*Filter      `protobuf:"bytes,8,rep,name=filter_groups,json=filterGroups,proto3" json:"filter_groups,omitempty"`
	Metric       []string       `protobuf:"bytes,9,rep,name=metric,proto3" json:"metric,omitempty"`
	// contains filtered or unexported fields
}

func (*Filter) Descriptor deprecated

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

Deprecated: Use Filter.ProtoReflect.Descriptor instead.

func (*Filter) GetAutoAdded

func (x *Filter) GetAutoAdded() string

func (*Filter) GetConnector

func (x *Filter) GetConnector() string

func (*Filter) GetFilterGroups

func (x *Filter) GetFilterGroups() []*Filter

func (*Filter) GetFilters

func (x *Filter) GetFilters() []*FilterField

func (*Filter) GetMetric

func (x *Filter) GetMetric() []string

func (*Filter) GetName

func (x *Filter) GetName() string

func (*Filter) GetNamed

func (x *Filter) GetNamed() bool

func (*Filter) GetNot

func (x *Filter) GetNot() bool

func (*Filter) GetSavedFilters

func (x *Filter) GetSavedFilters() []string

func (*Filter) ProtoMessage

func (*Filter) ProtoMessage()

func (*Filter) ProtoReflect

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

func (*Filter) Reset

func (x *Filter) Reset()

func (*Filter) String

func (x *Filter) String() string

type FilterField

type FilterField struct {
	FilterField string `protobuf:"bytes,1,opt,name=filter_field,json=filterField,proto3" json:"filter_field,omitempty"`
	Operator    string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	FilterValue string `protobuf:"bytes,3,opt,name=filter_value,json=filterValue,proto3" json:"filter_value,omitempty"`
	// contains filtered or unexported fields
}

func (*FilterField) Descriptor deprecated

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

Deprecated: Use FilterField.ProtoReflect.Descriptor instead.

func (*FilterField) GetFilterField

func (x *FilterField) GetFilterField() string

func (*FilterField) GetFilterValue

func (x *FilterField) GetFilterValue() string

func (*FilterField) GetOperator

func (x *FilterField) GetOperator() string

func (*FilterField) ProtoMessage

func (*FilterField) ProtoMessage()

func (*FilterField) ProtoReflect

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

func (*FilterField) Reset

func (x *FilterField) Reset()

func (*FilterField) String

func (x *FilterField) String() string

type GetPackageRequest

type GetPackageRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPackageRequest) Descriptor deprecated

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

Deprecated: Use GetPackageRequest.ProtoReflect.Descriptor instead.

func (*GetPackageRequest) GetId

func (x *GetPackageRequest) GetId() uint64

func (*GetPackageRequest) ProtoMessage

func (*GetPackageRequest) ProtoMessage()

func (*GetPackageRequest) ProtoReflect

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

func (*GetPackageRequest) Reset

func (x *GetPackageRequest) Reset()

func (*GetPackageRequest) String

func (x *GetPackageRequest) String() string

type GetPackageResponse

type GetPackageResponse struct {
	Package *Package `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPackageResponse) Descriptor deprecated

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

Deprecated: Use GetPackageResponse.ProtoReflect.Descriptor instead.

func (*GetPackageResponse) GetPackage

func (x *GetPackageResponse) GetPackage() *Package

func (*GetPackageResponse) ProtoMessage

func (*GetPackageResponse) ProtoMessage()

func (*GetPackageResponse) ProtoReflect

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

func (*GetPackageResponse) Reset

func (x *GetPackageResponse) Reset()

func (*GetPackageResponse) String

func (x *GetPackageResponse) String() string

type GetTenantRequest

type GetTenantRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTenantRequest) Descriptor deprecated

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

Deprecated: Use GetTenantRequest.ProtoReflect.Descriptor instead.

func (*GetTenantRequest) GetId

func (x *GetTenantRequest) GetId() uint64

func (*GetTenantRequest) ProtoMessage

func (*GetTenantRequest) ProtoMessage()

func (*GetTenantRequest) ProtoReflect

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

func (*GetTenantRequest) Reset

func (x *GetTenantRequest) Reset()

func (*GetTenantRequest) String

func (x *GetTenantRequest) String() string

type GetTenantResponse

type GetTenantResponse struct {
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTenantResponse) Descriptor deprecated

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

Deprecated: Use GetTenantResponse.ProtoReflect.Descriptor instead.

func (*GetTenantResponse) GetTenant

func (x *GetTenantResponse) GetTenant() *Tenant

func (*GetTenantResponse) ProtoMessage

func (*GetTenantResponse) ProtoMessage()

func (*GetTenantResponse) ProtoReflect

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

func (*GetTenantResponse) Reset

func (x *GetTenantResponse) Reset()

func (*GetTenantResponse) String

func (x *GetTenantResponse) String() string

type ListPackageRequest

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

func (*ListPackageRequest) Descriptor deprecated

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

Deprecated: Use ListPackageRequest.ProtoReflect.Descriptor instead.

func (*ListPackageRequest) ProtoMessage

func (*ListPackageRequest) ProtoMessage()

func (*ListPackageRequest) ProtoReflect

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

func (*ListPackageRequest) Reset

func (x *ListPackageRequest) Reset()

func (*ListPackageRequest) String

func (x *ListPackageRequest) String() string

type ListPackageResponse

type ListPackageResponse struct {
	Packages []*Package `protobuf:"bytes,1,rep,name=packages,proto3" json:"packages,omitempty"`
	// The number of invalid packages, for troubleshooting. Should be zero.
	InvalidCount uint32 `protobuf:"varint,2,opt,name=invalid_count,json=invalidCount,proto3" json:"invalid_count,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPackageResponse) Descriptor deprecated

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

Deprecated: Use ListPackageResponse.ProtoReflect.Descriptor instead.

func (*ListPackageResponse) GetInvalidCount

func (x *ListPackageResponse) GetInvalidCount() uint32

func (*ListPackageResponse) GetPackages

func (x *ListPackageResponse) GetPackages() []*Package

func (*ListPackageResponse) ProtoMessage

func (*ListPackageResponse) ProtoMessage()

func (*ListPackageResponse) ProtoReflect

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

func (*ListPackageResponse) Reset

func (x *ListPackageResponse) Reset()

func (*ListPackageResponse) String

func (x *ListPackageResponse) String() string

type ListTenantRequest

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

func (*ListTenantRequest) Descriptor deprecated

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

Deprecated: Use ListTenantRequest.ProtoReflect.Descriptor instead.

func (*ListTenantRequest) ProtoMessage

func (*ListTenantRequest) ProtoMessage()

func (*ListTenantRequest) ProtoReflect

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

func (*ListTenantRequest) Reset

func (x *ListTenantRequest) Reset()

func (*ListTenantRequest) String

func (x *ListTenantRequest) String() string

type ListTenantResponse

type ListTenantResponse struct {
	Tenants      []*Tenant `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants,omitempty"`
	InvalidCount uint32    `protobuf:"varint,2,opt,name=invalid_count,json=invalidCount,proto3" json:"invalid_count,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTenantResponse) Descriptor deprecated

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

Deprecated: Use ListTenantResponse.ProtoReflect.Descriptor instead.

func (*ListTenantResponse) GetInvalidCount

func (x *ListTenantResponse) GetInvalidCount() uint32

func (*ListTenantResponse) GetTenants

func (x *ListTenantResponse) GetTenants() []*Tenant

func (*ListTenantResponse) ProtoMessage

func (*ListTenantResponse) ProtoMessage()

func (*ListTenantResponse) ProtoReflect

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

func (*ListTenantResponse) Reset

func (x *ListTenantResponse) Reset()

func (*ListTenantResponse) String

func (x *ListTenantResponse) String() string

type Mitigation

type Mitigation struct {
	Id                    uint64 `protobuf:"varint,13,opt,name=id,proto3" json:"id,omitempty"`
	Status                string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	CompanyId             uint64 `protobuf:"varint,2,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"`
	PairingId             uint64 `protobuf:"varint,3,opt,name=pairing_id,json=pairingId,proto3" json:"pairing_id,omitempty"`
	ThresholdId           uint64 `protobuf:"varint,4,opt,name=threshold_id,json=thresholdId,proto3" json:"threshold_id,omitempty"`
	IsMethodOverridable   bool   `protobuf:"varint,5,opt,name=is_method_overridable,json=isMethodOverridable,proto3" json:"is_method_overridable,omitempty"`
	MitigationApplyType   string `protobuf:"bytes,6,opt,name=mitigation_apply_type,json=mitigationApplyType,proto3" json:"mitigation_apply_type,omitempty"`
	MitigationClearType   string `protobuf:"bytes,7,opt,name=mitigation_clear_type,json=mitigationClearType,proto3" json:"mitigation_clear_type,omitempty"`
	MitigationApplyTimer  uint32 `protobuf:"varint,8,opt,name=mitigation_apply_timer,json=mitigationApplyTimer,proto3" json:"mitigation_apply_timer,omitempty"`
	MitigationClearTimer  uint32 `protobuf:"varint,9,opt,name=mitigation_clear_timer,json=mitigationClearTimer,proto3" json:"mitigation_clear_timer,omitempty"`
	IsPlatformOverridable bool   ``                                                                 /* 128-byte string literal not displayed */
	Cdate                 string `protobuf:"bytes,11,opt,name=cdate,proto3" json:"cdate,omitempty"` // revisit for timestamp
	Edate                 string `protobuf:"bytes,12,opt,name=edate,proto3" json:"edate,omitempty"` // revisit for timestamp
	// contains filtered or unexported fields
}

func (*Mitigation) Descriptor deprecated

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

Deprecated: Use Mitigation.ProtoReflect.Descriptor instead.

func (*Mitigation) GetCdate

func (x *Mitigation) GetCdate() string

func (*Mitigation) GetCompanyId

func (x *Mitigation) GetCompanyId() uint64

func (*Mitigation) GetEdate

func (x *Mitigation) GetEdate() string

func (*Mitigation) GetId

func (x *Mitigation) GetId() uint64

func (*Mitigation) GetIsMethodOverridable

func (x *Mitigation) GetIsMethodOverridable() bool

func (*Mitigation) GetIsPlatformOverridable

func (x *Mitigation) GetIsPlatformOverridable() bool

func (*Mitigation) GetMitigationApplyTimer

func (x *Mitigation) GetMitigationApplyTimer() uint32

func (*Mitigation) GetMitigationApplyType

func (x *Mitigation) GetMitigationApplyType() string

func (*Mitigation) GetMitigationClearTimer

func (x *Mitigation) GetMitigationClearTimer() uint32

func (*Mitigation) GetMitigationClearType

func (x *Mitigation) GetMitigationClearType() string

func (*Mitigation) GetPairingId

func (x *Mitigation) GetPairingId() uint64

func (*Mitigation) GetStatus

func (x *Mitigation) GetStatus() string

func (*Mitigation) GetThresholdId

func (x *Mitigation) GetThresholdId() uint64

func (*Mitigation) ProtoMessage

func (*Mitigation) ProtoMessage()

func (*Mitigation) ProtoReflect

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

func (*Mitigation) Reset

func (x *Mitigation) Reset()

func (*Mitigation) String

func (x *Mitigation) String() string

type NotificationChannel

type NotificationChannel struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*NotificationChannel) Descriptor deprecated

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

Deprecated: Use NotificationChannel.ProtoReflect.Descriptor instead.

func (*NotificationChannel) GetId

func (x *NotificationChannel) GetId() uint64

func (*NotificationChannel) ProtoMessage

func (*NotificationChannel) ProtoMessage()

func (*NotificationChannel) ProtoReflect

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

func (*NotificationChannel) Reset

func (x *NotificationChannel) Reset()

func (*NotificationChannel) String

func (x *NotificationChannel) String() string

type Package

type Package struct {
	Id          uint64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CompanyId   uint64   `protobuf:"varint,2,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"`
	Name        string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description string   `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Icon        string   `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"`
	Color       string   `protobuf:"bytes,6,opt,name=color,proto3" json:"color,omitempty"`
	Alerts      []*Alert `protobuf:"bytes,7,rep,name=alerts,proto3" json:"alerts,omitempty"`
	Assets      *Asset   `protobuf:"bytes,8,opt,name=assets,proto3" json:"assets,omitempty"`
	IsDefault   bool     `protobuf:"varint,9,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	// list of tenants using this Package template (for GetTenant only)
	Tenants []*TenantLink `protobuf:"bytes,10,rep,name=tenants,proto3" json:"tenants,omitempty"`
	// contains filtered or unexported fields
}

Package Template definition

func (*Package) Descriptor deprecated

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

Deprecated: Use Package.ProtoReflect.Descriptor instead.

func (*Package) GetAlerts

func (x *Package) GetAlerts() []*Alert

func (*Package) GetAssets

func (x *Package) GetAssets() *Asset

func (*Package) GetColor

func (x *Package) GetColor() string

func (*Package) GetCompanyId

func (x *Package) GetCompanyId() uint64

func (*Package) GetDescription

func (x *Package) GetDescription() string

func (*Package) GetIcon

func (x *Package) GetIcon() string

func (*Package) GetId

func (x *Package) GetId() uint64

func (*Package) GetIsDefault

func (x *Package) GetIsDefault() bool

func (*Package) GetName

func (x *Package) GetName() string

func (*Package) GetTenants

func (x *Package) GetTenants() []*TenantLink

func (*Package) ProtoMessage

func (*Package) ProtoMessage()

func (*Package) ProtoReflect

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

func (*Package) Reset

func (x *Package) Reset()

func (*Package) String

func (x *Package) String() string

type PackageServiceClient

type PackageServiceClient interface {
	ListPackage(ctx context.Context, in *ListPackageRequest, opts ...grpc.CallOption) (*ListPackageResponse, error)
	GetPackage(ctx context.Context, in *GetPackageRequest, opts ...grpc.CallOption) (*GetPackageResponse, error)
	CreatePackage(ctx context.Context, in *CreatePackageRequest, opts ...grpc.CallOption) (*CreatePackageResponse, error)
	UpdatePackage(ctx context.Context, in *UpdatePackageRequest, opts ...grpc.CallOption) (*UpdatePackageResponse, error)
	PatchPackage(ctx context.Context, in *PatchPackageRequest, opts ...grpc.CallOption) (*PatchPackageResponse, error)
	DeletePackage(ctx context.Context, in *DeletePackageRequest, opts ...grpc.CallOption) (*DeletePackageResponse, error)
}

PackageServiceClient is the client API for PackageService 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 PackageServiceServer

PackageServiceServer is the server API for PackageService service. All implementations should embed UnimplementedPackageServiceServer for forward compatibility

type PatchPackageRequest

type PatchPackageRequest struct {
	Package *Package `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	// CSV values of fields follow the path of Package object dot notation (ie. "package.name,package.assets.reports")
	Mask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=mask,proto3" json:"mask,omitempty"`
	// contains filtered or unexported fields
}

func (*PatchPackageRequest) Descriptor deprecated

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

Deprecated: Use PatchPackageRequest.ProtoReflect.Descriptor instead.

func (*PatchPackageRequest) GetMask

func (*PatchPackageRequest) GetPackage

func (x *PatchPackageRequest) GetPackage() *Package

func (*PatchPackageRequest) ProtoMessage

func (*PatchPackageRequest) ProtoMessage()

func (*PatchPackageRequest) ProtoReflect

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

func (*PatchPackageRequest) Reset

func (x *PatchPackageRequest) Reset()

func (*PatchPackageRequest) String

func (x *PatchPackageRequest) String() string

type PatchPackageResponse

type PatchPackageResponse struct {
	Package *Package `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*PatchPackageResponse) Descriptor deprecated

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

Deprecated: Use PatchPackageResponse.ProtoReflect.Descriptor instead.

func (*PatchPackageResponse) GetPackage

func (x *PatchPackageResponse) GetPackage() *Package

func (*PatchPackageResponse) ProtoMessage

func (*PatchPackageResponse) ProtoMessage()

func (*PatchPackageResponse) ProtoReflect

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

func (*PatchPackageResponse) Reset

func (x *PatchPackageResponse) Reset()

func (*PatchPackageResponse) String

func (x *PatchPackageResponse) String() string

type PatchTenantRequest

type PatchTenantRequest struct {
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// CSV values of fields follow the path of Tenant object dot notation (ie. "tenant.name,tenant.filters.name")
	Mask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=mask,proto3" json:"mask,omitempty"`
	// contains filtered or unexported fields
}

func (*PatchTenantRequest) Descriptor deprecated

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

Deprecated: Use PatchTenantRequest.ProtoReflect.Descriptor instead.

func (*PatchTenantRequest) GetMask

func (*PatchTenantRequest) GetTenant

func (x *PatchTenantRequest) GetTenant() *Tenant

func (*PatchTenantRequest) ProtoMessage

func (*PatchTenantRequest) ProtoMessage()

func (*PatchTenantRequest) ProtoReflect

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

func (*PatchTenantRequest) Reset

func (x *PatchTenantRequest) Reset()

func (*PatchTenantRequest) String

func (x *PatchTenantRequest) String() string

type PatchTenantResponse

type PatchTenantResponse struct {
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*PatchTenantResponse) Descriptor deprecated

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

Deprecated: Use PatchTenantResponse.ProtoReflect.Descriptor instead.

func (*PatchTenantResponse) GetTenant

func (x *PatchTenantResponse) GetTenant() *Tenant

func (*PatchTenantResponse) ProtoMessage

func (*PatchTenantResponse) ProtoMessage()

func (*PatchTenantResponse) ProtoReflect

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

func (*PatchTenantResponse) Reset

func (x *PatchTenantResponse) Reset()

func (*PatchTenantResponse) String

func (x *PatchTenantResponse) String() string

type Tenant

type Tenant struct {
	Id          uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CompanyId   uint64 `protobuf:"varint,2,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"`
	Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Type        string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	Enabled     bool   `protobuf:"varint,6,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// config object
	Alerts           []*Alert           `protobuf:"bytes,7,rep,name=alerts,proto3" json:"alerts,omitempty"`
	Assets           *Asset             `protobuf:"bytes,15,opt,name=assets,proto3" json:"assets,omitempty"`
	Asn              string             `protobuf:"bytes,8,opt,name=asn,proto3" json:"asn,omitempty"`
	Cidr             string             `protobuf:"bytes,9,opt,name=cidr,proto3" json:"cidr,omitempty"`
	CustomDimensions []*CustomDimension `protobuf:"bytes,10,rep,name=custom_dimensions,json=customDimensions,proto3" json:"custom_dimensions,omitempty"`
	Devices          *Device            `protobuf:"bytes,11,opt,name=devices,proto3" json:"devices,omitempty"`
	Filters          *Filter            `protobuf:"bytes,12,opt,name=filters,proto3" json:"filters,omitempty"`
	InterfaceName    string             `protobuf:"bytes,13,opt,name=interface_name,json=interfaceName,proto3" json:"interface_name,omitempty"`
	SnmpAlias        string             `protobuf:"bytes,14,opt,name=snmp_alias,json=snmpAlias,proto3" json:"snmp_alias,omitempty"`
	// Packages associated with Tenant (for GetTenant only)
	Packages []*Package `protobuf:"bytes,16,rep,name=packages,proto3" json:"packages,omitempty"`
	// Users associated with Tenant (for GetTenant only)
	Users []*User `protobuf:"bytes,17,rep,name=users,proto3" json:"users,omitempty"`
	// Package ID to use with tenant
	TemplateId uint32 `protobuf:"varint,18,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Tenant) Descriptor deprecated

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

Deprecated: Use Tenant.ProtoReflect.Descriptor instead.

func (*Tenant) GetAlerts

func (x *Tenant) GetAlerts() []*Alert

func (*Tenant) GetAsn

func (x *Tenant) GetAsn() string

func (*Tenant) GetAssets

func (x *Tenant) GetAssets() *Asset

func (*Tenant) GetCidr

func (x *Tenant) GetCidr() string

func (*Tenant) GetCompanyId

func (x *Tenant) GetCompanyId() uint64

func (*Tenant) GetCustomDimensions

func (x *Tenant) GetCustomDimensions() []*CustomDimension

func (*Tenant) GetDescription

func (x *Tenant) GetDescription() string

func (*Tenant) GetDevices

func (x *Tenant) GetDevices() *Device

func (*Tenant) GetEnabled

func (x *Tenant) GetEnabled() bool

func (*Tenant) GetFilters

func (x *Tenant) GetFilters() *Filter

func (*Tenant) GetId

func (x *Tenant) GetId() uint64

func (*Tenant) GetInterfaceName

func (x *Tenant) GetInterfaceName() string

func (*Tenant) GetName

func (x *Tenant) GetName() string

func (*Tenant) GetPackages

func (x *Tenant) GetPackages() []*Package

func (*Tenant) GetSnmpAlias

func (x *Tenant) GetSnmpAlias() string

func (*Tenant) GetTemplateId

func (x *Tenant) GetTemplateId() uint32

func (*Tenant) GetType

func (x *Tenant) GetType() string

func (*Tenant) GetUsers

func (x *Tenant) GetUsers() []*User

func (*Tenant) ProtoMessage

func (*Tenant) ProtoMessage()

func (*Tenant) ProtoReflect

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

func (*Tenant) Reset

func (x *Tenant) Reset()

func (*Tenant) String

func (x *Tenant) String() string
type TenantLink struct {
	Id               uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	PivotTemplateId  uint64 `protobuf:"varint,2,opt,name=pivot_template_id,json=pivotTemplateId,proto3" json:"pivot_template_id,omitempty"`
	PivotUserGroupId uint64 `protobuf:"varint,3,opt,name=pivot_user_group_id,json=pivotUserGroupId,proto3" json:"pivot_user_group_id,omitempty"`
	// contains filtered or unexported fields
}

Tenants referencing this Package template

func (*TenantLink) Descriptor deprecated

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

Deprecated: Use TenantLink.ProtoReflect.Descriptor instead.

func (*TenantLink) GetId

func (x *TenantLink) GetId() uint64

func (*TenantLink) GetPivotTemplateId

func (x *TenantLink) GetPivotTemplateId() uint64

func (*TenantLink) GetPivotUserGroupId

func (x *TenantLink) GetPivotUserGroupId() uint64

func (*TenantLink) ProtoMessage

func (*TenantLink) ProtoMessage()

func (*TenantLink) ProtoReflect

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

func (*TenantLink) Reset

func (x *TenantLink) Reset()

func (*TenantLink) String

func (x *TenantLink) String() string

type TenantServiceClient

type TenantServiceClient interface {
	ListTenant(ctx context.Context, in *ListTenantRequest, opts ...grpc.CallOption) (*ListTenantResponse, error)
	GetTenant(ctx context.Context, in *GetTenantRequest, opts ...grpc.CallOption) (*GetTenantResponse, error)
	CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...grpc.CallOption) (*CreateTenantResponse, error)
	UpdateTenant(ctx context.Context, in *UpdateTenantRequest, opts ...grpc.CallOption) (*UpdateTenantResponse, error)
	PatchTenant(ctx context.Context, in *PatchTenantRequest, opts ...grpc.CallOption) (*PatchTenantResponse, error)
	DeleteTenant(ctx context.Context, in *DeleteTenantRequest, opts ...grpc.CallOption) (*DeleteTenantResponse, error)
}

TenantServiceClient is the client API for TenantService 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 TenantServiceServer

TenantServiceServer is the server API for TenantService service. All implementations should embed UnimplementedTenantServiceServer for forward compatibility

type Threshold

type Threshold struct {
	Id                           uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Activate                     *Activate              `protobuf:"bytes,2,opt,name=activate,proto3" json:"activate,omitempty"`
	Severity                     string                 `protobuf:"bytes,3,opt,name=severity,proto3" json:"severity,omitempty"`
	Conditions                   []*Condition           `protobuf:"bytes,4,rep,name=conditions,proto3" json:"conditions,omitempty"`
	Mitigations                  []*Mitigation          `protobuf:"bytes,5,rep,name=mitigations,proto3" json:"mitigations,omitempty"`
	NotificationChannels         []*NotificationChannel `protobuf:"bytes,6,rep,name=notification_channels,json=notificationChannels,proto3" json:"notification_channels,omitempty"`
	ThresholdAckRequired         bool                   `protobuf:"varint,7,opt,name=threshold_ack_required,json=thresholdAckRequired,proto3" json:"threshold_ack_required,omitempty"`
	EnableTenantNotifications    bool                   `` /* 139-byte string literal not displayed */
	ReceiveLandlordNotifications bool                   `` /* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

Alert Threshold

func (*Threshold) Descriptor deprecated

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

Deprecated: Use Threshold.ProtoReflect.Descriptor instead.

func (*Threshold) GetActivate

func (x *Threshold) GetActivate() *Activate

func (*Threshold) GetConditions

func (x *Threshold) GetConditions() []*Condition

func (*Threshold) GetEnableTenantNotifications

func (x *Threshold) GetEnableTenantNotifications() bool

func (*Threshold) GetId

func (x *Threshold) GetId() uint64

func (*Threshold) GetMitigations

func (x *Threshold) GetMitigations() []*Mitigation

func (*Threshold) GetNotificationChannels

func (x *Threshold) GetNotificationChannels() []*NotificationChannel

func (*Threshold) GetReceiveLandlordNotifications

func (x *Threshold) GetReceiveLandlordNotifications() bool

func (*Threshold) GetSeverity

func (x *Threshold) GetSeverity() string

func (*Threshold) GetThresholdAckRequired

func (x *Threshold) GetThresholdAckRequired() bool

func (*Threshold) ProtoMessage

func (*Threshold) ProtoMessage()

func (*Threshold) ProtoReflect

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

func (*Threshold) Reset

func (x *Threshold) Reset()

func (*Threshold) String

func (x *Threshold) String() string

type UnimplementedPackageServiceServer

type UnimplementedPackageServiceServer struct {
}

UnimplementedPackageServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedPackageServiceServer) CreatePackage

func (UnimplementedPackageServiceServer) DeletePackage

func (UnimplementedPackageServiceServer) GetPackage

func (UnimplementedPackageServiceServer) ListPackage

func (UnimplementedPackageServiceServer) PatchPackage

func (UnimplementedPackageServiceServer) UpdatePackage

type UnimplementedTenantServiceServer

type UnimplementedTenantServiceServer struct {
}

UnimplementedTenantServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedTenantServiceServer) CreateTenant

func (UnimplementedTenantServiceServer) DeleteTenant

func (UnimplementedTenantServiceServer) GetTenant

func (UnimplementedTenantServiceServer) ListTenant

func (UnimplementedTenantServiceServer) PatchTenant

func (UnimplementedTenantServiceServer) UpdateTenant

type UnsafePackageServiceServer

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

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

type UnsafeTenantServiceServer

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

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

type UpdatePackageRequest

type UpdatePackageRequest struct {
	Package *Package `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePackageRequest) Descriptor deprecated

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

Deprecated: Use UpdatePackageRequest.ProtoReflect.Descriptor instead.

func (*UpdatePackageRequest) GetPackage

func (x *UpdatePackageRequest) GetPackage() *Package

func (*UpdatePackageRequest) ProtoMessage

func (*UpdatePackageRequest) ProtoMessage()

func (*UpdatePackageRequest) ProtoReflect

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

func (*UpdatePackageRequest) Reset

func (x *UpdatePackageRequest) Reset()

func (*UpdatePackageRequest) String

func (x *UpdatePackageRequest) String() string

type UpdatePackageResponse

type UpdatePackageResponse struct {
	Package *Package `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePackageResponse) Descriptor deprecated

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

Deprecated: Use UpdatePackageResponse.ProtoReflect.Descriptor instead.

func (*UpdatePackageResponse) GetPackage

func (x *UpdatePackageResponse) GetPackage() *Package

func (*UpdatePackageResponse) ProtoMessage

func (*UpdatePackageResponse) ProtoMessage()

func (*UpdatePackageResponse) ProtoReflect

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

func (*UpdatePackageResponse) Reset

func (x *UpdatePackageResponse) Reset()

func (*UpdatePackageResponse) String

func (x *UpdatePackageResponse) String() string

type UpdateTenantRequest

type UpdateTenantRequest struct {
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTenantRequest) Descriptor deprecated

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

Deprecated: Use UpdateTenantRequest.ProtoReflect.Descriptor instead.

func (*UpdateTenantRequest) GetTenant

func (x *UpdateTenantRequest) GetTenant() *Tenant

func (*UpdateTenantRequest) ProtoMessage

func (*UpdateTenantRequest) ProtoMessage()

func (*UpdateTenantRequest) ProtoReflect

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

func (*UpdateTenantRequest) Reset

func (x *UpdateTenantRequest) Reset()

func (*UpdateTenantRequest) String

func (x *UpdateTenantRequest) String() string

type UpdateTenantResponse

type UpdateTenantResponse struct {
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTenantResponse) Descriptor deprecated

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

Deprecated: Use UpdateTenantResponse.ProtoReflect.Descriptor instead.

func (*UpdateTenantResponse) GetTenant

func (x *UpdateTenantResponse) GetTenant() *Tenant

func (*UpdateTenantResponse) ProtoMessage

func (*UpdateTenantResponse) ProtoMessage()

func (*UpdateTenantResponse) ProtoReflect

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

func (*UpdateTenantResponse) Reset

func (x *UpdateTenantResponse) Reset()

func (*UpdateTenantResponse) String

func (x *UpdateTenantResponse) String() string

type User

type User struct {
	Id           uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CompanyId    uint64 `protobuf:"varint,2,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"`
	UserEmail    string `protobuf:"bytes,3,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	UserName     string `protobuf:"bytes,4,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	UserFullName string `protobuf:"bytes,5,opt,name=user_full_name,json=userFullName,proto3" json:"user_full_name,omitempty"`
	UserGroupId  uint64 `protobuf:"varint,6,opt,name=user_group_id,json=userGroupId,proto3" json:"user_group_id,omitempty"`
	LastLogin    string `protobuf:"bytes,7,opt,name=last_login,json=lastLogin,proto3" json:"last_login,omitempty"` // revisit timestamp
	// Required for the CreateTenant operation
	PermissionOverrides bool `protobuf:"varint,8,opt,name=permission_overrides,json=permissionOverrides,proto3" json:"permission_overrides,omitempty"`
	// Required for the CreateTenant operation
	Role string `protobuf:"bytes,9,opt,name=role,proto3" json:"role,omitempty"`
	// Required for the CreateTenant operation
	UserLevel uint32 `protobuf:"varint,10,opt,name=user_level,json=userLevel,proto3" json:"user_level,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetCompanyId

func (x *User) GetCompanyId() uint64

func (*User) GetId

func (x *User) GetId() uint64

func (*User) GetLastLogin

func (x *User) GetLastLogin() string

func (*User) GetPermissionOverrides

func (x *User) GetPermissionOverrides() bool

func (*User) GetRole

func (x *User) GetRole() string

func (*User) GetUserEmail

func (x *User) GetUserEmail() string

func (*User) GetUserFullName

func (x *User) GetUserFullName() string

func (*User) GetUserGroupId

func (x *User) GetUserGroupId() uint64

func (*User) GetUserLevel

func (x *User) GetUserLevel() uint32

func (*User) GetUserName

func (x *User) GetUserName() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Jump to

Keyboard shortcuts

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