notifications

package
v0.0.0-...-66c7a0d Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 18 Imported by: 2

Documentation

Overview

Package notifications is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	Rule_Event_name = map[int32]string{
		0: "CCRFailure",
		1: "CCRSuccess",
		2: "ComplianceFailure",
		3: "ComplianceSuccess",
	}
	Rule_Event_value = map[string]int32{
		"CCRFailure":        0,
		"CCRSuccess":        1,
		"ComplianceFailure": 2,
		"ComplianceSuccess": 3,
	}
)

Enum value maps for Rule_Event.

View Source
var File_automate_gateway_api_notifications_notifications_proto protoreflect.FileDescriptor

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 RegisterNotificationsHandlerServer

func RegisterNotificationsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NotificationsServer) error

RegisterNotificationsHandlerServer registers the http handlers for service Notifications to "mux". UnaryRPC :call NotificationsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterNotificationsServer

func RegisterNotificationsServer(s *grpc.Server, srv NotificationsServer)

Types

type Empty

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

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

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.

type NotificationsServer

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 (*NotificationsServerMock) DeleteRule

func (*NotificationsServerMock) GetRule

func (*NotificationsServerMock) ListRules

func (*NotificationsServerMock) Reset

func (m *NotificationsServerMock) Reset()

Reset resets all overridden functions

func (*NotificationsServerMock) UpdateRule

func (*NotificationsServerMock) ValidateWebhook

func (*NotificationsServerMock) Version

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 assignable to Action:
	//
	//	*Rule_SlackAlert
	//	*Rule_WebhookAlert
	//	*Rule_ServiceNowAlert
	Action isRule_Action `protobuf_oneof:"action"`
	// contains filtered or unexported fields
}

func (*Rule) Descriptor deprecated

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

Deprecated: Use Rule.ProtoReflect.Descriptor instead.

func (*Rule) GetAction

func (m *Rule) GetAction() isRule_Action

func (*Rule) GetEvent

func (x *Rule) GetEvent() Rule_Event

func (*Rule) GetId

func (x *Rule) GetId() string

func (*Rule) GetName

func (x *Rule) GetName() string

func (*Rule) GetServiceNowAlert

func (x *Rule) GetServiceNowAlert() *ServiceNowAlert

func (*Rule) GetSlackAlert

func (x *Rule) GetSlackAlert() *SlackAlert

func (*Rule) GetWebhookAlert

func (x *Rule) GetWebhookAlert() *WebhookAlert

func (*Rule) ProtoMessage

func (*Rule) ProtoMessage()

func (*Rule) ProtoReflect

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

func (*Rule) Reset

func (x *Rule) Reset()

func (*Rule) String

func (x *Rule) String() string

type RuleAddRequest

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

func (*RuleAddRequest) Descriptor deprecated

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

Deprecated: Use RuleAddRequest.ProtoReflect.Descriptor instead.

func (*RuleAddRequest) GetRule

func (x *RuleAddRequest) GetRule() *Rule

func (*RuleAddRequest) ProtoMessage

func (*RuleAddRequest) ProtoMessage()

func (*RuleAddRequest) ProtoReflect

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

func (*RuleAddRequest) Reset

func (x *RuleAddRequest) Reset()

func (*RuleAddRequest) String

func (x *RuleAddRequest) String() string

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"`
	Name     string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Rule     *Rule    `protobuf:"bytes,4,opt,name=rule,proto3" json:"rule,omitempty"`
	// contains filtered or unexported fields
}

func (*RuleAddResponse) Descriptor deprecated

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

Deprecated: Use RuleAddResponse.ProtoReflect.Descriptor instead.

func (*RuleAddResponse) GetId

func (x *RuleAddResponse) GetId() string

func (*RuleAddResponse) GetMessages

func (x *RuleAddResponse) GetMessages() []string

func (*RuleAddResponse) GetName

func (x *RuleAddResponse) GetName() string

func (*RuleAddResponse) GetRule

func (x *RuleAddResponse) GetRule() *Rule

func (*RuleAddResponse) ProtoMessage

