stageTime_server

package
v0.4.59 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: GPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	StageTimeApplicationService_CreateRevisionRun_FullMethodName = "/revisionrun.StageTimeApplicationService/CreateRevisionRun"
)
View Source
const (
	Statuses_GetStatus_FullMethodName = "/revisionrun.Statuses/GetStatus"
)

Variables

View Source
var (
	Response_Result_name = map[int32]string{
		0: "SUCCESS",
		1: "ERROR",
	}
	Response_Result_value = map[string]int32{
		"SUCCESS": 0,
		"ERROR":   1,
	}
)

Enum value maps for Response_Result.

View Source
var File_revisionrun_pipelinerun_proto protoreflect.FileDescriptor
View Source
var File_revisionrun_response_proto protoreflect.FileDescriptor
View Source
var File_revisionrun_revisionrun_proto protoreflect.FileDescriptor
View Source
var File_revisionrun_service_proto protoreflect.FileDescriptor
View Source
var File_revisionrun_status_proto protoreflect.FileDescriptor
View Source
var StageTimeApplicationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "revisionrun.StageTimeApplicationService",
	HandlerType: (*StageTimeApplicationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateRevisionRun",
			Handler:    _StageTimeApplicationService_CreateRevisionRun_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "revisionrun/service.proto",
}

StageTimeApplicationService_ServiceDesc is the grpc.ServiceDesc for StageTimeApplicationService 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 Statuses_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "revisionrun.Statuses",
	HandlerType: (*StatusesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetStatus",
			Handler:    _Statuses_GetStatus_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "revisionrun/status.proto",
}

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

Functions

func RegisterStageTimeApplicationServiceServer

func RegisterStageTimeApplicationServiceServer(s grpc.ServiceRegistrar, srv StageTimeApplicationServiceServer)

func RegisterStatusesServer added in v0.4.50

func RegisterStatusesServer(s grpc.ServiceRegistrar, srv StatusesServer)

Types

type CreateRevisionRunRequest

