__

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SourceType_name = map[int32]string{
		0: "SOURCE_TYPE_UNSPECIFIED",
		1: "SOURCE_TYPE_LOG",
		2: "SOURCE_TYPE_DATA_MAP",
	}
	SourceType_value = map[string]int32{
		"SOURCE_TYPE_UNSPECIFIED": 0,
		"SOURCE_TYPE_LOG":         1,
		"SOURCE_TYPE_DATA_MAP":    2,
	}
)

Enum value maps for SourceType.

View Source
var ActionsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "com.coralogixapis.actions.v2.ActionsService",
	HandlerType: (*ActionsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateAction",
			Handler:    _ActionsService_CreateAction_Handler,
		},
		{
			MethodName: "ReplaceAction",
			Handler:    _ActionsService_ReplaceAction_Handler,
		},
		{
			MethodName: "DeleteAction",
			Handler:    _ActionsService_DeleteAction_Handler,
		},
		{
			MethodName: "GetAction",
			Handler:    _ActionsService_GetAction_Handler,
		},
		{
			MethodName: "ListActions",
			Handler:    _ActionsService_ListActions_Handler,
		},
		{
			MethodName: "OrderActions",
			Handler:    _ActionsService_OrderActions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "com/coralogixapis/actions/v2/actions_service.proto",
}

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

View Source
var File_com_coralogixapis_actions_v2_actions_service_proto protoreflect.FileDescriptor

Functions

func RegisterActionsServiceServer

func RegisterActionsServiceServer(s grpc.ServiceRegistrar, srv ActionsServiceServer)

Types

type Action

type Action struct {
	Id               *wrapperspb.StringValue   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name             *wrapperspb.StringValue   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Url              *wrapperspb.StringValue   `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	IsHidden         *wrapperspb.BoolValue     `protobuf:"bytes,4,opt,name=is_hidden,json=isHidden,proto3" json:"is_hidden,omitempty"`
	IsPrivate        *wrapperspb.BoolValue     `protobuf:"bytes,5,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"`
	SourceType       SourceType                `` /* 137-byte string literal not displayed */
	ApplicationNames []*wrapperspb.StringValue `protobuf:"bytes,7,rep,name=application_names,json=applicationNames,proto3" json:"application_names,omitempty"`
	SubsystemNames   []*wrapperspb.StringValue `protobuf:"bytes,8,rep,name=subsystem_names,json=subsystemNames,proto3" json:"subsystem_names,omitempty"`
	CreatedBy        *wrapperspb.StringValue   `protobuf:"bytes,9,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// contains filtered or unexported fields
}

func (*Action) Descriptor deprecated

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

Deprecated: Use Action.ProtoReflect.Descriptor instead.

func (*Action) GetApplicationNames

func (x *Action) GetApplicationNames() []*wrapperspb.StringValue

func (*Action) GetCreatedBy

func (x *Action) GetCreatedBy() *wrapperspb.StringValue

func (*Action) GetId

func (x *Action) GetId() *wrapperspb.StringValue

func (*Action) GetIsHidden

func (x *Action) GetIsHidden() *wrapperspb.BoolValue

func (*Action) GetIsPrivate

func (x *Action) GetIsPrivate() *wrapperspb.BoolValue

func (*Action) GetName

func (x *Action) GetName() *wrapperspb.StringValue

func (*Action) GetSourceType

func (x *Action) GetSourceType() SourceType

func (*Action) GetSubsystemNames

func (x *Action) GetSubsystemNames() []*wrapperspb.StringValue

func (*Action) GetUrl

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

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) ProtoReflect

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

func (*Action) Reset

func (x *Action) Reset()

func (*Action) String

func (x *Action) String() string

type ActionsServiceClient