func (*RuleAddResponse) ProtoMessage()

func (*RuleAddResponse) ProtoReflect

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

func (*RuleAddResponse) Reset

func (x *RuleAddResponse) Reset()

func (*RuleAddResponse) String

func (x *RuleAddResponse) String() string

type RuleDeleteResponse

type RuleDeleteResponse struct {
	Messages []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*RuleDeleteResponse) Descriptor deprecated

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

Deprecated: Use RuleDeleteResponse.ProtoReflect.Descriptor instead.

func (*RuleDeleteResponse) GetMessages

func (x *RuleDeleteResponse) GetMessages() []string

func (*RuleDeleteResponse) ProtoMessage

func (*RuleDeleteResponse) ProtoMessage()

func (*RuleDeleteResponse) ProtoReflect

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

func (*RuleDeleteResponse) Reset

func (x *RuleDeleteResponse) Reset()

func (*RuleDeleteResponse) String

func (x *RuleDeleteResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*RuleGetResponse) Descriptor deprecated

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

Deprecated: Use RuleGetResponse.ProtoReflect.Descriptor instead.

func (*RuleGetResponse) GetMessages

func (x *RuleGetResponse) GetMessages() []string

func (*RuleGetResponse) GetRule

func (x *RuleGetResponse) GetRule() *Rule

func (*RuleGetResponse) ProtoMessage

func (*RuleGetResponse) ProtoMessage()

func (*RuleGetResponse) ProtoReflect

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

func (*RuleGetResponse) Reset

func (x *RuleGetResponse) Reset()

func (*RuleGetResponse) String

func (x *RuleGetResponse) String() string

type RuleIdentifier

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

func (*RuleIdentifier) Descriptor deprecated

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

Deprecated: Use RuleIdentifier.ProtoReflect.Descriptor instead.

func (*RuleIdentifier) GetId

func (x *RuleIdentifier) GetId() string

func (*RuleIdentifier) ProtoMessage

func (*RuleIdentifier) ProtoMessage()

func (*RuleIdentifier) ProtoReflect

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

func (*RuleIdentifier) Reset

func (x *RuleIdentifier) Reset()

func (*RuleIdentifier) String

func (x *RuleIdentifier) String() string

type RuleListRequest

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

func (*RuleListRequest) Descriptor deprecated

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

Deprecated: Use RuleListRequest.ProtoReflect.Descriptor instead.

func (*RuleListRequest) ProtoMessage

func (*RuleListRequest) ProtoMessage()

func (*RuleListRequest) ProtoReflect

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

func (*RuleListRequest) Reset

func (x *RuleListRequest) Reset()

func (*RuleListRequest) String

func (x *RuleListRequest) String() string

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"`
	// contains filtered or unexported fields
}

func (*RuleListResponse) Descriptor deprecated

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

Deprecated: Use RuleListResponse.ProtoReflect.Descriptor instead.

func (*RuleListResponse) GetMessages

func (x *RuleListResponse) GetMessages() []string

func (*RuleListResponse) GetRules

func (x *RuleListResponse) GetRules() []*Rule

func (*RuleListResponse) ProtoMessage

func (*RuleListResponse) ProtoMessage()

func (*RuleListResponse) ProtoReflect

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

func (*RuleListResponse) Reset

func (x *RuleListResponse) Reset()

func (*RuleListResponse) String

func (x *RuleListResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*RuleUpdateRequest) Descriptor deprecated

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

Deprecated: Use RuleUpdateRequest.ProtoReflect.Descriptor instead.

func (*RuleUpdateRequest) GetId

func (x *RuleUpdateRequest) GetId() string

func (*RuleUpdateRequest) GetRule

func (x *RuleUpdateRequest) GetRule() *Rule

func (*RuleUpdateRequest) ProtoMessage

func (*RuleUpdateRequest) ProtoMessage()

func (*RuleUpdateRequest) ProtoReflect

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

func (*RuleUpdateRequest) Reset

func (x *RuleUpdateRequest) Reset()

func (*RuleUpdateRequest) String