type CreateRevisionRunRequest struct {
	RepoName     string         `protobuf:"bytes,1,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"`
	PushedAt     string         `protobuf:"bytes,2,opt,name=pushed_at,json=pushedAt,proto3" json:"pushed_at,omitempty"`
	Author       string         `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"`
	RepoUrl      string         `protobuf:"bytes,4,opt,name=repo_url,json=repoUrl,proto3" json:"repo_url,omitempty"`
	CommitId     string         `protobuf:"bytes,5,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
	Pipelineruns []*Pipelinerun `protobuf:"bytes,6,rep,name=pipelineruns,proto3" json:"pipelineruns,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRevisionRunRequest) Descriptor deprecated

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

Deprecated: Use CreateRevisionRunRequest.ProtoReflect.Descriptor instead.

func (*CreateRevisionRunRequest) GetAuthor

func (x *CreateRevisionRunRequest) GetAuthor() string

func (*CreateRevisionRunRequest) GetCommitId

func (x *CreateRevisionRunRequest) GetCommitId() string

func (*CreateRevisionRunRequest) GetPipelineruns

func (x *CreateRevisionRunRequest) GetPipelineruns() []*Pipelinerun

func (*CreateRevisionRunRequest) GetPushedAt

func (x *CreateRevisionRunRequest) GetPushedAt() string

func (*CreateRevisionRunRequest) GetRepoName

func (x *CreateRevisionRunRequest) GetRepoName() string

func (*CreateRevisionRunRequest) GetRepoUrl

func (x *CreateRevisionRunRequest) GetRepoUrl() string

func (*CreateRevisionRunRequest) ProtoMessage

func (*CreateRevisionRunRequest) ProtoMessage()

func (*CreateRevisionRunRequest) ProtoReflect

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

func (*CreateRevisionRunRequest) Reset

func (x *CreateRevisionRunRequest) Reset()

func (*CreateRevisionRunRequest) String

func (x *CreateRevisionRunRequest) String() string

type Pipelinerun

type Pipelinerun struct {
	Name                 string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Canfail              bool    `protobuf:"varint,2,opt,name=canfail,proto3" json:"canfail,omitempty"`
	Stage                float64 `protobuf:"fixed64,3,opt,name=stage,proto3" json:"stage,omitempty"`
	Params               string  `protobuf:"bytes,4,opt,name=params,proto3" json:"params,omitempty"`
	ResolverParams       string  `protobuf:"bytes,5,opt,name=resolverParams,proto3" json:"resolverParams,omitempty"`
	Listparams           string  `protobuf:"bytes,6,opt,name=listparams,proto3" json:"listparams,omitempty"`
	Workspaces           string  `protobuf:"bytes,7,opt,name=workspaces,proto3" json:"workspaces,omitempty"`
	VolumeClaimTemplates string  `protobuf:"bytes,8,opt,name=volumeClaimTemplates,proto3" json:"volumeClaimTemplates,omitempty"`
	// contains filtered or unexported fields
}

func (*Pipelinerun) Descriptor deprecated

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

Deprecated: Use Pipelinerun.ProtoReflect.Descriptor instead.

func (*Pipelinerun) GetCanfail added in v0.4.1

func (x *Pipelinerun) GetCanfail() bool

func (*Pipelinerun) GetListparams

func (x *Pipelinerun) GetListparams() string

func (*Pipelinerun) GetName

func (x *Pipelinerun) GetName() string

func (*Pipelinerun) GetParams

func (x *Pipelinerun) GetParams() string

func (*Pipelinerun) GetResolverParams added in v0.4.10

func (x *Pipelinerun) GetResolverParams() string

func (*Pipelinerun) GetStage

func (x *Pipelinerun) GetStage() float64

func (*Pipelinerun) GetVolumeClaimTemplates added in v0.4.10

func (x *Pipelinerun) GetVolumeClaimTemplates() string

func (*Pipelinerun) GetWorkspaces

func (x *Pipelinerun) GetWorkspaces() string

func (*Pipelinerun) ProtoMessage

func (*Pipelinerun) ProtoMessage()

func (*Pipelinerun) ProtoReflect

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

func (*Pipelinerun) Reset

func (x *Pipelinerun) Reset()

func (*Pipelinerun) String

func (x *Pipelinerun) String() string

type Response

type Response struct {
	Result  Response_Result   `protobuf:"varint,1,opt,name=result,proto3,enum=revisionrun.Response_Result" json:"result,omitempty"`
	Success *Response_Success `protobuf:"bytes,2,opt,name=success,proto3" json:"success,omitempty"`
	Error   *Response_Error   `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetError

func (x *Response) GetError() *Response_Error

func (*Response) GetResult

func (x *Response) GetResult() Response_Result

func (*Response) GetSuccess

func (x *Response) GetSuccess() *Response_Success

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type Response_Error

type Response_Error struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Errors  []byte `protobuf:"bytes,2,opt,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*Response_Error) Descriptor deprecated

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

Deprecated: Use Response_Error.ProtoReflect.Descriptor instead.

func (*Response_Error) GetErrors

func (x *Response_Error) GetErrors() []byte

func (*Response_Error) GetMessage

func (x *Response_Error) GetMessage() string

func (*Response_Error) ProtoMessage

func (*Response_Error) ProtoMessage()

func (*Response_Error) ProtoReflect

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

func (*Response_Error) Reset

func (x *Response_Error) Reset()

func (*Response_Error) String

func (x *Response_Error) String() string

type Response_Result

type Response_Result int32
const (
	Response_SUCCESS Response_Result = 0
	Response_ERROR   Response_Result = 1
)

func (Response_Result) Descriptor

func (Response_Result) Enum

func (x Response_Result) Enum() *Response_Result

func (Response_Result) EnumDescriptor deprecated

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

Deprecated: Use Response_Result.Descriptor instead.

func (Response_Result) Number

func (Response_Result) String

func (x Response_Result) String() string

func (Response_Result) Type

type Response_Success

type Response_Success struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Response_Success) Descriptor deprecated

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

Deprecated: Use Response_Success.ProtoReflect.Descriptor instead.

func (*Response_Success) GetData

func (x *Response_Success) GetData() []byte

func (*Response_Success) ProtoMessage

func (*Response_Success) ProtoMessage()

func (*Response_Success) ProtoReflect

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

func (*Response_Success) Reset

func (x *Response_Success) Reset()

func (*Response_Success) String

func (x *Response_Success) String() string

type StageTimeApplicationServiceClient

type StageTimeApplicationServiceClient interface {
	CreateRevisionRun(ctx context.Context, in *CreateRevisionRunRequest, opts ...grpc.CallOption) (*Response, error)
}

StageTimeApplicationServiceClient is the client API for StageTimeApplicationService 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 StageTimeApplicationServiceServer

type StageTimeApplicationServiceServer interface {
	CreateRevisionRun(context.Context, *CreateRevisionRunRequest) (*Response, error)
	// contains filtered or unexported methods
}

StageTimeApplicationServiceServer is the server API for StageTimeApplicationService service. All implementations must embed UnimplementedStageTimeApplicationServiceServer for forward compatibility

type Status added in v0.4.50

type Status struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Updated string `protobuf:"bytes,2,opt,name=updated,proto3" json:"updated,omitempty"`
	Status  string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Status) Descriptor deprecated added in v0.4.50

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

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetId added in v0.4.50