type ActionsServiceClient interface {
	// google.protobuf.http(
	//path: "v2/actions/actions"
	//method: "POST"
	//body: "action"
	//)
	CreateAction(ctx context.Context, in *CreateActionRequest, opts ...grpc.CallOption) (*CreateActionResponse, error)
	// google.protobuf.http(
	//path: "v2/actions/actions"
	//method: "PUT"
	//body: "action"
	//)
	ReplaceAction(ctx context.Context, in *ReplaceActionRequest, opts ...grpc.CallOption) (*ReplaceActionResponse, error)
	// google.protobuf.http(
	//path: "v2/actions/actions/<id>"
	//method: "DELETE"
	//)
	DeleteAction(ctx context.Context, in *DeleteActionRequest, opts ...grpc.CallOption) (*DeleteActionResponse, error)
	// google.protobuf.http(
	//path: "v2/actions/actions/<id>"
	//method: "GET"
	//)
	GetAction(ctx context.Context, in *GetActionRequest, opts ...grpc.CallOption) (*GetActionResponse, error)
	// google.protobuf.http(
	//path: "v2/actions/actions"
	//method: "GET"
	//)
	ListActions(ctx context.Context, in *ListActionsRequest, opts ...grpc.CallOption) (*ListActionsResponse, error)
	// google.protobuf.http(
	//path: "v2/actions/actions:order"
	//method: "Post"
	//)
	OrderActions(ctx context.Context, in *OrderActionsRequest, opts ...grpc.CallOption) (*OrderActionsResponse, error)
}

ActionsServiceClient is the client API for ActionsService service.

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

type ActionsServiceServer

type ActionsServiceServer interface {
	// google.protobuf.http(
	//path: "v2/actions/actions"
	//method: "POST"
	//body: "action"
	//)
	CreateAction(context.Context, *CreateActionRequest) (*CreateActionResponse, error)
	// google.protobuf.http(
	//path: "v2/actions/actions"
	//method: "PUT"
	//body: "action"
	//)
	ReplaceAction(context.Context, *ReplaceActionRequest) (*ReplaceActionResponse, error)
	// google.protobuf.http(
	//path: "v2/actions/actions/<id>"
	//method: "DELETE"
	//)
	DeleteAction(context.Context, *DeleteActionRequest) (*DeleteActionResponse, error)
	// google.protobuf.http(
	//path: "v2/actions/actions/<id>"
	//method: "GET"
	//)
	GetAction(context.Context, *GetActionRequest) (*GetActionResponse, error)
	// google.protobuf.http(
	//path: "v2/actions/actions"
	//method: "GET"
	//)
	ListActions(context.Context, *ListActionsRequest) (*ListActionsResponse, error)
	// google.protobuf.http(
	//path: "v2/actions/actions:order"
	//method: "Post"
	//)
	OrderActions(context.Context, *OrderActionsRequest) (*OrderActionsResponse, error)
	// contains filtered or unexported methods
}

ActionsServiceServer is the server API for ActionsService service. All implementations must embed UnimplementedActionsServiceServer for forward compatibility

type CreateActionRequest