func (x *RuleUpdateRequest) String() string

type RuleUpdateResponse

type RuleUpdateResponse struct {
	Messages []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*RuleUpdateResponse) Descriptor deprecated

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

Deprecated: Use RuleUpdateResponse.ProtoReflect.Descriptor instead.

func (*RuleUpdateResponse) GetMessages

func (x *RuleUpdateResponse) GetMessages() []string

func (*RuleUpdateResponse) ProtoMessage

func (*RuleUpdateResponse) ProtoMessage()

func (*RuleUpdateResponse) ProtoReflect

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

func (*RuleUpdateResponse) Reset

func (x *RuleUpdateResponse) Reset()

func (*RuleUpdateResponse) String

func (x *RuleUpdateResponse) 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
)

func (Rule_Event) Descriptor

func (Rule_Event) Descriptor() protoreflect.EnumDescriptor

func (Rule_Event) Enum

func (x Rule_Event) Enum() *Rule_Event

func (Rule_Event) EnumDescriptor deprecated

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

Deprecated: Use Rule_Event.Descriptor instead.

func (Rule_Event) Number

func (x Rule_Event) Number() protoreflect.EnumNumber

func (Rule_Event) String

func (x Rule_Event) String() string

func (Rule_Event) Type

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"`
	// contains filtered or unexported fields
}

func (*SecretId) Descriptor deprecated

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

Deprecated: Use SecretId.ProtoReflect.Descriptor instead.

func (*SecretId) GetId

func (x *SecretId) GetId() string

func (*SecretId) ProtoMessage

func (*SecretId) ProtoMessage()

func (*SecretId) ProtoReflect

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

func (*SecretId) Reset

func (x *SecretId) Reset()

func (*SecretId) String

func (x *SecretId) String() string

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"`
	CriticalControlsOnly bool   `protobuf:"varint,3,opt,name=critical_controls_only,json=criticalControlsOnly,proto3" json:"critical_controls_only,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceNowAlert) Descriptor deprecated

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

Deprecated: Use ServiceNowAlert.ProtoReflect.Descriptor instead.

func (*ServiceNowAlert) GetCriticalControlsOnly

func (x *ServiceNowAlert) GetCriticalControlsOnly() bool

func (*ServiceNowAlert) GetSecretId

func (x *ServiceNowAlert) GetSecretId() string

func (*ServiceNowAlert) GetUrl

func (x *ServiceNowAlert) GetUrl() string

func (*ServiceNowAlert) ProtoMessage

func (*ServiceNowAlert) ProtoMessage()

func (*ServiceNowAlert) ProtoReflect

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

func (*ServiceNowAlert) Reset

func (x *ServiceNowAlert) Reset()

func (*ServiceNowAlert) String

func (x *ServiceNowAlert) String() string

type SlackAlert

type SlackAlert struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*SlackAlert) Descriptor deprecated

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

Deprecated: Use SlackAlert.ProtoReflect.Descriptor instead.

func (*SlackAlert) GetUrl

func (x *SlackAlert) GetUrl() string

func (*SlackAlert) ProtoMessage

func (*SlackAlert) ProtoMessage()

func (*SlackAlert) ProtoReflect

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

func (*SlackAlert) Reset

func (x *SlackAlert) Reset()

func (*SlackAlert) String

func (x *SlackAlert) String() string

type URLValidationRequest

type URLValidationRequest struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Types that are assignable to Credentials:
	//
	//	*URLValidationRequest_UsernamePassword
	//	*URLValidationRequest_SecretId
	//	*URLValidationRequest_None
	Credentials isURLValidationRequest_Credentials `protobuf_oneof:"credentials"`
	// contains filtered or unexported fields
}

func (*URLValidationRequest) Descriptor deprecated

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

Deprecated: Use URLValidationRequest.ProtoReflect.Descriptor instead.

func (*URLValidationRequest) GetCredentials

func (m *URLValidationRequest) GetCredentials() isURLValidationRequest_Credentials

func (*URLValidationRequest) GetNone

func (x *URLValidationRequest) GetNone() *Empty

func (*URLValidationRequest) GetSecretId

func (x *URLValidationRequest) GetSecretId() *SecretId

func (*URLValidationRequest) GetUrl

func (x *URLValidationRequest) GetUrl() string

func (*URLValidationRequest) GetUsernamePassword

func (x *URLValidationRequest) GetUsernamePassword() *UsernamePassword

func (*URLValidationRequest) ProtoMessage

func (*URLValidationRequest) ProtoMessage()

func (*URLValidationRequest) ProtoReflect

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

func (*URLValidationRequest) Reset

func (x *URLValidationRequest) Reset()

func (*URLValidationRequest) String

func (x *URLValidationRequest) String() string

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 {
	// contains filtered or unexported fields
}

func (*URLValidationResponse) Descriptor deprecated

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

Deprecated: Use URLValidationResponse.ProtoReflect.Descriptor instead.

func (*URLValidationResponse) ProtoMessage

func (*URLValidationResponse) ProtoMessage()

func (*URLValidationResponse) ProtoReflect

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

func (*URLValidationResponse) Reset

func (x *URLValidationResponse) Reset()

func (*URLValidationResponse) String

func (x *URLValidationResponse) String() string

type UnimplementedNotificationsServer

type UnimplementedNotificationsServer struct {
}

UnimplementedNotificationsServer can be embedded to have forward compatible implementations.

func (*UnimplementedNotificationsServer) AddRule

func (*UnimplementedNotificationsServer) DeleteRule

func (*UnimplementedNotificationsServer) GetRule

func (*UnimplementedNotificationsServer) ListRules

func (*UnimplementedNotificationsServer) UpdateRule

func (*UnimplementedNotificationsServer) ValidateWebhook

func (*UnimplementedNotificationsServer) Version

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"`
	// contains filtered or unexported fields
}

