pb

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: May 2, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_internal_handler_pipelinehdl_protos_pipeline_request_proto protoreflect.FileDescriptor
View Source
var File_internal_handler_pipelinehdl_protos_pipeline_response_proto protoreflect.FileDescriptor
View Source
var File_internal_handler_pipelinehdl_protos_pipeline_service_proto protoreflect.FileDescriptor
View Source
var Pipeline_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pipeline.Pipeline",
	HandlerType: (*PipelineServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _Pipeline_Create_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _Pipeline_Get_Handler,
		},
		{
			MethodName: "GetPipelines",
			Handler:    _Pipeline_GetPipelines_Handler,
		},
		{
			MethodName: "GetPipelineJobs",
			Handler:    _Pipeline_GetPipelineJobs_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _Pipeline_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _Pipeline_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "internal/handler/pipelinehdl/protos/pipeline_service.proto",
}

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

Functions

func RegisterPipelineServer

func RegisterPipelineServer(s grpc.ServiceRegistrar, srv PipelineServer)

Types

type CreatePipelineRequest

type CreatePipelineRequest struct {
	Name        string                       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string                       `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	RunAt       string                       `protobuf:"bytes,3,opt,name=run_at,json=runAt,proto3" json:"run_at,omitempty"`
	Jobs        []*protobuf.CreateJobRequest `protobuf:"bytes,4,rep,name=jobs,proto3" json:"jobs,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePipelineRequest) Descriptor deprecated

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

Deprecated: Use CreatePipelineRequest.ProtoReflect.Descriptor instead.

func (*CreatePipelineRequest) GetDescription

func (x *CreatePipelineRequest) GetDescription() string

func (*CreatePipelineRequest) GetJobs

func (*CreatePipelineRequest) GetName

func (x *CreatePipelineRequest) GetName() string

func (*CreatePipelineRequest) GetRunAt

func (x *CreatePipelineRequest) GetRunAt() string

func (*CreatePipelineRequest) ProtoMessage

func (*CreatePipelineRequest) ProtoMessage()

func (*CreatePipelineRequest) ProtoReflect

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

func (*CreatePipelineRequest) Reset

func (x *CreatePipelineRequest) Reset()

func (*CreatePipelineRequest) String

func (x *CreatePipelineRequest) String() string

type CreatePipelineResponse

type CreatePipelineResponse 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"`
	Description string                        `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Jobs        []*protobuf.CreateJobResponse `protobuf:"bytes,4,rep,name=jobs,proto3" json:"jobs,omitempty"`
	Status      int32                         `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
	RunAt       *timestamppb.Timestamp        `protobuf:"bytes,6,opt,name=run_at,json=runAt,proto3" json:"run_at,omitempty"`
	CreatedAt   *timestamppb.Timestamp        `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePipelineResponse) Descriptor deprecated

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

Deprecated: Use CreatePipelineResponse.ProtoReflect.Descriptor instead.

func (*CreatePipelineResponse) GetCreatedAt

func (x *CreatePipelineResponse) GetCreatedAt() *timestamppb.Timestamp

func (*CreatePipelineResponse) GetDescription

func (x *CreatePipelineResponse) GetDescription() string

func (*CreatePipelineResponse) GetId

func (x *CreatePipelineResponse) GetId() string

func (*CreatePipelineResponse) GetJobs

func (*CreatePipelineResponse) GetName

func (x *CreatePipelineResponse) GetName() string

func (*CreatePipelineResponse) GetRunAt

func (*CreatePipelineResponse) GetStatus

func (x *CreatePipelineResponse) GetStatus() int32

func (*CreatePipelineResponse) ProtoMessage

func (*CreatePipelineResponse) ProtoMessage()

func (*CreatePipelineResponse) ProtoReflect

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

func (*CreatePipelineResponse) Reset

func (x *CreatePipelineResponse) Reset()

func (*CreatePipelineResponse) String

func (x *CreatePipelineResponse) String() string

type DeletePipelineRequest

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

func (*DeletePipelineRequest) Descriptor deprecated

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

Deprecated: Use DeletePipelineRequest.ProtoReflect.Descriptor instead.

func (*DeletePipelineRequest) GetId

func (x *DeletePipelineRequest) GetId() string

func (*DeletePipelineRequest) ProtoMessage

func (*DeletePipelineRequest) ProtoMessage()

func (*DeletePipelineRequest) ProtoReflect

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

func (*DeletePipelineRequest) Reset

func (x *DeletePipelineRequest) Reset()

func (*DeletePipelineRequest) String

func (x *DeletePipelineRequest) String() string

type DeletePipelineResponse

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

Empty response

func (*DeletePipelineResponse) Descriptor deprecated

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

Deprecated: Use DeletePipelineResponse.ProtoReflect.Descriptor instead.

func (*DeletePipelineResponse) ProtoMessage

func (*DeletePipelineResponse) ProtoMessage()

func (*DeletePipelineResponse) ProtoReflect

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

func (*DeletePipelineResponse) Reset

func (x *DeletePipelineResponse) Reset()

func (*DeletePipelineResponse) String

func (x *DeletePipelineResponse) String() string

type GetPipelineJobsRequest

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

func (*GetPipelineJobsRequest) Descriptor deprecated

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

Deprecated: Use GetPipelineJobsRequest.ProtoReflect.Descriptor instead.

func (*GetPipelineJobsRequest) GetId

func (x *GetPipelineJobsRequest) GetId() string

func (*GetPipelineJobsRequest) ProtoMessage

func (*GetPipelineJobsRequest) ProtoMessage()

func (*GetPipelineJobsRequest) ProtoReflect

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

func (*GetPipelineJobsRequest) Reset

func (x *GetPipelineJobsRequest) Reset()

func (*GetPipelineJobsRequest) String

func (x *GetPipelineJobsRequest) String() string

type GetPipelineJobsResponse

type GetPipelineJobsResponse struct {
	Jobs []*protobuf.GetJobResponse `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPipelineJobsResponse) Descriptor deprecated

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