type CreateActionRequest struct {
	Name             *wrapperspb.StringValue   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Url              *wrapperspb.StringValue   `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	IsPrivate        *wrapperspb.BoolValue     `protobuf:"bytes,3,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"`
	SourceType       SourceType                `` /* 137-byte string literal not displayed */
	ApplicationNames []*wrapperspb.StringValue `protobuf:"bytes,5,rep,name=application_names,json=applicationNames,proto3" json:"application_names,omitempty"`
	SubsystemNames   []*wrapperspb.StringValue `protobuf:"bytes,6,rep,name=subsystem_names,json=subsystemNames,proto3" json:"subsystem_names,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateActionRequest) Descriptor deprecated

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

Deprecated: Use CreateActionRequest.ProtoReflect.Descriptor instead.

func (*CreateActionRequest) GetApplicationNames

func (x *CreateActionRequest) GetApplicationNames() []*wrapperspb.StringValue

func (*CreateActionRequest) GetIsPrivate

func (x *CreateActionRequest) GetIsPrivate() *wrapperspb.BoolValue

func (*CreateActionRequest) GetName

func (*CreateActionRequest) GetSourceType

func (x *CreateActionRequest) GetSourceType() SourceType

func (*CreateActionRequest) GetSubsystemNames

func (x *CreateActionRequest) GetSubsystemNames() []*wrapperspb.StringValue

func (*CreateActionRequest) GetUrl

func (*CreateActionRequest) ProtoMessage

func (*CreateActionRequest) ProtoMessage()

func (*CreateActionRequest) ProtoReflect

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

func (*CreateActionRequest) Reset

func (x *CreateActionRequest) Reset()

func (*CreateActionRequest) String

func (x *CreateActionRequest) String() string

type CreateActionResponse

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

func (*CreateActionResponse) Descriptor deprecated

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

Deprecated: Use CreateActionResponse.ProtoReflect.Descriptor instead.

func (*CreateActionResponse) GetAction

func (x *CreateActionResponse) GetAction() *Action

func (*CreateActionResponse) ProtoMessage

func (*CreateActionResponse) ProtoMessage()

func (*CreateActionResponse) ProtoReflect

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

func (*CreateActionResponse) Reset

func (x *CreateActionResponse) Reset()

func (*CreateActionResponse) String

func (x *CreateActionResponse) String() string

type DeleteActionRequest

type DeleteActionRequest struct {
	Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteActionRequest) Descriptor deprecated

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

Deprecated: Use DeleteActionRequest.ProtoReflect.Descriptor instead.

func (*DeleteActionRequest) GetId

func (*DeleteActionRequest) ProtoMessage

func (*DeleteActionRequest) ProtoMessage()

func (*DeleteActionRequest) ProtoReflect

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

func (*DeleteActionRequest) Reset

func (x *DeleteActionRequest) Reset()

func (*DeleteActionRequest) String

func (x *DeleteActionRequest) String() string

type DeleteActionResponse

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

func (*DeleteActionResponse) Descriptor deprecated

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

Deprecated: Use DeleteActionResponse.ProtoReflect.Descriptor instead.

func (*DeleteActionResponse) ProtoMessage

func (*DeleteActionResponse) ProtoMessage()

func (*DeleteActionResponse) ProtoReflect

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

func (*DeleteActionResponse) Reset

func (x *DeleteActionResponse) Reset()

func (*DeleteActionResponse) String

func (x *DeleteActionResponse) String() string

type GetActionRequest

type GetActionRequest struct {
	Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetActionRequest) Descriptor deprecated

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

Deprecated: Use GetActionRequest.ProtoReflect.Descriptor instead.

func (*GetActionRequest) GetId

func (*GetActionRequest) ProtoMessage

func (*GetActionRequest) ProtoMessage()

func (*GetActionRequest) ProtoReflect

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

func (*GetActionRequest) Reset

func (x *GetActionRequest) Reset()

func (*GetActionRequest) String

func (x *GetActionRequest) String() string

type GetActionResponse

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

func (*GetActionResponse) Descriptor deprecated

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

Deprecated: Use GetActionResponse.ProtoReflect.Descriptor instead.

func (*GetActionResponse) GetAction

func (x *GetActionResponse) GetAction() *Action

func (*GetActionResponse) ProtoMessage

func (*GetActionResponse) ProtoMessage()

func (*GetActionResponse) ProtoReflect

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

func (*GetActionResponse) Reset

func (x *GetActionResponse) Reset()

func (*GetActionResponse) String

func (x *GetActionResponse) String() string

type ListActionsRequest

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

func (*ListActionsRequest) Descriptor deprecated

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

Deprecated: Use ListActionsRequest.ProtoReflect.Descriptor instead.

func (*ListActionsRequest) ProtoMessage

func (*ListActionsRequest) ProtoMessage()

func (*ListActionsRequest) ProtoReflect

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

func (*ListActionsRequest) Reset

func (x *ListActionsRequest) Reset()

func (*ListActionsRequest) String

func (x *ListActionsRequest) String() string

type ListActionsResponse

type ListActionsResponse struct {
	Actions []*Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

func (*ListActionsResponse) Descriptor deprecated

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

Deprecated: Use ListActionsResponse.ProtoReflect.Descriptor instead.

func (*ListActionsResponse) GetActions

func (x *ListActionsResponse) GetActions() []*Action

func (*ListActionsResponse) ProtoMessage

func (*ListActionsResponse) ProtoMessage()

func (*ListActionsResponse) ProtoReflect

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

func (*ListActionsResponse) Reset

func (x *ListActionsResponse) Reset()

func (*ListActionsResponse) String

func (x *ListActionsResponse) String() string

type OrderActionsRequest

type OrderActionsRequest struct {
	PrivateActionsOrder map[string]*wrapperspb.UInt32Value `` /* 208-byte string literal not displayed */
	SharedActionsOrder  map[string]*wrapperspb.UInt32Value `` /* 205-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*OrderActionsRequest) Descriptor deprecated

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

Deprecated: Use OrderActionsRequest.ProtoReflect.Descriptor instead.

func (*OrderActionsRequest) GetPrivateActionsOrder

func (x *OrderActionsRequest) GetPrivateActionsOrder() map[string]*wrapperspb.UInt32Value

func (*OrderActionsRequest) GetSharedActionsOrder

func (x *OrderActionsRequest) GetSharedActionsOrder() map[string]*wrapperspb.UInt32Value

func (*OrderActionsRequest) ProtoMessage

func (*OrderActionsRequest) ProtoMessage()

func (*OrderActionsRequest) ProtoReflect

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

func (*OrderActionsRequest) Reset

func (x *OrderActionsRequest) Reset()

func (*OrderActionsRequest) String

func (x *OrderActionsRequest) String() string

type OrderActionsResponse

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

func (*OrderActionsResponse) Descriptor deprecated

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

Deprecated: Use OrderActionsResponse.ProtoReflect.Descriptor instead.

func (*OrderActionsResponse) ProtoMessage

func (*OrderActionsResponse) ProtoMessage()

func (*OrderActionsResponse) ProtoReflect

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

func (*OrderActionsResponse) Reset

func (x *OrderActionsResponse) Reset()

func (*OrderActionsResponse) String

func (x *OrderActionsResponse) String() string

type ReplaceActionRequest

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

func (*ReplaceActionRequest) Descriptor deprecated

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

Deprecated: Use ReplaceActionRequest.ProtoReflect.Descriptor instead.

func (*ReplaceActionRequest) GetAction

func (x *ReplaceActionRequest) GetAction() *Action

func (*ReplaceActionRequest) ProtoMessage

func (*ReplaceActionRequest) ProtoMessage()

func (*ReplaceActionRequest) ProtoReflect

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

func (*ReplaceActionRequest) Reset

func (x *ReplaceActionRequest) Reset()

func (*ReplaceActionRequest) String

func (x *ReplaceActionRequest) String() string

type ReplaceActionResponse

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

func (*ReplaceActionResponse) Descriptor deprecated

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

Deprecated: Use ReplaceActionResponse.ProtoReflect.Descriptor instead.

func (*ReplaceActionResponse) GetAction

func (x *ReplaceActionResponse) GetAction() *Action

func (*ReplaceActionResponse) ProtoMessage

func (*ReplaceActionResponse) ProtoMessage()

func (*ReplaceActionResponse) ProtoReflect

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

func (*ReplaceActionResponse) Reset

func (x *ReplaceActionResponse) Reset()

func (*ReplaceActionResponse) String

func (x *ReplaceActionResponse) String() string

type SourceType

type SourceType int32
const (
	SourceType_SOURCE_TYPE_UNSPECIFIED SourceType = 0
	SourceType_SOURCE_TYPE_LOG         SourceType = 1
	SourceType_SOURCE_TYPE_DATA_MAP    SourceType = 2
)

func (SourceType) Descriptor

func (SourceType) Descriptor() protoreflect.EnumDescriptor

func (SourceType) Enum

func (x SourceType) Enum() *SourceType

func (SourceType) EnumDescriptor deprecated

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

Deprecated: Use SourceType.Descriptor instead.

func (SourceType) Number

func (x SourceType) Number() protoreflect.EnumNumber

func (SourceType) String

func (x SourceType) String() string

func (SourceType) Type

type UnimplementedActionsServiceServer

type UnimplementedActionsServiceServer struct {
}

UnimplementedActionsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedActionsServiceServer) CreateAction

func (UnimplementedActionsServiceServer) DeleteAction

func (UnimplementedActionsServiceServer) GetAction

func (UnimplementedActionsServiceServer) ListActions

func (UnimplementedActionsServiceServer) OrderActions

func (UnimplementedActionsServiceServer) ReplaceAction

type UnsafeActionsServiceServer

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

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

Jump to

Keyboard shortcuts

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