Versions in this module Expand all Collapse all v0 v0.1.0 Nov 19, 2024 Changes in this version + const StepRunner_Close_FullMethodName + const StepRunner_FollowLogs_FullMethodName + const StepRunner_Run_FullMethodName + const StepRunner_Status_FullMethodName + var DefinitionType_name = map[int32]string + var DefinitionType_value = map[string]int32 + var File_step_proto protoreflect.FileDescriptor + var OutputMethod_name = map[int32]string + var OutputMethod_value = map[string]int32 + var StepReferenceProtocol_name = map[int32]string + var StepReferenceProtocol_value = map[string]int32 + var StepResult_Status_name = map[int32]string + var StepResult_Status_value = map[string]int32 + var StepRunner_ServiceDesc = grpc.ServiceDesc + var ValueType_name = map[int32]string + var ValueType_value = map[string]int32 + func RegisterStepRunnerServer(s grpc.ServiceRegistrar, srv StepRunnerServer) + type CloseRequest struct + Id string + func (*CloseRequest) Descriptor() ([]byte, []int) + func (*CloseRequest) ProtoMessage() + func (x *CloseRequest) GetId() string + func (x *CloseRequest) ProtoReflect() protoreflect.Message + func (x *CloseRequest) Reset() + func (x *CloseRequest) String() string + type CloseResponse struct + func (*CloseResponse) Descriptor() ([]byte, []int) + func (*CloseResponse) ProtoMessage() + func (x *CloseResponse) ProtoReflect() protoreflect.Message + func (x *CloseResponse) Reset() + func (x *CloseResponse) String() string + type Definition struct + Delegate string + Env map[string]string + Exec *Definition_Exec + Outputs map[string]*structpb.Value + Steps []*Step + Type DefinitionType + func (*Definition) Descriptor() ([]byte, []int) + func (*Definition) ProtoMessage() + func (x *Definition) GetDelegate() string + func (x *Definition) GetEnv() map[string]string + func (x *Definition) GetExec() *Definition_Exec + func (x *Definition) GetOutputs() map[string]*structpb.Value + func (x *Definition) GetSteps() []*Step + func (x *Definition) GetType() DefinitionType + func (x *Definition) ProtoReflect() protoreflect.Message + func (x *Definition) Reset() + func (x *Definition) String() string + type DefinitionType int32 + const DefinitionType_definition_type_unspecified + const DefinitionType_exec + const DefinitionType_steps + func (DefinitionType) Descriptor() protoreflect.EnumDescriptor + func (DefinitionType) EnumDescriptor() ([]byte, []int) + func (DefinitionType) Type() protoreflect.EnumType + func (x DefinitionType) Enum() *DefinitionType + func (x DefinitionType) Number() protoreflect.EnumNumber + func (x DefinitionType) String() string + type Definition_Exec struct + Command []string + WorkDir string + func (*Definition_Exec) Descriptor() ([]byte, []int) + func (*Definition_Exec) ProtoMessage() + func (x *Definition_Exec) GetCommand() []string + func (x *Definition_Exec) GetWorkDir() string + func (x *Definition_Exec) ProtoReflect() protoreflect.Message + func (x *Definition_Exec) Reset() + func (x *Definition_Exec) String() string + type FollowLogsRequest struct + Id string + Offset int64 + func (*FollowLogsRequest) Descriptor() ([]byte, []int) + func (*FollowLogsRequest) ProtoMessage() + func (x *FollowLogsRequest) GetId() string + func (x *FollowLogsRequest) GetOffset() int64 + func (x *FollowLogsRequest) ProtoReflect() protoreflect.Message + func (x *FollowLogsRequest) Reset() + func (x *FollowLogsRequest) String() string + type FollowLogsResponse struct + Data []byte + func (*FollowLogsResponse) Descriptor() ([]byte, []int) + func (*FollowLogsResponse) ProtoMessage() + func (x *FollowLogsResponse) GetData() []byte + func (x *FollowLogsResponse) ProtoReflect() protoreflect.Message + func (x *FollowLogsResponse) Reset() + func (x *FollowLogsResponse) String() string + type Job struct + BuildDir string + Variables []*Variable + func (*Job) Descriptor() ([]byte, []int) + func (*Job) ProtoMessage() + func (x *Job) GetBuildDir() string + func (x *Job) GetVariables() []*Variable + func (x *Job) ProtoReflect() protoreflect.Message + func (x *Job) Reset() + func (x *Job) String() string + type OutputMethod int32 + const OutputMethod_delegate + const OutputMethod_output_method_unspecified + const OutputMethod_outputs + func (OutputMethod) Descriptor() protoreflect.EnumDescriptor + func (OutputMethod) EnumDescriptor() ([]byte, []int) + func (OutputMethod) Type() protoreflect.EnumType + func (x OutputMethod) Enum() *OutputMethod + func (x OutputMethod) Number() protoreflect.EnumNumber + func (x OutputMethod) String() string + type RunRequest struct + Env map[string]string + Id string + Job *Job + Steps string + WorkDir string + func (*RunRequest) Descriptor() ([]byte, []int) + func (*RunRequest) ProtoMessage() + func (x *RunRequest) GetEnv() map[string]string + func (x *RunRequest) GetId() string + func (x *RunRequest) GetJob() *Job + func (x *RunRequest) GetSteps() string + func (x *RunRequest) GetWorkDir() string + func (x *RunRequest) ProtoReflect() protoreflect.Message + func (x *RunRequest) Reset() + func (x *RunRequest) String() string + type RunResponse struct + func (*RunResponse) Descriptor() ([]byte, []int) + func (*RunResponse) ProtoMessage() + func (x *RunResponse) ProtoReflect() protoreflect.Message + func (x *RunResponse) Reset() + func (x *RunResponse) String() string + type Spec struct + Spec *Spec_Content + func (*Spec) Descriptor() ([]byte, []int) + func (*Spec) ProtoMessage() + func (x *Spec) GetSpec() *Spec_Content + func (x *Spec) ProtoReflect() protoreflect.Message + func (x *Spec) Reset() + func (x *Spec) String() string + type SpecDefinition struct + Definition *Definition + Dir string + Spec *Spec + func (*SpecDefinition) Descriptor() ([]byte, []int) + func (*SpecDefinition) ProtoMessage() + func (x *SpecDefinition) GetDefinition() *Definition + func (x *SpecDefinition) GetDir() string + func (x *SpecDefinition) GetSpec() *Spec + func (x *SpecDefinition) ProtoReflect() protoreflect.Message + func (x *SpecDefinition) Reset() + func (x *SpecDefinition) String() string + type Spec_Content struct + Inputs map[string]*Spec_Content_Input + OutputMethod OutputMethod + Outputs map[string]*Spec_Content_Output + func (*Spec_Content) Descriptor() ([]byte, []int) + func (*Spec_Content) ProtoMessage() + func (x *Spec_Content) GetInputs() map[string]*Spec_Content_Input + func (x *Spec_Content) GetOutputMethod() OutputMethod + func (x *Spec_Content) GetOutputs() map[string]*Spec_Content_Output + func (x *Spec_Content) ProtoReflect() protoreflect.Message + func (x *Spec_Content) Reset() + func (x *Spec_Content) String() string + type Spec_Content_Input struct + Default *structpb.Value + Sensitive bool + Type ValueType + func (*Spec_Content_Input) Descriptor() ([]byte, []int) + func (*Spec_Content_Input) ProtoMessage() + func (x *Spec_Content_Input) GetDefault() *structpb.Value + func (x *Spec_Content_Input) GetSensitive() bool + func (x *Spec_Content_Input) GetType() ValueType + func (x *Spec_Content_Input) ProtoReflect() protoreflect.Message + func (x *Spec_Content_Input) Reset() + func (x *Spec_Content_Input) String() string + type Spec_Content_Output struct + Default *structpb.Value + Sensitive bool + Type ValueType + func (*Spec_Content_Output) Descriptor() ([]byte, []int) + func (*Spec_Content_Output) ProtoMessage() + func (x *Spec_Content_Output) GetDefault() *structpb.Value + func (x *Spec_Content_Output) GetSensitive() bool + func (x *Spec_Content_Output) GetType() ValueType + func (x *Spec_Content_Output) ProtoReflect() protoreflect.Message + func (x *Spec_Content_Output) Reset() + func (x *Spec_Content_Output) String() string + type Status struct + EndTime *timestamppb.Timestamp + Id string + Message string + StartTime *timestamppb.Timestamp + Status StepResult_Status + func (*Status) Descriptor() ([]byte, []int) + func (*Status) ProtoMessage() + func (x *Status) GetEndTime() *timestamppb.Timestamp + func (x *Status) GetId() string + func (x *Status) GetMessage() string + func (x *Status) GetStartTime() *timestamppb.Timestamp + func (x *Status) GetStatus() StepResult_Status + func (x *Status) ProtoReflect() protoreflect.Message + func (x *Status) Reset() + func (x *Status) String() string + type StatusRequest struct + Id string + func (*StatusRequest) Descriptor() ([]byte, []int) + func (*StatusRequest) ProtoMessage() + func (x *StatusRequest) GetId() string + func (x *StatusRequest) ProtoReflect() protoreflect.Message + func (x *StatusRequest) Reset() + func (x *StatusRequest) String() string + type StatusResponse struct + Jobs []*Status + func (*StatusResponse) Descriptor() ([]byte, []int) + func (*StatusResponse) ProtoMessage() + func (x *StatusResponse) GetJobs() []*Status + func (x *StatusResponse) ProtoReflect() protoreflect.Message + func (x *StatusResponse) Reset() + func (x *StatusResponse) String() string + type Step struct + Env map[string]string + Inputs map[string]*structpb.Value + Name string + Step *Step_Reference + func (*Step) Descriptor() ([]byte, []int) + func (*Step) ProtoMessage() + func (x *Step) GetEnv() map[string]string + func (x *Step) GetInputs() map[string]*structpb.Value + func (x *Step) GetName() string + func (x *Step) GetStep() *Step_Reference + func (x *Step) ProtoReflect() protoreflect.Message + func (x *Step) Reset() + func (x *Step) String() string + type StepReferenceProtocol int32 + const StepReferenceProtocol_git + const StepReferenceProtocol_local + const StepReferenceProtocol_oci + const StepReferenceProtocol_step_reference_protocol_unspecified + const StepReferenceProtocol_zip + func (StepReferenceProtocol) Descriptor() protoreflect.EnumDescriptor + func (StepReferenceProtocol) EnumDescriptor() ([]byte, []int) + func (StepReferenceProtocol) Type() protoreflect.EnumType + func (x StepReferenceProtocol) Enum() *StepReferenceProtocol + func (x StepReferenceProtocol) Number() protoreflect.EnumNumber + func (x StepReferenceProtocol) String() string + type StepResult struct + Env map[string]string + ExecResult *StepResult_ExecResult + Exports map[string]string + Outputs map[string]*structpb.Value + SpecDefinition *SpecDefinition + Status StepResult_Status + Step *Step + SubStepResults []*StepResult + func (*StepResult) Descriptor() ([]byte, []int) + func (*StepResult) ProtoMessage() + func (x *StepResult) GetEnv() map[string]string + func (x *StepResult) GetExecResult() *StepResult_ExecResult + func (x *StepResult) GetExports() map[string]string + func (x *StepResult) GetOutputs() map[string]*structpb.Value + func (x *StepResult) GetSpecDefinition() *SpecDefinition + func (x *StepResult) GetStatus() StepResult_Status + func (x *StepResult) GetStep() *Step + func (x *StepResult) GetSubStepResults() []*StepResult + func (x *StepResult) ProtoReflect() protoreflect.Message + func (x *StepResult) Reset() + func (x *StepResult) String() string + type StepResult_ExecResult struct + Command []string + ExitCode int32 + WorkDir string + func (*StepResult_ExecResult) Descriptor() ([]byte, []int) + func (*StepResult_ExecResult) ProtoMessage() + func (x *StepResult_ExecResult) GetCommand() []string + func (x *StepResult_ExecResult) GetExitCode() int32 + func (x *StepResult_ExecResult) GetWorkDir() string + func (x *StepResult_ExecResult) ProtoReflect() protoreflect.Message + func (x *StepResult_ExecResult) Reset() + func (x *StepResult_ExecResult) String() string + type StepResult_Status int32 + const StepResult_cancelled + const StepResult_failure + const StepResult_running + const StepResult_success + const StepResult_unspecified + func (StepResult_Status) Descriptor() protoreflect.EnumDescriptor + func (StepResult_Status) EnumDescriptor() ([]byte, []int) + func (StepResult_Status) Type() protoreflect.EnumType + func (x StepResult_Status) Enum() *StepResult_Status + func (x StepResult_Status) Number() protoreflect.EnumNumber + func (x StepResult_Status) String() string + type StepRunnerClient interface + Close func(ctx context.Context, in *CloseRequest, opts ...grpc.CallOption) (*CloseResponse, error) + FollowLogs func(ctx context.Context, in *FollowLogsRequest, opts ...grpc.CallOption) (StepRunner_FollowLogsClient, error) + Run func(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunResponse, error) + Status func(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error) + func NewStepRunnerClient(cc grpc.ClientConnInterface) StepRunnerClient + type StepRunnerServer interface + Close func(context.Context, *CloseRequest) (*CloseResponse, error) + FollowLogs func(*FollowLogsRequest, StepRunner_FollowLogsServer) error + Run func(context.Context, *RunRequest) (*RunResponse, error) + Status func(context.Context, *StatusRequest) (*StatusResponse, error) + type StepRunner_FollowLogsClient interface + Recv func() (*FollowLogsResponse, error) + type StepRunner_FollowLogsServer interface + Send func(*FollowLogsResponse) error + type Step_Reference struct + Filename string + Path []string + Protocol StepReferenceProtocol + Url string + Version string + func (*Step_Reference) Descriptor() ([]byte, []int) + func (*Step_Reference) ProtoMessage() + func (x *Step_Reference) GetFilename() string + func (x *Step_Reference) GetPath() []string + func (x *Step_Reference) GetProtocol() StepReferenceProtocol + func (x *Step_Reference) GetUrl() string + func (x *Step_Reference) GetVersion() string + func (x *Step_Reference) ProtoReflect() protoreflect.Message + func (x *Step_Reference) Reset() + func (x *Step_Reference) String() string + type UnimplementedStepRunnerServer struct + func (UnimplementedStepRunnerServer) Close(context.Context, *CloseRequest) (*CloseResponse, error) + func (UnimplementedStepRunnerServer) FollowLogs(*FollowLogsRequest, StepRunner_FollowLogsServer) error + func (UnimplementedStepRunnerServer) Run(context.Context, *RunRequest) (*RunResponse, error) + func (UnimplementedStepRunnerServer) Status(context.Context, *StatusRequest) (*StatusResponse, error) + type UnsafeStepRunnerServer interface + type ValueType int32 + const ValueType_array + const ValueType_boolean + const ValueType_number + const ValueType_string + const ValueType_struct + const ValueType_value_type_unspecified + func (ValueType) Descriptor() protoreflect.EnumDescriptor + func (ValueType) EnumDescriptor() ([]byte, []int) + func (ValueType) Type() protoreflect.EnumType + func (x ValueType) Enum() *ValueType + func (x ValueType) Number() protoreflect.EnumNumber + func (x ValueType) String() string + type Variable struct + File bool + Key string + Masked bool + Value string + func (*Variable) Descriptor() ([]byte, []int) + func (*Variable) ProtoMessage() + func (x *Variable) GetFile() bool + func (x *Variable) GetKey() string + func (x *Variable) GetMasked() bool + func (x *Variable) GetValue() string + func (x *Variable) ProtoReflect() protoreflect.Message + func (x *Variable) Reset() + func (x *Variable) String() string