Documentation
¶
Overview ¶
Package notifications is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterNotificationsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterNotificationsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NotificationsClient) error
- func RegisterNotificationsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterNotificationsServer(s *grpc.Server, srv NotificationsServer)
- 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 NotificationsClient
- type NotificationsServer
- type NotificationsServerMock
- func (m *NotificationsServerMock) AddRule(ctx context.Context, req *RuleAddRequest) (*RuleAddResponse, error)
- func (m *NotificationsServerMock) DeleteRule(ctx context.Context, req *RuleIdentifier) (*RuleDeleteResponse, error)
- func (m *NotificationsServerMock) GetRule(ctx context.Context, req *RuleIdentifier) (*RuleGetResponse, error)
- func (m *NotificationsServerMock) ListRules(ctx context.Context, req *RuleListRequest) (*RuleListResponse, error)
- func (m *NotificationsServerMock) Reset()
- func (m *NotificationsServerMock) UpdateRule(ctx context.Context, req *RuleUpdateRequest) (*RuleUpdateResponse, error)
- func (m *NotificationsServerMock) ValidateWebhook(ctx context.Context, req *URLValidationRequest) (*URLValidationResponse, error)
- func (m *NotificationsServerMock) Version(ctx context.Context, req *VersionRequest) (*VersionResponse, 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 RuleAddRequest
- func (*RuleAddRequest) Descriptor() ([]byte, []int)
- func (m *RuleAddRequest) GetRule() *Rule
- func (*RuleAddRequest) ProtoMessage()
- func (m *RuleAddRequest) Reset()
- func (m *RuleAddRequest) String() string
- func (m *RuleAddRequest) XXX_DiscardUnknown()
- func (m *RuleAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RuleAddRequest) XXX_Merge(src proto.Message)
- func (m *RuleAddRequest) XXX_Size() int
- func (m *RuleAddRequest) XXX_Unmarshal(b []byte) error
- type RuleAddResponse
- func (*RuleAddResponse) Descriptor() ([]byte, []int)
- 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 RuleDeleteResponse
- func (*RuleDeleteResponse) Descriptor() ([]byte, []int)
- 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 RuleGetResponse
- func (*RuleGetResponse) Descriptor() ([]byte, []int)
- 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 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 RuleListRequest
- func (*RuleListRequest) Descriptor() ([]byte, []int)
- func (*RuleListRequest) ProtoMessage()
- func (m *RuleListRequest) Reset()
- func (m *RuleListRequest) String() string
- func (m *RuleListRequest) XXX_DiscardUnknown()
- func (m *RuleListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RuleListRequest) XXX_Merge(src proto.Message)
- func (m *RuleListRequest) XXX_Size() int
- func (m *RuleListRequest) XXX_Unmarshal(b []byte) error
- type RuleListResponse
- func (*RuleListResponse) Descriptor() ([]byte, []int)
- 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 RuleUpdateRequest
- func (*RuleUpdateRequest) Descriptor() ([]byte, []int)
- func (m *RuleUpdateRequest) GetId() string
- func (m *RuleUpdateRequest) GetRule() *Rule
- func (*RuleUpdateRequest) ProtoMessage()
- func (m *RuleUpdateRequest) Reset()
- func (m *RuleUpdateRequest) String() string
- func (m *RuleUpdateRequest) XXX_DiscardUnknown()
- func (m *RuleUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RuleUpdateRequest) XXX_Merge(src proto.Message)
- func (m *RuleUpdateRequest) XXX_Size() int
- func (m *RuleUpdateRequest) XXX_Unmarshal(b []byte) error
- type RuleUpdateResponse
- func (*RuleUpdateResponse) Descriptor() ([]byte, []int)
- 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 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 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 (*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 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 ¶
var Rule_Event_name = map[int32]string{
0: "CCRFailure",
1: "CCRSuccess",
2: "ComplianceFailure",
3: "ComplianceSuccess",
4: "Assets",
}
var Rule_Event_value = map[string]int32{
"CCRFailure": 0,
"CCRSuccess": 1,
"ComplianceFailure": 2,
"ComplianceSuccess": 3,
"Assets": 4,
}
Functions ¶
func RegisterNotificationsHandler ¶
func RegisterNotificationsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterNotificationsHandler registers the http handlers for service Notifications to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterNotificationsHandlerClient ¶
func RegisterNotificationsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NotificationsClient) error
RegisterNotificationsHandlerClient registers the http handlers for service Notifications to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "NotificationsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "NotificationsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "NotificationsClient" to call the correct interceptors.
func RegisterNotificationsHandlerFromEndpoint ¶
func RegisterNotificationsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterNotificationsHandlerFromEndpoint is same as RegisterNotificationsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterNotificationsServer ¶
func RegisterNotificationsServer(s *grpc.Server, srv NotificationsServer)
Types ¶
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 NotificationsClient ¶
type NotificationsClient interface { AddRule(ctx context.Context, in *RuleAddRequest, opts ...grpc.CallOption) (*RuleAddResponse, error) DeleteRule(ctx context.Context, in *RuleIdentifier, opts ...grpc.CallOption) (*RuleDeleteResponse, error) UpdateRule(ctx context.Context, in *RuleUpdateRequest, opts ...grpc.CallOption) (*RuleUpdateResponse, error) GetRule(ctx context.Context, in *RuleIdentifier, opts ...grpc.CallOption) (*RuleGetResponse, error) ListRules(ctx context.Context, in *RuleListRequest, opts ...grpc.CallOption) (*RuleListResponse, error) ValidateWebhook(ctx context.Context, in *URLValidationRequest, opts ...grpc.CallOption) (*URLValidationResponse, error) 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 { AddRule(context.Context, *RuleAddRequest) (*RuleAddResponse, error) DeleteRule(context.Context, *RuleIdentifier) (*RuleDeleteResponse, error) UpdateRule(context.Context, *RuleUpdateRequest) (*RuleUpdateResponse, error) GetRule(context.Context, *RuleIdentifier) (*RuleGetResponse, error) ListRules(context.Context, *RuleListRequest) (*RuleListResponse, error) ValidateWebhook(context.Context, *URLValidationRequest) (*URLValidationResponse, error) Version(context.Context, *VersionRequest) (*VersionResponse, error) }
NotificationsServer is the server API for Notifications service.
type NotificationsServerMock ¶
type NotificationsServerMock struct { AddRuleFunc func(context.Context, *RuleAddRequest) (*RuleAddResponse, error) DeleteRuleFunc func(context.Context, *RuleIdentifier) (*RuleDeleteResponse, error) UpdateRuleFunc func(context.Context, *RuleUpdateRequest) (*RuleUpdateResponse, error) GetRuleFunc func(context.Context, *RuleIdentifier) (*RuleGetResponse, error) ListRulesFunc func(context.Context, *RuleListRequest) (*RuleListResponse, error) ValidateWebhookFunc func(context.Context, *URLValidationRequest) (*URLValidationResponse, error) VersionFunc func(context.Context, *VersionRequest) (*VersionResponse, error) // contains filtered or unexported fields }
NotificationsServerMock is the mock-what-you-want struct that stubs all not-overridden methods with "not implemented" returns
func NewNotificationsServerMock ¶
func NewNotificationsServerMock() *NotificationsServerMock
NewNotificationsServerMock gives you a fresh instance of NotificationsServerMock.
func NewNotificationsServerMockWithoutValidation ¶
func NewNotificationsServerMockWithoutValidation() *NotificationsServerMock
NewNotificationsServerMockWithoutValidation gives you a fresh instance of NotificationsServerMock which does not attempt to validate requests before passing them to their respective '*Func'.
func (*NotificationsServerMock) AddRule ¶
func (m *NotificationsServerMock) AddRule(ctx context.Context, req *RuleAddRequest) (*RuleAddResponse, error)
func (*NotificationsServerMock) DeleteRule ¶
func (m *NotificationsServerMock) DeleteRule(ctx context.Context, req *RuleIdentifier) (*RuleDeleteResponse, error)
func (*NotificationsServerMock) GetRule ¶
func (m *NotificationsServerMock) GetRule(ctx context.Context, req *RuleIdentifier) (*RuleGetResponse, error)
func (*NotificationsServerMock) ListRules ¶
func (m *NotificationsServerMock) ListRules(ctx context.Context, req *RuleListRequest) (*RuleListResponse, error)
func (*NotificationsServerMock) Reset ¶
func (m *NotificationsServerMock) Reset()
Reset resets all overridden functions
func (*NotificationsServerMock) UpdateRule ¶
func (m *NotificationsServerMock) UpdateRule(ctx context.Context, req *RuleUpdateRequest) (*RuleUpdateResponse, error)
func (*NotificationsServerMock) ValidateWebhook ¶
func (m *NotificationsServerMock) ValidateWebhook(ctx context.Context, req *URLValidationRequest) (*URLValidationResponse, error)
func (*NotificationsServerMock) Version ¶
func (m *NotificationsServerMock) Version(ctx context.Context, req *VersionRequest) (*VersionResponse, error)
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=chef.automate.api.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 RuleAddRequest ¶
type RuleAddRequest struct { Rule *Rule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RuleAddRequest) Descriptor ¶
func (*RuleAddRequest) Descriptor() ([]byte, []int)
func (*RuleAddRequest) GetRule ¶
func (m *RuleAddRequest) GetRule() *Rule
func (*RuleAddRequest) ProtoMessage ¶
func (*RuleAddRequest) ProtoMessage()
func (*RuleAddRequest) Reset ¶
func (m *RuleAddRequest) Reset()
func (*RuleAddRequest) String ¶
func (m *RuleAddRequest) String() string
func (*RuleAddRequest) XXX_DiscardUnknown ¶
func (m *RuleAddRequest) XXX_DiscardUnknown()
func (*RuleAddRequest) XXX_Marshal ¶
func (m *RuleAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RuleAddRequest) XXX_Merge ¶
func (dst *RuleAddRequest) XXX_Merge(src proto.Message)
func (*RuleAddRequest) XXX_Size ¶
func (m *RuleAddRequest) XXX_Size() int
func (*RuleAddRequest) XXX_Unmarshal ¶
func (m *RuleAddRequest) XXX_Unmarshal(b []byte) error
type RuleAddResponse ¶
type RuleAddResponse struct { Messages []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` Id string `protobuf:"bytes,2,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) 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 RuleDeleteResponse ¶
type RuleDeleteResponse struct { Messages []string `protobuf:"bytes,1,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) 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 RuleGetResponse ¶
type RuleGetResponse struct { Messages []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` Rule *Rule `protobuf:"bytes,2,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) 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 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 RuleListRequest ¶
type RuleListRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RuleListRequest) Descriptor ¶
func (*RuleListRequest) Descriptor() ([]byte, []int)
func (*RuleListRequest) ProtoMessage ¶
func (*RuleListRequest) ProtoMessage()
func (*RuleListRequest) Reset ¶
func (m *RuleListRequest) Reset()
func (*RuleListRequest) String ¶
func (m *RuleListRequest) String() string
func (*RuleListRequest) XXX_DiscardUnknown ¶
func (m *RuleListRequest) XXX_DiscardUnknown()
func (*RuleListRequest) XXX_Marshal ¶
func (m *RuleListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RuleListRequest) XXX_Merge ¶
func (dst *RuleListRequest) XXX_Merge(src proto.Message)
func (*RuleListRequest) XXX_Size ¶
func (m *RuleListRequest) XXX_Size() int
func (*RuleListRequest) XXX_Unmarshal ¶
func (m *RuleListRequest) XXX_Unmarshal(b []byte) error
type RuleListResponse ¶
type RuleListResponse struct { Messages []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` Rules []*Rule `protobuf:"bytes,2,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) 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 RuleUpdateRequest ¶
type RuleUpdateRequest struct { Rule *Rule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,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 (*RuleUpdateRequest) Descriptor ¶
func (*RuleUpdateRequest) Descriptor() ([]byte, []int)
func (*RuleUpdateRequest) GetId ¶
func (m *RuleUpdateRequest) GetId() string
func (*RuleUpdateRequest) GetRule ¶
func (m *RuleUpdateRequest) GetRule() *Rule
func (*RuleUpdateRequest) ProtoMessage ¶
func (*RuleUpdateRequest) ProtoMessage()
func (*RuleUpdateRequest) Reset ¶
func (m *RuleUpdateRequest) Reset()
func (*RuleUpdateRequest) String ¶
func (m *RuleUpdateRequest) String() string
func (*RuleUpdateRequest) XXX_DiscardUnknown ¶
func (m *RuleUpdateRequest) XXX_DiscardUnknown()
func (*RuleUpdateRequest) XXX_Marshal ¶
func (m *RuleUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RuleUpdateRequest) XXX_Merge ¶
func (dst *RuleUpdateRequest) XXX_Merge(src proto.Message)
func (*RuleUpdateRequest) XXX_Size ¶
func (m *RuleUpdateRequest) XXX_Size() int
func (*RuleUpdateRequest) XXX_Unmarshal ¶
func (m *RuleUpdateRequest) XXX_Unmarshal(b []byte) error
type RuleUpdateResponse ¶
type RuleUpdateResponse struct { Messages []string `protobuf:"bytes,1,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) 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 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 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 { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*URLValidationResponse) Descriptor ¶
func (*URLValidationResponse) Descriptor() ([]byte, []int)
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 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