Documentation
¶
Index ¶
- Constants
- Variables
- func ErrorPipelineResourceNotFound(format string, args ...interface{}) *errors.Error
- func IsPipelineResourceNotFound(err error) bool
- func RegisterProjectPipelineRuntimeHTTPServer(s *http.Server, srv ProjectPipelineRuntimeHTTPServer)
- func RegisterProjectPipelineRuntimeServer(s grpc.ServiceRegistrar, srv ProjectPipelineRuntimeServer)
- type CalendarEventSource
- func (*CalendarEventSource) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarEventSource) GetExclusionDates() []string
- func (x *CalendarEventSource) GetInterval() string
- func (x *CalendarEventSource) GetSchedule() string
- func (x *CalendarEventSource) GetTimezone() string
- func (*CalendarEventSource) ProtoMessage()
- func (x *CalendarEventSource) ProtoReflect() protoreflect.Message
- func (x *CalendarEventSource) Reset()
- func (x *CalendarEventSource) String() string
- func (m *CalendarEventSource) Validate() error
- func (m *CalendarEventSource) ValidateAll() error
- type CalendarEventSourceMultiError
- type CalendarEventSourceValidationError
- func (e CalendarEventSourceValidationError) Cause() error
- func (e CalendarEventSourceValidationError) Error() string
- func (e CalendarEventSourceValidationError) ErrorName() string
- func (e CalendarEventSourceValidationError) Field() string
- func (e CalendarEventSourceValidationError) Key() bool
- func (e CalendarEventSourceValidationError) Reason() string
- type DeleteReply
- func (*DeleteReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteReply) GetMsg() string
- func (*DeleteReply) ProtoMessage()
- func (x *DeleteReply) ProtoReflect() protoreflect.Message
- func (x *DeleteReply) Reset()
- func (x *DeleteReply) String() string
- func (m *DeleteReply) Validate() error
- func (m *DeleteReply) ValidateAll() error
- type DeleteReplyMultiError
- type DeleteReplyValidationError
- func (e DeleteReplyValidationError) Cause() error
- func (e DeleteReplyValidationError) Error() string
- func (e DeleteReplyValidationError) ErrorName() string
- func (e DeleteReplyValidationError) Field() string
- func (e DeleteReplyValidationError) Key() bool
- func (e DeleteReplyValidationError) Reason() string
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRequest) GetInsecureSkipCheck() bool
- func (x *DeleteRequest) GetProductName() string
- func (x *DeleteRequest) GetProjectPipelineRuntimeName() string
- func (*DeleteRequest) ProtoMessage()
- func (x *DeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRequest) Reset()
- func (x *DeleteRequest) String() string
- func (m *DeleteRequest) Validate() error
- func (m *DeleteRequest) ValidateAll() error
- type DeleteRequestMultiError
- type DeleteRequestValidationError
- func (e DeleteRequestValidationError) Cause() error
- func (e DeleteRequestValidationError) Error() string
- func (e DeleteRequestValidationError) ErrorName() string
- func (e DeleteRequestValidationError) Field() string
- func (e DeleteRequestValidationError) Key() bool
- func (e DeleteRequestValidationError) Reason() string
- type ErrorReason
- func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorReason) Enum() *ErrorReason
- func (ErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorReason) Number() protoreflect.EnumNumber
- func (x ErrorReason) String() string
- func (ErrorReason) Type() protoreflect.EnumType
- type EventSource
- func (*EventSource) Descriptor() ([]byte, []int)deprecated
- func (x *EventSource) GetCalendar() *CalendarEventSource
- func (x *EventSource) GetWebhook() string
- func (*EventSource) ProtoMessage()
- func (x *EventSource) ProtoReflect() protoreflect.Message
- func (x *EventSource) Reset()
- func (x *EventSource) String() string
- func (m *EventSource) Validate() error
- func (m *EventSource) ValidateAll() error
- type EventSourceMultiError
- type EventSourceValidationError
- func (e EventSourceValidationError) Cause() error
- func (e EventSourceValidationError) Error() string
- func (e EventSourceValidationError) ErrorName() string
- func (e EventSourceValidationError) Field() string
- func (e EventSourceValidationError) Key() bool
- func (e EventSourceValidationError) Reason() string
- type GetReply
- func (*GetReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetReply) GetCodeSources() []string
- func (x *GetReply) GetDestination() string
- func (x *GetReply) GetName() string
- func (x *GetReply) GetPipelineSource() string
- func (x *GetReply) GetPipelines() []*Pipeline
- func (x *GetReply) GetProject() string
- func (*GetReply) ProtoMessage()
- func (x *GetReply) ProtoReflect() protoreflect.Message
- func (x *GetReply) Reset()
- func (x *GetReply) String() string
- func (m *GetReply) Validate() error
- func (m *GetReply) ValidateAll() error
- type GetReplyMultiError
- type GetReplyValidationError
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRequest) GetProductName() string
- func (x *GetRequest) GetProjectPipelineRuntimeName() string
- func (*GetRequest) ProtoMessage()
- func (x *GetRequest) ProtoReflect() protoreflect.Message
- func (x *GetRequest) Reset()
- func (x *GetRequest) String() string
- func (m *GetRequest) Validate() error
- func (m *GetRequest) ValidateAll() error
- type GetRequestMultiError
- type GetRequestValidationError
- type ListsReply
- func (*ListsReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListsReply) GetItems() []*GetReply
- func (*ListsReply) ProtoMessage()
- func (x *ListsReply) ProtoReflect() protoreflect.Message
- func (x *ListsReply) Reset()
- func (x *ListsReply) String() string
- func (m *ListsReply) Validate() error
- func (m *ListsReply) ValidateAll() error
- type ListsReplyMultiError
- type ListsReplyValidationError
- type ListsRequest
- func (*ListsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListsRequest) GetProductName() string
- func (*ListsRequest) ProtoMessage()
- func (x *ListsRequest) ProtoReflect() protoreflect.Message
- func (x *ListsRequest) Reset()
- func (x *ListsRequest) String() string
- func (m *ListsRequest) Validate() error
- func (m *ListsRequest) ValidateAll() error
- type ListsRequestMultiError
- type ListsRequestValidationError
- func (e ListsRequestValidationError) Cause() error
- func (e ListsRequestValidationError) Error() string
- func (e ListsRequestValidationError) ErrorName() string
- func (e ListsRequestValidationError) Field() string
- func (e ListsRequestValidationError) Key() bool
- func (e ListsRequestValidationError) Reason() string
- type Pipeline
- func (*Pipeline) Descriptor() ([]byte, []int)deprecated
- func (x *Pipeline) GetBranch() string
- func (x *Pipeline) GetEventSources() []*EventSource
- func (x *Pipeline) GetName() string
- func (x *Pipeline) GetPath() string
- func (*Pipeline) ProtoMessage()
- func (x *Pipeline) ProtoReflect() protoreflect.Message
- func (x *Pipeline) Reset()
- func (x *Pipeline) String() string
- func (m *Pipeline) Validate() error
- func (m *Pipeline) ValidateAll() error
- type PipelineMultiError
- type PipelineValidationError
- type ProjectPipelineRuntimeClient
- type ProjectPipelineRuntimeHTTPClient
- type ProjectPipelineRuntimeHTTPClientImpl
- func (c *ProjectPipelineRuntimeHTTPClientImpl) DeleteProjectPipelineRuntime(ctx context.Context, in *DeleteRequest, opts ...http.CallOption) (*DeleteReply, error)
- func (c *ProjectPipelineRuntimeHTTPClientImpl) GetProjectPipelineRuntime(ctx context.Context, in *GetRequest, opts ...http.CallOption) (*GetReply, error)
- func (c *ProjectPipelineRuntimeHTTPClientImpl) ListProjectPipelineRuntimes(ctx context.Context, in *ListsRequest, opts ...http.CallOption) (*ListsReply, error)
- func (c *ProjectPipelineRuntimeHTTPClientImpl) SaveProjectPipelineRuntime(ctx context.Context, in *SaveRequest, opts ...http.CallOption) (*SaveReply, error)
- type ProjectPipelineRuntimeHTTPServer
- type ProjectPipelineRuntimeServer
- type SaveReply
- func (*SaveReply) Descriptor() ([]byte, []int)deprecated
- func (x *SaveReply) GetMsg() string
- func (*SaveReply) ProtoMessage()
- func (x *SaveReply) ProtoReflect() protoreflect.Message
- func (x *SaveReply) Reset()
- func (x *SaveReply) String() string
- func (m *SaveReply) Validate() error
- func (m *SaveReply) ValidateAll() error
- type SaveReplyMultiError
- type SaveReplyValidationError
- type SaveRequest
- func (*SaveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SaveRequest) GetBody() *SaveRequest_Body
- func (x *SaveRequest) GetInsecureSkipCheck() bool
- func (x *SaveRequest) GetProductName() string
- func (x *SaveRequest) GetProjectPipelineRuntimeName() string
- func (*SaveRequest) ProtoMessage()
- func (x *SaveRequest) ProtoReflect() protoreflect.Message
- func (x *SaveRequest) Reset()
- func (x *SaveRequest) String() string
- func (m *SaveRequest) Validate() error
- func (m *SaveRequest) ValidateAll() error
- type SaveRequestMultiError
- type SaveRequestValidationError
- func (e SaveRequestValidationError) Cause() error
- func (e SaveRequestValidationError) Error() string
- func (e SaveRequestValidationError) ErrorName() string
- func (e SaveRequestValidationError) Field() string
- func (e SaveRequestValidationError) Key() bool
- func (e SaveRequestValidationError) Reason() string
- type SaveRequest_Body
- func (*SaveRequest_Body) Descriptor() ([]byte, []int)deprecated
- func (x *SaveRequest_Body) GetCodeSources() []string
- func (x *SaveRequest_Body) GetDestination() string
- func (x *SaveRequest_Body) GetPipelineSource() string
- func (x *SaveRequest_Body) GetPipelines() []*Pipeline
- func (x *SaveRequest_Body) GetProject() string
- func (*SaveRequest_Body) ProtoMessage()
- func (x *SaveRequest_Body) ProtoReflect() protoreflect.Message
- func (x *SaveRequest_Body) Reset()
- func (x *SaveRequest_Body) String() string
- func (m *SaveRequest_Body) Validate() error
- func (m *SaveRequest_Body) ValidateAll() error
- type SaveRequest_BodyMultiError
- type SaveRequest_BodyValidationError
- func (e SaveRequest_BodyValidationError) Cause() error
- func (e SaveRequest_BodyValidationError) Error() string
- func (e SaveRequest_BodyValidationError) ErrorName() string
- func (e SaveRequest_BodyValidationError) Field() string
- func (e SaveRequest_BodyValidationError) Key() bool
- func (e SaveRequest_BodyValidationError) Reason() string
- type UnimplementedProjectPipelineRuntimeServer
- func (UnimplementedProjectPipelineRuntimeServer) DeleteProjectPipelineRuntime(context.Context, *DeleteRequest) (*DeleteReply, error)
- func (UnimplementedProjectPipelineRuntimeServer) GetProjectPipelineRuntime(context.Context, *GetRequest) (*GetReply, error)
- func (UnimplementedProjectPipelineRuntimeServer) ListProjectPipelineRuntimes(context.Context, *ListsRequest) (*ListsReply, error)
- func (UnimplementedProjectPipelineRuntimeServer) SaveProjectPipelineRuntime(context.Context, *SaveRequest) (*SaveReply, error)
- type UnsafeProjectPipelineRuntimeServer
Constants ¶
const OperationProjectPipelineRuntimeDeleteProjectPipelineRuntime = "/api.projectpipelineruntime.v1.ProjectPipelineRuntime/DeleteProjectPipelineRuntime"
const OperationProjectPipelineRuntimeGetProjectPipelineRuntime = "/api.projectpipelineruntime.v1.ProjectPipelineRuntime/GetProjectPipelineRuntime"
const OperationProjectPipelineRuntimeListProjectPipelineRuntimes = "/api.projectpipelineruntime.v1.ProjectPipelineRuntime/ListProjectPipelineRuntimes"
const OperationProjectPipelineRuntimeSaveProjectPipelineRuntime = "/api.projectpipelineruntime.v1.ProjectPipelineRuntime/SaveProjectPipelineRuntime"
Variables ¶
var ( ErrorReason_name = map[int32]string{ 0: "PIPELINE_RESOURCE_NOT_FOUND", } ErrorReason_value = map[string]int32{ "PIPELINE_RESOURCE_NOT_FOUND": 0, } )
Enum value maps for ErrorReason.
var File_api_projectpipelineruntime_v1_error_reason_proto protoreflect.FileDescriptor
var File_api_projectpipelineruntime_v1_projectpipelineruntime_proto protoreflect.FileDescriptor
var ProjectPipelineRuntime_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.projectpipelineruntime.v1.ProjectPipelineRuntime", HandlerType: (*ProjectPipelineRuntimeServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetProjectPipelineRuntime", Handler: _ProjectPipelineRuntime_GetProjectPipelineRuntime_Handler, }, { MethodName: "ListProjectPipelineRuntimes", Handler: _ProjectPipelineRuntime_ListProjectPipelineRuntimes_Handler, }, { MethodName: "SaveProjectPipelineRuntime", Handler: _ProjectPipelineRuntime_SaveProjectPipelineRuntime_Handler, }, { MethodName: "DeleteProjectPipelineRuntime", Handler: _ProjectPipelineRuntime_DeleteProjectPipelineRuntime_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "projectpipelineruntime/v1/projectpipelineruntime.proto", }
ProjectPipelineRuntime_ServiceDesc is the grpc.ServiceDesc for ProjectPipelineRuntime service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterProjectPipelineRuntimeHTTPServer ¶
func RegisterProjectPipelineRuntimeHTTPServer(s *http.Server, srv ProjectPipelineRuntimeHTTPServer)
func RegisterProjectPipelineRuntimeServer ¶
func RegisterProjectPipelineRuntimeServer(s grpc.ServiceRegistrar, srv ProjectPipelineRuntimeServer)
Types ¶
type CalendarEventSource ¶
type CalendarEventSource struct {
// Schedule for triggering the pipeline.
Schedule string `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"`
// Interval between pipeline runs.
Interval string `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"`
// Dates to exclude from triggering the pipeline.
ExclusionDates []string `protobuf:"bytes,3,rep,name=exclusionDates,json=exclusion_dates,proto3" json:"exclusionDates,omitempty"`
// Timezone for the pipeline.
Timezone string `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"`
// contains filtered or unexported fields
}
Defines the event source for triggering a pipeline.
func (*CalendarEventSource) Descriptor
deprecated
func (*CalendarEventSource) Descriptor() ([]byte, []int)
Deprecated: Use CalendarEventSource.ProtoReflect.Descriptor instead.
func (*CalendarEventSource) GetExclusionDates ¶
func (x *CalendarEventSource) GetExclusionDates() []string
func (*CalendarEventSource) GetInterval ¶
func (x *CalendarEventSource) GetInterval() string
func (*CalendarEventSource) GetSchedule ¶
func (x *CalendarEventSource) GetSchedule() string
func (*CalendarEventSource) GetTimezone ¶
func (x *CalendarEventSource) GetTimezone() string
func (*CalendarEventSource) ProtoMessage ¶
func (*CalendarEventSource) ProtoMessage()
func (*CalendarEventSource) ProtoReflect ¶
func (x *CalendarEventSource) ProtoReflect() protoreflect.Message
func (*CalendarEventSource) Reset ¶
func (x *CalendarEventSource) Reset()
func (*CalendarEventSource) String ¶
func (x *CalendarEventSource) String() string
func (*CalendarEventSource) Validate ¶
func (m *CalendarEventSource) Validate() error
Validate checks the field values on CalendarEventSource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CalendarEventSource) ValidateAll ¶
func (m *CalendarEventSource) ValidateAll() error
ValidateAll checks the field values on CalendarEventSource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CalendarEventSourceMultiError, or nil if none found.
type CalendarEventSourceMultiError ¶
type CalendarEventSourceMultiError []error
CalendarEventSourceMultiError is an error wrapping multiple validation errors returned by CalendarEventSource.ValidateAll() if the designated constraints aren't met.
func (CalendarEventSourceMultiError) AllErrors ¶
func (m CalendarEventSourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CalendarEventSourceMultiError) Error ¶
func (m CalendarEventSourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CalendarEventSourceValidationError ¶
type CalendarEventSourceValidationError struct {
// contains filtered or unexported fields
}
CalendarEventSourceValidationError is the validation error returned by CalendarEventSource.Validate if the designated constraints aren't met.
func (CalendarEventSourceValidationError) Cause ¶
func (e CalendarEventSourceValidationError) Cause() error
Cause function returns cause value.
func (CalendarEventSourceValidationError) Error ¶
func (e CalendarEventSourceValidationError) Error() string
Error satisfies the builtin error interface
func (CalendarEventSourceValidationError) ErrorName ¶
func (e CalendarEventSourceValidationError) ErrorName() string
ErrorName returns error name.
func (CalendarEventSourceValidationError) Field ¶
func (e CalendarEventSourceValidationError) Field() string
Field function returns field value.
func (CalendarEventSourceValidationError) Key ¶
func (e CalendarEventSourceValidationError) Key() bool
Key function returns key value.
func (CalendarEventSourceValidationError) Reason ¶
func (e CalendarEventSourceValidationError) Reason() string
Reason function returns reason value.
type DeleteReply ¶
type DeleteReply struct {
// A message describing the status of the delete request.
Msg string `protobuf:"bytes,1,opt,name=msg,json=message,proto3" json:"msg,omitempty"`
// contains filtered or unexported fields
}
Proto message for the response to a delete pipeline configuration request.
func (*DeleteReply) Descriptor
deprecated
func (*DeleteReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteReply.ProtoReflect.Descriptor instead.
func (*DeleteReply) GetMsg ¶
func (x *DeleteReply) GetMsg() string
func (*DeleteReply) ProtoMessage ¶
func (*DeleteReply) ProtoMessage()
func (*DeleteReply) ProtoReflect ¶
func (x *DeleteReply) ProtoReflect() protoreflect.Message
func (*DeleteReply) Reset ¶
func (x *DeleteReply) Reset()
func (*DeleteReply) String ¶
func (x *DeleteReply) String() string
func (*DeleteReply) Validate ¶
func (m *DeleteReply) Validate() error
Validate checks the field values on DeleteReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteReply) ValidateAll ¶
func (m *DeleteReply) ValidateAll() error
ValidateAll checks the field values on DeleteReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteReplyMultiError, or nil if none found.
type DeleteReplyMultiError ¶
type DeleteReplyMultiError []error
DeleteReplyMultiError is an error wrapping multiple validation errors returned by DeleteReply.ValidateAll() if the designated constraints aren't met.
func (DeleteReplyMultiError) AllErrors ¶
func (m DeleteReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteReplyMultiError) Error ¶
func (m DeleteReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteReplyValidationError ¶
type DeleteReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteReplyValidationError is the validation error returned by DeleteReply.Validate if the designated constraints aren't met.
func (DeleteReplyValidationError) Cause ¶
func (e DeleteReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteReplyValidationError) Error ¶
func (e DeleteReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteReplyValidationError) ErrorName ¶
func (e DeleteReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteReplyValidationError) Field ¶
func (e DeleteReplyValidationError) Field() string
Field function returns field value.
func (DeleteReplyValidationError) Key ¶
func (e DeleteReplyValidationError) Key() bool
Key function returns key value.
func (DeleteReplyValidationError) Reason ¶
func (e DeleteReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteRequest ¶
type DeleteRequest struct {
// Name of the product associated with the pipeline.
ProductName string `protobuf:"bytes,1,opt,name=productName,json=product_name,proto3" json:"productName,omitempty"`
// Name of the pipeline runtime associated with the project.
ProjectPipelineRuntimeName string `` /* 140-byte string literal not displayed */
// Whether to skip checking SSL certificates when making requests.
InsecureSkipCheck bool `protobuf:"varint,3,opt,name=insecureSkipCheck,json=insecure_skip_check,proto3" json:"insecureSkipCheck,omitempty"`
// contains filtered or unexported fields
}
Proto message for deleting a pipeline configuration request.
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetInsecureSkipCheck ¶
func (x *DeleteRequest) GetInsecureSkipCheck() bool
func (*DeleteRequest) GetProductName ¶
func (x *DeleteRequest) GetProductName() string
func (*DeleteRequest) GetProjectPipelineRuntimeName ¶
func (x *DeleteRequest) GetProjectPipelineRuntimeName() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
func (*DeleteRequest) Validate ¶
func (m *DeleteRequest) Validate() error
Validate checks the field values on DeleteRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteRequest) ValidateAll ¶
func (m *DeleteRequest) ValidateAll() error
ValidateAll checks the field values on DeleteRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteRequestMultiError, or nil if none found.
type DeleteRequestMultiError ¶
type DeleteRequestMultiError []error
DeleteRequestMultiError is an error wrapping multiple validation errors returned by DeleteRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteRequestMultiError) AllErrors ¶
func (m DeleteRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRequestMultiError) Error ¶
func (m DeleteRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRequestValidationError ¶
type DeleteRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteRequestValidationError is the validation error returned by DeleteRequest.Validate if the designated constraints aren't met.
func (DeleteRequestValidationError) Cause ¶
func (e DeleteRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteRequestValidationError) Error ¶
func (e DeleteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRequestValidationError) ErrorName ¶
func (e DeleteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRequestValidationError) Field ¶
func (e DeleteRequestValidationError) Field() string
Field function returns field value.
func (DeleteRequestValidationError) Key ¶
func (e DeleteRequestValidationError) Key() bool
Key function returns key value.
func (DeleteRequestValidationError) Reason ¶
func (e DeleteRequestValidationError) Reason() string
Reason function returns reason value.
type ErrorReason ¶
type ErrorReason int32
const (
ErrorReason_PIPELINE_RESOURCE_NOT_FOUND ErrorReason = 0
)
func (ErrorReason) Descriptor ¶
func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
func (ErrorReason) Enum ¶
func (x ErrorReason) Enum() *ErrorReason
func (ErrorReason) EnumDescriptor
deprecated
func (ErrorReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ErrorReason.Descriptor instead.
func (ErrorReason) Number ¶
func (x ErrorReason) Number() protoreflect.EnumNumber
func (ErrorReason) String ¶
func (x ErrorReason) String() string
func (ErrorReason) Type ¶
func (ErrorReason) Type() protoreflect.EnumType
type EventSource ¶
type EventSource struct {
// Whether to enable or disable webhook triggering for the pipeline.
Webhook string `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"`
// Calendar event source for triggering the pipeline.
Calendar *CalendarEventSource `protobuf:"bytes,2,opt,name=calendar,proto3" json:"calendar,omitempty"`
// contains filtered or unexported fields
}
Defines the types of event sources that can trigger a pipeline.
func (*EventSource) Descriptor
deprecated
func (*EventSource) Descriptor() ([]byte, []int)
Deprecated: Use EventSource.ProtoReflect.Descriptor instead.
func (*EventSource) GetCalendar ¶
func (x *EventSource) GetCalendar() *CalendarEventSource
func (*EventSource) GetWebhook ¶
func (x *EventSource) GetWebhook() string
func (*EventSource) ProtoMessage ¶
func (*EventSource) ProtoMessage()
func (*EventSource) ProtoReflect ¶
func (x *EventSource) ProtoReflect() protoreflect.Message
func (*EventSource) Reset ¶
func (x *EventSource) Reset()
func (*EventSource) String ¶
func (x *EventSource) String() string
func (*EventSource) Validate ¶
func (m *EventSource) Validate() error
Validate checks the field values on EventSource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EventSource) ValidateAll ¶
func (m *EventSource) ValidateAll() error
ValidateAll checks the field values on EventSource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EventSourceMultiError, or nil if none found.
type EventSourceMultiError ¶
type EventSourceMultiError []error
EventSourceMultiError is an error wrapping multiple validation errors returned by EventSource.ValidateAll() if the designated constraints aren't met.
func (EventSourceMultiError) AllErrors ¶
func (m EventSourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EventSourceMultiError) Error ¶
func (m EventSourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EventSourceValidationError ¶
type EventSourceValidationError struct {
// contains filtered or unexported fields
}
EventSourceValidationError is the validation error returned by EventSource.Validate if the designated constraints aren't met.
func (EventSourceValidationError) Cause ¶
func (e EventSourceValidationError) Cause() error
Cause function returns cause value.
func (EventSourceValidationError) Error ¶
func (e EventSourceValidationError) Error() string
Error satisfies the builtin error interface
func (EventSourceValidationError) ErrorName ¶
func (e EventSourceValidationError) ErrorName() string
ErrorName returns error name.
func (EventSourceValidationError) Field ¶
func (e EventSourceValidationError) Field() string
Field function returns field value.
func (EventSourceValidationError) Key ¶
func (e EventSourceValidationError) Key() bool
Key function returns key value.
func (EventSourceValidationError) Reason ¶
func (e EventSourceValidationError) Reason() string
Reason function returns reason value.
type GetReply ¶
type GetReply struct {
// Name of the pipeline.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Name of the project associated with the pipeline.
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
// Configuration repository of the pipeline.
PipelineSource string `protobuf:"bytes,3,opt,name=pipelineSource,json=pipeline_source,proto3" json:"pipelineSource,omitempty"`
// Other repositories outside the pipeline (optional).
CodeSources []string `protobuf:"bytes,4,rep,name=codeSources,json=code_sources,proto3" json:"codeSources,omitempty"`
// Pipelines associated with the product.
Pipelines []*Pipeline `protobuf:"bytes,5,rep,name=pipelines,proto3" json:"pipelines,omitempty"`
// Target deployment environment.
Destination string `protobuf:"bytes,6,opt,name=destination,proto3" json:"destination,omitempty"`
// contains filtered or unexported fields
}
Response message format for getting pipeline information.
func (*GetReply) Descriptor
deprecated
func (*GetReply) GetCodeSources ¶
func (*GetReply) GetDestination ¶
func (*GetReply) GetPipelineSource ¶
func (*GetReply) GetPipelines ¶
func (*GetReply) GetProject ¶
func (*GetReply) ProtoMessage ¶
func (*GetReply) ProtoMessage()
func (*GetReply) ProtoReflect ¶
func (x *GetReply) ProtoReflect() protoreflect.Message
func (*GetReply) Validate ¶
Validate checks the field values on GetReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetReply) ValidateAll ¶
ValidateAll checks the field values on GetReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetReplyMultiError, or nil if none found.
type GetReplyMultiError ¶
type GetReplyMultiError []error
GetReplyMultiError is an error wrapping multiple validation errors returned by GetReply.ValidateAll() if the designated constraints aren't met.
func (GetReplyMultiError) AllErrors ¶
func (m GetReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetReplyMultiError) Error ¶
func (m GetReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetReplyValidationError ¶
type GetReplyValidationError struct {
// contains filtered or unexported fields
}
GetReplyValidationError is the validation error returned by GetReply.Validate if the designated constraints aren't met.
func (GetReplyValidationError) Cause ¶
func (e GetReplyValidationError) Cause() error
Cause function returns cause value.
func (GetReplyValidationError) Error ¶
func (e GetReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetReplyValidationError) ErrorName ¶
func (e GetReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetReplyValidationError) Field ¶
func (e GetReplyValidationError) Field() string
Field function returns field value.
func (GetReplyValidationError) Key ¶
func (e GetReplyValidationError) Key() bool
Key function returns key value.
func (GetReplyValidationError) Reason ¶
func (e GetReplyValidationError) Reason() string
Reason function returns reason value.
type GetRequest ¶
type GetRequest struct {
// Name of the product associated with the pipeline.
ProductName string `protobuf:"bytes,1,opt,name=productName,json=product_name,proto3" json:"productName,omitempty"`
// Name of the pipeline runtime environment.
ProjectPipelineRuntimeName string `` /* 140-byte string literal not displayed */
// contains filtered or unexported fields
}
Request message format for getting pipeline information.
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetProductName ¶
func (x *GetRequest) GetProductName() string
func (*GetRequest) GetProjectPipelineRuntimeName ¶
func (x *GetRequest) GetProjectPipelineRuntimeName() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
func (*GetRequest) Validate ¶
func (m *GetRequest) Validate() error
Validate checks the field values on GetRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetRequest) ValidateAll ¶
func (m *GetRequest) ValidateAll() error
ValidateAll checks the field values on GetRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetRequestMultiError, or nil if none found.
type GetRequestMultiError ¶
type GetRequestMultiError []error
GetRequestMultiError is an error wrapping multiple validation errors returned by GetRequest.ValidateAll() if the designated constraints aren't met.
func (GetRequestMultiError) AllErrors ¶
func (m GetRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetRequestMultiError) Error ¶
func (m GetRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetRequestValidationError ¶
type GetRequestValidationError struct {
// contains filtered or unexported fields
}
GetRequestValidationError is the validation error returned by GetRequest.Validate if the designated constraints aren't met.
func (GetRequestValidationError) Cause ¶
func (e GetRequestValidationError) Cause() error
Cause function returns cause value.
func (GetRequestValidationError) Error ¶
func (e GetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetRequestValidationError) ErrorName ¶
func (e GetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetRequestValidationError) Field ¶
func (e GetRequestValidationError) Field() string
Field function returns field value.
func (GetRequestValidationError) Key ¶
func (e GetRequestValidationError) Key() bool
Key function returns key value.
func (GetRequestValidationError) Reason ¶
func (e GetRequestValidationError) Reason() string
Reason function returns reason value.
type ListsReply ¶
type ListsReply struct {
// List of pipelines.
Items []*GetReply `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
// contains filtered or unexported fields
}
Response message format for listing pipelines.
func (*ListsReply) Descriptor
deprecated
func (*ListsReply) Descriptor() ([]byte, []int)
Deprecated: Use ListsReply.ProtoReflect.Descriptor instead.
func (*ListsReply) GetItems ¶
func (x *ListsReply) GetItems() []*GetReply
func (*ListsReply) ProtoMessage ¶
func (*ListsReply) ProtoMessage()
func (*ListsReply) ProtoReflect ¶
func (x *ListsReply) ProtoReflect() protoreflect.Message
func (*ListsReply) Reset ¶
func (x *ListsReply) Reset()
func (*ListsReply) String ¶
func (x *ListsReply) String() string
func (*ListsReply) Validate ¶
func (m *ListsReply) Validate() error
Validate checks the field values on ListsReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListsReply) ValidateAll ¶
func (m *ListsReply) ValidateAll() error
ValidateAll checks the field values on ListsReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListsReplyMultiError, or nil if none found.
type ListsReplyMultiError ¶
type ListsReplyMultiError []error
ListsReplyMultiError is an error wrapping multiple validation errors returned by ListsReply.ValidateAll() if the designated constraints aren't met.
func (ListsReplyMultiError) AllErrors ¶
func (m ListsReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListsReplyMultiError) Error ¶
func (m ListsReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListsReplyValidationError ¶
type ListsReplyValidationError struct {
// contains filtered or unexported fields
}
ListsReplyValidationError is the validation error returned by ListsReply.Validate if the designated constraints aren't met.
func (ListsReplyValidationError) Cause ¶
func (e ListsReplyValidationError) Cause() error
Cause function returns cause value.
func (ListsReplyValidationError) Error ¶
func (e ListsReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListsReplyValidationError) ErrorName ¶
func (e ListsReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListsReplyValidationError) Field ¶
func (e ListsReplyValidationError) Field() string
Field function returns field value.
func (ListsReplyValidationError) Key ¶
func (e ListsReplyValidationError) Key() bool
Key function returns key value.
func (ListsReplyValidationError) Reason ¶
func (e ListsReplyValidationError) Reason() string
Reason function returns reason value.
type ListsRequest ¶
type ListsRequest struct {
// Name of the product associated with the pipelines to be listed.
ProductName string `protobuf:"bytes,1,opt,name=productName,json=product_name,proto3" json:"productName,omitempty"`
// contains filtered or unexported fields
}
Request message format for listing pipelines.
func (*ListsRequest) Descriptor
deprecated
func (*ListsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListsRequest.ProtoReflect.Descriptor instead.
func (*ListsRequest) GetProductName ¶
func (x *ListsRequest) GetProductName() string
func (*ListsRequest) ProtoMessage ¶
func (*ListsRequest) ProtoMessage()
func (*ListsRequest) ProtoReflect ¶
func (x *ListsRequest) ProtoReflect() protoreflect.Message
func (*ListsRequest) Reset ¶
func (x *ListsRequest) Reset()
func (*ListsRequest) String ¶
func (x *ListsRequest) String() string
func (*ListsRequest) Validate ¶
func (m *ListsRequest) Validate() error
Validate checks the field values on ListsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListsRequest) ValidateAll ¶
func (m *ListsRequest) ValidateAll() error
ValidateAll checks the field values on ListsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListsRequestMultiError, or nil if none found.
type ListsRequestMultiError ¶
type ListsRequestMultiError []error
ListsRequestMultiError is an error wrapping multiple validation errors returned by ListsRequest.ValidateAll() if the designated constraints aren't met.
func (ListsRequestMultiError) AllErrors ¶
func (m ListsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListsRequestMultiError) Error ¶
func (m ListsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListsRequestValidationError ¶
type ListsRequestValidationError struct {
// contains filtered or unexported fields
}
ListsRequestValidationError is the validation error returned by ListsRequest.Validate if the designated constraints aren't met.
func (ListsRequestValidationError) Cause ¶
func (e ListsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListsRequestValidationError) Error ¶
func (e ListsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListsRequestValidationError) ErrorName ¶
func (e ListsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListsRequestValidationError) Field ¶
func (e ListsRequestValidationError) Field() string
Field function returns field value.
func (ListsRequestValidationError) Key ¶
func (e ListsRequestValidationError) Key() bool
Key function returns key value.
func (ListsRequestValidationError) Reason ¶
func (e ListsRequestValidationError) Reason() string
Reason function returns reason value.
type Pipeline ¶
type Pipeline struct {
// Name of the pipeline.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Name of the branch in the pipeline repository.
Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
// Path to the pipeline configuration file in the pipeline repository.
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
// Event sources associated with the pipeline.
EventSources []*EventSource `protobuf:"bytes,4,rep,name=eventSources,json=event_sources,proto3" json:"eventSources,omitempty"`
// contains filtered or unexported fields
}
Defines a pipeline and its associated event sources.
func (*Pipeline) Descriptor
deprecated
func (*Pipeline) GetEventSources ¶
func (x *Pipeline) GetEventSources() []*EventSource
func (*Pipeline) ProtoMessage ¶
func (*Pipeline) ProtoMessage()
func (*Pipeline) ProtoReflect ¶
func (x *Pipeline) ProtoReflect() protoreflect.Message
func (*Pipeline) Validate ¶
Validate checks the field values on Pipeline with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Pipeline) ValidateAll ¶
ValidateAll checks the field values on Pipeline with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PipelineMultiError, or nil if none found.
type PipelineMultiError ¶
type PipelineMultiError []error
PipelineMultiError is an error wrapping multiple validation errors returned by Pipeline.ValidateAll() if the designated constraints aren't met.
func (PipelineMultiError) AllErrors ¶
func (m PipelineMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PipelineMultiError) Error ¶
func (m PipelineMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PipelineValidationError ¶
type PipelineValidationError struct {
// contains filtered or unexported fields
}
PipelineValidationError is the validation error returned by Pipeline.Validate if the designated constraints aren't met.
func (PipelineValidationError) Cause ¶
func (e PipelineValidationError) Cause() error
Cause function returns cause value.
func (PipelineValidationError) Error ¶
func (e PipelineValidationError) Error() string
Error satisfies the builtin error interface
func (PipelineValidationError) ErrorName ¶
func (e PipelineValidationError) ErrorName() string
ErrorName returns error name.
func (PipelineValidationError) Field ¶
func (e PipelineValidationError) Field() string
Field function returns field value.
func (PipelineValidationError) Key ¶
func (e PipelineValidationError) Key() bool
Key function returns key value.
func (PipelineValidationError) Reason ¶
func (e PipelineValidationError) Reason() string
Reason function returns reason value.
type ProjectPipelineRuntimeClient ¶
type ProjectPipelineRuntimeClient interface {
GetProjectPipelineRuntime(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetReply, error)
ListProjectPipelineRuntimes(ctx context.Context, in *ListsRequest, opts ...grpc.CallOption) (*ListsReply, error)
SaveProjectPipelineRuntime(ctx context.Context, in *SaveRequest, opts ...grpc.CallOption) (*SaveReply, error)
DeleteProjectPipelineRuntime(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteReply, error)
}
ProjectPipelineRuntimeClient is the client API for ProjectPipelineRuntime 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 NewProjectPipelineRuntimeClient ¶
func NewProjectPipelineRuntimeClient(cc grpc.ClientConnInterface) ProjectPipelineRuntimeClient
type ProjectPipelineRuntimeHTTPClient ¶
type ProjectPipelineRuntimeHTTPClient interface {
DeleteProjectPipelineRuntime(ctx context.Context, req *DeleteRequest, opts ...http.CallOption) (rsp *DeleteReply, err error)
GetProjectPipelineRuntime(ctx context.Context, req *GetRequest, opts ...http.CallOption) (rsp *GetReply, err error)
ListProjectPipelineRuntimes(ctx context.Context, req *ListsRequest, opts ...http.CallOption) (rsp *ListsReply, err error)
SaveProjectPipelineRuntime(ctx context.Context, req *SaveRequest, opts ...http.CallOption) (rsp *SaveReply, err error)
}
func NewProjectPipelineRuntimeHTTPClient ¶
func NewProjectPipelineRuntimeHTTPClient(client *http.Client) ProjectPipelineRuntimeHTTPClient
type ProjectPipelineRuntimeHTTPClientImpl ¶
type ProjectPipelineRuntimeHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*ProjectPipelineRuntimeHTTPClientImpl) DeleteProjectPipelineRuntime ¶
func (c *ProjectPipelineRuntimeHTTPClientImpl) DeleteProjectPipelineRuntime(ctx context.Context, in *DeleteRequest, opts ...http.CallOption) (*DeleteReply, error)
func (*ProjectPipelineRuntimeHTTPClientImpl) GetProjectPipelineRuntime ¶
func (c *ProjectPipelineRuntimeHTTPClientImpl) GetProjectPipelineRuntime(ctx context.Context, in *GetRequest, opts ...http.CallOption) (*GetReply, error)
func (*ProjectPipelineRuntimeHTTPClientImpl) ListProjectPipelineRuntimes ¶
func (c *ProjectPipelineRuntimeHTTPClientImpl) ListProjectPipelineRuntimes(ctx context.Context, in *ListsRequest, opts ...http.CallOption) (*ListsReply, error)
func (*ProjectPipelineRuntimeHTTPClientImpl) SaveProjectPipelineRuntime ¶
func (c *ProjectPipelineRuntimeHTTPClientImpl) SaveProjectPipelineRuntime(ctx context.Context, in *SaveRequest, opts ...http.CallOption) (*SaveReply, error)
type ProjectPipelineRuntimeHTTPServer ¶
type ProjectPipelineRuntimeHTTPServer interface {
DeleteProjectPipelineRuntime(context.Context, *DeleteRequest) (*DeleteReply, error)
GetProjectPipelineRuntime(context.Context, *GetRequest) (*GetReply, error)
ListProjectPipelineRuntimes(context.Context, *ListsRequest) (*ListsReply, error)
SaveProjectPipelineRuntime(context.Context, *SaveRequest) (*SaveReply, error)
}
type ProjectPipelineRuntimeServer ¶
type ProjectPipelineRuntimeServer interface {
GetProjectPipelineRuntime(context.Context, *GetRequest) (*GetReply, error)
ListProjectPipelineRuntimes(context.Context, *ListsRequest) (*ListsReply, error)
SaveProjectPipelineRuntime(context.Context, *SaveRequest) (*SaveReply, error)
DeleteProjectPipelineRuntime(context.Context, *DeleteRequest) (*DeleteReply, error)
// contains filtered or unexported methods
}
ProjectPipelineRuntimeServer is the server API for ProjectPipelineRuntime service. All implementations must embed UnimplementedProjectPipelineRuntimeServer for forward compatibility
type SaveReply ¶
type SaveReply struct {
// A message describing the status of the save request.
Msg string `protobuf:"bytes,1,opt,name=msg,json=message,proto3" json:"msg,omitempty"`
// contains filtered or unexported fields
}
Proto message for the response to a save pipeline configuration request.
func (*SaveReply) Descriptor
deprecated
func (*SaveReply) ProtoMessage ¶
func (*SaveReply) ProtoMessage()
func (*SaveReply) ProtoReflect ¶
func (x *SaveReply) ProtoReflect() protoreflect.Message
func (*SaveReply) Validate ¶
Validate checks the field values on SaveReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SaveReply) ValidateAll ¶
ValidateAll checks the field values on SaveReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SaveReplyMultiError, or nil if none found.
type SaveReplyMultiError ¶
type SaveReplyMultiError []error
SaveReplyMultiError is an error wrapping multiple validation errors returned by SaveReply.ValidateAll() if the designated constraints aren't met.
func (SaveReplyMultiError) AllErrors ¶
func (m SaveReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SaveReplyMultiError) Error ¶
func (m SaveReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SaveReplyValidationError ¶
type SaveReplyValidationError struct {
// contains filtered or unexported fields
}
SaveReplyValidationError is the validation error returned by SaveReply.Validate if the designated constraints aren't met.
func (SaveReplyValidationError) Cause ¶
func (e SaveReplyValidationError) Cause() error
Cause function returns cause value.
func (SaveReplyValidationError) Error ¶
func (e SaveReplyValidationError) Error() string
Error satisfies the builtin error interface
func (SaveReplyValidationError) ErrorName ¶
func (e SaveReplyValidationError) ErrorName() string
ErrorName returns error name.
func (SaveReplyValidationError) Field ¶
func (e SaveReplyValidationError) Field() string
Field function returns field value.
func (SaveReplyValidationError) Key ¶
func (e SaveReplyValidationError) Key() bool
Key function returns key value.
func (SaveReplyValidationError) Reason ¶
func (e SaveReplyValidationError) Reason() string
Reason function returns reason value.
type SaveRequest ¶
type SaveRequest struct {
// Name of the product associated with the pipeline.
ProductName string `protobuf:"bytes,1,opt,name=productName,json=product,proto3" json:"productName,omitempty"`
// Name of the pipeline runtime associated with the project.
ProjectPipelineRuntimeName string `` /* 140-byte string literal not displayed */
// Whether to skip checking SSL certificates when making requests.
InsecureSkipCheck bool `protobuf:"varint,3,opt,name=insecureSkipCheck,json=insecure_skip_check,proto3" json:"insecureSkipCheck,omitempty"`
// The body of the request.
Body *SaveRequest_Body `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
// contains filtered or unexported fields
}
Proto message for saving a pipeline configuration request.
func (*SaveRequest) Descriptor
deprecated
func (*SaveRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveRequest.ProtoReflect.Descriptor instead.
func (*SaveRequest) GetBody ¶
func (x *SaveRequest) GetBody() *SaveRequest_Body
func (*SaveRequest) GetInsecureSkipCheck ¶
func (x *SaveRequest) GetInsecureSkipCheck() bool
func (*SaveRequest) GetProductName ¶
func (x *SaveRequest) GetProductName() string
func (*SaveRequest) GetProjectPipelineRuntimeName ¶
func (x *SaveRequest) GetProjectPipelineRuntimeName() string
func (*SaveRequest) ProtoMessage ¶
func (*SaveRequest) ProtoMessage()
func (*SaveRequest) ProtoReflect ¶
func (x *SaveRequest) ProtoReflect() protoreflect.Message
func (*SaveRequest) Reset ¶
func (x *SaveRequest) Reset()
func (*SaveRequest) String ¶
func (x *SaveRequest) String() string
func (*SaveRequest) Validate ¶
func (m *SaveRequest) Validate() error
Validate checks the field values on SaveRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SaveRequest) ValidateAll ¶
func (m *SaveRequest) ValidateAll() error
ValidateAll checks the field values on SaveRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SaveRequestMultiError, or nil if none found.
type SaveRequestMultiError ¶
type SaveRequestMultiError []error
SaveRequestMultiError is an error wrapping multiple validation errors returned by SaveRequest.ValidateAll() if the designated constraints aren't met.
func (SaveRequestMultiError) AllErrors ¶
func (m SaveRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SaveRequestMultiError) Error ¶
func (m SaveRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SaveRequestValidationError ¶
type SaveRequestValidationError struct {
// contains filtered or unexported fields
}
SaveRequestValidationError is the validation error returned by SaveRequest.Validate if the designated constraints aren't met.
func (SaveRequestValidationError) Cause ¶
func (e SaveRequestValidationError) Cause() error
Cause function returns cause value.
func (SaveRequestValidationError) Error ¶
func (e SaveRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SaveRequestValidationError) ErrorName ¶
func (e SaveRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SaveRequestValidationError) Field ¶
func (e SaveRequestValidationError) Field() string
Field function returns field value.
func (SaveRequestValidationError) Key ¶
func (e SaveRequestValidationError) Key() bool
Key function returns key value.
func (SaveRequestValidationError) Reason ¶
func (e SaveRequestValidationError) Reason() string
Reason function returns reason value.
type SaveRequest_Body ¶
type SaveRequest_Body struct {
// Name of the project associated with the pipeline.
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// Configuration repository of pipeline.
PipelineSource string `protobuf:"bytes,2,opt,name=pipelineSource,json=pipeline_source,proto3" json:"pipelineSource,omitempty"`
// Other repository outside the pipeline(optional).
CodeSources []string `protobuf:"bytes,3,rep,name=codeSources,json=code_sources,proto3" json:"codeSources,omitempty"`
// Pipelines defined in the configuration repository.
Pipelines []*Pipeline `protobuf:"bytes,4,rep,name=pipelines,proto3" json:"pipelines,omitempty"`
// Target deployment environment.
Destination string `protobuf:"bytes,5,opt,name=destination,proto3" json:"destination,omitempty"`
// contains filtered or unexported fields
}
Message containing the body of the request.
func (*SaveRequest_Body) Descriptor
deprecated
func (*SaveRequest_Body) Descriptor() ([]byte, []int)
Deprecated: Use SaveRequest_Body.ProtoReflect.Descriptor instead.
func (*SaveRequest_Body) GetCodeSources ¶
func (x *SaveRequest_Body) GetCodeSources() []string
func (*SaveRequest_Body) GetDestination ¶
func (x *SaveRequest_Body) GetDestination() string
func (*SaveRequest_Body) GetPipelineSource ¶
func (x *SaveRequest_Body) GetPipelineSource() string
func (*SaveRequest_Body) GetPipelines ¶
func (x *SaveRequest_Body) GetPipelines() []*Pipeline
func (*SaveRequest_Body) GetProject ¶
func (x *SaveRequest_Body) GetProject() string
func (*SaveRequest_Body) ProtoMessage ¶
func (*SaveRequest_Body) ProtoMessage()
func (*SaveRequest_Body) ProtoReflect ¶
func (x *SaveRequest_Body) ProtoReflect() protoreflect.Message
func (*SaveRequest_Body) Reset ¶
func (x *SaveRequest_Body) Reset()
func (*SaveRequest_Body) String ¶
func (x *SaveRequest_Body) String() string
func (*SaveRequest_Body) Validate ¶
func (m *SaveRequest_Body) Validate() error
Validate checks the field values on SaveRequest_Body with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SaveRequest_Body) ValidateAll ¶
func (m *SaveRequest_Body) ValidateAll() error
ValidateAll checks the field values on SaveRequest_Body with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SaveRequest_BodyMultiError, or nil if none found.
type SaveRequest_BodyMultiError ¶
type SaveRequest_BodyMultiError []error
SaveRequest_BodyMultiError is an error wrapping multiple validation errors returned by SaveRequest_Body.ValidateAll() if the designated constraints aren't met.
func (SaveRequest_BodyMultiError) AllErrors ¶
func (m SaveRequest_BodyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SaveRequest_BodyMultiError) Error ¶
func (m SaveRequest_BodyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SaveRequest_BodyValidationError ¶
type SaveRequest_BodyValidationError struct {
// contains filtered or unexported fields
}
SaveRequest_BodyValidationError is the validation error returned by SaveRequest_Body.Validate if the designated constraints aren't met.
func (SaveRequest_BodyValidationError) Cause ¶
func (e SaveRequest_BodyValidationError) Cause() error
Cause function returns cause value.
func (SaveRequest_BodyValidationError) Error ¶
func (e SaveRequest_BodyValidationError) Error() string
Error satisfies the builtin error interface
func (SaveRequest_BodyValidationError) ErrorName ¶
func (e SaveRequest_BodyValidationError) ErrorName() string
ErrorName returns error name.
func (SaveRequest_BodyValidationError) Field ¶
func (e SaveRequest_BodyValidationError) Field() string
Field function returns field value.
func (SaveRequest_BodyValidationError) Key ¶
func (e SaveRequest_BodyValidationError) Key() bool
Key function returns key value.
func (SaveRequest_BodyValidationError) Reason ¶
func (e SaveRequest_BodyValidationError) Reason() string
Reason function returns reason value.
type UnimplementedProjectPipelineRuntimeServer ¶
type UnimplementedProjectPipelineRuntimeServer struct {
}
UnimplementedProjectPipelineRuntimeServer must be embedded to have forward compatible implementations.
func (UnimplementedProjectPipelineRuntimeServer) DeleteProjectPipelineRuntime ¶
func (UnimplementedProjectPipelineRuntimeServer) DeleteProjectPipelineRuntime(context.Context, *DeleteRequest) (*DeleteReply, error)
func (UnimplementedProjectPipelineRuntimeServer) GetProjectPipelineRuntime ¶
func (UnimplementedProjectPipelineRuntimeServer) GetProjectPipelineRuntime(context.Context, *GetRequest) (*GetReply, error)
func (UnimplementedProjectPipelineRuntimeServer) ListProjectPipelineRuntimes ¶
func (UnimplementedProjectPipelineRuntimeServer) ListProjectPipelineRuntimes(context.Context, *ListsRequest) (*ListsReply, error)
func (UnimplementedProjectPipelineRuntimeServer) SaveProjectPipelineRuntime ¶
func (UnimplementedProjectPipelineRuntimeServer) SaveProjectPipelineRuntime(context.Context, *SaveRequest) (*SaveReply, error)
type UnsafeProjectPipelineRuntimeServer ¶
type UnsafeProjectPipelineRuntimeServer interface {
// contains filtered or unexported methods
}
UnsafeProjectPipelineRuntimeServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjectPipelineRuntimeServer will result in compilation errors.