v1

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProjectPipelineRuntime_GetProjectPipelineRuntime_FullMethodName    = "/api.projectpipelineruntime.v1.ProjectPipelineRuntime/GetProjectPipelineRuntime"
	ProjectPipelineRuntime_ListProjectPipelineRuntimes_FullMethodName  = "/api.projectpipelineruntime.v1.ProjectPipelineRuntime/ListProjectPipelineRuntimes"
	ProjectPipelineRuntime_SaveProjectPipelineRuntime_FullMethodName   = "/api.projectpipelineruntime.v1.ProjectPipelineRuntime/SaveProjectPipelineRuntime"
	ProjectPipelineRuntime_DeleteProjectPipelineRuntime_FullMethodName = "/api.projectpipelineruntime.v1.ProjectPipelineRuntime/DeleteProjectPipelineRuntime"
)
View Source
const OperationProjectPipelineRuntimeDeleteProjectPipelineRuntime = "/api.projectpipelineruntime.v1.ProjectPipelineRuntime/DeleteProjectPipelineRuntime"
View Source
const OperationProjectPipelineRuntimeGetProjectPipelineRuntime = "/api.projectpipelineruntime.v1.ProjectPipelineRuntime/GetProjectPipelineRuntime"
View Source
const OperationProjectPipelineRuntimeListProjectPipelineRuntimes = "/api.projectpipelineruntime.v1.ProjectPipelineRuntime/ListProjectPipelineRuntimes"
View Source
const OperationProjectPipelineRuntimeSaveProjectPipelineRuntime = "/api.projectpipelineruntime.v1.ProjectPipelineRuntime/SaveProjectPipelineRuntime"

Variables

View Source
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.

View Source
var File_projectpipelineruntime_v1_error_reason_proto protoreflect.FileDescriptor
View Source
var File_projectpipelineruntime_v1_projectpipelineruntime_proto protoreflect.FileDescriptor
View Source
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 ErrorPipelineResourceNotFound

func ErrorPipelineResourceNotFound(format string, args ...interface{}) *errors.Error

func IsPipelineResourceNotFound

func IsPipelineResourceNotFound(err error) bool

func RegisterProjectPipelineRuntimeHTTPServer

func RegisterProjectPipelineRuntimeHTTPServer(s *http.Server, srv ProjectPipelineRuntimeHTTPServer)

func RegisterProjectPipelineRuntimeServer

func RegisterProjectPipelineRuntimeServer(s grpc.ServiceRegistrar, srv ProjectPipelineRuntimeServer)

Types

type Calendar