func (x *Status) GetId() string

func (*Status) GetStatus added in v0.4.50

func (x *Status) GetStatus() string

func (*Status) GetUpdated added in v0.4.50

func (x *Status) GetUpdated() string

func (*Status) ProtoMessage added in v0.4.50

func (*Status) ProtoMessage()

func (*Status) ProtoReflect added in v0.4.50

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

func (*Status) Reset added in v0.4.50

func (x *Status) Reset()

func (*Status) String added in v0.4.50

func (x *Status) String() string

type StatusGetReply added in v0.4.50

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

func (*StatusGetReply) Descriptor deprecated added in v0.4.50

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

Deprecated: Use StatusGetReply.ProtoReflect.Descriptor instead.

func (*StatusGetReply) GetStatus added in v0.4.50

func (x *StatusGetReply) GetStatus() *Status

func (*StatusGetReply) ProtoMessage added in v0.4.50

func (*StatusGetReply) ProtoMessage()

func (*StatusGetReply) ProtoReflect added in v0.4.50

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

func (*StatusGetReply) Reset added in v0.4.50

func (x *StatusGetReply) Reset()

func (*StatusGetReply) String added in v0.4.50

func (x *StatusGetReply) String() string

type StatusGetRequest added in v0.4.50

type StatusGetRequest struct {
	RevisionRunId string `protobuf:"bytes,1,opt,name=revision_run_id,json=revisionRunId,proto3" json:"revision_run_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusGetRequest) Descriptor deprecated added in v0.4.50

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

Deprecated: Use StatusGetRequest.ProtoReflect.Descriptor instead.

func (*StatusGetRequest) GetRevisionRunId added in v0.4.50

func (x *StatusGetRequest) GetRevisionRunId() string

func (*StatusGetRequest) ProtoMessage added in v0.4.50

func (*StatusGetRequest) ProtoMessage()

func (*StatusGetRequest) ProtoReflect added in v0.4.50

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

func (*StatusGetRequest) Reset added in v0.4.50

func (x *StatusGetRequest) Reset()

func (*StatusGetRequest) String added in v0.4.50

func (x *StatusGetRequest) String() string

type StatusesClient added in v0.4.50

type StatusesClient interface {
	GetStatus(ctx context.Context, in *StatusGetRequest, opts ...grpc.CallOption) (*StatusGetReply, error)
}

StatusesClient is the client API for Statuses 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 NewStatusesClient added in v0.4.50

func NewStatusesClient(cc grpc.ClientConnInterface) StatusesClient

type StatusesServer added in v0.4.50

type StatusesServer interface {
	GetStatus(context.Context, *StatusGetRequest) (*StatusGetReply, error)
	// contains filtered or unexported methods
}

StatusesServer is the server API for Statuses service. All implementations must embed UnimplementedStatusesServer for forward compatibility

type UnimplementedStageTimeApplicationServiceServer

type UnimplementedStageTimeApplicationServiceServer struct {
}

UnimplementedStageTimeApplicationServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedStageTimeApplicationServiceServer) CreateRevisionRun

type UnimplementedStatusesServer added in v0.4.50

type UnimplementedStatusesServer struct {
}

UnimplementedStatusesServer must be embedded to have forward compatible implementations.

func (UnimplementedStatusesServer) GetStatus added in v0.4.50

type UnsafeStageTimeApplicationServiceServer

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

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

type UnsafeStatusesServer added in v0.4.50

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

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

Jump to

Keyboard shortcuts

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