Deprecated: Use GetPipelineJobsResponse.ProtoReflect.Descriptor instead.

func (*GetPipelineJobsResponse) GetJobs

func (*GetPipelineJobsResponse) ProtoMessage

func (*GetPipelineJobsResponse) ProtoMessage()

func (*GetPipelineJobsResponse) ProtoReflect

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

func (*GetPipelineJobsResponse) Reset

func (x *GetPipelineJobsResponse) Reset()

func (*GetPipelineJobsResponse) String

func (x *GetPipelineJobsResponse) String() string

type GetPipelineRequest

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

func (*GetPipelineRequest) Descriptor deprecated

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

Deprecated: Use GetPipelineRequest.ProtoReflect.Descriptor instead.

func (*GetPipelineRequest) GetId

func (x *GetPipelineRequest) GetId() string

func (*GetPipelineRequest) ProtoMessage

func (*GetPipelineRequest) ProtoMessage()

func (*GetPipelineRequest) ProtoReflect

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

func (*GetPipelineRequest) Reset

func (x *GetPipelineRequest) Reset()

func (*GetPipelineRequest) String

func (x *GetPipelineRequest) String() string

type GetPipelineResponse

type GetPipelineResponse 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"`
	Description string                 `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Status      int32                  `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
	RunAt       *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=run_at,json=runAt,proto3" json:"run_at,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	StartedAt   *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	CompletedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"`
	Duration    int64                  `protobuf:"varint,9,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPipelineResponse) Descriptor deprecated

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

Deprecated: Use GetPipelineResponse.ProtoReflect.Descriptor instead.

func (*GetPipelineResponse) GetCompletedAt

func (x *GetPipelineResponse) GetCompletedAt() *timestamppb.Timestamp

func (*GetPipelineResponse) GetCreatedAt

func (x *GetPipelineResponse) GetCreatedAt() *timestamppb.Timestamp

func (*GetPipelineResponse) GetDescription

func (x *GetPipelineResponse) GetDescription() string

func (*GetPipelineResponse) GetDuration

func (x *GetPipelineResponse) GetDuration() int64

func (*GetPipelineResponse) GetId

func (x *GetPipelineResponse) GetId() string

func (*GetPipelineResponse) GetName

func (x *GetPipelineResponse) GetName() string

func (*GetPipelineResponse) GetRunAt

func (x *GetPipelineResponse) GetRunAt() *timestamppb.Timestamp

func (*GetPipelineResponse) GetStartedAt

func (x *GetPipelineResponse) GetStartedAt() *timestamppb.Timestamp

func (*GetPipelineResponse) GetStatus

func (x *GetPipelineResponse) GetStatus() int32

func (*GetPipelineResponse) ProtoMessage

func (*GetPipelineResponse) ProtoMessage()

func (*GetPipelineResponse) ProtoReflect

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

func (*GetPipelineResponse) Reset

func (x *GetPipelineResponse) Reset()

func (*GetPipelineResponse) String

func (x *GetPipelineResponse) String() string

type GetPipelinesRequest

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

func (*GetPipelinesRequest) Descriptor deprecated

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

Deprecated: Use GetPipelinesRequest.ProtoReflect.Descriptor instead.

func (*GetPipelinesRequest) GetStatus

func (x *GetPipelinesRequest) GetStatus() string

func (*GetPipelinesRequest) ProtoMessage

func (*GetPipelinesRequest) ProtoMessage()

func (*GetPipelinesRequest) ProtoReflect

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

func (*GetPipelinesRequest) Reset

func (x *GetPipelinesRequest) Reset()

func (*GetPipelinesRequest) String

func (x *GetPipelinesRequest) String() string

type GetPipelinesResponse

type GetPipelinesResponse struct {
	Pipelines []*GetPipelineResponse `protobuf:"bytes,1,rep,name=pipelines,proto3" json:"pipelines,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPipelinesResponse) Descriptor deprecated

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

