Documentation ¶
Index ¶
- Variables
- func RegisterNotificationsServer(s *grpc.Server, srv NotificationsServer)
- type CCRFailure
- func (*CCRFailure) Descriptor() ([]byte, []int)
- func (m *CCRFailure) GetCookbook() string
- func (m *CCRFailure) GetException() *ExceptionInfo
- func (m *CCRFailure) GetNodeName() string
- func (m *CCRFailure) GetNodeUrl() string
- func (m *CCRFailure) GetRecipe() string
- func (m *CCRFailure) GetRunId() string
- func (m *CCRFailure) GetRunUrl() string
- func (m *CCRFailure) GetTime() *TimeInfo
- func (m *CCRFailure) GetTimestamp() string
- func (*CCRFailure) ProtoMessage()
- func (m *CCRFailure) Reset()
- func (m *CCRFailure) String() string
- func (m *CCRFailure) XXX_DiscardUnknown()
- func (m *CCRFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CCRFailure) XXX_Merge(src proto.Message)
- func (m *CCRFailure) XXX_Size() int
- func (m *CCRFailure) XXX_Unmarshal(b []byte) error
- type CCRSuccess
- func (*CCRSuccess) Descriptor() ([]byte, []int)
- func (m *CCRSuccess) GetNodeName() string
- func (m *CCRSuccess) GetRunId() string
- func (m *CCRSuccess) GetRunUrl() string
- func (m *CCRSuccess) GetTime() *TimeInfo
- func (m *CCRSuccess) GetTimestamp() string
- func (m *CCRSuccess) GetUpdatedResourceCount() int32
- func (*CCRSuccess) ProtoMessage()
- func (m *CCRSuccess) Reset()
- func (m *CCRSuccess) String() string
- func (m *CCRSuccess) XXX_DiscardUnknown()
- func (m *CCRSuccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CCRSuccess) XXX_Merge(src proto.Message)
- func (m *CCRSuccess) XXX_Size() int
- func (m *CCRSuccess) XXX_Unmarshal(b []byte) error
- type ComplianceFailure
- func (*ComplianceFailure) Descriptor() ([]byte, []int)
- func (m *ComplianceFailure) GetComplianceUrl() string
- func (m *ComplianceFailure) GetEndTime() string
- func (m *ComplianceFailure) GetFailedProfiles() []*Profile
- func (m *ComplianceFailure) GetId() string
- func (m *ComplianceFailure) GetInspecVersion() string
- func (m *ComplianceFailure) GetNodeId() string
- func (m *ComplianceFailure) GetNodeName() string
- func (m *ComplianceFailure) GetTestTotals() *ComplianceFailure_ControlTotals
- func (m *ComplianceFailure) GetTimestamp() string
- func (*ComplianceFailure) ProtoMessage()
- func (m *ComplianceFailure) Reset()
- func (m *ComplianceFailure) String() string
- func (m *ComplianceFailure) XXX_DiscardUnknown()
- func (m *ComplianceFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ComplianceFailure) XXX_Merge(src proto.Message)
- func (m *ComplianceFailure) XXX_Size() int
- func (m *ComplianceFailure) XXX_Unmarshal(b []byte) error
- type ComplianceFailure_ControlTotals
- func (*ComplianceFailure_ControlTotals) Descriptor() ([]byte, []int)
- func (m *ComplianceFailure_ControlTotals) GetCritical() int32
- func (m *ComplianceFailure_ControlTotals) GetCriticalFailed() int32
- func (m *ComplianceFailure_ControlTotals) GetFailed() int32
- func (m *ComplianceFailure_ControlTotals) GetPassed() int32
- func (m *ComplianceFailure_ControlTotals) GetSkipped() int32
- func (*ComplianceFailure_ControlTotals) ProtoMessage()
- func (m *ComplianceFailure_ControlTotals) Reset()
- func (m *ComplianceFailure_ControlTotals) String() string
- func (m *ComplianceFailure_ControlTotals) XXX_DiscardUnknown()
- func (m *ComplianceFailure_ControlTotals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ComplianceFailure_ControlTotals) XXX_Merge(src proto.Message)
- func (m *ComplianceFailure_ControlTotals) XXX_Size() int
- func (m *ComplianceFailure_ControlTotals) XXX_Unmarshal(b []byte) error
- type ComplianceSuccess
- func (*ComplianceSuccess) Descriptor() ([]byte, []int)
- func (m *ComplianceSuccess) GetComplianceUrl() string
- func (m *ComplianceSuccess) GetEndTime() string
- func (m *ComplianceSuccess) GetId() string
- func (m *ComplianceSuccess) GetNodeId() string
- func (m *ComplianceSuccess) GetNodeName() string
- func (m *ComplianceSuccess) GetTimestamp() string
- func (*ComplianceSuccess) ProtoMessage()
- func (m *ComplianceSuccess) Reset()
- func (m *ComplianceSuccess) String() string
- func (m *ComplianceSuccess) XXX_DiscardUnknown()
- func (m *ComplianceSuccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ComplianceSuccess) XXX_Merge(src proto.Message)
- func (m *ComplianceSuccess) XXX_Size() int
- func (m *ComplianceSuccess) XXX_Unmarshal(b []byte) error
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetCCRFailure() *CCRFailure
- func (m *Event) GetCCRSuccess() *CCRSuccess
- func (m *Event) GetComplianceFailure() *ComplianceFailure
- func (m *Event) GetComplianceSuccess() *ComplianceSuccess
- func (m *Event) GetEvent() isEvent_Event
- func (m *Event) GetId() string
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) String() string
- func (m *Event) XXX_DiscardUnknown()
- func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Event) XXX_Merge(src proto.Message)
- func (*Event) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Event) XXX_Size() int
- func (m *Event) XXX_Unmarshal(b []byte) error
- type Event_CCRFailure
- type Event_CCRSuccess
- type Event_ComplianceFailure
- type Event_ComplianceSuccess
- type ExceptionInfo
- func (*ExceptionInfo) Descriptor() ([]byte, []int)
- func (m *ExceptionInfo) GetBacktrace() []string
- func (m *ExceptionInfo) GetClass() string
- func (m *ExceptionInfo) GetMsg() string
- func (m *ExceptionInfo) GetTitle() string
- func (*ExceptionInfo) ProtoMessage()
- func (m *ExceptionInfo) Reset()
- func (m *ExceptionInfo) String() string
- func (m *ExceptionInfo) XXX_DiscardUnknown()
- func (m *ExceptionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ExceptionInfo) XXX_Merge(src proto.Message)
- func (m *ExceptionInfo) XXX_Size() int
- func (m *ExceptionInfo) XXX_Unmarshal(b []byte) error
- type NotificationsClient
- type NotificationsServer
- type PlatformSupport
- func (*PlatformSupport) Descriptor() ([]byte, []int)
- func (m *PlatformSupport) GetInspec() string
- func (m *PlatformSupport) GetOsFamily() string
- func (m *PlatformSupport) GetOsName() string
- func (m *PlatformSupport) GetRelease() string
- func (*PlatformSupport) ProtoMessage()
- func (m *PlatformSupport) Reset()
- func (m *PlatformSupport) String() string
- func (m *PlatformSupport) XXX_DiscardUnknown()
- func (m *PlatformSupport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PlatformSupport) XXX_Merge(src proto.Message)
- func (m *PlatformSupport) XXX_Size() int
- func (m *PlatformSupport) XXX_Unmarshal(b []byte) error
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)
- func (m *Profile) GetAttributes() []*Profile_Attribute
- func (m *Profile) GetCopyright() string
- func (m *Profile) GetCopyrightEmail() string
- func (m *Profile) GetFailedControls() []*Profile_Control
- func (m *Profile) GetLicense() string
- func (m *Profile) GetMaintainer() string
- func (m *Profile) GetName() string
- func (m *Profile) GetSha256() string
- func (m *Profile) GetStats() *Profile_ControlTotals
- func (m *Profile) GetSummary() string
- func (m *Profile) GetSupports() []*PlatformSupport
- func (m *Profile) GetTitle() string
- func (m *Profile) GetVersion() string
- func (*Profile) ProtoMessage()
- func (m *Profile) Reset()
- func (m *Profile) String() string
- func (m *Profile) XXX_DiscardUnknown()
- func (m *Profile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Profile) XXX_Merge(src proto.Message)
- func (m *Profile) XXX_Size() int
- func (m *Profile) XXX_Unmarshal(b []byte) error
- type Profile_Attribute
- func (*Profile_Attribute) Descriptor() ([]byte, []int)
- func (m *Profile_Attribute) GetName() string
- func (m *Profile_Attribute) GetOptions() *Profile_Attribute_Options
- func (*Profile_Attribute) ProtoMessage()
- func (m *Profile_Attribute) Reset()
- func (m *Profile_Attribute) String() string
- func (m *Profile_Attribute) XXX_DiscardUnknown()
- func (m *Profile_Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Profile_Attribute) XXX_Merge(src proto.Message)
- func (m *Profile_Attribute) XXX_Size() int
- func (m *Profile_Attribute) XXX_Unmarshal(b []byte) error
- type Profile_Attribute_Options
- func (*Profile_Attribute_Options) Descriptor() ([]byte, []int)
- func (m *Profile_Attribute_Options) GetDescription() string
- func (*Profile_Attribute_Options) ProtoMessage()
- func (m *Profile_Attribute_Options) Reset()
- func (m *Profile_Attribute_Options) String() string
- func (m *Profile_Attribute_Options) XXX_DiscardUnknown()
- func (m *Profile_Attribute_Options) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Profile_Attribute_Options) XXX_Merge(src proto.Message)
- func (m *Profile_Attribute_Options) XXX_Size() int
- func (m *Profile_Attribute_Options) XXX_Unmarshal(b []byte) error
- type Profile_Control
- func (*Profile_Control) Descriptor() ([]byte, []int)
- func (m *Profile_Control) GetCode() string
- func (m *Profile_Control) GetDesc() string
- func (m *Profile_Control) GetFailedResults() []*Profile_Control_Result
- func (m *Profile_Control) GetId() string
- func (m *Profile_Control) GetImpact() float32
- func (m *Profile_Control) GetRefs() []*Refs
- func (m *Profile_Control) GetSourceLocation() *SourceLocation
- func (m *Profile_Control) GetStats() *Profile_Control_ResultTotals
- func (m *Profile_Control) GetTitle() string
- func (*Profile_Control) ProtoMessage()
- func (m *Profile_Control) Reset()
- func (m *Profile_Control) String() string
- func (m *Profile_Control) XXX_DiscardUnknown()
- func (m *Profile_Control) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Profile_Control) XXX_Merge(src proto.Message)
- func (m *Profile_Control) XXX_Size() int
- func (m *Profile_Control) XXX_Unmarshal(b []byte) error
- type Profile_ControlTotals
- func (*Profile_ControlTotals) Descriptor() ([]byte, []int)
- func (m *Profile_ControlTotals) GetNumFailedTests() int32
- func (m *Profile_ControlTotals) GetNumPassedTests() int32
- func (m *Profile_ControlTotals) GetNumSkippedTests() int32
- func (m *Profile_ControlTotals) GetNumTests() int32
- func (*Profile_ControlTotals) ProtoMessage()
- func (m *Profile_ControlTotals) Reset()
- func (m *Profile_ControlTotals) String() string
- func (m *Profile_ControlTotals) XXX_DiscardUnknown()
- func (m *Profile_ControlTotals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Profile_ControlTotals) XXX_Merge(src proto.Message)
- func (m *Profile_ControlTotals) XXX_Size() int
- func (m *Profile_ControlTotals) XXX_Unmarshal(b []byte) error
- type Profile_Control_Result
- func (*Profile_Control_Result) Descriptor() ([]byte, []int)
- func (m *Profile_Control_Result) GetCodeDesc() string
- func (m *Profile_Control_Result) GetMessage() string
- func (m *Profile_Control_Result) GetRunTime() float32
- func (m *Profile_Control_Result) GetSkipMessage() string
- func (m *Profile_Control_Result) GetStartTime() string
- func (m *Profile_Control_Result) GetStatus() string
- func (*Profile_Control_Result) ProtoMessage()
- func (m *Profile_Control_Result) Reset()
- func (m *Profile_Control_Result) String() string
- func (m *Profile_Control_Result) XXX_DiscardUnknown()
- func (m *Profile_Control_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Profile_Control_Result) XXX_Merge(src proto.Message)
- func (m *Profile_Control_Result) XXX_Size() int
- func (m *Profile_Control_Result) XXX_Unmarshal(b []byte) error
- type Profile_Control_ResultTotals
- func (*Profile_Control_ResultTotals) Descriptor() ([]byte, []int)
- func (m *Profile_Control_ResultTotals) GetNumFailedTests() int32
- func (m *Profile_Control_ResultTotals) GetNumPassedTests() int32
- func (m *Profile_Control_ResultTotals) GetNumSkippedTests() int32
- func (m *Profile_Control_ResultTotals) GetNumTests() int32
- func (*Profile_Control_ResultTotals) ProtoMessage()
- func (m *Profile_Control_ResultTotals) Reset()
- func (m *Profile_Control_ResultTotals) String() string
- func (m *Profile_Control_ResultTotals) XXX_DiscardUnknown()
- func (m *Profile_Control_ResultTotals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Profile_Control_ResultTotals) XXX_Merge(src proto.Message)
- func (m *Profile_Control_ResultTotals) XXX_Size() int
- func (m *Profile_Control_ResultTotals) XXX_Unmarshal(b []byte) error
- type Refs
- func (*Refs) Descriptor() ([]byte, []int)
- func (m *Refs) GetRef() string
- func (m *Refs) GetUri() string
- func (m *Refs) GetUrl() string
- func (*Refs) ProtoMessage()
- func (m *Refs) Reset()
- func (m *Refs) String() string
- func (m *Refs) XXX_DiscardUnknown()
- func (m *Refs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Refs) XXX_Merge(src proto.Message)
- func (m *Refs) XXX_Size() int
- func (m *Refs) XXX_Unmarshal(b []byte) error
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) String() string
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type Rule
- func (*Rule) Descriptor() ([]byte, []int)
- func (m *Rule) GetAction() isRule_Action
- func (m *Rule) GetEvent() Rule_Event
- func (m *Rule) GetId() string
- func (m *Rule) GetName() string
- func (m *Rule) GetServiceNowAlert() *ServiceNowAlert
- func (m *Rule) GetSlackAlert() *SlackAlert
- func (m *Rule) GetWebhookAlert() *WebhookAlert
- func (*Rule) ProtoMessage()
- func (m *Rule) Reset()
- func (m *Rule) String() string
- func (m *Rule) XXX_DiscardUnknown()
- func (m *Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Rule) XXX_Merge(src proto.Message)
- func (*Rule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Rule) XXX_Size() int
- func (m *Rule) XXX_Unmarshal(b []byte) error
- type RuleAddResponse
- func (*RuleAddResponse) Descriptor() ([]byte, []int)
- func (m *RuleAddResponse) GetCode() RuleAddResponse_Code
- func (m *RuleAddResponse) GetId() string
- func (m *RuleAddResponse) GetMessages() []string
- func (*RuleAddResponse) ProtoMessage()
- func (m *RuleAddResponse) Reset()
- func (m *RuleAddResponse) String() string
- func (m *RuleAddResponse) XXX_DiscardUnknown()
- func (m *RuleAddResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RuleAddResponse) XXX_Merge(src proto.Message)
- func (m *RuleAddResponse) XXX_Size() int
- func (m *RuleAddResponse) XXX_Unmarshal(b []byte) error
- type RuleAddResponse_Code
- type RuleDeleteResponse
- func (*RuleDeleteResponse) Descriptor() ([]byte, []int)
- func (m *RuleDeleteResponse) GetCode() RuleDeleteResponse_Code
- func (m *RuleDeleteResponse) GetMessages() []string
- func (*RuleDeleteResponse) ProtoMessage()
- func (m *RuleDeleteResponse) Reset()
- func (m *RuleDeleteResponse) String() string
- func (m *RuleDeleteResponse) XXX_DiscardUnknown()
- func (m *RuleDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RuleDeleteResponse) XXX_Merge(src proto.Message)
- func (m *RuleDeleteResponse) XXX_Size() int
- func (m *RuleDeleteResponse) XXX_Unmarshal(b []byte) error
- type RuleDeleteResponse_Code
- type RuleGetResponse
- func (*RuleGetResponse) Descriptor() ([]byte, []int)
- func (m *RuleGetResponse) GetCode() RuleGetResponse_Code
- func (m *RuleGetResponse) GetMessages() []string
- func (m *RuleGetResponse) GetRule() *Rule
- func (*RuleGetResponse) ProtoMessage()
- func (m *RuleGetResponse) Reset()
- func (m *RuleGetResponse) String() string
- func (m *RuleGetResponse) XXX_DiscardUnknown()
- func (m *RuleGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RuleGetResponse) XXX_Merge(src proto.Message)
- func (m *RuleGetResponse) XXX_Size() int
- func (m *RuleGetResponse) XXX_Unmarshal(b []byte) error
- type RuleGetResponse_Code
- type RuleIdentifier
- func (*RuleIdentifier) Descriptor() ([]byte, []int)
- func (m *RuleIdentifier) GetId() string
- func (*RuleIdentifier) ProtoMessage()
- func (m *RuleIdentifier) Reset()
- func (m *RuleIdentifier) String() string
- func (m *RuleIdentifier) XXX_DiscardUnknown()
- func (m *RuleIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RuleIdentifier) XXX_Merge(src proto.Message)
- func (m *RuleIdentifier) XXX_Size() int
- func (m *RuleIdentifier) XXX_Unmarshal(b []byte) error
- type RuleListResponse
- func (*RuleListResponse) Descriptor() ([]byte, []int)
- func (m *RuleListResponse) GetCode() RuleListResponse_Code
- func (m *RuleListResponse) GetMessages() []string
- func (m *RuleListResponse) GetRules() []*Rule
- func (*RuleListResponse) ProtoMessage()
- func (m *RuleListResponse) Reset()
- func (m *RuleListResponse) String() string
- func (m *RuleListResponse) XXX_DiscardUnknown()
- func (m *RuleListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RuleListResponse) XXX_Merge(src proto.Message)
- func (m *RuleListResponse) XXX_Size() int
- func (m *RuleListResponse) XXX_Unmarshal(b []byte) error
- type RuleListResponse_Code
- type RuleUpdateResponse
- func (*RuleUpdateResponse) Descriptor() ([]byte, []int)
- func (m *RuleUpdateResponse) GetCode() RuleUpdateResponse_Code
- func (m *RuleUpdateResponse) GetMessages() []string
- func (*RuleUpdateResponse) ProtoMessage()
- func (m *RuleUpdateResponse) Reset()
- func (m *RuleUpdateResponse) String() string
- func (m *RuleUpdateResponse) XXX_DiscardUnknown()
- func (m *RuleUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RuleUpdateResponse) XXX_Merge(src proto.Message)
- func (m *RuleUpdateResponse) XXX_Size() int
- func (m *RuleUpdateResponse) XXX_Unmarshal(b []byte) error
- type RuleUpdateResponse_Code
- type Rule_Event
- type Rule_ServiceNowAlert
- type Rule_SlackAlert
- type Rule_WebhookAlert
- type SecretId
- func (*SecretId) Descriptor() ([]byte, []int)
- func (m *SecretId) GetId() string
- func (*SecretId) ProtoMessage()
- func (m *SecretId) Reset()
- func (m *SecretId) String() string
- func (m *SecretId) XXX_DiscardUnknown()
- func (m *SecretId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SecretId) XXX_Merge(src proto.Message)
- func (m *SecretId) XXX_Size() int
- func (m *SecretId) XXX_Unmarshal(b []byte) error
- type ServiceNowAlert
- func (*ServiceNowAlert) Descriptor() ([]byte, []int)
- func (m *ServiceNowAlert) GetSecretId() string
- func (m *ServiceNowAlert) GetUrl() string
- func (*ServiceNowAlert) ProtoMessage()
- func (m *ServiceNowAlert) Reset()
- func (m *ServiceNowAlert) String() string
- func (m *ServiceNowAlert) XXX_DiscardUnknown()
- func (m *ServiceNowAlert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ServiceNowAlert) XXX_Merge(src proto.Message)
- func (m *ServiceNowAlert) XXX_Size() int
- func (m *ServiceNowAlert) XXX_Unmarshal(b []byte) error
- type SlackAlert
- func (*SlackAlert) Descriptor() ([]byte, []int)
- func (m *SlackAlert) GetUrl() string
- func (*SlackAlert) ProtoMessage()
- func (m *SlackAlert) Reset()
- func (m *SlackAlert) String() string
- func (m *SlackAlert) XXX_DiscardUnknown()
- func (m *SlackAlert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SlackAlert) XXX_Merge(src proto.Message)
- func (m *SlackAlert) XXX_Size() int
- func (m *SlackAlert) XXX_Unmarshal(b []byte) error
- type SourceLocation
- func (*SourceLocation) Descriptor() ([]byte, []int)
- func (m *SourceLocation) GetLine() int32
- func (m *SourceLocation) GetRef() string
- func (*SourceLocation) ProtoMessage()
- func (m *SourceLocation) Reset()
- func (m *SourceLocation) String() string
- func (m *SourceLocation) XXX_DiscardUnknown()
- func (m *SourceLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SourceLocation) XXX_Merge(src proto.Message)
- func (m *SourceLocation) XXX_Size() int
- func (m *SourceLocation) XXX_Unmarshal(b []byte) error
- type TimeInfo
- func (*TimeInfo) Descriptor() ([]byte, []int)
- func (m *TimeInfo) GetEndTime() string
- func (m *TimeInfo) GetStartTime() string
- func (*TimeInfo) ProtoMessage()
- func (m *TimeInfo) Reset()
- func (m *TimeInfo) String() string
- func (m *TimeInfo) XXX_DiscardUnknown()
- func (m *TimeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TimeInfo) XXX_Merge(src proto.Message)
- func (m *TimeInfo) XXX_Size() int
- func (m *TimeInfo) XXX_Unmarshal(b []byte) error
- type URLValidationRequest
- func (*URLValidationRequest) Descriptor() ([]byte, []int)
- func (m *URLValidationRequest) GetCredentials() isURLValidationRequest_Credentials
- func (m *URLValidationRequest) GetNone() *Empty
- func (m *URLValidationRequest) GetSecretId() *SecretId
- func (m *URLValidationRequest) GetUrl() string
- func (m *URLValidationRequest) GetUsernamePassword() *UsernamePassword
- func (*URLValidationRequest) ProtoMessage()
- func (m *URLValidationRequest) Reset()
- func (m *URLValidationRequest) String() string
- func (m *URLValidationRequest) XXX_DiscardUnknown()
- func (m *URLValidationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *URLValidationRequest) XXX_Merge(src proto.Message)
- func (*URLValidationRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *URLValidationRequest) XXX_Size() int
- func (m *URLValidationRequest) XXX_Unmarshal(b []byte) error
- type URLValidationRequest_None
- type URLValidationRequest_SecretId
- type URLValidationRequest_UsernamePassword
- type URLValidationResponse
- func (*URLValidationResponse) Descriptor() ([]byte, []int)
- func (m *URLValidationResponse) GetCode() URLValidationResponse_Code
- func (m *URLValidationResponse) GetMessages() []string
- func (*URLValidationResponse) ProtoMessage()
- func (m *URLValidationResponse) Reset()
- func (m *URLValidationResponse) String() string
- func (m *URLValidationResponse) XXX_DiscardUnknown()
- func (m *URLValidationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *URLValidationResponse) XXX_Merge(src proto.Message)
- func (m *URLValidationResponse) XXX_Size() int
- func (m *URLValidationResponse) XXX_Unmarshal(b []byte) error
- type URLValidationResponse_Code
- type UsernamePassword
- func (*UsernamePassword) Descriptor() ([]byte, []int)
- func (m *UsernamePassword) GetPassword() string
- func (m *UsernamePassword) GetUsername() string
- func (*UsernamePassword) ProtoMessage()
- func (m *UsernamePassword) Reset()
- func (m *UsernamePassword) String() string
- func (m *UsernamePassword) XXX_DiscardUnknown()
- func (m *UsernamePassword) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UsernamePassword) XXX_Merge(src proto.Message)
- func (m *UsernamePassword) XXX_Size() int
- func (m *UsernamePassword) XXX_Unmarshal(b []byte) error
- type VersionRequest
- func (*VersionRequest) Descriptor() ([]byte, []int)
- func (*VersionRequest) ProtoMessage()
- func (m *VersionRequest) Reset()
- func (m *VersionRequest) String() string
- func (m *VersionRequest) XXX_DiscardUnknown()
- func (m *VersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *VersionRequest) XXX_Merge(src proto.Message)
- func (m *VersionRequest) XXX_Size() int
- func (m *VersionRequest) XXX_Unmarshal(b []byte) error
- type VersionResponse
- func (*VersionResponse) Descriptor() ([]byte, []int)
- func (m *VersionResponse) GetVersion() string
- func (*VersionResponse) ProtoMessage()
- func (m *VersionResponse) Reset()
- func (m *VersionResponse) String() string
- func (m *VersionResponse) XXX_DiscardUnknown()
- func (m *VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *VersionResponse) XXX_Merge(src proto.Message)
- func (m *VersionResponse) XXX_Size() int
- func (m *VersionResponse) XXX_Unmarshal(b []byte) error
- type WebhookAlert
- func (*WebhookAlert) Descriptor() ([]byte, []int)
- func (m *WebhookAlert) GetUrl() string
- func (*WebhookAlert) ProtoMessage()
- func (m *WebhookAlert) Reset()
- func (m *WebhookAlert) String() string
- func (m *WebhookAlert) XXX_DiscardUnknown()
- func (m *WebhookAlert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WebhookAlert) XXX_Merge(src proto.Message)
- func (m *WebhookAlert) XXX_Size() int
- func (m *WebhookAlert) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var RuleAddResponse_Code_name = map[int32]string{
0: "ADDED",
1: "DUPLICATE_NAME",
2: "NOT_FOUND",
3: "INVALID_ACTION_CONFIG",
4: "VALIDATION_ERROR",
99: "INTERNAL_ERROR",
}
View Source
var RuleAddResponse_Code_value = map[string]int32{
"ADDED": 0,
"DUPLICATE_NAME": 1,
"NOT_FOUND": 2,
"INVALID_ACTION_CONFIG": 3,
"VALIDATION_ERROR": 4,
"INTERNAL_ERROR": 99,
}
View Source
var RuleDeleteResponse_Code_name = map[int32]string{
0: "DELETED",
2: "NOT_FOUND",
99: "INTERNAL_ERROR",
}
View Source
var RuleDeleteResponse_Code_value = map[string]int32{
"DELETED": 0,
"NOT_FOUND": 2,
"INTERNAL_ERROR": 99,
}
View Source
var RuleGetResponse_Code_name = map[int32]string{
0: "OK",
2: "NOT_FOUND",
99: "INTERNAL_ERROR",
}
View Source
var RuleGetResponse_Code_value = map[string]int32{
"OK": 0,
"NOT_FOUND": 2,
"INTERNAL_ERROR": 99,
}
View Source
var RuleListResponse_Code_name = map[int32]string{
0: "OK",
99: "INTERNAL_ERROR",
}
View Source
var RuleListResponse_Code_value = map[string]int32{
"OK": 0,
"INTERNAL_ERROR": 99,
}
View Source
var RuleUpdateResponse_Code_name = map[int32]string{
0: "OK",
1: "DUPLICATE_NAME",
2: "NOT_FOUND",
4: "VALIDATION_ERROR",
99: "INTERNAL_ERROR",
}
View Source
var RuleUpdateResponse_Code_value = map[string]int32{
"OK": 0,
"DUPLICATE_NAME": 1,
"NOT_FOUND": 2,
"VALIDATION_ERROR": 4,
"INTERNAL_ERROR": 99,
}
View Source
var Rule_Event_name = map[int32]string{
0: "CCRFailure",
1: "CCRSuccess",
2: "ComplianceFailure",
3: "ComplianceSuccess",
4: "Assets",
}
View Source
var Rule_Event_value = map[string]int32{
"CCRFailure": 0,
"CCRSuccess": 1,
"ComplianceFailure": 2,
"ComplianceSuccess": 3,
"Assets": 4,
}
View Source
var URLValidationResponse_Code_name = map[int32]string{
0: "OK",
1: "ERROR",
4: "INVALID_URL",
98: "NOTIFICATIONS_UNAVAIALBLE",
99: "INTERNAL_ERROR",
}
View Source
var URLValidationResponse_Code_value = map[string]int32{
"OK": 0,
"ERROR": 1,
"INVALID_URL": 4,
"NOTIFICATIONS_UNAVAIALBLE": 98,
"INTERNAL_ERROR": 99,
}
Functions ¶
func RegisterNotificationsServer ¶
func RegisterNotificationsServer(s *grpc.Server, srv NotificationsServer)
Types ¶
type CCRFailure ¶
type CCRFailure struct { RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` NodeName string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` NodeUrl string `protobuf:"bytes,3,opt,name=node_url,json=nodeUrl,proto3" json:"node_url,omitempty"` RunUrl string `protobuf:"bytes,4,opt,name=run_url,json=runUrl,proto3" json:"run_url,omitempty"` Cookbook string `protobuf:"bytes,5,opt,name=cookbook,proto3" json:"cookbook,omitempty"` Recipe string `protobuf:"bytes,6,opt,name=recipe,proto3" json:"recipe,omitempty"` Time *TimeInfo `protobuf:"bytes,7,opt,name=time,proto3" json:"time,omitempty"` Exception *ExceptionInfo `protobuf:"bytes,8,opt,name=exception,proto3" json:"exception,omitempty"` Timestamp string `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CCRFailure) Descriptor ¶
func (*CCRFailure) Descriptor() ([]byte, []int)
func (*CCRFailure) GetCookbook ¶
func (m *CCRFailure) GetCookbook() string
func (*CCRFailure) GetException ¶
func (m *CCRFailure) GetException() *ExceptionInfo
func (*CCRFailure) GetNodeName ¶
func (m *CCRFailure) GetNodeName() string
func (*CCRFailure) GetNodeUrl ¶
func (m *CCRFailure) GetNodeUrl() string
func (*CCRFailure) GetRecipe ¶
func (m *CCRFailure) GetRecipe() string
func (*CCRFailure) GetRunId ¶
func (m *CCRFailure) GetRunId() string
func (*CCRFailure) GetRunUrl ¶
func (m *CCRFailure) GetRunUrl() string
func (*CCRFailure) GetTime ¶
func (m *CCRFailure) GetTime() *TimeInfo
func (*CCRFailure) GetTimestamp ¶
func (m *CCRFailure) GetTimestamp() string
func (*CCRFailure) ProtoMessage ¶
func (*CCRFailure) ProtoMessage()
func (*CCRFailure) Reset ¶
func (m *CCRFailure) Reset()
func (*CCRFailure) String ¶
func (m *CCRFailure) String() string
func (*CCRFailure) XXX_DiscardUnknown ¶
func (m *CCRFailure) XXX_DiscardUnknown()
func (*CCRFailure) XXX_Marshal ¶
func (m *CCRFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CCRFailure) XXX_Merge ¶
func (dst *CCRFailure) XXX_Merge(src proto.Message)
func (*CCRFailure) XXX_Size ¶
func (m *CCRFailure) XXX_Size() int
func (*CCRFailure) XXX_Unmarshal ¶
func (m *CCRFailure) XXX_Unmarshal(b []byte) error
type CCRSuccess ¶
type CCRSuccess struct { RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` NodeName string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` RunUrl string `protobuf:"bytes,3,opt,name=run_url,json=runUrl,proto3" json:"run_url,omitempty"` Time *TimeInfo `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"` UpdatedResourceCount int32 `protobuf:"varint,5,opt,name=updated_resource_count,json=updatedResourceCount,proto3" json:"updated_resource_count,omitempty"` Timestamp string `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CCRSuccess) Descriptor ¶
func (*CCRSuccess) Descriptor() ([]byte, []int)
func (*CCRSuccess) GetNodeName ¶
func (m *CCRSuccess) GetNodeName() string
func (*CCRSuccess) GetRunId ¶
func (m *CCRSuccess) GetRunId() string
func (*CCRSuccess) GetRunUrl ¶
func (m *CCRSuccess) GetRunUrl() string
func (*CCRSuccess) GetTime ¶
func (m *CCRSuccess) GetTime() *TimeInfo
func (*CCRSuccess) GetTimestamp ¶
func (m *CCRSuccess) GetTimestamp() string
func (*CCRSuccess) GetUpdatedResourceCount ¶
func (m *CCRSuccess) GetUpdatedResourceCount() int32
func (*CCRSuccess) ProtoMessage ¶
func (*CCRSuccess) ProtoMessage()
func (*CCRSuccess) Reset ¶
func (m *CCRSuccess) Reset()
func (*CCRSuccess) String ¶
func (m *CCRSuccess) String() string
func (*CCRSuccess) XXX_DiscardUnknown ¶
func (m *CCRSuccess) XXX_DiscardUnknown()
func (*CCRSuccess) XXX_Marshal ¶
func (m *CCRSuccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CCRSuccess) XXX_Merge ¶
func (dst *CCRSuccess) XXX_Merge(src proto.Message)
func (*CCRSuccess) XXX_Size ¶
func (m *CCRSuccess) XXX_Size() int
func (*CCRSuccess) XXX_Unmarshal ¶
func (m *CCRSuccess) XXX_Unmarshal(b []byte) error
type ComplianceFailure ¶
type ComplianceFailure struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ComplianceUrl string `protobuf:"bytes,2,opt,name=compliance_url,json=complianceUrl,proto3" json:"compliance_url,omitempty"` NodeName string `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` NodeId string `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` InspecVersion string `protobuf:"bytes,5,opt,name=inspec_version,json=inspecVersion,proto3" json:"inspec_version,omitempty"` TestTotals *ComplianceFailure_ControlTotals `protobuf:"bytes,6,opt,name=test_totals,json=testTotals,proto3" json:"test_totals,omitempty"` FailedProfiles []*Profile `protobuf:"bytes,7,rep,name=failed_profiles,json=failedProfiles,proto3" json:"failed_profiles,omitempty"` EndTime string `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Timestamp string `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ComplianceFailure) Descriptor ¶
func (*ComplianceFailure) Descriptor() ([]byte, []int)
func (*ComplianceFailure) GetComplianceUrl ¶
func (m *ComplianceFailure) GetComplianceUrl() string
func (*ComplianceFailure) GetEndTime ¶
func (m *ComplianceFailure) GetEndTime() string
func (*ComplianceFailure) GetFailedProfiles ¶
func (m *ComplianceFailure) GetFailedProfiles() []*Profile
func (*ComplianceFailure) GetId ¶
func (m *ComplianceFailure) GetId() string
func (*ComplianceFailure) GetInspecVersion ¶
func (m *ComplianceFailure) GetInspecVersion() string
func (*ComplianceFailure) GetNodeId ¶
func (m *ComplianceFailure) GetNodeId() string
func (*ComplianceFailure) GetNodeName ¶
func (m *ComplianceFailure) GetNodeName() string
func (*ComplianceFailure) GetTestTotals ¶
func (m *ComplianceFailure) GetTestTotals() *ComplianceFailure_ControlTotals
func (*ComplianceFailure) GetTimestamp ¶
func (m *ComplianceFailure) GetTimestamp() string
func (*ComplianceFailure) ProtoMessage ¶
func (*ComplianceFailure) ProtoMessage()
func (*ComplianceFailure) Reset ¶
func (m *ComplianceFailure) Reset()
func (*ComplianceFailure) String ¶
func (m *ComplianceFailure) String() string
func (*ComplianceFailure) XXX_DiscardUnknown ¶
func (m *ComplianceFailure) XXX_DiscardUnknown()
func (*ComplianceFailure) XXX_Marshal ¶
func (m *ComplianceFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ComplianceFailure) XXX_Merge ¶
func (dst *ComplianceFailure) XXX_Merge(src proto.Message)
func (*ComplianceFailure) XXX_Size ¶
func (m *ComplianceFailure) XXX_Size() int
func (*ComplianceFailure) XXX_Unmarshal ¶
func (m *ComplianceFailure) XXX_Unmarshal(b []byte) error
type ComplianceFailure_ControlTotals ¶
type ComplianceFailure_ControlTotals struct { Skipped int32 `protobuf:"varint,1,opt,name=skipped,proto3" json:"skipped,omitempty"` Passed int32 `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty"` Failed int32 `protobuf:"varint,3,opt,name=failed,proto3" json:"failed,omitempty"` Critical int32 `protobuf:"varint,4,opt,name=critical,proto3" json:"critical,omitempty"` CriticalFailed int32 `protobuf:"varint,5,opt,name=critical_failed,json=criticalFailed,proto3" json:"critical_failed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ComplianceFailure_ControlTotals) Descriptor ¶
func (*ComplianceFailure_ControlTotals) Descriptor() ([]byte, []int)
func (*ComplianceFailure_ControlTotals) GetCritical ¶
func (m *ComplianceFailure_ControlTotals) GetCritical() int32
func (*ComplianceFailure_ControlTotals) GetCriticalFailed ¶
func (m *ComplianceFailure_ControlTotals) GetCriticalFailed() int32
func (*ComplianceFailure_ControlTotals) GetFailed ¶
func (m *ComplianceFailure_ControlTotals) GetFailed() int32
func (*ComplianceFailure_ControlTotals) GetPassed ¶
func (m *ComplianceFailure_ControlTotals) GetPassed() int32
func (*ComplianceFailure_ControlTotals) GetSkipped ¶
func (m *ComplianceFailure_ControlTotals) GetSkipped() int32
func (*ComplianceFailure_ControlTotals) ProtoMessage ¶
func (*ComplianceFailure_ControlTotals) ProtoMessage()
func (*ComplianceFailure_ControlTotals) Reset ¶
func (m *ComplianceFailure_ControlTotals) Reset()
func (*ComplianceFailure_ControlTotals) String ¶
func (m *ComplianceFailure_ControlTotals) String() string
func (*ComplianceFailure_ControlTotals) XXX_DiscardUnknown ¶
func (m *ComplianceFailure_ControlTotals) XXX_DiscardUnknown()
func (*ComplianceFailure_ControlTotals) XXX_Marshal ¶
func (m *ComplianceFailure_ControlTotals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ComplianceFailure_ControlTotals) XXX_Merge ¶
func (dst *ComplianceFailure_ControlTotals) XXX_Merge(src proto.Message)
func (*ComplianceFailure_ControlTotals) XXX_Size ¶
func (m *ComplianceFailure_ControlTotals) XXX_Size() int
func (*ComplianceFailure_ControlTotals) XXX_Unmarshal ¶
func (m *ComplianceFailure_ControlTotals) XXX_Unmarshal(b []byte) error
type ComplianceSuccess ¶
type ComplianceSuccess struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ComplianceUrl string `protobuf:"bytes,2,opt,name=compliance_url,json=complianceUrl,proto3" json:"compliance_url,omitempty"` NodeName string `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` NodeId string `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` EndTime string `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Timestamp string `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ComplianceSuccess) Descriptor ¶
func (*ComplianceSuccess) Descriptor() ([]byte, []int)
func (*ComplianceSuccess) GetComplianceUrl ¶
func (m *ComplianceSuccess) GetComplianceUrl() string
func (*ComplianceSuccess) GetEndTime ¶
func (m *ComplianceSuccess) GetEndTime() string
func (*ComplianceSuccess) GetId ¶
func (m *ComplianceSuccess) GetId() string
func (*ComplianceSuccess) GetNodeId ¶
func (m *ComplianceSuccess) GetNodeId() string
func (*ComplianceSuccess) GetNodeName ¶
func (m *ComplianceSuccess) GetNodeName() string
func (*ComplianceSuccess) GetTimestamp ¶
func (m *ComplianceSuccess) GetTimestamp() string
func (*ComplianceSuccess) ProtoMessage ¶
func (*ComplianceSuccess) ProtoMessage()
func (*ComplianceSuccess) Reset ¶
func (m *ComplianceSuccess) Reset()
func (*ComplianceSuccess) String ¶
func (m *ComplianceSuccess) String() string
func (*ComplianceSuccess) XXX_DiscardUnknown ¶
func (m *ComplianceSuccess) XXX_DiscardUnknown()
func (*ComplianceSuccess) XXX_Marshal ¶
func (m *ComplianceSuccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ComplianceSuccess) XXX_Merge ¶
func (dst *ComplianceSuccess) XXX_Merge(src proto.Message)
func (*ComplianceSuccess) XXX_Size ¶
func (m *ComplianceSuccess) XXX_Size() int
func (*ComplianceSuccess) XXX_Unmarshal ¶
func (m *ComplianceSuccess) XXX_Unmarshal(b []byte) error
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
// Rules management messages and responses //
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type Event ¶
type Event struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Types that are valid to be assigned to Event: // *Event_CCRSuccess // *Event_CCRFailure // *Event_ComplianceSuccess // *Event_ComplianceFailure Event isEvent_Event `protobuf_oneof:"event"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Event) Descriptor ¶
func (*Event) GetCCRFailure ¶
func (m *Event) GetCCRFailure() *CCRFailure
func (*Event) GetCCRSuccess ¶
func (m *Event) GetCCRSuccess() *CCRSuccess
func (*Event) GetComplianceFailure ¶
func (m *Event) GetComplianceFailure() *ComplianceFailure
func (*Event) GetComplianceSuccess ¶
func (m *Event) GetComplianceSuccess() *ComplianceSuccess
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) XXX_DiscardUnknown ¶
func (m *Event) XXX_DiscardUnknown()
func (*Event) XXX_Marshal ¶
func (*Event) XXX_OneofFuncs ¶
func (*Event) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Event) XXX_Unmarshal ¶
type Event_CCRFailure ¶
type Event_CCRFailure struct {
CCRFailure *CCRFailure `protobuf:"bytes,3,opt,name=CCRFailure,proto3,oneof"`
}
type Event_CCRSuccess ¶
type Event_CCRSuccess struct {
CCRSuccess *CCRSuccess `protobuf:"bytes,2,opt,name=CCRSuccess,proto3,oneof"`
}
type Event_ComplianceFailure ¶
type Event_ComplianceFailure struct {
ComplianceFailure *ComplianceFailure `protobuf:"bytes,5,opt,name=ComplianceFailure,proto3,oneof"`
}
type Event_ComplianceSuccess ¶
type Event_ComplianceSuccess struct {
ComplianceSuccess *ComplianceSuccess `protobuf:"bytes,4,opt,name=ComplianceSuccess,proto3,oneof"`
}
type ExceptionInfo ¶
type ExceptionInfo struct { Class string `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` Backtrace []string `protobuf:"bytes,4,rep,name=backtrace,proto3" json:"backtrace,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExceptionInfo) Descriptor ¶
func (*ExceptionInfo) Descriptor() ([]byte, []int)
func (*ExceptionInfo) GetBacktrace ¶
func (m *ExceptionInfo) GetBacktrace() []string
func (*ExceptionInfo) GetClass ¶
func (m *ExceptionInfo) GetClass() string
func (*ExceptionInfo) GetMsg ¶
func (m *ExceptionInfo) GetMsg() string
func (*ExceptionInfo) GetTitle ¶
func (m *ExceptionInfo) GetTitle() string
func (*ExceptionInfo) ProtoMessage ¶
func (*ExceptionInfo) ProtoMessage()
func (*ExceptionInfo) Reset ¶
func (m *ExceptionInfo) Reset()
func (*ExceptionInfo) String ¶
func (m *ExceptionInfo) String() string
func (*ExceptionInfo) XXX_DiscardUnknown ¶
func (m *ExceptionInfo) XXX_DiscardUnknown()
func (*ExceptionInfo) XXX_Marshal ¶
func (m *ExceptionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExceptionInfo) XXX_Merge ¶
func (dst *ExceptionInfo) XXX_Merge(src proto.Message)
func (*ExceptionInfo) XXX_Size ¶
func (m *ExceptionInfo) XXX_Size() int
func (*ExceptionInfo) XXX_Unmarshal ¶
func (m *ExceptionInfo) XXX_Unmarshal(b []byte) error
type NotificationsClient ¶
type NotificationsClient interface { // Publish a notification Notify(ctx context.Context, in *Event, opts ...grpc.CallOption) (*Response, error) // Manage notification alerting rules AddRule(ctx context.Context, in *Rule, opts ...grpc.CallOption) (*RuleAddResponse, error) DeleteRule(ctx context.Context, in *RuleIdentifier, opts ...grpc.CallOption) (*RuleDeleteResponse, error) UpdateRule(ctx context.Context, in *Rule, opts ...grpc.CallOption) (*RuleUpdateResponse, error) GetRule(ctx context.Context, in *RuleIdentifier, opts ...grpc.CallOption) (*RuleGetResponse, error) ListRules(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*RuleListResponse, error) ValidateWebhook(ctx context.Context, in *URLValidationRequest, opts ...grpc.CallOption) (*URLValidationResponse, error) // Health checks and metadata Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error) }
NotificationsClient is the client API for Notifications service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNotificationsClient ¶
func NewNotificationsClient(cc *grpc.ClientConn) NotificationsClient
type NotificationsServer ¶
type NotificationsServer interface { // Publish a notification Notify(context.Context, *Event) (*Response, error) // Manage notification alerting rules AddRule(context.Context, *Rule) (*RuleAddResponse, error) DeleteRule(context.Context, *RuleIdentifier) (*RuleDeleteResponse, error) UpdateRule(context.Context, *Rule) (*RuleUpdateResponse, error) GetRule(context.Context, *RuleIdentifier) (*RuleGetResponse, error) ListRules(context.Context, *Empty) (*RuleListResponse, error) ValidateWebhook(context.Context, *URLValidationRequest) (*URLValidationResponse, error) // Health checks and metadata Version(context.Context, *VersionRequest) (*VersionResponse, error) }
NotificationsServer is the server API for Notifications service.
type PlatformSupport ¶
type PlatformSupport struct { Inspec string `protobuf:"bytes,1,opt,name=inspec,proto3" json:"inspec,omitempty"` // TODO: this needs to be os-name in json OsName string `protobuf:"bytes,2,opt,name=os_name,json=osName,proto3" json:"os_name,omitempty"` // TODO: this needs to be os-family in json OsFamily string `protobuf:"bytes,3,opt,name=os_family,json=osFamily,proto3" json:"os_family,omitempty"` Release string `protobuf:"bytes,4,opt,name=release,proto3" json:"release,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlatformSupport) Descriptor ¶
func (*PlatformSupport) Descriptor() ([]byte, []int)
func (*PlatformSupport) GetInspec ¶
func (m *PlatformSupport) GetInspec() string
func (*PlatformSupport) GetOsFamily ¶
func (m *PlatformSupport) GetOsFamily() string
func (*PlatformSupport) GetOsName ¶
func (m *PlatformSupport) GetOsName() string
func (*PlatformSupport) GetRelease ¶
func (m *PlatformSupport) GetRelease() string
func (*PlatformSupport) ProtoMessage ¶
func (*PlatformSupport) ProtoMessage()
func (*PlatformSupport) Reset ¶
func (m *PlatformSupport) Reset()
func (*PlatformSupport) String ¶
func (m *PlatformSupport) String() string
func (*PlatformSupport) XXX_DiscardUnknown ¶
func (m *PlatformSupport) XXX_DiscardUnknown()
func (*PlatformSupport) XXX_Marshal ¶
func (m *PlatformSupport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlatformSupport) XXX_Merge ¶
func (dst *PlatformSupport) XXX_Merge(src proto.Message)
func (*PlatformSupport) XXX_Size ¶
func (m *PlatformSupport) XXX_Size() int
func (*PlatformSupport) XXX_Unmarshal ¶
func (m *PlatformSupport) XXX_Unmarshal(b []byte) error
type Profile ¶
type Profile struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` Summary string `protobuf:"bytes,4,opt,name=summary,proto3" json:"summary,omitempty"` Maintainer string `protobuf:"bytes,5,opt,name=maintainer,proto3" json:"maintainer,omitempty"` License string `protobuf:"bytes,6,opt,name=license,proto3" json:"license,omitempty"` Copyright string `protobuf:"bytes,7,opt,name=copyright,proto3" json:"copyright,omitempty"` CopyrightEmail string `protobuf:"bytes,8,opt,name=copyright_email,json=copyrightEmail,proto3" json:"copyright_email,omitempty"` Sha256 string `protobuf:"bytes,9,opt,name=sha256,proto3" json:"sha256,omitempty"` Supports []*PlatformSupport `protobuf:"bytes,10,rep,name=supports,proto3" json:"supports,omitempty"` Attributes []*Profile_Attribute `protobuf:"bytes,11,rep,name=attributes,proto3" json:"attributes,omitempty"` FailedControls []*Profile_Control `protobuf:"bytes,12,rep,name=failed_controls,json=failedControls,proto3" json:"failed_controls,omitempty"` Stats *Profile_ControlTotals `protobuf:"bytes,13,opt,name=stats,proto3" json:"stats,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Profile) Descriptor ¶
func (*Profile) GetAttributes ¶
func (m *Profile) GetAttributes() []*Profile_Attribute
func (*Profile) GetCopyright ¶
func (*Profile) GetCopyrightEmail ¶
func (*Profile) GetFailedControls ¶
func (m *Profile) GetFailedControls() []*Profile_Control
func (*Profile) GetLicense ¶
func (*Profile) GetMaintainer ¶
func (*Profile) GetStats ¶
func (m *Profile) GetStats() *Profile_ControlTotals
func (*Profile) GetSummary ¶
func (*Profile) GetSupports ¶
func (m *Profile) GetSupports() []*PlatformSupport
func (*Profile) GetVersion ¶
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
func (*Profile) XXX_DiscardUnknown ¶
func (m *Profile) XXX_DiscardUnknown()
func (*Profile) XXX_Marshal ¶
func (*Profile) XXX_Unmarshal ¶
type Profile_Attribute ¶
type Profile_Attribute struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Options *Profile_Attribute_Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Profile_Attribute) Descriptor ¶
func (*Profile_Attribute) Descriptor() ([]byte, []int)
func (*Profile_Attribute) GetName ¶
func (m *Profile_Attribute) GetName() string
func (*Profile_Attribute) GetOptions ¶
func (m *Profile_Attribute) GetOptions() *Profile_Attribute_Options
func (*Profile_Attribute) ProtoMessage ¶
func (*Profile_Attribute) ProtoMessage()
func (*Profile_Attribute) Reset ¶
func (m *Profile_Attribute) Reset()
func (*Profile_Attribute) String ¶
func (m *Profile_Attribute) String() string
func (*Profile_Attribute) XXX_DiscardUnknown ¶
func (m *Profile_Attribute) XXX_DiscardUnknown()
func (*Profile_Attribute) XXX_Marshal ¶
func (m *Profile_Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Profile_Attribute) XXX_Merge ¶
func (dst *Profile_Attribute) XXX_Merge(src proto.Message)
func (*Profile_Attribute) XXX_Size ¶
func (m *Profile_Attribute) XXX_Size() int
func (*Profile_Attribute) XXX_Unmarshal ¶
func (m *Profile_Attribute) XXX_Unmarshal(b []byte) error
type Profile_Attribute_Options ¶
type Profile_Attribute_Options struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Profile_Attribute_Options) Descriptor ¶
func (*Profile_Attribute_Options) Descriptor() ([]byte, []int)
func (*Profile_Attribute_Options) GetDescription ¶
func (m *Profile_Attribute_Options) GetDescription() string
func (*Profile_Attribute_Options) ProtoMessage ¶
func (*Profile_Attribute_Options) ProtoMessage()
func (*Profile_Attribute_Options) Reset ¶
func (m *Profile_Attribute_Options) Reset()
func (*Profile_Attribute_Options) String ¶
func (m *Profile_Attribute_Options) String() string
func (*Profile_Attribute_Options) XXX_DiscardUnknown ¶
func (m *Profile_Attribute_Options) XXX_DiscardUnknown()
func (*Profile_Attribute_Options) XXX_Marshal ¶
func (m *Profile_Attribute_Options) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Profile_Attribute_Options) XXX_Merge ¶
func (dst *Profile_Attribute_Options) XXX_Merge(src proto.Message)
func (*Profile_Attribute_Options) XXX_Size ¶
func (m *Profile_Attribute_Options) XXX_Size() int
func (*Profile_Attribute_Options) XXX_Unmarshal ¶
func (m *Profile_Attribute_Options) XXX_Unmarshal(b []byte) error
type Profile_Control ¶
type Profile_Control struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Impact float32 `protobuf:"fixed32,2,opt,name=impact,proto3" json:"impact,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"` Desc string `protobuf:"bytes,5,opt,name=desc,proto3" json:"desc,omitempty"` SourceLocation *SourceLocation `protobuf:"bytes,6,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty"` Refs []*Refs `protobuf:"bytes,7,rep,name=refs,proto3" json:"refs,omitempty"` FailedResults []*Profile_Control_Result `protobuf:"bytes,9,rep,name=failed_results,json=failedResults,proto3" json:"failed_results,omitempty"` Stats *Profile_Control_ResultTotals `protobuf:"bytes,10,opt,name=stats,proto3" json:"stats,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Profile_Control) Descriptor ¶
func (*Profile_Control) Descriptor() ([]byte, []int)
func (*Profile_Control) GetCode ¶
func (m *Profile_Control) GetCode() string
func (*Profile_Control) GetDesc ¶
func (m *Profile_Control) GetDesc() string
func (*Profile_Control) GetFailedResults ¶
func (m *Profile_Control) GetFailedResults() []*Profile_Control_Result
func (*Profile_Control) GetId ¶
func (m *Profile_Control) GetId() string
func (*Profile_Control) GetImpact ¶
func (m *Profile_Control) GetImpact() float32
func (*Profile_Control) GetRefs ¶
func (m *Profile_Control) GetRefs() []*Refs
func (*Profile_Control) GetSourceLocation ¶
func (m *Profile_Control) GetSourceLocation() *SourceLocation
func (*Profile_Control) GetStats ¶
func (m *Profile_Control) GetStats() *Profile_Control_ResultTotals
func (*Profile_Control) GetTitle ¶
func (m *Profile_Control) GetTitle() string
func (*Profile_Control) ProtoMessage ¶
func (*Profile_Control) ProtoMessage()
func (*Profile_Control) Reset ¶
func (m *Profile_Control) Reset()
func (*Profile_Control) String ¶
func (m *Profile_Control) String() string
func (*Profile_Control) XXX_DiscardUnknown ¶
func (m *Profile_Control) XXX_DiscardUnknown()
func (*Profile_Control) XXX_Marshal ¶
func (m *Profile_Control) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Profile_Control) XXX_Merge ¶
func (dst *Profile_Control) XXX_Merge(src proto.Message)
func (*Profile_Control) XXX_Size ¶
func (m *Profile_Control) XXX_Size() int
func (*Profile_Control) XXX_Unmarshal ¶
func (m *Profile_Control) XXX_Unmarshal(b []byte) error
type Profile_ControlTotals ¶
type Profile_ControlTotals struct { // The number of controls in the profile NumTests int32 `protobuf:"varint,1,opt,name=num_tests,json=numTests,proto3" json:"num_tests,omitempty"` // The number of controls that failed NumFailedTests int32 `protobuf:"varint,2,opt,name=num_failed_tests,json=numFailedTests,proto3" json:"num_failed_tests,omitempty"` // The number of controls that were skipped (0 fails, 0 pass) NumSkippedTests int32 `protobuf:"varint,3,opt,name=num_skipped_tests,json=numSkippedTests,proto3" json:"num_skipped_tests,omitempty"` // The number of controls that passed NumPassedTests int32 `protobuf:"varint,4,opt,name=num_passed_tests,json=numPassedTests,proto3" json:"num_passed_tests,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Profile_ControlTotals) Descriptor ¶
func (*Profile_ControlTotals) Descriptor() ([]byte, []int)
func (*Profile_ControlTotals) GetNumFailedTests ¶
func (m *Profile_ControlTotals) GetNumFailedTests() int32
func (*Profile_ControlTotals) GetNumPassedTests ¶
func (m *Profile_ControlTotals) GetNumPassedTests() int32
func (*Profile_ControlTotals) GetNumSkippedTests ¶
func (m *Profile_ControlTotals) GetNumSkippedTests() int32
func (*Profile_ControlTotals) GetNumTests ¶
func (m *Profile_ControlTotals) GetNumTests() int32
func (*Profile_ControlTotals) ProtoMessage ¶
func (*Profile_ControlTotals) ProtoMessage()
func (*Profile_ControlTotals) Reset ¶
func (m *Profile_ControlTotals) Reset()
func (*Profile_ControlTotals) String ¶
func (m *Profile_ControlTotals) String() string
func (*Profile_ControlTotals) XXX_DiscardUnknown ¶
func (m *Profile_ControlTotals) XXX_DiscardUnknown()
func (*Profile_ControlTotals) XXX_Marshal ¶
func (m *Profile_ControlTotals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Profile_ControlTotals) XXX_Merge ¶
func (dst *Profile_ControlTotals) XXX_Merge(src proto.Message)
func (*Profile_ControlTotals) XXX_Size ¶
func (m *Profile_ControlTotals) XXX_Size() int
func (*Profile_ControlTotals) XXX_Unmarshal ¶
func (m *Profile_ControlTotals) XXX_Unmarshal(b []byte) error
type Profile_Control_Result ¶
type Profile_Control_Result struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` CodeDesc string `protobuf:"bytes,2,opt,name=code_desc,json=codeDesc,proto3" json:"code_desc,omitempty"` RunTime float32 `protobuf:"fixed32,3,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"` StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` SkipMessage string `protobuf:"bytes,6,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Profile_Control_Result) Descriptor ¶
func (*Profile_Control_Result) Descriptor() ([]byte, []int)
func (*Profile_Control_Result) GetCodeDesc ¶
func (m *Profile_Control_Result) GetCodeDesc() string
func (*Profile_Control_Result) GetMessage ¶
func (m *Profile_Control_Result) GetMessage() string
func (*Profile_Control_Result) GetRunTime ¶
func (m *Profile_Control_Result) GetRunTime() float32
func (*Profile_Control_Result) GetSkipMessage ¶
func (m *Profile_Control_Result) GetSkipMessage() string
func (*Profile_Control_Result) GetStartTime ¶
func (m *Profile_Control_Result) GetStartTime() string
func (*Profile_Control_Result) GetStatus ¶
func (m *Profile_Control_Result) GetStatus() string
func (*Profile_Control_Result) ProtoMessage ¶
func (*Profile_Control_Result) ProtoMessage()
func (*Profile_Control_Result) Reset ¶
func (m *Profile_Control_Result) Reset()
func (*Profile_Control_Result) String ¶
func (m *Profile_Control_Result) String() string
func (*Profile_Control_Result) XXX_DiscardUnknown ¶
func (m *Profile_Control_Result) XXX_DiscardUnknown()
func (*Profile_Control_Result) XXX_Marshal ¶
func (m *Profile_Control_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Profile_Control_Result) XXX_Merge ¶
func (dst *Profile_Control_Result) XXX_Merge(src proto.Message)
func (*Profile_Control_Result) XXX_Size ¶
func (m *Profile_Control_Result) XXX_Size() int
func (*Profile_Control_Result) XXX_Unmarshal ¶
func (m *Profile_Control_Result) XXX_Unmarshal(b []byte) error
type Profile_Control_ResultTotals ¶
type Profile_Control_ResultTotals struct { NumTests int32 `protobuf:"varint,1,opt,name=num_tests,json=numTests,proto3" json:"num_tests,omitempty"` NumFailedTests int32 `protobuf:"varint,2,opt,name=num_failed_tests,json=numFailedTests,proto3" json:"num_failed_tests,omitempty"` NumSkippedTests int32 `protobuf:"varint,3,opt,name=num_skipped_tests,json=numSkippedTests,proto3" json:"num_skipped_tests,omitempty"` NumPassedTests int32 `protobuf:"varint,4,opt,name=num_passed_tests,json=numPassedTests,proto3" json:"num_passed_tests,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Profile_Control_ResultTotals) Descriptor ¶
func (*Profile_Control_ResultTotals) Descriptor() ([]byte, []int)
func (*Profile_Control_ResultTotals) GetNumFailedTests ¶
func (m *Profile_Control_ResultTotals) GetNumFailedTests() int32
func (*Profile_Control_ResultTotals) GetNumPassedTests ¶
func (m *Profile_Control_ResultTotals) GetNumPassedTests() int32
func (*Profile_Control_ResultTotals) GetNumSkippedTests ¶
func (m *Profile_Control_ResultTotals) GetNumSkippedTests() int32
func (*Profile_Control_ResultTotals) GetNumTests ¶
func (m *Profile_Control_ResultTotals) GetNumTests() int32
func (*Profile_Control_ResultTotals) ProtoMessage ¶
func (*Profile_Control_ResultTotals) ProtoMessage()
func (*Profile_Control_ResultTotals) Reset ¶
func (m *Profile_Control_ResultTotals) Reset()
func (*Profile_Control_ResultTotals) String ¶
func (m *Profile_Control_ResultTotals) String() string
func (*Profile_Control_ResultTotals) XXX_DiscardUnknown ¶
func (m *Profile_Control_ResultTotals) XXX_DiscardUnknown()
func (*Profile_Control_ResultTotals) XXX_Marshal ¶
func (m *Profile_Control_ResultTotals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Profile_Control_ResultTotals) XXX_Merge ¶
func (dst *Profile_Control_ResultTotals) XXX_Merge(src proto.Message)
func (*Profile_Control_ResultTotals) XXX_Size ¶
func (m *Profile_Control_ResultTotals) XXX_Size() int
func (*Profile_Control_ResultTotals) XXX_Unmarshal ¶
func (m *Profile_Control_ResultTotals) XXX_Unmarshal(b []byte) error
type Refs ¶
type Refs struct { Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Refs) Descriptor ¶
func (*Refs) ProtoMessage ¶
func (*Refs) ProtoMessage()
func (*Refs) XXX_DiscardUnknown ¶
func (m *Refs) XXX_DiscardUnknown()
func (*Refs) XXX_Unmarshal ¶
type Response ¶
type Response struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Response) Descriptor ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_Unmarshal ¶
type Rule ¶
type Rule struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Event Rule_Event `protobuf:"varint,3,opt,name=event,proto3,enum=notifications.Rule_Event" json:"event,omitempty"` // Types that are valid to be assigned to Action: // *Rule_SlackAlert // *Rule_WebhookAlert // *Rule_ServiceNowAlert Action isRule_Action `protobuf_oneof:"action"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Rule) Descriptor ¶
func (*Rule) GetEvent ¶
func (m *Rule) GetEvent() Rule_Event
func (*Rule) GetServiceNowAlert ¶
func (m *Rule) GetServiceNowAlert() *ServiceNowAlert
func (*Rule) GetSlackAlert ¶
func (m *Rule) GetSlackAlert() *SlackAlert
func (*Rule) GetWebhookAlert ¶
func (m *Rule) GetWebhookAlert() *WebhookAlert
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
func (*Rule) XXX_DiscardUnknown ¶
func (m *Rule) XXX_DiscardUnknown()
func (*Rule) XXX_OneofFuncs ¶
func (*Rule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Rule) XXX_Unmarshal ¶
type RuleAddResponse ¶
type RuleAddResponse struct { Code RuleAddResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=notifications.RuleAddResponse_Code" json:"code,omitempty"` Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RuleAddResponse) Descriptor ¶
func (*RuleAddResponse) Descriptor() ([]byte, []int)
func (*RuleAddResponse) GetCode ¶
func (m *RuleAddResponse) GetCode() RuleAddResponse_Code
func (*RuleAddResponse) GetId ¶
func (m *RuleAddResponse) GetId() string
func (*RuleAddResponse) GetMessages ¶
func (m *RuleAddResponse) GetMessages() []string
func (*RuleAddResponse) ProtoMessage ¶
func (*RuleAddResponse) ProtoMessage()
func (*RuleAddResponse) Reset ¶
func (m *RuleAddResponse) Reset()
func (*RuleAddResponse) String ¶
func (m *RuleAddResponse) String() string
func (*RuleAddResponse) XXX_DiscardUnknown ¶
func (m *RuleAddResponse) XXX_DiscardUnknown()
func (*RuleAddResponse) XXX_Marshal ¶
func (m *RuleAddResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RuleAddResponse) XXX_Merge ¶
func (dst *RuleAddResponse) XXX_Merge(src proto.Message)
func (*RuleAddResponse) XXX_Size ¶
func (m *RuleAddResponse) XXX_Size() int
func (*RuleAddResponse) XXX_Unmarshal ¶
func (m *RuleAddResponse) XXX_Unmarshal(b []byte) error
type RuleAddResponse_Code ¶
type RuleAddResponse_Code int32
const ( RuleAddResponse_ADDED RuleAddResponse_Code = 0 RuleAddResponse_DUPLICATE_NAME RuleAddResponse_Code = 1 RuleAddResponse_NOT_FOUND RuleAddResponse_Code = 2 RuleAddResponse_INVALID_ACTION_CONFIG RuleAddResponse_Code = 3 RuleAddResponse_VALIDATION_ERROR RuleAddResponse_Code = 4 RuleAddResponse_INTERNAL_ERROR RuleAddResponse_Code = 99 )
func (RuleAddResponse_Code) EnumDescriptor ¶
func (RuleAddResponse_Code) EnumDescriptor() ([]byte, []int)
func (RuleAddResponse_Code) String ¶
func (x RuleAddResponse_Code) String() string
type RuleDeleteResponse ¶
type RuleDeleteResponse struct { Code RuleDeleteResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=notifications.RuleDeleteResponse_Code" json:"code,omitempty"` Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RuleDeleteResponse) Descriptor ¶
func (*RuleDeleteResponse) Descriptor() ([]byte, []int)
func (*RuleDeleteResponse) GetCode ¶
func (m *RuleDeleteResponse) GetCode() RuleDeleteResponse_Code
func (*RuleDeleteResponse) GetMessages ¶
func (m *RuleDeleteResponse) GetMessages() []string
func (*RuleDeleteResponse) ProtoMessage ¶
func (*RuleDeleteResponse) ProtoMessage()
func (*RuleDeleteResponse) Reset ¶
func (m *RuleDeleteResponse) Reset()
func (*RuleDeleteResponse) String ¶
func (m *RuleDeleteResponse) String() string
func (*RuleDeleteResponse) XXX_DiscardUnknown ¶
func (m *RuleDeleteResponse) XXX_DiscardUnknown()
func (*RuleDeleteResponse) XXX_Marshal ¶
func (m *RuleDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RuleDeleteResponse) XXX_Merge ¶
func (dst *RuleDeleteResponse) XXX_Merge(src proto.Message)
func (*RuleDeleteResponse) XXX_Size ¶
func (m *RuleDeleteResponse) XXX_Size() int
func (*RuleDeleteResponse) XXX_Unmarshal ¶
func (m *RuleDeleteResponse) XXX_Unmarshal(b []byte) error
type RuleDeleteResponse_Code ¶
type RuleDeleteResponse_Code int32
const ( RuleDeleteResponse_DELETED RuleDeleteResponse_Code = 0 RuleDeleteResponse_NOT_FOUND RuleDeleteResponse_Code = 2 RuleDeleteResponse_INTERNAL_ERROR RuleDeleteResponse_Code = 99 )
func (RuleDeleteResponse_Code) EnumDescriptor ¶
func (RuleDeleteResponse_Code) EnumDescriptor() ([]byte, []int)
func (RuleDeleteResponse_Code) String ¶
func (x RuleDeleteResponse_Code) String() string
type RuleGetResponse ¶
type RuleGetResponse struct { Code RuleGetResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=notifications.RuleGetResponse_Code" json:"code,omitempty"` Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` Rule *Rule `protobuf:"bytes,3,opt,name=rule,proto3" json:"rule,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RuleGetResponse) Descriptor ¶
func (*RuleGetResponse) Descriptor() ([]byte, []int)
func (*RuleGetResponse) GetCode ¶
func (m *RuleGetResponse) GetCode() RuleGetResponse_Code
func (*RuleGetResponse) GetMessages ¶
func (m *RuleGetResponse) GetMessages() []string
func (*RuleGetResponse) GetRule ¶
func (m *RuleGetResponse) GetRule() *Rule
func (*RuleGetResponse) ProtoMessage ¶
func (*RuleGetResponse) ProtoMessage()
func (*RuleGetResponse) Reset ¶
func (m *RuleGetResponse) Reset()
func (*RuleGetResponse) String ¶
func (m *RuleGetResponse) String() string
func (*RuleGetResponse) XXX_DiscardUnknown ¶
func (m *RuleGetResponse) XXX_DiscardUnknown()
func (*RuleGetResponse) XXX_Marshal ¶
func (m *RuleGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RuleGetResponse) XXX_Merge ¶
func (dst *RuleGetResponse) XXX_Merge(src proto.Message)
func (*RuleGetResponse) XXX_Size ¶
func (m *RuleGetResponse) XXX_Size() int
func (*RuleGetResponse) XXX_Unmarshal ¶
func (m *RuleGetResponse) XXX_Unmarshal(b []byte) error
type RuleGetResponse_Code ¶
type RuleGetResponse_Code int32
const ( RuleGetResponse_OK RuleGetResponse_Code = 0 RuleGetResponse_NOT_FOUND RuleGetResponse_Code = 2 RuleGetResponse_INTERNAL_ERROR RuleGetResponse_Code = 99 )
func (RuleGetResponse_Code) EnumDescriptor ¶
func (RuleGetResponse_Code) EnumDescriptor() ([]byte, []int)
func (RuleGetResponse_Code) String ¶
func (x RuleGetResponse_Code) String() string
type RuleIdentifier ¶
type RuleIdentifier struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RuleIdentifier) Descriptor ¶
func (*RuleIdentifier) Descriptor() ([]byte, []int)
func (*RuleIdentifier) GetId ¶
func (m *RuleIdentifier) GetId() string
func (*RuleIdentifier) ProtoMessage ¶
func (*RuleIdentifier) ProtoMessage()
func (*RuleIdentifier) Reset ¶
func (m *RuleIdentifier) Reset()
func (*RuleIdentifier) String ¶
func (m *RuleIdentifier) String() string
func (*RuleIdentifier) XXX_DiscardUnknown ¶
func (m *RuleIdentifier) XXX_DiscardUnknown()
func (*RuleIdentifier) XXX_Marshal ¶
func (m *RuleIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RuleIdentifier) XXX_Merge ¶
func (dst *RuleIdentifier) XXX_Merge(src proto.Message)
func (*RuleIdentifier) XXX_Size ¶
func (m *RuleIdentifier) XXX_Size() int
func (*RuleIdentifier) XXX_Unmarshal ¶
func (m *RuleIdentifier) XXX_Unmarshal(b []byte) error
type RuleListResponse ¶
type RuleListResponse struct { Code RuleListResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=notifications.RuleListResponse_Code" json:"code,omitempty"` Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` Rules []*Rule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RuleListResponse) Descriptor ¶
func (*RuleListResponse) Descriptor() ([]byte, []int)
func (*RuleListResponse) GetCode ¶
func (m *RuleListResponse) GetCode() RuleListResponse_Code
func (*RuleListResponse) GetMessages ¶
func (m *RuleListResponse) GetMessages() []string
func (*RuleListResponse) GetRules ¶
func (m *RuleListResponse) GetRules() []*Rule
func (*RuleListResponse) ProtoMessage ¶
func (*RuleListResponse) ProtoMessage()
func (*RuleListResponse) Reset ¶
func (m *RuleListResponse) Reset()
func (*RuleListResponse) String ¶
func (m *RuleListResponse) String() string
func (*RuleListResponse) XXX_DiscardUnknown ¶
func (m *RuleListResponse) XXX_DiscardUnknown()
func (*RuleListResponse) XXX_Marshal ¶
func (m *RuleListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RuleListResponse) XXX_Merge ¶
func (dst *RuleListResponse) XXX_Merge(src proto.Message)
func (*RuleListResponse) XXX_Size ¶
func (m *RuleListResponse) XXX_Size() int
func (*RuleListResponse) XXX_Unmarshal ¶
func (m *RuleListResponse) XXX_Unmarshal(b []byte) error
type RuleListResponse_Code ¶
type RuleListResponse_Code int32
const ( RuleListResponse_OK RuleListResponse_Code = 0 RuleListResponse_INTERNAL_ERROR RuleListResponse_Code = 99 )
func (RuleListResponse_Code) EnumDescriptor ¶
func (RuleListResponse_Code) EnumDescriptor() ([]byte, []int)
func (RuleListResponse_Code) String ¶
func (x RuleListResponse_Code) String() string
type RuleUpdateResponse ¶
type RuleUpdateResponse struct { Code RuleUpdateResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=notifications.RuleUpdateResponse_Code" json:"code,omitempty"` Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RuleUpdateResponse) Descriptor ¶
func (*RuleUpdateResponse) Descriptor() ([]byte, []int)
func (*RuleUpdateResponse) GetCode ¶
func (m *RuleUpdateResponse) GetCode() RuleUpdateResponse_Code
func (*RuleUpdateResponse) GetMessages ¶
func (m *RuleUpdateResponse) GetMessages() []string
func (*RuleUpdateResponse) ProtoMessage ¶
func (*RuleUpdateResponse) ProtoMessage()
func (*RuleUpdateResponse) Reset ¶
func (m *RuleUpdateResponse) Reset()
func (*RuleUpdateResponse) String ¶
func (m *RuleUpdateResponse) String() string
func (*RuleUpdateResponse) XXX_DiscardUnknown ¶
func (m *RuleUpdateResponse) XXX_DiscardUnknown()
func (*RuleUpdateResponse) XXX_Marshal ¶
func (m *RuleUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RuleUpdateResponse) XXX_Merge ¶
func (dst *RuleUpdateResponse) XXX_Merge(src proto.Message)
func (*RuleUpdateResponse) XXX_Size ¶
func (m *RuleUpdateResponse) XXX_Size() int
func (*RuleUpdateResponse) XXX_Unmarshal ¶
func (m *RuleUpdateResponse) XXX_Unmarshal(b []byte) error
type RuleUpdateResponse_Code ¶
type RuleUpdateResponse_Code int32
const ( RuleUpdateResponse_OK RuleUpdateResponse_Code = 0 RuleUpdateResponse_DUPLICATE_NAME RuleUpdateResponse_Code = 1 RuleUpdateResponse_NOT_FOUND RuleUpdateResponse_Code = 2 RuleUpdateResponse_VALIDATION_ERROR RuleUpdateResponse_Code = 4 RuleUpdateResponse_INTERNAL_ERROR RuleUpdateResponse_Code = 99 )
func (RuleUpdateResponse_Code) EnumDescriptor ¶
func (RuleUpdateResponse_Code) EnumDescriptor() ([]byte, []int)
func (RuleUpdateResponse_Code) String ¶
func (x RuleUpdateResponse_Code) String() string
type Rule_Event ¶
type Rule_Event int32
const ( Rule_CCRFailure Rule_Event = 0 Rule_CCRSuccess Rule_Event = 1 Rule_ComplianceFailure Rule_Event = 2 Rule_ComplianceSuccess Rule_Event = 3 Rule_Assets Rule_Event = 4 )
func (Rule_Event) EnumDescriptor ¶
func (Rule_Event) EnumDescriptor() ([]byte, []int)
func (Rule_Event) String ¶
func (x Rule_Event) String() string
type Rule_ServiceNowAlert ¶
type Rule_ServiceNowAlert struct {
ServiceNowAlert *ServiceNowAlert `protobuf:"bytes,6,opt,name=ServiceNowAlert,proto3,oneof"`
}
type Rule_SlackAlert ¶
type Rule_SlackAlert struct {
SlackAlert *SlackAlert `protobuf:"bytes,4,opt,name=SlackAlert,proto3,oneof"`
}
type Rule_WebhookAlert ¶
type Rule_WebhookAlert struct {
WebhookAlert *WebhookAlert `protobuf:"bytes,5,opt,name=WebhookAlert,proto3,oneof"`
}
type SecretId ¶
type SecretId struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SecretId) Descriptor ¶
func (*SecretId) ProtoMessage ¶
func (*SecretId) ProtoMessage()
func (*SecretId) XXX_DiscardUnknown ¶
func (m *SecretId) XXX_DiscardUnknown()
func (*SecretId) XXX_Marshal ¶
func (*SecretId) XXX_Unmarshal ¶
type ServiceNowAlert ¶
type ServiceNowAlert struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` SecretId string `protobuf:"bytes,2,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ServiceNowAlert) Descriptor ¶
func (*ServiceNowAlert) Descriptor() ([]byte, []int)
func (*ServiceNowAlert) GetSecretId ¶
func (m *ServiceNowAlert) GetSecretId() string
func (*ServiceNowAlert) GetUrl ¶
func (m *ServiceNowAlert) GetUrl() string
func (*ServiceNowAlert) ProtoMessage ¶
func (*ServiceNowAlert) ProtoMessage()
func (*ServiceNowAlert) Reset ¶
func (m *ServiceNowAlert) Reset()
func (*ServiceNowAlert) String ¶
func (m *ServiceNowAlert) String() string
func (*ServiceNowAlert) XXX_DiscardUnknown ¶
func (m *ServiceNowAlert) XXX_DiscardUnknown()
func (*ServiceNowAlert) XXX_Marshal ¶
func (m *ServiceNowAlert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceNowAlert) XXX_Merge ¶
func (dst *ServiceNowAlert) XXX_Merge(src proto.Message)
func (*ServiceNowAlert) XXX_Size ¶
func (m *ServiceNowAlert) XXX_Size() int
func (*ServiceNowAlert) XXX_Unmarshal ¶
func (m *ServiceNowAlert) XXX_Unmarshal(b []byte) error
type SlackAlert ¶
type SlackAlert struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SlackAlert) Descriptor ¶
func (*SlackAlert) Descriptor() ([]byte, []int)
func (*SlackAlert) GetUrl ¶
func (m *SlackAlert) GetUrl() string
func (*SlackAlert) ProtoMessage ¶
func (*SlackAlert) ProtoMessage()
func (*SlackAlert) Reset ¶
func (m *SlackAlert) Reset()
func (*SlackAlert) String ¶
func (m *SlackAlert) String() string
func (*SlackAlert) XXX_DiscardUnknown ¶
func (m *SlackAlert) XXX_DiscardUnknown()
func (*SlackAlert) XXX_Marshal ¶
func (m *SlackAlert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SlackAlert) XXX_Merge ¶
func (dst *SlackAlert) XXX_Merge(src proto.Message)
func (*SlackAlert) XXX_Size ¶
func (m *SlackAlert) XXX_Size() int
func (*SlackAlert) XXX_Unmarshal ¶
func (m *SlackAlert) XXX_Unmarshal(b []byte) error
type SourceLocation ¶
type SourceLocation struct { Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SourceLocation) Descriptor ¶
func (*SourceLocation) Descriptor() ([]byte, []int)
func (*SourceLocation) GetLine ¶
func (m *SourceLocation) GetLine() int32
func (*SourceLocation) GetRef ¶
func (m *SourceLocation) GetRef() string
func (*SourceLocation) ProtoMessage ¶
func (*SourceLocation) ProtoMessage()
func (*SourceLocation) Reset ¶
func (m *SourceLocation) Reset()
func (*SourceLocation) String ¶
func (m *SourceLocation) String() string
func (*SourceLocation) XXX_DiscardUnknown ¶
func (m *SourceLocation) XXX_DiscardUnknown()
func (*SourceLocation) XXX_Marshal ¶
func (m *SourceLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SourceLocation) XXX_Merge ¶
func (dst *SourceLocation) XXX_Merge(src proto.Message)
func (*SourceLocation) XXX_Size ¶
func (m *SourceLocation) XXX_Size() int
func (*SourceLocation) XXX_Unmarshal ¶
func (m *SourceLocation) XXX_Unmarshal(b []byte) error
type TimeInfo ¶
type TimeInfo struct { StartTime string `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime string `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TimeInfo) Descriptor ¶
func (*TimeInfo) GetEndTime ¶
func (*TimeInfo) GetStartTime ¶
func (*TimeInfo) ProtoMessage ¶
func (*TimeInfo) ProtoMessage()
func (*TimeInfo) XXX_DiscardUnknown ¶
func (m *TimeInfo) XXX_DiscardUnknown()
func (*TimeInfo) XXX_Marshal ¶
func (*TimeInfo) XXX_Unmarshal ¶
type URLValidationRequest ¶
type URLValidationRequest struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // Types that are valid to be assigned to Credentials: // *URLValidationRequest_UsernamePassword // *URLValidationRequest_SecretId // *URLValidationRequest_None Credentials isURLValidationRequest_Credentials `protobuf_oneof:"credentials"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*URLValidationRequest) Descriptor ¶
func (*URLValidationRequest) Descriptor() ([]byte, []int)
func (*URLValidationRequest) GetCredentials ¶
func (m *URLValidationRequest) GetCredentials() isURLValidationRequest_Credentials
func (*URLValidationRequest) GetNone ¶
func (m *URLValidationRequest) GetNone() *Empty
func (*URLValidationRequest) GetSecretId ¶
func (m *URLValidationRequest) GetSecretId() *SecretId
func (*URLValidationRequest) GetUrl ¶
func (m *URLValidationRequest) GetUrl() string
func (*URLValidationRequest) GetUsernamePassword ¶
func (m *URLValidationRequest) GetUsernamePassword() *UsernamePassword
func (*URLValidationRequest) ProtoMessage ¶
func (*URLValidationRequest) ProtoMessage()
func (*URLValidationRequest) Reset ¶
func (m *URLValidationRequest) Reset()
func (*URLValidationRequest) String ¶
func (m *URLValidationRequest) String() string
func (*URLValidationRequest) XXX_DiscardUnknown ¶
func (m *URLValidationRequest) XXX_DiscardUnknown()
func (*URLValidationRequest) XXX_Marshal ¶
func (m *URLValidationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*URLValidationRequest) XXX_Merge ¶
func (dst *URLValidationRequest) XXX_Merge(src proto.Message)
func (*URLValidationRequest) XXX_OneofFuncs ¶
func (*URLValidationRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*URLValidationRequest) XXX_Size ¶
func (m *URLValidationRequest) XXX_Size() int
func (*URLValidationRequest) XXX_Unmarshal ¶
func (m *URLValidationRequest) XXX_Unmarshal(b []byte) error
type URLValidationRequest_None ¶
type URLValidationRequest_None struct {
None *Empty `protobuf:"bytes,4,opt,name=none,proto3,oneof"`
}
type URLValidationRequest_SecretId ¶
type URLValidationRequest_SecretId struct {
SecretId *SecretId `protobuf:"bytes,3,opt,name=secret_id,json=secretId,proto3,oneof"`
}
type URLValidationRequest_UsernamePassword ¶
type URLValidationRequest_UsernamePassword struct {
UsernamePassword *UsernamePassword `protobuf:"bytes,2,opt,name=username_password,json=usernamePassword,proto3,oneof"`
}
type URLValidationResponse ¶
type URLValidationResponse struct { Code URLValidationResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=notifications.URLValidationResponse_Code" json:"code,omitempty"` Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*URLValidationResponse) Descriptor ¶
func (*URLValidationResponse) Descriptor() ([]byte, []int)
func (*URLValidationResponse) GetCode ¶
func (m *URLValidationResponse) GetCode() URLValidationResponse_Code
func (*URLValidationResponse) GetMessages ¶
func (m *URLValidationResponse) GetMessages() []string
func (*URLValidationResponse) ProtoMessage ¶
func (*URLValidationResponse) ProtoMessage()
func (*URLValidationResponse) Reset ¶
func (m *URLValidationResponse) Reset()
func (*URLValidationResponse) String ¶
func (m *URLValidationResponse) String() string
func (*URLValidationResponse) XXX_DiscardUnknown ¶
func (m *URLValidationResponse) XXX_DiscardUnknown()
func (*URLValidationResponse) XXX_Marshal ¶
func (m *URLValidationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*URLValidationResponse) XXX_Merge ¶
func (dst *URLValidationResponse) XXX_Merge(src proto.Message)
func (*URLValidationResponse) XXX_Size ¶
func (m *URLValidationResponse) XXX_Size() int
func (*URLValidationResponse) XXX_Unmarshal ¶
func (m *URLValidationResponse) XXX_Unmarshal(b []byte) error
type URLValidationResponse_Code ¶
type URLValidationResponse_Code int32
const ( URLValidationResponse_OK URLValidationResponse_Code = 0 URLValidationResponse_ERROR URLValidationResponse_Code = 1 URLValidationResponse_INVALID_URL URLValidationResponse_Code = 4 URLValidationResponse_NOTIFICATIONS_UNAVAIALBLE URLValidationResponse_Code = 98 URLValidationResponse_INTERNAL_ERROR URLValidationResponse_Code = 99 )
func (URLValidationResponse_Code) EnumDescriptor ¶
func (URLValidationResponse_Code) EnumDescriptor() ([]byte, []int)
func (URLValidationResponse_Code) String ¶
func (x URLValidationResponse_Code) String() string
type UsernamePassword ¶
type UsernamePassword struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UsernamePassword) Descriptor ¶
func (*UsernamePassword) Descriptor() ([]byte, []int)
func (*UsernamePassword) GetPassword ¶
func (m *UsernamePassword) GetPassword() string
func (*UsernamePassword) GetUsername ¶
func (m *UsernamePassword) GetUsername() string
func (*UsernamePassword) ProtoMessage ¶
func (*UsernamePassword) ProtoMessage()
func (*UsernamePassword) Reset ¶
func (m *UsernamePassword) Reset()
func (*UsernamePassword) String ¶
func (m *UsernamePassword) String() string
func (*UsernamePassword) XXX_DiscardUnknown ¶
func (m *UsernamePassword) XXX_DiscardUnknown()
func (*UsernamePassword) XXX_Marshal ¶
func (m *UsernamePassword) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UsernamePassword) XXX_Merge ¶
func (dst *UsernamePassword) XXX_Merge(src proto.Message)
func (*UsernamePassword) XXX_Size ¶
func (m *UsernamePassword) XXX_Size() int
func (*UsernamePassword) XXX_Unmarshal ¶
func (m *UsernamePassword) XXX_Unmarshal(b []byte) error
type VersionRequest ¶
type VersionRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VersionRequest) Descriptor ¶
func (*VersionRequest) Descriptor() ([]byte, []int)
func (*VersionRequest) ProtoMessage ¶
func (*VersionRequest) ProtoMessage()
func (*VersionRequest) Reset ¶
func (m *VersionRequest) Reset()
func (*VersionRequest) String ¶
func (m *VersionRequest) String() string
func (*VersionRequest) XXX_DiscardUnknown ¶
func (m *VersionRequest) XXX_DiscardUnknown()
func (*VersionRequest) XXX_Marshal ¶
func (m *VersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VersionRequest) XXX_Merge ¶
func (dst *VersionRequest) XXX_Merge(src proto.Message)
func (*VersionRequest) XXX_Size ¶
func (m *VersionRequest) XXX_Size() int
func (*VersionRequest) XXX_Unmarshal ¶
func (m *VersionRequest) XXX_Unmarshal(b []byte) error
type VersionResponse ¶
type VersionResponse struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VersionResponse) Descriptor ¶
func (*VersionResponse) Descriptor() ([]byte, []int)
func (*VersionResponse) GetVersion ¶
func (m *VersionResponse) GetVersion() string
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) Reset ¶
func (m *VersionResponse) Reset()
func (*VersionResponse) String ¶
func (m *VersionResponse) String() string
func (*VersionResponse) XXX_DiscardUnknown ¶
func (m *VersionResponse) XXX_DiscardUnknown()
func (*VersionResponse) XXX_Marshal ¶
func (m *VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VersionResponse) XXX_Merge ¶
func (dst *VersionResponse) XXX_Merge(src proto.Message)
func (*VersionResponse) XXX_Size ¶
func (m *VersionResponse) XXX_Size() int
func (*VersionResponse) XXX_Unmarshal ¶
func (m *VersionResponse) XXX_Unmarshal(b []byte) error
type WebhookAlert ¶
type WebhookAlert struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WebhookAlert) Descriptor ¶
func (*WebhookAlert) Descriptor() ([]byte, []int)
func (*WebhookAlert) GetUrl ¶
func (m *WebhookAlert) GetUrl() string
func (*WebhookAlert) ProtoMessage ¶
func (*WebhookAlert) ProtoMessage()
func (*WebhookAlert) Reset ¶
func (m *WebhookAlert) Reset()
func (*WebhookAlert) String ¶
func (m *WebhookAlert) String() string
func (*WebhookAlert) XXX_DiscardUnknown ¶
func (m *WebhookAlert) XXX_DiscardUnknown()
func (*WebhookAlert) XXX_Marshal ¶
func (m *WebhookAlert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WebhookAlert) XXX_Merge ¶
func (dst *WebhookAlert) XXX_Merge(src proto.Message)
func (*WebhookAlert) XXX_Size ¶
func (m *WebhookAlert) XXX_Size() int
func (*WebhookAlert) XXX_Unmarshal ¶
func (m *WebhookAlert) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.