func (*UsernamePassword) Descriptor deprecated

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

Deprecated: Use UsernamePassword.ProtoReflect.Descriptor instead.

func (*UsernamePassword) GetPassword

func (x *UsernamePassword) GetPassword() string

func (*UsernamePassword) GetUsername

func (x *UsernamePassword) GetUsername() string

func (*UsernamePassword) ProtoMessage

func (*UsernamePassword) ProtoMessage()

func (*UsernamePassword) ProtoReflect

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

func (*UsernamePassword) Reset

func (x *UsernamePassword) Reset()

func (*UsernamePassword) String

func (x *UsernamePassword) String() string

type VersionRequest

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

func (*VersionRequest) Descriptor deprecated

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

Deprecated: Use VersionRequest.ProtoReflect.Descriptor instead.

func (*VersionRequest) ProtoMessage

func (*VersionRequest) ProtoMessage()

func (*VersionRequest) ProtoReflect

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

func (*VersionRequest) Reset

func (x *VersionRequest) Reset()

func (*VersionRequest) String

func (x *VersionRequest) String() string

type VersionResponse

type VersionResponse struct {
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionResponse) Descriptor deprecated

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

Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.

func (*VersionResponse) GetVersion

func (x *VersionResponse) GetVersion() string

func (*VersionResponse) ProtoMessage

func (*VersionResponse) ProtoMessage()

func (*VersionResponse) ProtoReflect

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

func (*VersionResponse) Reset

func (x *VersionResponse) Reset()

func (*VersionResponse) String

func (x *VersionResponse) String() string

type WebhookAlert

type WebhookAlert struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookAlert) Descriptor deprecated

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

Deprecated: Use WebhookAlert.ProtoReflect.Descriptor instead.

func (*WebhookAlert) GetUrl

func (x *WebhookAlert) GetUrl() string

func (*WebhookAlert) ProtoMessage

func (*WebhookAlert) ProtoMessage()

func (*WebhookAlert) ProtoReflect

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

func (*WebhookAlert) Reset

func (x *WebhookAlert) Reset()

func (*WebhookAlert) String

func (x *WebhookAlert) String() string

Jump to

Keyboard shortcuts

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