type Calendar struct {

	// Schedule is a cron-like expression. For reference, see: https://en.wikipedia.org/wiki/Cron
	Schedule string `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"`
	// Interval is a string that describes an interval duration, e.g. 1s, 30m, 2h...
	Interval string `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"`
	// ExclusionDates defines the list of DATE-TIME exceptions for recurring events.
	ExclusionDates []string `protobuf:"bytes,3,rep,name=exclusion_dates,proto3" json:"exclusion_dates,omitempty"`
	// Timezone in which to run the schedule
	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 (*Calendar) Descriptor deprecated

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

Deprecated: Use Calendar.ProtoReflect.Descriptor instead.

func (*Calendar) GetExclusionDates

func (x *Calendar) GetExclusionDates() []string

func (*Calendar) GetInterval

func (x *Calendar) GetInterval() string

func (*Calendar) GetSchedule

func (x *Calendar) GetSchedule() string

func (*Calendar) GetTimezone

func (x *Calendar) GetTimezone() string

func (*Calendar) ProtoMessage

func (*Calendar) ProtoMessage()

func (*Calendar) ProtoReflect

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

func (*Calendar) Reset

func (x *Calendar) Reset()

func (*Calendar) String

func (x *Calendar) String() string

func (*Calendar) Validate

func (m *Calendar) Validate() error

Validate checks the field values on Calendar 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 (*Calendar) ValidateAll

func (m *Calendar) ValidateAll() error

ValidateAll checks the field values on Calendar 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 CalendarMultiError, or nil if none found.

type CalendarMultiError

type CalendarMultiError []error

CalendarMultiError is an error wrapping multiple validation errors returned by Calendar.ValidateAll() if the designated constraints aren't met.

func (CalendarMultiError) AllErrors

func (m CalendarMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CalendarMultiError) Error

func (m CalendarMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CalendarValidationError

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

CalendarValidationError is the validation error returned by Calendar.Validate if the designated constraints aren't met.

func (CalendarValidationError) Cause

func (e CalendarValidationError) Cause() error

Cause function returns cause value.

func (CalendarValidationError) Error

func (e CalendarValidationError) Error() string

Error satisfies the builtin error interface

func (CalendarValidationError) ErrorName

func (e CalendarValidationError) ErrorName() string

ErrorName returns error name.

func (CalendarValidationError) Field

func (e CalendarValidationError) Field() string

Field function returns field value.

func (CalendarValidationError) Key

func (e CalendarValidationError) Key() bool

Key function returns key value.

func (CalendarValidationError) Reason

func (e CalendarValidationError) 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

Cause function returns cause value.

func (DeleteReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteReplyValidationError) ErrorName

func (e DeleteReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteReplyValidationError) Field

Field function returns field value.

func (DeleteReplyValidationError) Key

Key function returns key value.

func (DeleteReplyValidationError) Reason

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=product_name,proto3" json:"product_name,omitempty"`
	// Name of the pipeline runtime associated with the project.
	ProjectPipelineRuntimeName string `protobuf:"bytes,2,opt,name=project_pipeline_runtime_name,proto3" json:"project_pipeline_runtime_name,omitempty"`
	// Whether to skip checking global resource detection when making requests.
	InsecureSkipCheck bool `protobuf:"varint,3,opt,name=insecure_skip_check,proto3" json:"insecure_skip_check,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

Cause function returns cause value.

func (DeleteRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteRequestValidationError) ErrorName

func (e DeleteRequestValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteRequestValidationError) Field

Field function returns field value.

func (DeleteRequestValidationError) Key

Key function returns key value.

func (DeleteRequestValidationError) Reason

Reason function returns reason value.

type ErrorReason

type ErrorReason int32
const (
	ErrorReason_PIPELINE_RESOURCE_NOT_FOUND ErrorReason = 0
)

func (ErrorReason) Descriptor

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

type EventSource

type EventSource struct {

	// Name of the event source.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Gitlab event source for triggering the pipeline.
	Gitlab *Gitlab `protobuf:"bytes,2,opt,name=gitlab,proto3" json:"gitlab,omitempty"`
	// Calendar event source for triggering the pipeline.
	Calendar *Calendar `protobuf:"bytes,3,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() *Calendar

func (*EventSource) GetGitlab

func (x *EventSource) GetGitlab() *Gitlab

func (*EventSource) GetName

func (x *EventSource) GetName() 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

Cause function returns cause value.

func (EventSourceValidationError) Error

Error satisfies the builtin error interface

func (EventSourceValidationError) ErrorName

func (e EventSourceValidationError) ErrorName() string

ErrorName returns error name.

func (EventSourceValidationError) Field

Field function returns field value.

func (EventSourceValidationError) Key

Key function returns key value.

func (EventSourceValidationError) Reason

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=pipeline_source,proto3" json:"pipeline_source,omitempty"`
	// Other repositories outside the pipeline (optional).
	EventSources []*EventSource `protobuf:"bytes,4,rep,name=event_sources,proto3" json:"event_sources,omitempty"`
	// Pipelines associated with the product.
	Pipelines []*Pipeline `protobuf:"bytes,5,rep,name=pipelines,proto3" json:"pipelines,omitempty"`
	// Pipeline event triggers.
	PipelineTriggers []*PipelineTriggers `protobuf:"bytes,6,rep,name=pipeline_triggers,proto3" json:"pipeline_triggers,omitempty"`
	// Target deployment environment.
	Destination *ProjectPipelineDestination `protobuf:"bytes,7,opt,name=destination,proto3" json:"destination,omitempty"`
	// Isolation definition of pipeline runtime related resources: shared(default) or exclusive.
	Isolation string `protobuf:"bytes,8,opt,name=isolation,proto3" json:"isolation,omitempty"`
	// ProjectPipelineRuntimeAdditionalResources defines the additional resources witch runtime needed
	AdditionalResources *ProjectPipelineRuntimeAdditionalResources `protobuf:"bytes,9,opt,name=additional_resources,proto3" json:"additional_resources,omitempty"`
	// Account specify the runtime account.
	Account string `protobuf:"bytes,10,opt,name=account,proto3" json:"account,omitempty"`
	// Hooks are hooks will to add before or after the user pipeline.
	Hooks *Hooks `protobuf:"bytes,11,opt,name=hooks,proto3" json:"hooks,omitempty"`
	// contains filtered or unexported fields
}

Response message format for getting pipeline information.

func (*GetReply) Descriptor deprecated

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

Deprecated: Use GetReply.ProtoReflect.Descriptor instead.

func (*GetReply) GetAccount added in v0.4.1

func (x *GetReply) GetAccount() string

func (*GetReply) GetAdditionalResources added in v0.3.9

func (x *GetReply) GetAdditionalResources() *ProjectPipelineRuntimeAdditionalResources

func (*GetReply) GetDestination

func (x *GetReply) GetDestination() *ProjectPipelineDestination

func (*GetReply) GetEventSources

func (x *GetReply) GetEventSources() []*EventSource

func (*GetReply) GetHooks added in v0.4.2

func (x *GetReply) GetHooks() *Hooks

func (*GetReply) GetIsolation

func (x *GetReply) GetIsolation() string

func (*GetReply) GetName

func (x *GetReply) GetName() string

func (*GetReply) GetPipelineSource

func (x *GetReply) GetPipelineSource() string

func (*GetReply) GetPipelineTriggers

func (x *GetReply) GetPipelineTriggers() []*PipelineTriggers

func (*GetReply) GetPipelines

func (x *GetReply) GetPipelines() []*Pipeline

func (*GetReply) GetProject

func (x *GetReply) GetProject() string

func (*GetReply) ProtoMessage

func (*GetReply) ProtoMessage()

func (*GetReply) ProtoReflect

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

func (*GetReply) Reset

func (x *GetReply) Reset()

func (*GetReply) String

func (x *GetReply) String() string

func (*GetReply) Validate

func (m *GetReply) Validate() error

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

func (m *GetReply) ValidateAll() error

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=product_name,proto3" json:"product_name,omitempty"`
	// Name of the pipeline runtime environment.
	ProjectPipelineRuntimeName string `protobuf:"bytes,2,opt,name=project_pipeline_runtime_name,proto3" json:"project_pipeline_runtime_name,omitempty"`
	// 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

Error satisfies the builtin error interface

func (GetRequestValidationError) ErrorName

func (e GetRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetRequestValidationError) Field

Field function returns field value.

func (GetRequestValidationError) Key

Key function returns key value.

func (GetRequestValidationError) Reason

func (e GetRequestValidationError) Reason() string

Reason function returns reason value.

type Gitlab

type Gitlab struct {

	// Gitlab project name.
	RepoName string `protobuf:"bytes,1,opt,name=repo_name,proto3" json:"repo_name,omitempty"`
	// Supports regular expressions.
	Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
	// Gitlab webhook events: push_events, tag_push_events, etc.
	Events []string `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*Gitlab) Descriptor deprecated

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

Deprecated: Use Gitlab.ProtoReflect.Descriptor instead.

func (*Gitlab) GetEvents

func (x *Gitlab) GetEvents() []string

func (*Gitlab) GetRepoName

func (x *Gitlab) GetRepoName() string

func (*Gitlab) GetRevision

func (x *Gitlab) GetRevision() string

func (*Gitlab) ProtoMessage

func (*Gitlab) ProtoMessage()

func (*Gitlab) ProtoReflect

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

func (*Gitlab) Reset

func (x *Gitlab) Reset()

func (*Gitlab) String

func (x *Gitlab) String() string

func (*Gitlab) Validate

func (m *Gitlab) Validate() error

Validate checks the field values on Gitlab 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 (*Gitlab) ValidateAll

func (m *Gitlab) ValidateAll() error

ValidateAll checks the field values on Gitlab 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 GitlabMultiError, or nil if none found.

type GitlabMultiError

type GitlabMultiError []error

GitlabMultiError is an error wrapping multiple validation errors returned by Gitlab.ValidateAll() if the designated constraints aren't met.

func (GitlabMultiError) AllErrors

func (m GitlabMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitlabMultiError) Error

func (m GitlabMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GitlabValidationError

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

GitlabValidationError is the validation error returned by Gitlab.Validate if the designated constraints aren't met.

func (GitlabValidationError) Cause

func (e GitlabValidationError) Cause() error

Cause function returns cause value.

func (GitlabValidationError) Error

func (e GitlabValidationError) Error() string

Error satisfies the builtin error interface

func (GitlabValidationError) ErrorName

func (e GitlabValidationError) ErrorName() string

ErrorName returns error name.

func (GitlabValidationError) Field

func (e GitlabValidationError) Field() string

Field function returns field value.

func (GitlabValidationError) Key

func (e GitlabValidationError) Key() bool

Key function returns key value.

func (GitlabValidationError) Reason

func (e GitlabValidationError) Reason() string

Reason function returns reason value.

type Hook added in v0.4.2

type Hook struct {

	// Name is the name of the hook to be executed.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Vars is the parameter that the user wants to pass to the hook,
	// and the input items are determined based on the pipeline component in cluster.
	Vars map[string]string `` /* 149-byte string literal not displayed */
	// Alias is the alias given by the user for the hook.
	// If the user does not enter this value, the name of the hook will be obtained from 'name'.
	// When the hook appears in both PreHooks and PostHooks, it is necessary to specify the name to prevent conflicts.
	// +optional
	Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"`
	// contains filtered or unexported fields
}

Hook is a record of information about a runnable hook.

func (*Hook) Descriptor deprecated added in v0.4.2

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

Deprecated: Use Hook.ProtoReflect.Descriptor instead.

func (*Hook) GetAlias added in v0.4.2

func (x *Hook) GetAlias() string

func (*Hook) GetName added in v0.4.2

func (x *Hook) GetName() string

func (*Hook) GetVars added in v0.4.2

func (x *Hook) GetVars() map[string]string

func (*Hook) ProtoMessage added in v0.4.2

func (*Hook) ProtoMessage()

func (*Hook) ProtoReflect added in v0.4.2

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

func (*Hook) Reset added in v0.4.2

func (x *Hook) Reset()

func (*Hook) String added in v0.4.2

func (x *Hook) String() string

func (*Hook) Validate added in v0.4.2

func (m *Hook) Validate() error

Validate checks the field values on Hook 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 (*Hook) ValidateAll added in v0.4.2

func (m *Hook) ValidateAll() error

ValidateAll checks the field values on Hook 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 HookMultiError, or nil if none found.

type HookMultiError added in v0.4.2

type HookMultiError []error

HookMultiError is an error wrapping multiple validation errors returned by Hook.ValidateAll() if the designated constraints aren't met.

func (HookMultiError) AllErrors added in v0.4.2

func (m HookMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HookMultiError) Error added in v0.4.2

func (m HookMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type HookValidationError added in v0.4.2

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

HookValidationError is the validation error returned by Hook.Validate if the designated constraints aren't met.

func (HookValidationError) Cause added in v0.4.2

func (e HookValidationError) Cause() error

Cause function returns cause value.

func (HookValidationError) Error added in v0.4.2

func (e HookValidationError) Error() string

Error satisfies the builtin error interface

func (HookValidationError) ErrorName added in v0.4.2

func (e HookValidationError) ErrorName() string

ErrorName returns error name.

func (HookValidationError) Field added in v0.4.2

func (e HookValidationError) Field() string

Field function returns field value.

func (HookValidationError) Key added in v0.4.2

func (e HookValidationError) Key() bool

Key function returns key value.

func (HookValidationError) Reason added in v0.4.2

func (e HookValidationError) Reason() string

Reason function returns reason value.

type Hooks added in v0.4.2

type Hooks struct {

	// PreHooks is a set of hooks to be executed before running the user pipeline.
	PreHooks []*Hook `protobuf:"bytes,1,rep,name=pre_hooks,proto3" json:"pre_hooks,omitempty"`
	// PostHooks is a set of hooks that will run after the user pipeline starts executing.
	PostHooks []*Hook `protobuf:"bytes,2,rep,name=post_hooks,proto3" json:"post_hooks,omitempty"`
	// contains filtered or unexported fields
}

Hooks are hooks will to add before or after the user pipeline.

func (*Hooks) Descriptor deprecated added in v0.4.2

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

Deprecated: Use Hooks.ProtoReflect.Descriptor instead.

func (*Hooks) GetPostHooks added in v0.4.2

func (x *Hooks) GetPostHooks() []*Hook

func (*Hooks) GetPreHooks added in v0.4.2

func (x *Hooks) GetPreHooks() []*Hook

func (*Hooks) ProtoMessage added in v0.4.2

func (*Hooks) ProtoMessage()

func (*Hooks) ProtoReflect added in v0.4.2

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

func (*Hooks) Reset added in v0.4.2

func (x *Hooks) Reset()

func (*Hooks) String added in v0.4.2

func (x *Hooks) String() string

func (*Hooks) Validate added in v0.4.2

func (m *Hooks) Validate() error

Validate checks the field values on Hooks 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 (*Hooks) ValidateAll added in v0.4.2

func (m *Hooks) ValidateAll() error

ValidateAll checks the field values on Hooks 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 HooksMultiError, or nil if none found.

type HooksMultiError added in v0.4.2

type HooksMultiError []error

HooksMultiError is an error wrapping multiple validation errors returned by Hooks.ValidateAll() if the designated constraints aren't met.

func (HooksMultiError) AllErrors added in v0.4.2

func (m HooksMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HooksMultiError) Error added in v0.4.2

func (m HooksMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type HooksValidationError added in v0.4.2

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

HooksValidationError is the validation error returned by Hooks.Validate if the designated constraints aren't met.

func (HooksValidationError) Cause added in v0.4.2

func (e HooksValidationError) Cause() error

Cause function returns cause value.

func (HooksValidationError) Error added in v0.4.2

func (e HooksValidationError) Error() string

Error satisfies the builtin error interface

func (HooksValidationError) ErrorName added in v0.4.2

func (e HooksValidationError) ErrorName() string

ErrorName returns error name.

func (HooksValidationError) Field added in v0.4.2

func (e HooksValidationError) Field() string

Field function returns field value.

func (HooksValidationError) Key added in v0.4.2

func (e HooksValidationError) Key() bool

Key function returns key value.

func (HooksValidationError) Reason added in v0.4.2

func (e HooksValidationError) 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

Error satisfies the builtin error interface

func (ListsReplyValidationError) ErrorName

func (e ListsReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ListsReplyValidationError) Field

Field function returns field value.

func (ListsReplyValidationError) Key

Key function returns key value.

func (ListsReplyValidationError) Reason

func (e ListsReplyValidationError) Reason() string

Reason function returns reason value.

type ListsRequest

type ListsRequest struct {

	// To list the product name of the repository.
	ProductName string `protobuf:"bytes,1,opt,name=product_name,proto3" json:"product_name,omitempty"`
	// Filter the list by field.
	// eg: field_selector=project=project1,pipeline_source=pipeline_repository,destination=env1
	// Field Support:
	// project: fuzzy match
	// pipeline_source: fuzzy match
	// destination: fuzzy match
	FieldSelector string `protobuf:"bytes,2,opt,name=field_selector,proto3" json:"field_selector,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) GetFieldSelector

func (x *ListsRequest) GetFieldSelector() string

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

Cause function returns cause value.

func (ListsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListsRequestValidationError) ErrorName

func (e ListsRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListsRequestValidationError) Field

Field function returns field value.

func (ListsRequestValidationError) Key

Key function returns key value.

func (ListsRequestValidationError) Reason

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"`
	// Default is 'default'.
	Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	// Pipeline manifest path, wildcard support.
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

Defines a pipeline and its associated event sources.

func (*Pipeline) Descriptor deprecated

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

Deprecated: Use Pipeline.ProtoReflect.Descriptor instead.

func (*Pipeline) GetLabel

func (x *Pipeline) GetLabel() string

func (*Pipeline) GetName

func (x *Pipeline) GetName() string

func (*Pipeline) GetPath

func (x *Pipeline) GetPath() string

func (*Pipeline) ProtoMessage

func (*Pipeline) ProtoMessage()

func (*Pipeline) ProtoReflect

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

func (*Pipeline) Reset

func (x *Pipeline) Reset()

func (*Pipeline) String

func (x *Pipeline) String() string

func (*Pipeline) Validate

func (m *Pipeline) Validate() error

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

func (m *Pipeline) ValidateAll() error

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 PipelineTriggers

type PipelineTriggers struct {

	// Key of the event source.
	EventSource string `protobuf:"bytes,1,opt,name=event_source,proto3" json:"event_source,omitempty"`
	// Key of the pipeline.
	Pipeline string `protobuf:"bytes,2,opt,name=pipeline,proto3" json:"pipeline,omitempty"`
	// Regular expressions are not supported, If it is empty, the trigger will determine the revision of the pipeline based on the revision of the event source
	Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
	// Inputs is a list of parameters that need to be passed to the user pipeline.
	Inputs []*UserPipelineInput `protobuf:"bytes,4,rep,name=inputs,proto3" json:"inputs,omitempty"`
	// contains filtered or unexported fields
}

func (*PipelineTriggers) Descriptor deprecated

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

Deprecated: Use PipelineTriggers.ProtoReflect.Descriptor instead.

func (*PipelineTriggers) GetEventSource

func (x *PipelineTriggers) GetEventSource() string

func (*PipelineTriggers) GetInputs added in v0.4.2

func (x *PipelineTriggers) GetInputs() []*UserPipelineInput

func (*PipelineTriggers) GetPipeline

func (x *PipelineTriggers) GetPipeline() string

func (*PipelineTriggers) GetRevision

func (x *PipelineTriggers) GetRevision() string

func (*PipelineTriggers) ProtoMessage

func (*PipelineTriggers) ProtoMessage()

func (*PipelineTriggers) ProtoReflect

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

func (*PipelineTriggers) Reset

func (x *PipelineTriggers) Reset()

func (*PipelineTriggers) String

func (x *PipelineTriggers) String() string

func (*PipelineTriggers) Validate

func (m *PipelineTriggers) Validate() error

Validate checks the field values on PipelineTriggers 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 (*PipelineTriggers) ValidateAll

func (m *PipelineTriggers) ValidateAll() error

ValidateAll checks the field values on PipelineTriggers 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 PipelineTriggersMultiError, or nil if none found.

type PipelineTriggersMultiError

type PipelineTriggersMultiError []error

PipelineTriggersMultiError is an error wrapping multiple validation errors returned by PipelineTriggers.ValidateAll() if the designated constraints aren't met.

func (PipelineTriggersMultiError) AllErrors

func (m PipelineTriggersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PipelineTriggersMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PipelineTriggersValidationError

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

PipelineTriggersValidationError is the validation error returned by PipelineTriggers.Validate if the designated constraints aren't met.

func (PipelineTriggersValidationError) Cause

Cause function returns cause value.

func (PipelineTriggersValidationError) Error

Error satisfies the builtin error interface

func (PipelineTriggersValidationError) ErrorName

ErrorName returns error name.

func (PipelineTriggersValidationError) Field

Field function returns field value.

func (PipelineTriggersValidationError) Key

Key function returns key value.

func (PipelineTriggersValidationError) Reason

Reason function returns reason value.

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 ProjectPipelineDestination added in v0.3.9

type ProjectPipelineDestination struct {

	// Environment for pipeline deployment.
	Environment string `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"`
	// Set the namespace for the pipeline.
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectPipelineDestination) Descriptor deprecated added in v0.3.9

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

Deprecated: Use ProjectPipelineDestination.ProtoReflect.Descriptor instead.

func (*ProjectPipelineDestination) GetEnvironment added in v0.3.9

func (x *ProjectPipelineDestination) GetEnvironment() string

func (*ProjectPipelineDestination) GetNamespace added in v0.3.9

func (x *ProjectPipelineDestination) GetNamespace() string

func (*ProjectPipelineDestination) ProtoMessage added in v0.3.9

func (*ProjectPipelineDestination) ProtoMessage()

func (*ProjectPipelineDestination) ProtoReflect added in v0.3.9

func (*ProjectPipelineDestination) Reset added in v0.3.9

func (x *ProjectPipelineDestination) Reset()

func (*ProjectPipelineDestination) String added in v0.3.9

func (x *ProjectPipelineDestination) String() string

func (*ProjectPipelineDestination) Validate added in v0.3.9

func (m *ProjectPipelineDestination) Validate() error

Validate checks the field values on ProjectPipelineDestination 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 (*ProjectPipelineDestination) ValidateAll added in v0.3.9

func (m *ProjectPipelineDestination) ValidateAll() error

ValidateAll checks the field values on ProjectPipelineDestination 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 ProjectPipelineDestinationMultiError, or nil if none found.

type ProjectPipelineDestinationMultiError added in v0.3.9

type ProjectPipelineDestinationMultiError []error

ProjectPipelineDestinationMultiError is an error wrapping multiple validation errors returned by ProjectPipelineDestination.ValidateAll() if the designated constraints aren't met.

func (ProjectPipelineDestinationMultiError) AllErrors added in v0.3.9

AllErrors returns a list of validation violation errors.

func (ProjectPipelineDestinationMultiError) Error added in v0.3.9

Error returns a concatenation of all the error messages it wraps.

type ProjectPipelineDestinationValidationError added in v0.3.9

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

ProjectPipelineDestinationValidationError is the validation error returned by ProjectPipelineDestination.Validate if the designated constraints aren't met.

func (ProjectPipelineDestinationValidationError) Cause added in v0.3.9

Cause function returns cause value.

func (ProjectPipelineDestinationValidationError) Error added in v0.3.9

Error satisfies the builtin error interface

func (ProjectPipelineDestinationValidationError) ErrorName added in v0.3.9

ErrorName returns error name.

func (ProjectPipelineDestinationValidationError) Field added in v0.3.9

Field function returns field value.

func (ProjectPipelineDestinationValidationError) Key added in v0.3.9

Key function returns key value.

func (ProjectPipelineDestinationValidationError) Reason added in v0.3.9

Reason function returns reason value.

type ProjectPipelineRuntimeAdditionalResources added in v0.3.9

type ProjectPipelineRuntimeAdditionalResources struct {

	// ProjectPipelineRuntimeAdditionalResourcesGit defines the additional resources if it comes from git
	Git *ProjectPipelineRuntimeAdditionalResourcesGit `protobuf:"bytes,1,opt,name=git,proto3" json:"git,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectPipelineRuntimeAdditionalResources) Descriptor deprecated added in v0.3.9

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

Deprecated: Use ProjectPipelineRuntimeAdditionalResources.ProtoReflect.Descriptor instead.

func (*ProjectPipelineRuntimeAdditionalResources) GetGit added in v0.3.9

func (*ProjectPipelineRuntimeAdditionalResources) ProtoMessage added in v0.3.9

func (*ProjectPipelineRuntimeAdditionalResources) ProtoReflect added in v0.3.9

func (*ProjectPipelineRuntimeAdditionalResources) Reset added in v0.3.9

func (*ProjectPipelineRuntimeAdditionalResources) String added in v0.3.9

func (*ProjectPipelineRuntimeAdditionalResources) Validate added in v0.3.9

Validate checks the field values on ProjectPipelineRuntimeAdditionalResources 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 (*ProjectPipelineRuntimeAdditionalResources) ValidateAll added in v0.3.9

ValidateAll checks the field values on ProjectPipelineRuntimeAdditionalResources 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 ProjectPipelineRuntimeAdditionalResourcesMultiError, or nil if none found.

type ProjectPipelineRuntimeAdditionalResourcesGit added in v0.3.9

type ProjectPipelineRuntimeAdditionalResourcesGit struct {
	Coderepo string `protobuf:"bytes,1,opt,name=coderepo,proto3" json:"coderepo,omitempty"`
	// If git repo is a public repo, use url instead
	Url      string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
	Path     string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectPipelineRuntimeAdditionalResourcesGit) Descriptor deprecated added in v0.3.9

Deprecated: Use ProjectPipelineRuntimeAdditionalResourcesGit.ProtoReflect.Descriptor instead.

func (*ProjectPipelineRuntimeAdditionalResourcesGit) GetCoderepo added in v0.3.9

func (*ProjectPipelineRuntimeAdditionalResourcesGit) GetPath added in v0.3.9

func (*ProjectPipelineRuntimeAdditionalResourcesGit) GetRevision added in v0.3.9

func (*ProjectPipelineRuntimeAdditionalResourcesGit) GetUrl added in v0.3.9

func (*ProjectPipelineRuntimeAdditionalResourcesGit) ProtoMessage added in v0.3.9

func (*ProjectPipelineRuntimeAdditionalResourcesGit) ProtoReflect added in v0.3.9

func (*ProjectPipelineRuntimeAdditionalResourcesGit) Reset added in v0.3.9

func (*ProjectPipelineRuntimeAdditionalResourcesGit) String added in v0.3.9

func (*ProjectPipelineRuntimeAdditionalResourcesGit) Validate added in v0.3.9

Validate checks the field values on ProjectPipelineRuntimeAdditionalResourcesGit 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 (*ProjectPipelineRuntimeAdditionalResourcesGit) ValidateAll added in v0.3.9

ValidateAll checks the field values on ProjectPipelineRuntimeAdditionalResourcesGit 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 ProjectPipelineRuntimeAdditionalResourcesGitMultiError, or nil if none found.

type ProjectPipelineRuntimeAdditionalResourcesGitMultiError added in v0.3.9

type ProjectPipelineRuntimeAdditionalResourcesGitMultiError []error

ProjectPipelineRuntimeAdditionalResourcesGitMultiError is an error wrapping multiple validation errors returned by ProjectPipelineRuntimeAdditionalResourcesGit.ValidateAll() if the designated constraints aren't met.

func (ProjectPipelineRuntimeAdditionalResourcesGitMultiError) AllErrors added in v0.3.9

AllErrors returns a list of validation violation errors.

func (ProjectPipelineRuntimeAdditionalResourcesGitMultiError) Error added in v0.3.9

Error returns a concatenation of all the error messages it wraps.

type ProjectPipelineRuntimeAdditionalResourcesGitValidationError added in v0.3.9

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

ProjectPipelineRuntimeAdditionalResourcesGitValidationError is the validation error returned by ProjectPipelineRuntimeAdditionalResourcesGit.Validate if the designated constraints aren't met.

func (ProjectPipelineRuntimeAdditionalResourcesGitValidationError) Cause added in v0.3.9

Cause function returns cause value.

func (ProjectPipelineRuntimeAdditionalResourcesGitValidationError) Error added in v0.3.9

Error satisfies the builtin error interface

func (ProjectPipelineRuntimeAdditionalResourcesGitValidationError) ErrorName added in v0.3.9

ErrorName returns error name.

func (ProjectPipelineRuntimeAdditionalResourcesGitValidationError) Field added in v0.3.9

Field function returns field value.

func (ProjectPipelineRuntimeAdditionalResourcesGitValidationError) Key added in v0.3.9

Key function returns key value.

func (ProjectPipelineRuntimeAdditionalResourcesGitValidationError) Reason added in v0.3.9

Reason function returns reason value.

type ProjectPipelineRuntimeAdditionalResourcesMultiError added in v0.3.9

type ProjectPipelineRuntimeAdditionalResourcesMultiError []error

ProjectPipelineRuntimeAdditionalResourcesMultiError is an error wrapping multiple validation errors returned by ProjectPipelineRuntimeAdditionalResources.ValidateAll() if the designated constraints aren't met.

func (ProjectPipelineRuntimeAdditionalResourcesMultiError) AllErrors added in v0.3.9

AllErrors returns a list of validation violation errors.

func (ProjectPipelineRuntimeAdditionalResourcesMultiError) Error added in v0.3.9

Error returns a concatenation of all the error messages it wraps.

type ProjectPipelineRuntimeAdditionalResourcesValidationError added in v0.3.9

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

ProjectPipelineRuntimeAdditionalResourcesValidationError is the validation error returned by ProjectPipelineRuntimeAdditionalResources.Validate if the designated constraints aren't met.

func (ProjectPipelineRuntimeAdditionalResourcesValidationError) Cause added in v0.3.9

Cause function returns cause value.

func (ProjectPipelineRuntimeAdditionalResourcesValidationError) Error added in v0.3.9

Error satisfies the builtin error interface

func (ProjectPipelineRuntimeAdditionalResourcesValidationError) ErrorName added in v0.3.9

ErrorName returns error name.

func (ProjectPipelineRuntimeAdditionalResourcesValidationError) Field added in v0.3.9

Field function returns field value.

func (ProjectPipelineRuntimeAdditionalResourcesValidationError) Key added in v0.3.9

Key function returns key value.

func (ProjectPipelineRuntimeAdditionalResourcesValidationError) Reason added in v0.3.9

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use SaveReply.ProtoReflect.Descriptor instead.

func (*SaveReply) GetMsg

func (x *SaveReply) GetMsg() string

func (*SaveReply) ProtoMessage

func (*SaveReply) ProtoMessage()

func (*SaveReply) ProtoReflect

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

func (*SaveReply) Reset

func (x *SaveReply) Reset()

func (*SaveReply) String

func (x *SaveReply) String() string

func (*SaveReply) Validate

func (m *SaveReply) Validate() error

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

func (m *SaveReply) ValidateAll() error

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

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=product_name,proto3" json:"product_name,omitempty"`
	// Name of the pipeline runtime associated with the project.
	ProjectPipelineRuntimeName string `protobuf:"bytes,2,opt,name=project_pipeline_runtime_name,proto3" json:"project_pipeline_runtime_name,omitempty"`
	// Whether to skip checking global resource detection when making requests.
	InsecureSkipCheck bool `protobuf:"varint,3,opt,name=insecure_skip_check,proto3" json:"insecure_skip_check,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

Cause function returns cause value.

func (SaveRequestValidationError) Error

Error satisfies the builtin error interface

func (SaveRequestValidationError) ErrorName

func (e SaveRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SaveRequestValidationError) Field

Field function returns field value.

func (SaveRequestValidationError) Key

Key function returns key value.

func (SaveRequestValidationError) Reason

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"`
	// The code repo for pipeline manifests.
	PipelineSource string `protobuf:"bytes,2,opt,name=pipeline_source,proto3" json:"pipeline_source,omitempty"`
	// The definition of pipeline.
	Pipelines []*Pipeline `protobuf:"bytes,3,rep,name=pipelines,proto3" json:"pipelines,omitempty"`
	// Events source that may trigger the pipeline.
	EventSources []*EventSource `protobuf:"bytes,4,rep,name=event_sources,proto3" json:"event_sources,omitempty"`
	// Pipeline event triggers.
	PipelineTriggers []*PipelineTriggers `protobuf:"bytes,5,rep,name=pipeline_triggers,proto3" json:"pipeline_triggers,omitempty"`
	// The definition of pipeline.
	Destination *ProjectPipelineDestination `protobuf:"bytes,6,opt,name=destination,proto3" json:"destination,omitempty"`
	// Isolation definition of pipeline runtime related resources: shared(default) or exclusive
	Isolation string `protobuf:"bytes,7,opt,name=isolation,proto3" json:"isolation,omitempty"`
	// ProjectPipelineRuntimeAdditionalResources defines the additional resources witch runtime needed
	AdditionalResources *ProjectPipelineRuntimeAdditionalResources `protobuf:"bytes,8,opt,name=additional_resources,proto3" json:"additional_resources,omitempty"`
	// Account specify the runtime account.
	Account string `protobuf:"bytes,9,opt,name=account,proto3" json:"account,omitempty"`
	// Hooks are hooks will to add before or after the user pipeline.
	Hooks *Hooks `protobuf:"bytes,10,opt,name=hooks,proto3" json:"hooks,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) GetAccount added in v0.4.1

func (x *SaveRequest_Body) GetAccount() string

func (*SaveRequest_Body) GetAdditionalResources added in v0.3.9

func (x *SaveRequest_Body) GetAdditionalResources() *ProjectPipelineRuntimeAdditionalResources

func (*SaveRequest_Body) GetDestination

func (x *SaveRequest_Body) GetDestination() *ProjectPipelineDestination

func (*SaveRequest_Body) GetEventSources

func (x *SaveRequest_Body) GetEventSources() []*EventSource

func (*SaveRequest_Body) GetHooks added in v0.4.2

func (x *SaveRequest_Body) GetHooks() *Hooks

func (*SaveRequest_Body) GetIsolation

func (x *SaveRequest_Body) GetIsolation() string

func (*SaveRequest_Body) GetPipelineSource

func (x *SaveRequest_Body) GetPipelineSource() string

func (*SaveRequest_Body) GetPipelineTriggers

func (x *SaveRequest_Body) GetPipelineTriggers() []*PipelineTriggers

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

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

Cause function returns cause value.

func (SaveRequest_BodyValidationError) Error

Error satisfies the builtin error interface

func (SaveRequest_BodyValidationError) ErrorName

ErrorName returns error name.

func (SaveRequest_BodyValidationError) Field

Field function returns field value.

func (SaveRequest_BodyValidationError) Key

Key function returns key value.

func (SaveRequest_BodyValidationError) Reason

Reason function returns reason value.

type TransmissionMethod added in v0.4.2

type TransmissionMethod struct {
	Kustomization *TransmissionMethodKustomization `protobuf:"bytes,1,opt,name=kustomization,proto3" json:"kustomization,omitempty"`
	// contains filtered or unexported fields
}

TransmissionMethod defines the method for transmitting variables to the user pipeline.

func (*TransmissionMethod) Descriptor deprecated added in v0.4.2

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

Deprecated: Use TransmissionMethod.ProtoReflect.Descriptor instead.

func (*TransmissionMethod) GetKustomization added in v0.4.2

func (x *TransmissionMethod) GetKustomization() *TransmissionMethodKustomization

func (*TransmissionMethod) ProtoMessage added in v0.4.2

func (*TransmissionMethod) ProtoMessage()

func (*TransmissionMethod) ProtoReflect added in v0.4.2

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

func (*TransmissionMethod) Reset added in v0.4.2

func (x *TransmissionMethod) Reset()

func (*TransmissionMethod) String added in v0.4.2

func (x *TransmissionMethod) String() string

func (*TransmissionMethod) Validate added in v0.4.2

func (m *TransmissionMethod) Validate() error

Validate checks the field values on TransmissionMethod 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 (*TransmissionMethod) ValidateAll added in v0.4.2

func (m *TransmissionMethod) ValidateAll() error

ValidateAll checks the field values on TransmissionMethod 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 TransmissionMethodMultiError, or nil if none found.

type TransmissionMethodKustomization added in v0.4.2

type TransmissionMethodKustomization struct {

	// Path is the path to be replaced in the pipeline file.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*TransmissionMethodKustomization) Descriptor deprecated added in v0.4.2

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

Deprecated: Use TransmissionMethodKustomization.ProtoReflect.Descriptor instead.

func (*TransmissionMethodKustomization) GetPath added in v0.4.2

func (*TransmissionMethodKustomization) ProtoMessage added in v0.4.2

func (*TransmissionMethodKustomization) ProtoMessage()

func (*TransmissionMethodKustomization) ProtoReflect added in v0.4.2

func (*TransmissionMethodKustomization) Reset added in v0.4.2

func (*TransmissionMethodKustomization) String added in v0.4.2

func (*TransmissionMethodKustomization) Validate added in v0.4.2

func (m *TransmissionMethodKustomization) Validate() error

Validate checks the field values on TransmissionMethodKustomization 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 (*TransmissionMethodKustomization) ValidateAll added in v0.4.2

func (m *TransmissionMethodKustomization) ValidateAll() error

ValidateAll checks the field values on TransmissionMethodKustomization 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 TransmissionMethodKustomizationMultiError, or nil if none found.

type TransmissionMethodKustomizationMultiError added in v0.4.2

type TransmissionMethodKustomizationMultiError []error

TransmissionMethodKustomizationMultiError is an error wrapping multiple validation errors returned by TransmissionMethodKustomization.ValidateAll() if the designated constraints aren't met.

func (TransmissionMethodKustomizationMultiError) AllErrors added in v0.4.2

AllErrors returns a list of validation violation errors.

func (TransmissionMethodKustomizationMultiError) Error added in v0.4.2

Error returns a concatenation of all the error messages it wraps.

type TransmissionMethodKustomizationValidationError added in v0.4.2

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

TransmissionMethodKustomizationValidationError is the validation error returned by TransmissionMethodKustomization.Validate if the designated constraints aren't met.

func (TransmissionMethodKustomizationValidationError) Cause added in v0.4.2

Cause function returns cause value.

func (TransmissionMethodKustomizationValidationError) Error added in v0.4.2

Error satisfies the builtin error interface

func (TransmissionMethodKustomizationValidationError) ErrorName added in v0.4.2

ErrorName returns error name.

func (TransmissionMethodKustomizationValidationError) Field added in v0.4.2

Field function returns field value.

func (TransmissionMethodKustomizationValidationError) Key added in v0.4.2

Key function returns key value.

func (TransmissionMethodKustomizationValidationError) Reason added in v0.4.2

Reason function returns reason value.

type TransmissionMethodMultiError added in v0.4.2

type TransmissionMethodMultiError []error

TransmissionMethodMultiError is an error wrapping multiple validation errors returned by TransmissionMethod.ValidateAll() if the designated constraints aren't met.

func (TransmissionMethodMultiError) AllErrors added in v0.4.2

func (m TransmissionMethodMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TransmissionMethodMultiError) Error added in v0.4.2

Error returns a concatenation of all the error messages it wraps.

type TransmissionMethodValidationError added in v0.4.2

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

TransmissionMethodValidationError is the validation error returned by TransmissionMethod.Validate if the designated constraints aren't met.

func (TransmissionMethodValidationError) Cause added in v0.4.2

Cause function returns cause value.

func (TransmissionMethodValidationError) Error added in v0.4.2

Error satisfies the builtin error interface

func (TransmissionMethodValidationError) ErrorName added in v0.4.2

ErrorName returns error name.

func (TransmissionMethodValidationError) Field added in v0.4.2

Field function returns field value.

func (TransmissionMethodValidationError) Key added in v0.4.2

Key function returns key value.

func (TransmissionMethodValidationError) Reason added in v0.4.2

Reason function returns reason value.

type UnimplementedProjectPipelineRuntimeServer

type UnimplementedProjectPipelineRuntimeServer struct {
}

UnimplementedProjectPipelineRuntimeServer must be embedded to have forward compatible implementations.

func (UnimplementedProjectPipelineRuntimeServer) DeleteProjectPipelineRuntime

func (UnimplementedProjectPipelineRuntimeServer) GetProjectPipelineRuntime

func (UnimplementedProjectPipelineRuntimeServer) ListProjectPipelineRuntimes

func (UnimplementedProjectPipelineRuntimeServer) SaveProjectPipelineRuntime

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.

type UserPipelineInput added in v0.4.2

type UserPipelineInput struct {
	Source             *UserPipelineInputSource `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	TransmissionMethod *TransmissionMethod      `protobuf:"bytes,2,opt,name=transmission_method,proto3" json:"transmission_method,omitempty"`
	// contains filtered or unexported fields
}

UserPipelineInput defines the parameters to be passed to the user pipeline.

func (*UserPipelineInput) Descriptor deprecated added in v0.4.2

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

Deprecated: Use UserPipelineInput.ProtoReflect.Descriptor instead.

func (*UserPipelineInput) GetSource added in v0.4.2

func (*UserPipelineInput) GetTransmissionMethod added in v0.4.2

func (x *UserPipelineInput) GetTransmissionMethod() *TransmissionMethod

func (*UserPipelineInput) ProtoMessage added in v0.4.2

func (*UserPipelineInput) ProtoMessage()

func (*UserPipelineInput) ProtoReflect added in v0.4.2

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

func (*UserPipelineInput) Reset added in v0.4.2

func (x *UserPipelineInput) Reset()

func (*UserPipelineInput) String added in v0.4.2

func (x *UserPipelineInput) String() string

func (*UserPipelineInput) Validate added in v0.4.2

func (m *UserPipelineInput) Validate() error

Validate checks the field values on UserPipelineInput 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 (*UserPipelineInput) ValidateAll added in v0.4.2

func (m *UserPipelineInput) ValidateAll() error

ValidateAll checks the field values on UserPipelineInput 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 UserPipelineInputMultiError, or nil if none found.

type UserPipelineInputMultiError added in v0.4.2

type UserPipelineInputMultiError []error

UserPipelineInputMultiError is an error wrapping multiple validation errors returned by UserPipelineInput.ValidateAll() if the designated constraints aren't met.

func (UserPipelineInputMultiError) AllErrors added in v0.4.2

func (m UserPipelineInputMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserPipelineInputMultiError) Error added in v0.4.2

Error returns a concatenation of all the error messages it wraps.

type UserPipelineInputSource added in v0.4.2

type UserPipelineInputSource struct {

	// BuiltInVar defines how to get the data associated with the pipeline runtime.
	BuiltInVar string `protobuf:"bytes,1,opt,name=built_in_var,proto3" json:"built_in_var,omitempty"`
	// FromEvent defines how to get data from the data source.
	FromEvent string `protobuf:"bytes,2,opt,name=from_event,proto3" json:"from_event,omitempty"`
	// contains filtered or unexported fields
}

UserPipelineInputSource defines the source of the user pipeline input.

func (*UserPipelineInputSource) Descriptor deprecated added in v0.4.2

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

Deprecated: Use UserPipelineInputSource.ProtoReflect.Descriptor instead.

func (*UserPipelineInputSource) GetBuiltInVar added in v0.4.2

func (x *UserPipelineInputSource) GetBuiltInVar() string

func (*UserPipelineInputSource) GetFromEvent added in v0.4.2

func (x *UserPipelineInputSource) GetFromEvent() string

func (*UserPipelineInputSource) ProtoMessage added in v0.4.2

func (*UserPipelineInputSource) ProtoMessage()

func (*UserPipelineInputSource) ProtoReflect added in v0.4.2

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

func (*UserPipelineInputSource) Reset added in v0.4.2

func (x *UserPipelineInputSource) Reset()

func (*UserPipelineInputSource) String added in v0.4.2

func (x *UserPipelineInputSource) String() string

func (*UserPipelineInputSource) Validate added in v0.4.2

func (m *UserPipelineInputSource) Validate() error

Validate checks the field values on UserPipelineInputSource 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 (*UserPipelineInputSource) ValidateAll added in v0.4.2

func (m *UserPipelineInputSource) ValidateAll() error

ValidateAll checks the field values on UserPipelineInputSource 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 UserPipelineInputSourceMultiError, or nil if none found.

type UserPipelineInputSourceMultiError added in v0.4.2

type UserPipelineInputSourceMultiError []error

UserPipelineInputSourceMultiError is an error wrapping multiple validation errors returned by UserPipelineInputSource.ValidateAll() if the designated constraints aren't met.

func (UserPipelineInputSourceMultiError) AllErrors added in v0.4.2

func (m UserPipelineInputSourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserPipelineInputSourceMultiError) Error added in v0.4.2

Error returns a concatenation of all the error messages it wraps.

type UserPipelineInputSourceValidationError added in v0.4.2

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

UserPipelineInputSourceValidationError is the validation error returned by UserPipelineInputSource.Validate if the designated constraints aren't met.

func (UserPipelineInputSourceValidationError) Cause added in v0.4.2

Cause function returns cause value.

func (UserPipelineInputSourceValidationError) Error added in v0.4.2

Error satisfies the builtin error interface

func (UserPipelineInputSourceValidationError) ErrorName added in v0.4.2

ErrorName returns error name.

func (UserPipelineInputSourceValidationError) Field added in v0.4.2

Field function returns field value.

func (UserPipelineInputSourceValidationError) Key added in v0.4.2

Key function returns key value.

func (UserPipelineInputSourceValidationError) Reason added in v0.4.2

Reason function returns reason value.

type UserPipelineInputValidationError added in v0.4.2

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

UserPipelineInputValidationError is the validation error returned by UserPipelineInput.Validate if the designated constraints aren't met.

func (UserPipelineInputValidationError) Cause added in v0.4.2

Cause function returns cause value.

func (UserPipelineInputValidationError) Error added in v0.4.2

Error satisfies the builtin error interface

func (UserPipelineInputValidationError) ErrorName added in v0.4.2

ErrorName returns error name.

func (UserPipelineInputValidationError) Field added in v0.4.2

Field function returns field value.

func (UserPipelineInputValidationError) Key added in v0.4.2

Key function returns key value.

func (UserPipelineInputValidationError) Reason added in v0.4.2

Reason function returns reason value.

Jump to

Keyboard shortcuts

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