Deprecated: Use GetPipelinesResponse.ProtoReflect.Descriptor instead.

func (*GetPipelinesResponse) GetPipelines

func (x *GetPipelinesResponse) GetPipelines() []*GetPipelineResponse

func (*GetPipelinesResponse) ProtoMessage

func (*GetPipelinesResponse) ProtoMessage()

func (*GetPipelinesResponse) ProtoReflect

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

func (*GetPipelinesResponse) Reset

func (x *GetPipelinesResponse) Reset()

func (*GetPipelinesResponse) String

func (x *GetPipelinesResponse) String() string

type PipelineClient

PipelineClient is the client API for Pipeline 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.

func NewPipelineClient

func NewPipelineClient(cc grpc.ClientConnInterface) PipelineClient

type PipelineServer

PipelineServer is the server API for Pipeline service. All implementations must embed UnimplementedPipelineServer for forward compatibility

type UnimplementedPipelineServer

type UnimplementedPipelineServer struct {
}

UnimplementedPipelineServer must be embedded to have forward compatible implementations.

func (UnimplementedPipelineServer) Create

func (UnimplementedPipelineServer) Delete

func (UnimplementedPipelineServer) Get

func (UnimplementedPipelineServer) GetPipelineJobs

func (UnimplementedPipelineServer) GetPipelines

func (UnimplementedPipelineServer) Update

type UnsafePipelineServer

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

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

type UpdatePipelineRequest

type UpdatePipelineRequest 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"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePipelineRequest) Descriptor deprecated

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

Deprecated: Use UpdatePipelineRequest.ProtoReflect.Descriptor instead.

func (*UpdatePipelineRequest) GetDescription

func (x *UpdatePipelineRequest) GetDescription() string

func (*UpdatePipelineRequest) GetId

func (x *UpdatePipelineRequest) GetId() string

func (*UpdatePipelineRequest) GetName

func (x *UpdatePipelineRequest) GetName() string

func (*UpdatePipelineRequest) ProtoMessage

func (*UpdatePipelineRequest) ProtoMessage()

func (*UpdatePipelineRequest) ProtoReflect

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

func (*UpdatePipelineRequest) Reset

func (x *UpdatePipelineRequest) Reset()

func (*UpdatePipelineRequest) String

func (x *UpdatePipelineRequest) String() string

type UpdatePipelineResponse

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

Empty response

func (*UpdatePipelineResponse) Descriptor deprecated

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

Deprecated: Use UpdatePipelineResponse.ProtoReflect.Descriptor instead.

func (*UpdatePipelineResponse) ProtoMessage

func (*UpdatePipelineResponse) ProtoMessage()

func (*UpdatePipelineResponse) ProtoReflect

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

func (*UpdatePipelineResponse) Reset

func (x *UpdatePipelineResponse) Reset()

func (*UpdatePipelineResponse) String

func (x *UpdatePipelineResponse) String() string

Jump to

Keyboard shortcuts

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