Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterTriggerServiceServer(s grpc.ServiceRegistrar, srv TriggerServiceServer)
- type DeleteTriggersRequest
- func (*DeleteTriggersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTriggersRequest) GetNames() []*common.TriggerName
- func (*DeleteTriggersRequest) ProtoMessage()
- func (x *DeleteTriggersRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTriggersRequest) Reset()
- func (x *DeleteTriggersRequest) String() string
- func (m *DeleteTriggersRequest) Validate() error
- func (m *DeleteTriggersRequest) ValidateAll() error
- type DeleteTriggersRequestMultiError
- type DeleteTriggersRequestValidationError
- func (e DeleteTriggersRequestValidationError) Cause() error
- func (e DeleteTriggersRequestValidationError) Error() string
- func (e DeleteTriggersRequestValidationError) ErrorName() string
- func (e DeleteTriggersRequestValidationError) Field() string
- func (e DeleteTriggersRequestValidationError) Key() bool
- func (e DeleteTriggersRequestValidationError) Reason() string
- type DeleteTriggersResponse
- func (*DeleteTriggersResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteTriggersResponse) ProtoMessage()
- func (x *DeleteTriggersResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteTriggersResponse) Reset()
- func (x *DeleteTriggersResponse) String() string
- func (m *DeleteTriggersResponse) Validate() error
- func (m *DeleteTriggersResponse) ValidateAll() error
- type DeleteTriggersResponseMultiError
- type DeleteTriggersResponseValidationError
- func (e DeleteTriggersResponseValidationError) Cause() error
- func (e DeleteTriggersResponseValidationError) Error() string
- func (e DeleteTriggersResponseValidationError) ErrorName() string
- func (e DeleteTriggersResponseValidationError) Field() string
- func (e DeleteTriggersResponseValidationError) Key() bool
- func (e DeleteTriggersResponseValidationError) Reason() string
- type DeployTriggerRequest
- func (*DeployTriggerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeployTriggerRequest) GetAutomationSpec() *task.TriggerAutomationSpec
- func (x *DeployTriggerRequest) GetName() *common.TriggerName
- func (x *DeployTriggerRequest) GetRevision() uint64
- func (x *DeployTriggerRequest) GetSpec() *TriggerSpec
- func (*DeployTriggerRequest) ProtoMessage()
- func (x *DeployTriggerRequest) ProtoReflect() protoreflect.Message
- func (x *DeployTriggerRequest) Reset()
- func (x *DeployTriggerRequest) String() string
- func (m *DeployTriggerRequest) Validate() error
- func (m *DeployTriggerRequest) ValidateAll() error
- type DeployTriggerRequestMultiError
- type DeployTriggerRequestValidationError
- func (e DeployTriggerRequestValidationError) Cause() error
- func (e DeployTriggerRequestValidationError) Error() string
- func (e DeployTriggerRequestValidationError) ErrorName() string
- func (e DeployTriggerRequestValidationError) Field() string
- func (e DeployTriggerRequestValidationError) Key() bool
- func (e DeployTriggerRequestValidationError) Reason() string
- type DeployTriggerResponse
- func (*DeployTriggerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeployTriggerResponse) GetTrigger() *TriggerDetails
- func (*DeployTriggerResponse) ProtoMessage()
- func (x *DeployTriggerResponse) ProtoReflect() protoreflect.Message
- func (x *DeployTriggerResponse) Reset()
- func (x *DeployTriggerResponse) String() string
- func (m *DeployTriggerResponse) Validate() error
- func (m *DeployTriggerResponse) ValidateAll() error
- type DeployTriggerResponseMultiError
- type DeployTriggerResponseValidationError
- func (e DeployTriggerResponseValidationError) Cause() error
- func (e DeployTriggerResponseValidationError) Error() string
- func (e DeployTriggerResponseValidationError) ErrorName() string
- func (e DeployTriggerResponseValidationError) Field() string
- func (e DeployTriggerResponseValidationError) Key() bool
- func (e DeployTriggerResponseValidationError) Reason() string
- type GetTriggerDetailsRequest
- func (*GetTriggerDetailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTriggerDetailsRequest) GetName() *common.TriggerName
- func (*GetTriggerDetailsRequest) ProtoMessage()
- func (x *GetTriggerDetailsRequest) ProtoReflect() protoreflect.Message
- func (x *GetTriggerDetailsRequest) Reset()
- func (x *GetTriggerDetailsRequest) String() string
- func (m *GetTriggerDetailsRequest) Validate() error
- func (m *GetTriggerDetailsRequest) ValidateAll() error
- type GetTriggerDetailsRequestMultiError
- type GetTriggerDetailsRequestValidationError
- func (e GetTriggerDetailsRequestValidationError) Cause() error
- func (e GetTriggerDetailsRequestValidationError) Error() string
- func (e GetTriggerDetailsRequestValidationError) ErrorName() string
- func (e GetTriggerDetailsRequestValidationError) Field() string
- func (e GetTriggerDetailsRequestValidationError) Key() bool
- func (e GetTriggerDetailsRequestValidationError) Reason() string
- type GetTriggerDetailsResponse
- func (*GetTriggerDetailsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTriggerDetailsResponse) GetTrigger() *TriggerDetails
- func (*GetTriggerDetailsResponse) ProtoMessage()
- func (x *GetTriggerDetailsResponse) ProtoReflect() protoreflect.Message
- func (x *GetTriggerDetailsResponse) Reset()
- func (x *GetTriggerDetailsResponse) String() string
- func (m *GetTriggerDetailsResponse) Validate() error
- func (m *GetTriggerDetailsResponse) ValidateAll() error
- type GetTriggerDetailsResponseMultiError
- type GetTriggerDetailsResponseValidationError
- func (e GetTriggerDetailsResponseValidationError) Cause() error
- func (e GetTriggerDetailsResponseValidationError) Error() string
- func (e GetTriggerDetailsResponseValidationError) ErrorName() string
- func (e GetTriggerDetailsResponseValidationError) Field() string
- func (e GetTriggerDetailsResponseValidationError) Key() bool
- func (e GetTriggerDetailsResponseValidationError) Reason() string
- type GetTriggerRevisionDetailsRequest
- func (*GetTriggerRevisionDetailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTriggerRevisionDetailsRequest) GetId() *common.TriggerIdentifier
- func (*GetTriggerRevisionDetailsRequest) ProtoMessage()
- func (x *GetTriggerRevisionDetailsRequest) ProtoReflect() protoreflect.Message
- func (x *GetTriggerRevisionDetailsRequest) Reset()
- func (x *GetTriggerRevisionDetailsRequest) String() string
- func (m *GetTriggerRevisionDetailsRequest) Validate() error
- func (m *GetTriggerRevisionDetailsRequest) ValidateAll() error
- type GetTriggerRevisionDetailsRequestMultiError
- type GetTriggerRevisionDetailsRequestValidationError
- func (e GetTriggerRevisionDetailsRequestValidationError) Cause() error
- func (e GetTriggerRevisionDetailsRequestValidationError) Error() string
- func (e GetTriggerRevisionDetailsRequestValidationError) ErrorName() string
- func (e GetTriggerRevisionDetailsRequestValidationError) Field() string
- func (e GetTriggerRevisionDetailsRequestValidationError) Key() bool
- func (e GetTriggerRevisionDetailsRequestValidationError) Reason() string
- type GetTriggerRevisionDetailsResponse
- func (*GetTriggerRevisionDetailsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTriggerRevisionDetailsResponse) GetTrigger() *TriggerDetails
- func (*GetTriggerRevisionDetailsResponse) ProtoMessage()
- func (x *GetTriggerRevisionDetailsResponse) ProtoReflect() protoreflect.Message
- func (x *GetTriggerRevisionDetailsResponse) Reset()
- func (x *GetTriggerRevisionDetailsResponse) String() string
- func (m *GetTriggerRevisionDetailsResponse) Validate() error
- func (m *GetTriggerRevisionDetailsResponse) ValidateAll() error
- type GetTriggerRevisionDetailsResponseMultiError
- type GetTriggerRevisionDetailsResponseValidationError
- func (e GetTriggerRevisionDetailsResponseValidationError) Cause() error
- func (e GetTriggerRevisionDetailsResponseValidationError) Error() string
- func (e GetTriggerRevisionDetailsResponseValidationError) ErrorName() string
- func (e GetTriggerRevisionDetailsResponseValidationError) Field() string
- func (e GetTriggerRevisionDetailsResponseValidationError) Key() bool
- func (e GetTriggerRevisionDetailsResponseValidationError) Reason() string
- type GetTriggerRevisionHistoryRequest
- func (*GetTriggerRevisionHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTriggerRevisionHistoryRequest) GetName() *common.TriggerName
- func (x *GetTriggerRevisionHistoryRequest) GetRequest() *common.ListRequest
- func (*GetTriggerRevisionHistoryRequest) ProtoMessage()
- func (x *GetTriggerRevisionHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *GetTriggerRevisionHistoryRequest) Reset()
- func (x *GetTriggerRevisionHistoryRequest) String() string
- func (m *GetTriggerRevisionHistoryRequest) Validate() error
- func (m *GetTriggerRevisionHistoryRequest) ValidateAll() error
- type GetTriggerRevisionHistoryRequestMultiError
- type GetTriggerRevisionHistoryRequestValidationError
- func (e GetTriggerRevisionHistoryRequestValidationError) Cause() error
- func (e GetTriggerRevisionHistoryRequestValidationError) Error() string
- func (e GetTriggerRevisionHistoryRequestValidationError) ErrorName() string
- func (e GetTriggerRevisionHistoryRequestValidationError) Field() string
- func (e GetTriggerRevisionHistoryRequestValidationError) Key() bool
- func (e GetTriggerRevisionHistoryRequestValidationError) Reason() string
- type GetTriggerRevisionHistoryResponse
- func (*GetTriggerRevisionHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTriggerRevisionHistoryResponse) GetToken() string
- func (x *GetTriggerRevisionHistoryResponse) GetTriggers() []*TriggerRevision
- func (*GetTriggerRevisionHistoryResponse) ProtoMessage()
- func (x *GetTriggerRevisionHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *GetTriggerRevisionHistoryResponse) Reset()
- func (x *GetTriggerRevisionHistoryResponse) String() string
- func (m *GetTriggerRevisionHistoryResponse) Validate() error
- func (m *GetTriggerRevisionHistoryResponse) ValidateAll() error
- type GetTriggerRevisionHistoryResponseMultiError
- type GetTriggerRevisionHistoryResponseValidationError
- func (e GetTriggerRevisionHistoryResponseValidationError) Cause() error
- func (e GetTriggerRevisionHistoryResponseValidationError) Error() string
- func (e GetTriggerRevisionHistoryResponseValidationError) ErrorName() string
- func (e GetTriggerRevisionHistoryResponseValidationError) Field() string
- func (e GetTriggerRevisionHistoryResponseValidationError) Key() bool
- func (e GetTriggerRevisionHistoryResponseValidationError) Reason() string
- type ListTriggersRequest
- func (*ListTriggersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTriggersRequest) GetOrg() string
- func (x *ListTriggersRequest) GetProjectId() *common.ProjectIdentifier
- func (x *ListTriggersRequest) GetRequest() *common.ListRequest
- func (m *ListTriggersRequest) GetScopeBy() isListTriggersRequest_ScopeBy
- func (x *ListTriggersRequest) GetTaskId() *task.TaskIdentifier
- func (x *ListTriggersRequest) GetTaskName() *task.TaskName
- func (*ListTriggersRequest) ProtoMessage()
- func (x *ListTriggersRequest) ProtoReflect() protoreflect.Message
- func (x *ListTriggersRequest) Reset()
- func (x *ListTriggersRequest) String() string
- func (m *ListTriggersRequest) Validate() error
- func (m *ListTriggersRequest) ValidateAll() error
- type ListTriggersRequestMultiError
- type ListTriggersRequestValidationError
- func (e ListTriggersRequestValidationError) Cause() error
- func (e ListTriggersRequestValidationError) Error() string
- func (e ListTriggersRequestValidationError) ErrorName() string
- func (e ListTriggersRequestValidationError) Field() string
- func (e ListTriggersRequestValidationError) Key() bool
- func (e ListTriggersRequestValidationError) Reason() string
- type ListTriggersRequest_Org
- type ListTriggersRequest_ProjectId
- type ListTriggersRequest_TaskId
- type ListTriggersRequest_TaskName
- type ListTriggersResponse
- func (*ListTriggersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTriggersResponse) GetToken() string
- func (x *ListTriggersResponse) GetTriggers() []*Trigger
- func (*ListTriggersResponse) ProtoMessage()
- func (x *ListTriggersResponse) ProtoReflect() protoreflect.Message
- func (x *ListTriggersResponse) Reset()
- func (x *ListTriggersResponse) String() string
- func (m *ListTriggersResponse) Validate() error
- func (m *ListTriggersResponse) ValidateAll() error
- type ListTriggersResponseMultiError
- type ListTriggersResponseValidationError
- func (e ListTriggersResponseValidationError) Cause() error
- func (e ListTriggersResponseValidationError) Error() string
- func (e ListTriggersResponseValidationError) ErrorName() string
- func (e ListTriggersResponseValidationError) Field() string
- func (e ListTriggersResponseValidationError) Key() bool
- func (e ListTriggersResponseValidationError) Reason() string
- type Trigger
- func (*Trigger) Descriptor() ([]byte, []int)deprecated
- func (x *Trigger) GetActive() bool
- func (x *Trigger) GetAutomationSpec() *task.TriggerAutomationSpec
- func (x *Trigger) GetId() *common.TriggerIdentifier
- func (x *Trigger) GetMetadata() *TriggerMetadata
- func (x *Trigger) GetStatus() *TriggerStatus
- func (*Trigger) ProtoMessage()
- func (x *Trigger) ProtoReflect() protoreflect.Message
- func (x *Trigger) Reset()
- func (x *Trigger) String() string
- func (m *Trigger) Validate() error
- func (m *Trigger) ValidateAll() error
- type TriggerDetails
- func (*TriggerDetails) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerDetails) GetAutomationSpec() *task.TriggerAutomationSpec
- func (x *TriggerDetails) GetDescription() string
- func (x *TriggerDetails) GetId() *common.TriggerIdentifier
- func (x *TriggerDetails) GetMetadata() *TriggerMetadata
- func (x *TriggerDetails) GetSpec() *TriggerSpec
- func (x *TriggerDetails) GetStatus() *TriggerStatus
- func (*TriggerDetails) ProtoMessage()
- func (x *TriggerDetails) ProtoReflect() protoreflect.Message
- func (x *TriggerDetails) Reset()
- func (x *TriggerDetails) String() string
- func (m *TriggerDetails) Validate() error
- func (m *TriggerDetails) ValidateAll() error
- type TriggerDetailsMultiError
- type TriggerDetailsValidationError
- func (e TriggerDetailsValidationError) Cause() error
- func (e TriggerDetailsValidationError) Error() string
- func (e TriggerDetailsValidationError) ErrorName() string
- func (e TriggerDetailsValidationError) Field() string
- func (e TriggerDetailsValidationError) Key() bool
- func (e TriggerDetailsValidationError) Reason() string
- type TriggerMetadata
- func (*TriggerMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerMetadata) GetDeployedBy() *common.EnrichedIdentity
- func (x *TriggerMetadata) GetUpdatedBy() *common.EnrichedIdentity
- func (*TriggerMetadata) ProtoMessage()
- func (x *TriggerMetadata) ProtoReflect() protoreflect.Message
- func (x *TriggerMetadata) Reset()
- func (x *TriggerMetadata) String() string
- func (m *TriggerMetadata) Validate() error
- func (m *TriggerMetadata) ValidateAll() error
- type TriggerMetadataMultiError
- type TriggerMetadataValidationError
- func (e TriggerMetadataValidationError) Cause() error
- func (e TriggerMetadataValidationError) Error() string
- func (e TriggerMetadataValidationError) ErrorName() string
- func (e TriggerMetadataValidationError) Field() string
- func (e TriggerMetadataValidationError) Key() bool
- func (e TriggerMetadataValidationError) Reason() string
- type TriggerMultiError
- type TriggerRevision
- func (*TriggerRevision) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerRevision) GetAction() TriggerRevisionAction
- func (x *TriggerRevision) GetCreatedAt() *timestamppb.Timestamp
- func (x *TriggerRevision) GetId() *common.TriggerIdentifier
- func (x *TriggerRevision) GetMetadata() *TriggerMetadata
- func (x *TriggerRevision) GetStatus() *TriggerStatus
- func (*TriggerRevision) ProtoMessage()
- func (x *TriggerRevision) ProtoReflect() protoreflect.Message
- func (x *TriggerRevision) Reset()
- func (x *TriggerRevision) String() string
- func (m *TriggerRevision) Validate() error
- func (m *TriggerRevision) ValidateAll() error
- type TriggerRevisionAction
- func (TriggerRevisionAction) Descriptor() protoreflect.EnumDescriptor
- func (x TriggerRevisionAction) Enum() *TriggerRevisionAction
- func (TriggerRevisionAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x TriggerRevisionAction) Number() protoreflect.EnumNumber
- func (x TriggerRevisionAction) String() string
- func (TriggerRevisionAction) Type() protoreflect.EnumType
- type TriggerRevisionMultiError
- type TriggerRevisionValidationError
- func (e TriggerRevisionValidationError) Cause() error
- func (e TriggerRevisionValidationError) Error() string
- func (e TriggerRevisionValidationError) ErrorName() string
- func (e TriggerRevisionValidationError) Field() string
- func (e TriggerRevisionValidationError) Key() bool
- func (e TriggerRevisionValidationError) Reason() string
- type TriggerServiceClient
- type TriggerServiceServer
- type TriggerSpec
- func (*TriggerSpec) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerSpec) GetActive() bool
- func (x *TriggerSpec) GetDescription() string
- func (m *TriggerSpec) GetInputWrapper() isTriggerSpec_InputWrapper
- func (x *TriggerSpec) GetInputs() *task.Inputs
- func (x *TriggerSpec) GetOffloadedInputData() *common.OffloadedInputData
- func (x *TriggerSpec) GetRunSpec() *task.RunSpec
- func (x *TriggerSpec) GetTaskVersion() string
- func (*TriggerSpec) ProtoMessage()
- func (x *TriggerSpec) ProtoReflect() protoreflect.Message
- func (x *TriggerSpec) Reset()
- func (x *TriggerSpec) String() string
- func (m *TriggerSpec) Validate() error
- func (m *TriggerSpec) ValidateAll() error
- type TriggerSpecMultiError
- type TriggerSpecValidationError
- func (e TriggerSpecValidationError) Cause() error
- func (e TriggerSpecValidationError) Error() string
- func (e TriggerSpecValidationError) ErrorName() string
- func (e TriggerSpecValidationError) Field() string
- func (e TriggerSpecValidationError) Key() bool
- func (e TriggerSpecValidationError) Reason() string
- type TriggerSpec_Inputs
- type TriggerSpec_OffloadedInputData
- type TriggerStatus
- func (*TriggerStatus) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerStatus) GetDeletedAt() *timestamppb.Timestamp
- func (x *TriggerStatus) GetDeployedAt() *timestamppb.Timestamp
- func (x *TriggerStatus) GetTriggeredAt() *timestamppb.Timestamp
- func (x *TriggerStatus) GetUpdatedAt() *timestamppb.Timestamp
- func (*TriggerStatus) ProtoMessage()
- func (x *TriggerStatus) ProtoReflect() protoreflect.Message
- func (x *TriggerStatus) Reset()
- func (x *TriggerStatus) String() string
- func (m *TriggerStatus) Validate() error
- func (m *TriggerStatus) ValidateAll() error
- type TriggerStatusMultiError
- type TriggerStatusValidationError
- func (e TriggerStatusValidationError) Cause() error
- func (e TriggerStatusValidationError) Error() string
- func (e TriggerStatusValidationError) ErrorName() string
- func (e TriggerStatusValidationError) Field() string
- func (e TriggerStatusValidationError) Key() bool
- func (e TriggerStatusValidationError) Reason() string
- type TriggerValidationError
- type UnimplementedTriggerServiceServer
- func (UnimplementedTriggerServiceServer) DeleteTriggers(context.Context, *DeleteTriggersRequest) (*DeleteTriggersResponse, error)
- func (UnimplementedTriggerServiceServer) DeployTrigger(context.Context, *DeployTriggerRequest) (*DeployTriggerResponse, error)
- func (UnimplementedTriggerServiceServer) GetTriggerDetails(context.Context, *GetTriggerDetailsRequest) (*GetTriggerDetailsResponse, error)
- func (UnimplementedTriggerServiceServer) GetTriggerRevisionDetails(context.Context, *GetTriggerRevisionDetailsRequest) (*GetTriggerRevisionDetailsResponse, error)
- func (UnimplementedTriggerServiceServer) GetTriggerRevisionHistory(context.Context, *GetTriggerRevisionHistoryRequest) (*GetTriggerRevisionHistoryResponse, error)
- func (UnimplementedTriggerServiceServer) ListTriggers(context.Context, *ListTriggersRequest) (*ListTriggersResponse, error)
- func (UnimplementedTriggerServiceServer) UpdateTriggers(context.Context, *UpdateTriggersRequest) (*UpdateTriggersResponse, error)
- type UnsafeTriggerServiceServer
- type UpdateTriggersRequest
- func (*UpdateTriggersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTriggersRequest) GetActive() bool
- func (x *UpdateTriggersRequest) GetNames() []*common.TriggerName
- func (*UpdateTriggersRequest) ProtoMessage()
- func (x *UpdateTriggersRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTriggersRequest) Reset()
- func (x *UpdateTriggersRequest) String() string
- func (m *UpdateTriggersRequest) Validate() error
- func (m *UpdateTriggersRequest) ValidateAll() error
- type UpdateTriggersRequestMultiError
- type UpdateTriggersRequestValidationError
- func (e UpdateTriggersRequestValidationError) Cause() error
- func (e UpdateTriggersRequestValidationError) Error() string
- func (e UpdateTriggersRequestValidationError) ErrorName() string
- func (e UpdateTriggersRequestValidationError) Field() string
- func (e UpdateTriggersRequestValidationError) Key() bool
- func (e UpdateTriggersRequestValidationError) Reason() string
- type UpdateTriggersResponse
- func (*UpdateTriggersResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateTriggersResponse) ProtoMessage()
- func (x *UpdateTriggersResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateTriggersResponse) Reset()
- func (x *UpdateTriggersResponse) String() string
- func (m *UpdateTriggersResponse) Validate() error
- func (m *UpdateTriggersResponse) ValidateAll() error
- type UpdateTriggersResponseMultiError
- type UpdateTriggersResponseValidationError
- func (e UpdateTriggersResponseValidationError) Cause() error
- func (e UpdateTriggersResponseValidationError) Error() string
- func (e UpdateTriggersResponseValidationError) ErrorName() string
- func (e UpdateTriggersResponseValidationError) Field() string
- func (e UpdateTriggersResponseValidationError) Key() bool
- func (e UpdateTriggersResponseValidationError) Reason() string
Constants ¶
const ( TriggerService_DeployTrigger_FullMethodName = "/flyteidl2.trigger.TriggerService/DeployTrigger" TriggerService_GetTriggerDetails_FullMethodName = "/flyteidl2.trigger.TriggerService/GetTriggerDetails" TriggerService_GetTriggerRevisionDetails_FullMethodName = "/flyteidl2.trigger.TriggerService/GetTriggerRevisionDetails" TriggerService_ListTriggers_FullMethodName = "/flyteidl2.trigger.TriggerService/ListTriggers" TriggerService_GetTriggerRevisionHistory_FullMethodName = "/flyteidl2.trigger.TriggerService/GetTriggerRevisionHistory" TriggerService_UpdateTriggers_FullMethodName = "/flyteidl2.trigger.TriggerService/UpdateTriggers" TriggerService_DeleteTriggers_FullMethodName = "/flyteidl2.trigger.TriggerService/DeleteTriggers" )
Variables ¶
var ( TriggerRevisionAction_name = map[int32]string{ 0: "TRIGGER_REVISION_ACTION_UNSPECIFIED", 1: "TRIGGER_REVISION_ACTION_DEPLOY", 2: "TRIGGER_REVISION_ACTION_ACTIVATE", 3: "TRIGGER_REVISION_ACTION_DEACTIVATE", 4: "TRIGGER_REVISION_ACTION_DELETE", } TriggerRevisionAction_value = map[string]int32{ "TRIGGER_REVISION_ACTION_UNSPECIFIED": 0, "TRIGGER_REVISION_ACTION_DEPLOY": 1, "TRIGGER_REVISION_ACTION_ACTIVATE": 2, "TRIGGER_REVISION_ACTION_DEACTIVATE": 3, "TRIGGER_REVISION_ACTION_DELETE": 4, } )
Enum value maps for TriggerRevisionAction.
var File_flyteidl2_trigger_trigger_definition_proto protoreflect.FileDescriptor
var File_flyteidl2_trigger_trigger_service_proto protoreflect.FileDescriptor
var TriggerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "flyteidl2.trigger.TriggerService", HandlerType: (*TriggerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DeployTrigger", Handler: _TriggerService_DeployTrigger_Handler, }, { MethodName: "GetTriggerDetails", Handler: _TriggerService_GetTriggerDetails_Handler, }, { MethodName: "GetTriggerRevisionDetails", Handler: _TriggerService_GetTriggerRevisionDetails_Handler, }, { MethodName: "ListTriggers", Handler: _TriggerService_ListTriggers_Handler, }, { MethodName: "GetTriggerRevisionHistory", Handler: _TriggerService_GetTriggerRevisionHistory_Handler, }, { MethodName: "UpdateTriggers", Handler: _TriggerService_UpdateTriggers_Handler, }, { MethodName: "DeleteTriggers", Handler: _TriggerService_DeleteTriggers_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "flyteidl2/trigger/trigger_service.proto", }
TriggerService_ServiceDesc is the grpc.ServiceDesc for TriggerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTriggerServiceServer ¶
func RegisterTriggerServiceServer(s grpc.ServiceRegistrar, srv TriggerServiceServer)
Types ¶
type DeleteTriggersRequest ¶
type DeleteTriggersRequest struct {
Names []*common.TriggerName `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
// contains filtered or unexported fields
}
Request message for activating or deactivating multiple triggers
func (*DeleteTriggersRequest) Descriptor
deprecated
func (*DeleteTriggersRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTriggersRequest.ProtoReflect.Descriptor instead.
func (*DeleteTriggersRequest) GetNames ¶
func (x *DeleteTriggersRequest) GetNames() []*common.TriggerName
func (*DeleteTriggersRequest) ProtoMessage ¶
func (*DeleteTriggersRequest) ProtoMessage()
func (*DeleteTriggersRequest) ProtoReflect ¶
func (x *DeleteTriggersRequest) ProtoReflect() protoreflect.Message
func (*DeleteTriggersRequest) Reset ¶
func (x *DeleteTriggersRequest) Reset()
func (*DeleteTriggersRequest) String ¶
func (x *DeleteTriggersRequest) String() string
func (*DeleteTriggersRequest) Validate ¶
func (m *DeleteTriggersRequest) Validate() error
Validate checks the field values on DeleteTriggersRequest 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 (*DeleteTriggersRequest) ValidateAll ¶
func (m *DeleteTriggersRequest) ValidateAll() error
ValidateAll checks the field values on DeleteTriggersRequest 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 DeleteTriggersRequestMultiError, or nil if none found.
type DeleteTriggersRequestMultiError ¶
type DeleteTriggersRequestMultiError []error
DeleteTriggersRequestMultiError is an error wrapping multiple validation errors returned by DeleteTriggersRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteTriggersRequestMultiError) AllErrors ¶
func (m DeleteTriggersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTriggersRequestMultiError) Error ¶
func (m DeleteTriggersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTriggersRequestValidationError ¶
type DeleteTriggersRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteTriggersRequestValidationError is the validation error returned by DeleteTriggersRequest.Validate if the designated constraints aren't met.
func (DeleteTriggersRequestValidationError) Cause ¶
func (e DeleteTriggersRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteTriggersRequestValidationError) Error ¶
func (e DeleteTriggersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTriggersRequestValidationError) ErrorName ¶
func (e DeleteTriggersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTriggersRequestValidationError) Field ¶
func (e DeleteTriggersRequestValidationError) Field() string
Field function returns field value.
func (DeleteTriggersRequestValidationError) Key ¶
func (e DeleteTriggersRequestValidationError) Key() bool
Key function returns key value.
func (DeleteTriggersRequestValidationError) Reason ¶
func (e DeleteTriggersRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteTriggersResponse ¶
type DeleteTriggersResponse struct {
// contains filtered or unexported fields
}
Response message for activating or deactivating multiple triggers.
func (*DeleteTriggersResponse) Descriptor
deprecated
func (*DeleteTriggersResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTriggersResponse.ProtoReflect.Descriptor instead.
func (*DeleteTriggersResponse) ProtoMessage ¶
func (*DeleteTriggersResponse) ProtoMessage()
func (*DeleteTriggersResponse) ProtoReflect ¶
func (x *DeleteTriggersResponse) ProtoReflect() protoreflect.Message
func (*DeleteTriggersResponse) Reset ¶
func (x *DeleteTriggersResponse) Reset()
func (*DeleteTriggersResponse) String ¶
func (x *DeleteTriggersResponse) String() string
func (*DeleteTriggersResponse) Validate ¶
func (m *DeleteTriggersResponse) Validate() error
Validate checks the field values on DeleteTriggersResponse 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 (*DeleteTriggersResponse) ValidateAll ¶
func (m *DeleteTriggersResponse) ValidateAll() error
ValidateAll checks the field values on DeleteTriggersResponse 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 DeleteTriggersResponseMultiError, or nil if none found.
type DeleteTriggersResponseMultiError ¶
type DeleteTriggersResponseMultiError []error
DeleteTriggersResponseMultiError is an error wrapping multiple validation errors returned by DeleteTriggersResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteTriggersResponseMultiError) AllErrors ¶
func (m DeleteTriggersResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTriggersResponseMultiError) Error ¶
func (m DeleteTriggersResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTriggersResponseValidationError ¶
type DeleteTriggersResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteTriggersResponseValidationError is the validation error returned by DeleteTriggersResponse.Validate if the designated constraints aren't met.
func (DeleteTriggersResponseValidationError) Cause ¶
func (e DeleteTriggersResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteTriggersResponseValidationError) Error ¶
func (e DeleteTriggersResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTriggersResponseValidationError) ErrorName ¶
func (e DeleteTriggersResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTriggersResponseValidationError) Field ¶
func (e DeleteTriggersResponseValidationError) Field() string
Field function returns field value.
func (DeleteTriggersResponseValidationError) Key ¶
func (e DeleteTriggersResponseValidationError) Key() bool
Key function returns key value.
func (DeleteTriggersResponseValidationError) Reason ¶
func (e DeleteTriggersResponseValidationError) Reason() string
Reason function returns reason value.
type DeployTriggerRequest ¶
type DeployTriggerRequest struct {
Name *common.TriggerName `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
// Revision of the trigger.
// Optional for the initial deploy of the trigger.
// Mandatory for updating existing trigger and should store latest previously deployed revision.
Revision uint64 `protobuf:"varint,5,opt,name=revision,proto3" json:"revision,omitempty"`
Spec *TriggerSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
// Optional automation spec.
AutomationSpec *task.TriggerAutomationSpec `protobuf:"bytes,3,opt,name=automation_spec,json=automationSpec,proto3" json:"automation_spec,omitempty"`
// contains filtered or unexported fields
}
Request message for saving a trigger.
func (*DeployTriggerRequest) Descriptor
deprecated
func (*DeployTriggerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployTriggerRequest.ProtoReflect.Descriptor instead.
func (*DeployTriggerRequest) GetAutomationSpec ¶
func (x *DeployTriggerRequest) GetAutomationSpec() *task.TriggerAutomationSpec
func (*DeployTriggerRequest) GetName ¶
func (x *DeployTriggerRequest) GetName() *common.TriggerName
func (*DeployTriggerRequest) GetRevision ¶
func (x *DeployTriggerRequest) GetRevision() uint64
func (*DeployTriggerRequest) GetSpec ¶
func (x *DeployTriggerRequest) GetSpec() *TriggerSpec
func (*DeployTriggerRequest) ProtoMessage ¶
func (*DeployTriggerRequest) ProtoMessage()
func (*DeployTriggerRequest) ProtoReflect ¶
func (x *DeployTriggerRequest) ProtoReflect() protoreflect.Message
func (*DeployTriggerRequest) Reset ¶
func (x *DeployTriggerRequest) Reset()
func (*DeployTriggerRequest) String ¶
func (x *DeployTriggerRequest) String() string
func (*DeployTriggerRequest) Validate ¶
func (m *DeployTriggerRequest) Validate() error
Validate checks the field values on DeployTriggerRequest 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 (*DeployTriggerRequest) ValidateAll ¶
func (m *DeployTriggerRequest) ValidateAll() error
ValidateAll checks the field values on DeployTriggerRequest 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 DeployTriggerRequestMultiError, or nil if none found.
type DeployTriggerRequestMultiError ¶
type DeployTriggerRequestMultiError []error
DeployTriggerRequestMultiError is an error wrapping multiple validation errors returned by DeployTriggerRequest.ValidateAll() if the designated constraints aren't met.
func (DeployTriggerRequestMultiError) AllErrors ¶
func (m DeployTriggerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeployTriggerRequestMultiError) Error ¶
func (m DeployTriggerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeployTriggerRequestValidationError ¶
type DeployTriggerRequestValidationError struct {
// contains filtered or unexported fields
}
DeployTriggerRequestValidationError is the validation error returned by DeployTriggerRequest.Validate if the designated constraints aren't met.
func (DeployTriggerRequestValidationError) Cause ¶
func (e DeployTriggerRequestValidationError) Cause() error
Cause function returns cause value.
func (DeployTriggerRequestValidationError) Error ¶
func (e DeployTriggerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeployTriggerRequestValidationError) ErrorName ¶
func (e DeployTriggerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeployTriggerRequestValidationError) Field ¶
func (e DeployTriggerRequestValidationError) Field() string
Field function returns field value.
func (DeployTriggerRequestValidationError) Key ¶
func (e DeployTriggerRequestValidationError) Key() bool
Key function returns key value.
func (DeployTriggerRequestValidationError) Reason ¶
func (e DeployTriggerRequestValidationError) Reason() string
Reason function returns reason value.
type DeployTriggerResponse ¶
type DeployTriggerResponse struct {
Trigger *TriggerDetails `protobuf:"bytes,1,opt,name=trigger,proto3" json:"trigger,omitempty"`
// contains filtered or unexported fields
}
Response message for saving a trigger.
func (*DeployTriggerResponse) Descriptor
deprecated
func (*DeployTriggerResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeployTriggerResponse.ProtoReflect.Descriptor instead.
func (*DeployTriggerResponse) GetTrigger ¶
func (x *DeployTriggerResponse) GetTrigger() *TriggerDetails
func (*DeployTriggerResponse) ProtoMessage ¶
func (*DeployTriggerResponse) ProtoMessage()
func (*DeployTriggerResponse) ProtoReflect ¶
func (x *DeployTriggerResponse) ProtoReflect() protoreflect.Message
func (*DeployTriggerResponse) Reset ¶
func (x *DeployTriggerResponse) Reset()
func (*DeployTriggerResponse) String ¶
func (x *DeployTriggerResponse) String() string
func (*DeployTriggerResponse) Validate ¶
func (m *DeployTriggerResponse) Validate() error
Validate checks the field values on DeployTriggerResponse 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 (*DeployTriggerResponse) ValidateAll ¶
func (m *DeployTriggerResponse) ValidateAll() error
ValidateAll checks the field values on DeployTriggerResponse 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 DeployTriggerResponseMultiError, or nil if none found.
type DeployTriggerResponseMultiError ¶
type DeployTriggerResponseMultiError []error
DeployTriggerResponseMultiError is an error wrapping multiple validation errors returned by DeployTriggerResponse.ValidateAll() if the designated constraints aren't met.
func (DeployTriggerResponseMultiError) AllErrors ¶
func (m DeployTriggerResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeployTriggerResponseMultiError) Error ¶
func (m DeployTriggerResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeployTriggerResponseValidationError ¶
type DeployTriggerResponseValidationError struct {
// contains filtered or unexported fields
}
DeployTriggerResponseValidationError is the validation error returned by DeployTriggerResponse.Validate if the designated constraints aren't met.
func (DeployTriggerResponseValidationError) Cause ¶
func (e DeployTriggerResponseValidationError) Cause() error
Cause function returns cause value.
func (DeployTriggerResponseValidationError) Error ¶
func (e DeployTriggerResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeployTriggerResponseValidationError) ErrorName ¶
func (e DeployTriggerResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeployTriggerResponseValidationError) Field ¶
func (e DeployTriggerResponseValidationError) Field() string
Field function returns field value.
func (DeployTriggerResponseValidationError) Key ¶
func (e DeployTriggerResponseValidationError) Key() bool
Key function returns key value.
func (DeployTriggerResponseValidationError) Reason ¶
func (e DeployTriggerResponseValidationError) Reason() string
Reason function returns reason value.
type GetTriggerDetailsRequest ¶
type GetTriggerDetailsRequest struct {
Name *common.TriggerName `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for saving a trigger.
func (*GetTriggerDetailsRequest) Descriptor
deprecated
func (*GetTriggerDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTriggerDetailsRequest.ProtoReflect.Descriptor instead.
func (*GetTriggerDetailsRequest) GetName ¶
func (x *GetTriggerDetailsRequest) GetName() *common.TriggerName
func (*GetTriggerDetailsRequest) ProtoMessage ¶
func (*GetTriggerDetailsRequest) ProtoMessage()
func (*GetTriggerDetailsRequest) ProtoReflect ¶
func (x *GetTriggerDetailsRequest) ProtoReflect() protoreflect.Message
func (*GetTriggerDetailsRequest) Reset ¶
func (x *GetTriggerDetailsRequest) Reset()
func (*GetTriggerDetailsRequest) String ¶
func (x *GetTriggerDetailsRequest) String() string
func (*GetTriggerDetailsRequest) Validate ¶
func (m *GetTriggerDetailsRequest) Validate() error
Validate checks the field values on GetTriggerDetailsRequest 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 (*GetTriggerDetailsRequest) ValidateAll ¶
func (m *GetTriggerDetailsRequest) ValidateAll() error
ValidateAll checks the field values on GetTriggerDetailsRequest 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 GetTriggerDetailsRequestMultiError, or nil if none found.
type GetTriggerDetailsRequestMultiError ¶
type GetTriggerDetailsRequestMultiError []error
GetTriggerDetailsRequestMultiError is an error wrapping multiple validation errors returned by GetTriggerDetailsRequest.ValidateAll() if the designated constraints aren't met.
func (GetTriggerDetailsRequestMultiError) AllErrors ¶
func (m GetTriggerDetailsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTriggerDetailsRequestMultiError) Error ¶
func (m GetTriggerDetailsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTriggerDetailsRequestValidationError ¶
type GetTriggerDetailsRequestValidationError struct {
// contains filtered or unexported fields
}
GetTriggerDetailsRequestValidationError is the validation error returned by GetTriggerDetailsRequest.Validate if the designated constraints aren't met.
func (GetTriggerDetailsRequestValidationError) Cause ¶
func (e GetTriggerDetailsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetTriggerDetailsRequestValidationError) Error ¶
func (e GetTriggerDetailsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetTriggerDetailsRequestValidationError) ErrorName ¶
func (e GetTriggerDetailsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetTriggerDetailsRequestValidationError) Field ¶
func (e GetTriggerDetailsRequestValidationError) Field() string
Field function returns field value.
func (GetTriggerDetailsRequestValidationError) Key ¶
func (e GetTriggerDetailsRequestValidationError) Key() bool
Key function returns key value.
func (GetTriggerDetailsRequestValidationError) Reason ¶
func (e GetTriggerDetailsRequestValidationError) Reason() string
Reason function returns reason value.
type GetTriggerDetailsResponse ¶
type GetTriggerDetailsResponse struct {
Trigger *TriggerDetails `protobuf:"bytes,1,opt,name=trigger,proto3" json:"trigger,omitempty"`
// contains filtered or unexported fields
}
Response message for saving a trigger.
func (*GetTriggerDetailsResponse) Descriptor
deprecated
func (*GetTriggerDetailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTriggerDetailsResponse.ProtoReflect.Descriptor instead.
func (*GetTriggerDetailsResponse) GetTrigger ¶
func (x *GetTriggerDetailsResponse) GetTrigger() *TriggerDetails
func (*GetTriggerDetailsResponse) ProtoMessage ¶
func (*GetTriggerDetailsResponse) ProtoMessage()
func (*GetTriggerDetailsResponse) ProtoReflect ¶
func (x *GetTriggerDetailsResponse) ProtoReflect() protoreflect.Message
func (*GetTriggerDetailsResponse) Reset ¶
func (x *GetTriggerDetailsResponse) Reset()
func (*GetTriggerDetailsResponse) String ¶
func (x *GetTriggerDetailsResponse) String() string
func (*GetTriggerDetailsResponse) Validate ¶
func (m *GetTriggerDetailsResponse) Validate() error
Validate checks the field values on GetTriggerDetailsResponse 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 (*GetTriggerDetailsResponse) ValidateAll ¶
func (m *GetTriggerDetailsResponse) ValidateAll() error
ValidateAll checks the field values on GetTriggerDetailsResponse 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 GetTriggerDetailsResponseMultiError, or nil if none found.
type GetTriggerDetailsResponseMultiError ¶
type GetTriggerDetailsResponseMultiError []error
GetTriggerDetailsResponseMultiError is an error wrapping multiple validation errors returned by GetTriggerDetailsResponse.ValidateAll() if the designated constraints aren't met.
func (GetTriggerDetailsResponseMultiError) AllErrors ¶
func (m GetTriggerDetailsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTriggerDetailsResponseMultiError) Error ¶
func (m GetTriggerDetailsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTriggerDetailsResponseValidationError ¶
type GetTriggerDetailsResponseValidationError struct {
// contains filtered or unexported fields
}
GetTriggerDetailsResponseValidationError is the validation error returned by GetTriggerDetailsResponse.Validate if the designated constraints aren't met.
func (GetTriggerDetailsResponseValidationError) Cause ¶
func (e GetTriggerDetailsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetTriggerDetailsResponseValidationError) Error ¶
func (e GetTriggerDetailsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetTriggerDetailsResponseValidationError) ErrorName ¶
func (e GetTriggerDetailsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetTriggerDetailsResponseValidationError) Field ¶
func (e GetTriggerDetailsResponseValidationError) Field() string
Field function returns field value.
func (GetTriggerDetailsResponseValidationError) Key ¶
func (e GetTriggerDetailsResponseValidationError) Key() bool
Key function returns key value.
func (GetTriggerDetailsResponseValidationError) Reason ¶
func (e GetTriggerDetailsResponseValidationError) Reason() string
Reason function returns reason value.
type GetTriggerRevisionDetailsRequest ¶
type GetTriggerRevisionDetailsRequest struct {
Id *common.TriggerIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
Request message for saving a trigger.
func (*GetTriggerRevisionDetailsRequest) Descriptor
deprecated
func (*GetTriggerRevisionDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTriggerRevisionDetailsRequest.ProtoReflect.Descriptor instead.
func (*GetTriggerRevisionDetailsRequest) GetId ¶
func (x *GetTriggerRevisionDetailsRequest) GetId() *common.TriggerIdentifier
func (*GetTriggerRevisionDetailsRequest) ProtoMessage ¶
func (*GetTriggerRevisionDetailsRequest) ProtoMessage()
func (*GetTriggerRevisionDetailsRequest) ProtoReflect ¶
func (x *GetTriggerRevisionDetailsRequest) ProtoReflect() protoreflect.Message
func (*GetTriggerRevisionDetailsRequest) Reset ¶
func (x *GetTriggerRevisionDetailsRequest) Reset()
func (*GetTriggerRevisionDetailsRequest) String ¶
func (x *GetTriggerRevisionDetailsRequest) String() string
func (*GetTriggerRevisionDetailsRequest) Validate ¶
func (m *GetTriggerRevisionDetailsRequest) Validate() error
Validate checks the field values on GetTriggerRevisionDetailsRequest 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 (*GetTriggerRevisionDetailsRequest) ValidateAll ¶
func (m *GetTriggerRevisionDetailsRequest) ValidateAll() error
ValidateAll checks the field values on GetTriggerRevisionDetailsRequest 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 GetTriggerRevisionDetailsRequestMultiError, or nil if none found.
type GetTriggerRevisionDetailsRequestMultiError ¶
type GetTriggerRevisionDetailsRequestMultiError []error
GetTriggerRevisionDetailsRequestMultiError is an error wrapping multiple validation errors returned by GetTriggerRevisionDetailsRequest.ValidateAll() if the designated constraints aren't met.
func (GetTriggerRevisionDetailsRequestMultiError) AllErrors ¶
func (m GetTriggerRevisionDetailsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTriggerRevisionDetailsRequestMultiError) Error ¶
func (m GetTriggerRevisionDetailsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTriggerRevisionDetailsRequestValidationError ¶
type GetTriggerRevisionDetailsRequestValidationError struct {
// contains filtered or unexported fields
}
GetTriggerRevisionDetailsRequestValidationError is the validation error returned by GetTriggerRevisionDetailsRequest.Validate if the designated constraints aren't met.
func (GetTriggerRevisionDetailsRequestValidationError) Cause ¶
func (e GetTriggerRevisionDetailsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetTriggerRevisionDetailsRequestValidationError) Error ¶
func (e GetTriggerRevisionDetailsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetTriggerRevisionDetailsRequestValidationError) ErrorName ¶
func (e GetTriggerRevisionDetailsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetTriggerRevisionDetailsRequestValidationError) Field ¶
func (e GetTriggerRevisionDetailsRequestValidationError) Field() string
Field function returns field value.
func (GetTriggerRevisionDetailsRequestValidationError) Key ¶
func (e GetTriggerRevisionDetailsRequestValidationError) Key() bool
Key function returns key value.
func (GetTriggerRevisionDetailsRequestValidationError) Reason ¶
func (e GetTriggerRevisionDetailsRequestValidationError) Reason() string
Reason function returns reason value.
type GetTriggerRevisionDetailsResponse ¶
type GetTriggerRevisionDetailsResponse struct {
Trigger *TriggerDetails `protobuf:"bytes,1,opt,name=trigger,proto3" json:"trigger,omitempty"`
// contains filtered or unexported fields
}
Response message for saving a trigger.
func (*GetTriggerRevisionDetailsResponse) Descriptor
deprecated
func (*GetTriggerRevisionDetailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTriggerRevisionDetailsResponse.ProtoReflect.Descriptor instead.
func (*GetTriggerRevisionDetailsResponse) GetTrigger ¶
func (x *GetTriggerRevisionDetailsResponse) GetTrigger() *TriggerDetails
func (*GetTriggerRevisionDetailsResponse) ProtoMessage ¶
func (*GetTriggerRevisionDetailsResponse) ProtoMessage()
func (*GetTriggerRevisionDetailsResponse) ProtoReflect ¶
func (x *GetTriggerRevisionDetailsResponse) ProtoReflect() protoreflect.Message
func (*GetTriggerRevisionDetailsResponse) Reset ¶
func (x *GetTriggerRevisionDetailsResponse) Reset()
func (*GetTriggerRevisionDetailsResponse) String ¶
func (x *GetTriggerRevisionDetailsResponse) String() string
func (*GetTriggerRevisionDetailsResponse) Validate ¶
func (m *GetTriggerRevisionDetailsResponse) Validate() error
Validate checks the field values on GetTriggerRevisionDetailsResponse 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 (*GetTriggerRevisionDetailsResponse) ValidateAll ¶
func (m *GetTriggerRevisionDetailsResponse) ValidateAll() error
ValidateAll checks the field values on GetTriggerRevisionDetailsResponse 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 GetTriggerRevisionDetailsResponseMultiError, or nil if none found.
type GetTriggerRevisionDetailsResponseMultiError ¶
type GetTriggerRevisionDetailsResponseMultiError []error
GetTriggerRevisionDetailsResponseMultiError is an error wrapping multiple validation errors returned by GetTriggerRevisionDetailsResponse.ValidateAll() if the designated constraints aren't met.
func (GetTriggerRevisionDetailsResponseMultiError) AllErrors ¶
func (m GetTriggerRevisionDetailsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTriggerRevisionDetailsResponseMultiError) Error ¶
func (m GetTriggerRevisionDetailsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTriggerRevisionDetailsResponseValidationError ¶
type GetTriggerRevisionDetailsResponseValidationError struct {
// contains filtered or unexported fields
}
GetTriggerRevisionDetailsResponseValidationError is the validation error returned by GetTriggerRevisionDetailsResponse.Validate if the designated constraints aren't met.
func (GetTriggerRevisionDetailsResponseValidationError) Cause ¶
func (e GetTriggerRevisionDetailsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetTriggerRevisionDetailsResponseValidationError) Error ¶
func (e GetTriggerRevisionDetailsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetTriggerRevisionDetailsResponseValidationError) ErrorName ¶
func (e GetTriggerRevisionDetailsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetTriggerRevisionDetailsResponseValidationError) Field ¶
func (e GetTriggerRevisionDetailsResponseValidationError) Field() string
Field function returns field value.
func (GetTriggerRevisionDetailsResponseValidationError) Key ¶
func (e GetTriggerRevisionDetailsResponseValidationError) Key() bool
Key function returns key value.
func (GetTriggerRevisionDetailsResponseValidationError) Reason ¶
func (e GetTriggerRevisionDetailsResponseValidationError) Reason() string
Reason function returns reason value.
type GetTriggerRevisionHistoryRequest ¶
type GetTriggerRevisionHistoryRequest struct {
Request *common.ListRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
Name *common.TriggerName `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*GetTriggerRevisionHistoryRequest) Descriptor
deprecated
func (*GetTriggerRevisionHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTriggerRevisionHistoryRequest.ProtoReflect.Descriptor instead.
func (*GetTriggerRevisionHistoryRequest) GetName ¶
func (x *GetTriggerRevisionHistoryRequest) GetName() *common.TriggerName
func (*GetTriggerRevisionHistoryRequest) GetRequest ¶
func (x *GetTriggerRevisionHistoryRequest) GetRequest() *common.ListRequest
func (*GetTriggerRevisionHistoryRequest) ProtoMessage ¶
func (*GetTriggerRevisionHistoryRequest) ProtoMessage()
func (*GetTriggerRevisionHistoryRequest) ProtoReflect ¶
func (x *GetTriggerRevisionHistoryRequest) ProtoReflect() protoreflect.Message
func (*GetTriggerRevisionHistoryRequest) Reset ¶
func (x *GetTriggerRevisionHistoryRequest) Reset()
func (*GetTriggerRevisionHistoryRequest) String ¶
func (x *GetTriggerRevisionHistoryRequest) String() string
func (*GetTriggerRevisionHistoryRequest) Validate ¶
func (m *GetTriggerRevisionHistoryRequest) Validate() error
Validate checks the field values on GetTriggerRevisionHistoryRequest 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 (*GetTriggerRevisionHistoryRequest) ValidateAll ¶
func (m *GetTriggerRevisionHistoryRequest) ValidateAll() error
ValidateAll checks the field values on GetTriggerRevisionHistoryRequest 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 GetTriggerRevisionHistoryRequestMultiError, or nil if none found.
type GetTriggerRevisionHistoryRequestMultiError ¶
type GetTriggerRevisionHistoryRequestMultiError []error
GetTriggerRevisionHistoryRequestMultiError is an error wrapping multiple validation errors returned by GetTriggerRevisionHistoryRequest.ValidateAll() if the designated constraints aren't met.
func (GetTriggerRevisionHistoryRequestMultiError) AllErrors ¶
func (m GetTriggerRevisionHistoryRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTriggerRevisionHistoryRequestMultiError) Error ¶
func (m GetTriggerRevisionHistoryRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTriggerRevisionHistoryRequestValidationError ¶
type GetTriggerRevisionHistoryRequestValidationError struct {
// contains filtered or unexported fields
}
GetTriggerRevisionHistoryRequestValidationError is the validation error returned by GetTriggerRevisionHistoryRequest.Validate if the designated constraints aren't met.
func (GetTriggerRevisionHistoryRequestValidationError) Cause ¶
func (e GetTriggerRevisionHistoryRequestValidationError) Cause() error
Cause function returns cause value.
func (GetTriggerRevisionHistoryRequestValidationError) Error ¶
func (e GetTriggerRevisionHistoryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetTriggerRevisionHistoryRequestValidationError) ErrorName ¶
func (e GetTriggerRevisionHistoryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetTriggerRevisionHistoryRequestValidationError) Field ¶
func (e GetTriggerRevisionHistoryRequestValidationError) Field() string
Field function returns field value.
func (GetTriggerRevisionHistoryRequestValidationError) Key ¶
func (e GetTriggerRevisionHistoryRequestValidationError) Key() bool
Key function returns key value.
func (GetTriggerRevisionHistoryRequestValidationError) Reason ¶
func (e GetTriggerRevisionHistoryRequestValidationError) Reason() string
Reason function returns reason value.
type GetTriggerRevisionHistoryResponse ¶
type GetTriggerRevisionHistoryResponse struct {
// List of triggers matching the filter criteria.
Triggers []*TriggerRevision `protobuf:"bytes,1,rep,name=triggers,proto3" json:"triggers,omitempty"`
// Token for fetching the next page of results, if any.
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
// contains filtered or unexported fields
}
func (*GetTriggerRevisionHistoryResponse) Descriptor
deprecated
func (*GetTriggerRevisionHistoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTriggerRevisionHistoryResponse.ProtoReflect.Descriptor instead.
func (*GetTriggerRevisionHistoryResponse) GetToken ¶
func (x *GetTriggerRevisionHistoryResponse) GetToken() string
func (*GetTriggerRevisionHistoryResponse) GetTriggers ¶
func (x *GetTriggerRevisionHistoryResponse) GetTriggers() []*TriggerRevision
func (*GetTriggerRevisionHistoryResponse) ProtoMessage ¶
func (*GetTriggerRevisionHistoryResponse) ProtoMessage()
func (*GetTriggerRevisionHistoryResponse) ProtoReflect ¶
func (x *GetTriggerRevisionHistoryResponse) ProtoReflect() protoreflect.Message
func (*GetTriggerRevisionHistoryResponse) Reset ¶
func (x *GetTriggerRevisionHistoryResponse) Reset()
func (*GetTriggerRevisionHistoryResponse) String ¶
func (x *GetTriggerRevisionHistoryResponse) String() string
func (*GetTriggerRevisionHistoryResponse) Validate ¶
func (m *GetTriggerRevisionHistoryResponse) Validate() error
Validate checks the field values on GetTriggerRevisionHistoryResponse 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 (*GetTriggerRevisionHistoryResponse) ValidateAll ¶
func (m *GetTriggerRevisionHistoryResponse) ValidateAll() error
ValidateAll checks the field values on GetTriggerRevisionHistoryResponse 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 GetTriggerRevisionHistoryResponseMultiError, or nil if none found.
type GetTriggerRevisionHistoryResponseMultiError ¶
type GetTriggerRevisionHistoryResponseMultiError []error
GetTriggerRevisionHistoryResponseMultiError is an error wrapping multiple validation errors returned by GetTriggerRevisionHistoryResponse.ValidateAll() if the designated constraints aren't met.
func (GetTriggerRevisionHistoryResponseMultiError) AllErrors ¶
func (m GetTriggerRevisionHistoryResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTriggerRevisionHistoryResponseMultiError) Error ¶
func (m GetTriggerRevisionHistoryResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTriggerRevisionHistoryResponseValidationError ¶
type GetTriggerRevisionHistoryResponseValidationError struct {
// contains filtered or unexported fields
}
GetTriggerRevisionHistoryResponseValidationError is the validation error returned by GetTriggerRevisionHistoryResponse.Validate if the designated constraints aren't met.
func (GetTriggerRevisionHistoryResponseValidationError) Cause ¶
func (e GetTriggerRevisionHistoryResponseValidationError) Cause() error
Cause function returns cause value.
func (GetTriggerRevisionHistoryResponseValidationError) Error ¶
func (e GetTriggerRevisionHistoryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetTriggerRevisionHistoryResponseValidationError) ErrorName ¶
func (e GetTriggerRevisionHistoryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetTriggerRevisionHistoryResponseValidationError) Field ¶
func (e GetTriggerRevisionHistoryResponseValidationError) Field() string
Field function returns field value.
func (GetTriggerRevisionHistoryResponseValidationError) Key ¶
func (e GetTriggerRevisionHistoryResponseValidationError) Key() bool
Key function returns key value.
func (GetTriggerRevisionHistoryResponseValidationError) Reason ¶
func (e GetTriggerRevisionHistoryResponseValidationError) Reason() string
Reason function returns reason value.
type ListTriggersRequest ¶
type ListTriggersRequest struct {
// Common list request parameters.
Request *common.ListRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
// Types that are assignable to ScopeBy:
//
// *ListTriggersRequest_Org
// *ListTriggersRequest_ProjectId
// *ListTriggersRequest_TaskId
// *ListTriggersRequest_TaskName
ScopeBy isListTriggersRequest_ScopeBy `protobuf_oneof:"scope_by"`
// contains filtered or unexported fields
}
func (*ListTriggersRequest) Descriptor
deprecated
func (*ListTriggersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTriggersRequest.ProtoReflect.Descriptor instead.
func (*ListTriggersRequest) GetOrg ¶
func (x *ListTriggersRequest) GetOrg() string
func (*ListTriggersRequest) GetProjectId ¶
func (x *ListTriggersRequest) GetProjectId() *common.ProjectIdentifier
func (*ListTriggersRequest) GetRequest ¶
func (x *ListTriggersRequest) GetRequest() *common.ListRequest
func (*ListTriggersRequest) GetScopeBy ¶
func (m *ListTriggersRequest) GetScopeBy() isListTriggersRequest_ScopeBy
func (*ListTriggersRequest) GetTaskId ¶
func (x *ListTriggersRequest) GetTaskId() *task.TaskIdentifier
func (*ListTriggersRequest) GetTaskName ¶
func (x *ListTriggersRequest) GetTaskName() *task.TaskName
func (*ListTriggersRequest) ProtoMessage ¶
func (*ListTriggersRequest) ProtoMessage()
func (*ListTriggersRequest) ProtoReflect ¶
func (x *ListTriggersRequest) ProtoReflect() protoreflect.Message
func (*ListTriggersRequest) Reset ¶
func (x *ListTriggersRequest) Reset()
func (*ListTriggersRequest) String ¶
func (x *ListTriggersRequest) String() string
func (*ListTriggersRequest) Validate ¶
func (m *ListTriggersRequest) Validate() error
Validate checks the field values on ListTriggersRequest 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 (*ListTriggersRequest) ValidateAll ¶
func (m *ListTriggersRequest) ValidateAll() error
ValidateAll checks the field values on ListTriggersRequest 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 ListTriggersRequestMultiError, or nil if none found.
type ListTriggersRequestMultiError ¶
type ListTriggersRequestMultiError []error
ListTriggersRequestMultiError is an error wrapping multiple validation errors returned by ListTriggersRequest.ValidateAll() if the designated constraints aren't met.
func (ListTriggersRequestMultiError) AllErrors ¶
func (m ListTriggersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTriggersRequestMultiError) Error ¶
func (m ListTriggersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTriggersRequestValidationError ¶
type ListTriggersRequestValidationError struct {
// contains filtered or unexported fields
}
ListTriggersRequestValidationError is the validation error returned by ListTriggersRequest.Validate if the designated constraints aren't met.
func (ListTriggersRequestValidationError) Cause ¶
func (e ListTriggersRequestValidationError) Cause() error
Cause function returns cause value.
func (ListTriggersRequestValidationError) Error ¶
func (e ListTriggersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListTriggersRequestValidationError) ErrorName ¶
func (e ListTriggersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListTriggersRequestValidationError) Field ¶
func (e ListTriggersRequestValidationError) Field() string
Field function returns field value.
func (ListTriggersRequestValidationError) Key ¶
func (e ListTriggersRequestValidationError) Key() bool
Key function returns key value.
func (ListTriggersRequestValidationError) Reason ¶
func (e ListTriggersRequestValidationError) Reason() string
Reason function returns reason value.
type ListTriggersRequest_Org ¶
type ListTriggersRequest_Org struct {
// Organization name for filtering.
Org string `protobuf:"bytes,2,opt,name=org,proto3,oneof"`
}
type ListTriggersRequest_ProjectId ¶
type ListTriggersRequest_ProjectId struct {
// Project identifier for filtering.
ProjectId *common.ProjectIdentifier `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3,oneof"`
}
type ListTriggersRequest_TaskId ¶
type ListTriggersRequest_TaskId struct {
// List all triggers attached to a given version of a task .
TaskId *task.TaskIdentifier `protobuf:"bytes,4,opt,name=task_id,json=taskId,proto3,oneof"`
}
type ListTriggersResponse ¶
type ListTriggersResponse struct {
// List of triggers matching the filter criteria.
Triggers []*Trigger `protobuf:"bytes,1,rep,name=triggers,proto3" json:"triggers,omitempty"`
// Token for fetching the next page of results, if any.
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
// contains filtered or unexported fields
}
Response message for listing triggers.
func (*ListTriggersResponse) Descriptor
deprecated
func (*ListTriggersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTriggersResponse.ProtoReflect.Descriptor instead.
func (*ListTriggersResponse) GetToken ¶
func (x *ListTriggersResponse) GetToken() string
func (*ListTriggersResponse) GetTriggers ¶
func (x *ListTriggersResponse) GetTriggers() []*Trigger
func (*ListTriggersResponse) ProtoMessage ¶
func (*ListTriggersResponse) ProtoMessage()
func (*ListTriggersResponse) ProtoReflect ¶
func (x *ListTriggersResponse) ProtoReflect() protoreflect.Message
func (*ListTriggersResponse) Reset ¶
func (x *ListTriggersResponse) Reset()
func (*ListTriggersResponse) String ¶
func (x *ListTriggersResponse) String() string
func (*ListTriggersResponse) Validate ¶
func (m *ListTriggersResponse) Validate() error
Validate checks the field values on ListTriggersResponse 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 (*ListTriggersResponse) ValidateAll ¶
func (m *ListTriggersResponse) ValidateAll() error
ValidateAll checks the field values on ListTriggersResponse 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 ListTriggersResponseMultiError, or nil if none found.
type ListTriggersResponseMultiError ¶
type ListTriggersResponseMultiError []error
ListTriggersResponseMultiError is an error wrapping multiple validation errors returned by ListTriggersResponse.ValidateAll() if the designated constraints aren't met.
func (ListTriggersResponseMultiError) AllErrors ¶
func (m ListTriggersResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTriggersResponseMultiError) Error ¶
func (m ListTriggersResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTriggersResponseValidationError ¶
type ListTriggersResponseValidationError struct {
// contains filtered or unexported fields
}
ListTriggersResponseValidationError is the validation error returned by ListTriggersResponse.Validate if the designated constraints aren't met.
func (ListTriggersResponseValidationError) Cause ¶
func (e ListTriggersResponseValidationError) Cause() error
Cause function returns cause value.
func (ListTriggersResponseValidationError) Error ¶
func (e ListTriggersResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListTriggersResponseValidationError) ErrorName ¶
func (e ListTriggersResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListTriggersResponseValidationError) Field ¶
func (e ListTriggersResponseValidationError) Field() string
Field function returns field value.
func (ListTriggersResponseValidationError) Key ¶
func (e ListTriggersResponseValidationError) Key() bool
Key function returns key value.
func (ListTriggersResponseValidationError) Reason ¶
func (e ListTriggersResponseValidationError) Reason() string
Reason function returns reason value.
type Trigger ¶
type Trigger struct {
Id *common.TriggerIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Metadata *TriggerMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
Status *TriggerStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
Active bool `protobuf:"varint,5,opt,name=active,proto3" json:"active,omitempty"`
AutomationSpec *task.TriggerAutomationSpec `protobuf:"bytes,6,opt,name=automation_spec,json=automationSpec,proto3" json:"automation_spec,omitempty"`
// contains filtered or unexported fields
}
Light-weight information about trigger for a list view
func (*Trigger) Descriptor
deprecated
func (*Trigger) GetAutomationSpec ¶
func (x *Trigger) GetAutomationSpec() *task.TriggerAutomationSpec
func (*Trigger) GetId ¶
func (x *Trigger) GetId() *common.TriggerIdentifier
func (*Trigger) GetMetadata ¶
func (x *Trigger) GetMetadata() *TriggerMetadata
func (*Trigger) GetStatus ¶
func (x *Trigger) GetStatus() *TriggerStatus
func (*Trigger) ProtoMessage ¶
func (*Trigger) ProtoMessage()
func (*Trigger) ProtoReflect ¶
func (x *Trigger) ProtoReflect() protoreflect.Message
func (*Trigger) Validate ¶
Validate checks the field values on Trigger 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 (*Trigger) ValidateAll ¶
ValidateAll checks the field values on Trigger 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 TriggerMultiError, or nil if none found.
type TriggerDetails ¶
type TriggerDetails struct {
Id *common.TriggerIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Metadata *TriggerMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
Spec *TriggerSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
Status *TriggerStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
// Optional automation spec.
AutomationSpec *task.TriggerAutomationSpec `protobuf:"bytes,5,opt,name=automation_spec,json=automationSpec,proto3" json:"automation_spec,omitempty"`
// Trigger description
Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
Full details about a trigger stored in DB
func (*TriggerDetails) Descriptor
deprecated
func (*TriggerDetails) Descriptor() ([]byte, []int)
Deprecated: Use TriggerDetails.ProtoReflect.Descriptor instead.
func (*TriggerDetails) GetAutomationSpec ¶
func (x *TriggerDetails) GetAutomationSpec() *task.TriggerAutomationSpec
func (*TriggerDetails) GetDescription ¶
func (x *TriggerDetails) GetDescription() string
func (*TriggerDetails) GetId ¶
func (x *TriggerDetails) GetId() *common.TriggerIdentifier
func (*TriggerDetails) GetMetadata ¶
func (x *TriggerDetails) GetMetadata() *TriggerMetadata
func (*TriggerDetails) GetSpec ¶
func (x *TriggerDetails) GetSpec() *TriggerSpec
func (*TriggerDetails) GetStatus ¶
func (x *TriggerDetails) GetStatus() *TriggerStatus
func (*TriggerDetails) ProtoMessage ¶
func (*TriggerDetails) ProtoMessage()
func (*TriggerDetails) ProtoReflect ¶
func (x *TriggerDetails) ProtoReflect() protoreflect.Message
func (*TriggerDetails) Reset ¶
func (x *TriggerDetails) Reset()
func (*TriggerDetails) String ¶
func (x *TriggerDetails) String() string
func (*TriggerDetails) Validate ¶
func (m *TriggerDetails) Validate() error
Validate checks the field values on TriggerDetails 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 (*TriggerDetails) ValidateAll ¶
func (m *TriggerDetails) ValidateAll() error
ValidateAll checks the field values on TriggerDetails 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 TriggerDetailsMultiError, or nil if none found.
type TriggerDetailsMultiError ¶
type TriggerDetailsMultiError []error
TriggerDetailsMultiError is an error wrapping multiple validation errors returned by TriggerDetails.ValidateAll() if the designated constraints aren't met.
func (TriggerDetailsMultiError) AllErrors ¶
func (m TriggerDetailsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TriggerDetailsMultiError) Error ¶
func (m TriggerDetailsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TriggerDetailsValidationError ¶
type TriggerDetailsValidationError struct {
// contains filtered or unexported fields
}
TriggerDetailsValidationError is the validation error returned by TriggerDetails.Validate if the designated constraints aren't met.
func (TriggerDetailsValidationError) Cause ¶
func (e TriggerDetailsValidationError) Cause() error
Cause function returns cause value.
func (TriggerDetailsValidationError) Error ¶
func (e TriggerDetailsValidationError) Error() string
Error satisfies the builtin error interface
func (TriggerDetailsValidationError) ErrorName ¶
func (e TriggerDetailsValidationError) ErrorName() string
ErrorName returns error name.
func (TriggerDetailsValidationError) Field ¶
func (e TriggerDetailsValidationError) Field() string
Field function returns field value.
func (TriggerDetailsValidationError) Key ¶
func (e TriggerDetailsValidationError) Key() bool
Key function returns key value.
func (TriggerDetailsValidationError) Reason ¶
func (e TriggerDetailsValidationError) Reason() string
Reason function returns reason value.
type TriggerMetadata ¶
type TriggerMetadata struct {
// Identity that last deployed the trigger
DeployedBy *common.EnrichedIdentity `protobuf:"bytes,1,opt,name=deployed_by,json=deployedBy,proto3" json:"deployed_by,omitempty"`
// Identity that last activated or deactivated the trigger
UpdatedBy *common.EnrichedIdentity `protobuf:"bytes,2,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
// contains filtered or unexported fields
}
func (*TriggerMetadata) Descriptor
deprecated
func (*TriggerMetadata) Descriptor() ([]byte, []int)
Deprecated: Use TriggerMetadata.ProtoReflect.Descriptor instead.
func (*TriggerMetadata) GetDeployedBy ¶
func (x *TriggerMetadata) GetDeployedBy() *common.EnrichedIdentity
func (*TriggerMetadata) GetUpdatedBy ¶
func (x *TriggerMetadata) GetUpdatedBy() *common.EnrichedIdentity
func (*TriggerMetadata) ProtoMessage ¶
func (*TriggerMetadata) ProtoMessage()
func (*TriggerMetadata) ProtoReflect ¶
func (x *TriggerMetadata) ProtoReflect() protoreflect.Message
func (*TriggerMetadata) Reset ¶
func (x *TriggerMetadata) Reset()
func (*TriggerMetadata) String ¶
func (x *TriggerMetadata) String() string
func (*TriggerMetadata) Validate ¶
func (m *TriggerMetadata) Validate() error
Validate checks the field values on TriggerMetadata 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 (*TriggerMetadata) ValidateAll ¶
func (m *TriggerMetadata) ValidateAll() error
ValidateAll checks the field values on TriggerMetadata 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 TriggerMetadataMultiError, or nil if none found.
type TriggerMetadataMultiError ¶
type TriggerMetadataMultiError []error
TriggerMetadataMultiError is an error wrapping multiple validation errors returned by TriggerMetadata.ValidateAll() if the designated constraints aren't met.
func (TriggerMetadataMultiError) AllErrors ¶
func (m TriggerMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TriggerMetadataMultiError) Error ¶
func (m TriggerMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TriggerMetadataValidationError ¶
type TriggerMetadataValidationError struct {
// contains filtered or unexported fields
}
TriggerMetadataValidationError is the validation error returned by TriggerMetadata.Validate if the designated constraints aren't met.
func (TriggerMetadataValidationError) Cause ¶
func (e TriggerMetadataValidationError) Cause() error
Cause function returns cause value.
func (TriggerMetadataValidationError) Error ¶
func (e TriggerMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (TriggerMetadataValidationError) ErrorName ¶
func (e TriggerMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (TriggerMetadataValidationError) Field ¶
func (e TriggerMetadataValidationError) Field() string
Field function returns field value.
func (TriggerMetadataValidationError) Key ¶
func (e TriggerMetadataValidationError) Key() bool
Key function returns key value.
func (TriggerMetadataValidationError) Reason ¶
func (e TriggerMetadataValidationError) Reason() string
Reason function returns reason value.
type TriggerMultiError ¶
type TriggerMultiError []error
TriggerMultiError is an error wrapping multiple validation errors returned by Trigger.ValidateAll() if the designated constraints aren't met.
func (TriggerMultiError) AllErrors ¶
func (m TriggerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TriggerMultiError) Error ¶
func (m TriggerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TriggerRevision ¶
type TriggerRevision struct {
Id *common.TriggerIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Metadata *TriggerMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
Status *TriggerStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
Action TriggerRevisionAction `protobuf:"varint,4,opt,name=action,proto3,enum=flyteidl2.trigger.TriggerRevisionAction" json:"action,omitempty"`
// Timestamp at which given revision was created.
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
Light-weight information about a single trigger revision
func (*TriggerRevision) Descriptor
deprecated
func (*TriggerRevision) Descriptor() ([]byte, []int)
Deprecated: Use TriggerRevision.ProtoReflect.Descriptor instead.
func (*TriggerRevision) GetAction ¶
func (x *TriggerRevision) GetAction() TriggerRevisionAction
func (*TriggerRevision) GetCreatedAt ¶
func (x *TriggerRevision) GetCreatedAt() *timestamppb.Timestamp
func (*TriggerRevision) GetId ¶
func (x *TriggerRevision) GetId() *common.TriggerIdentifier
func (*TriggerRevision) GetMetadata ¶
func (x *TriggerRevision) GetMetadata() *TriggerMetadata
func (*TriggerRevision) GetStatus ¶
func (x *TriggerRevision) GetStatus() *TriggerStatus
func (*TriggerRevision) ProtoMessage ¶
func (*TriggerRevision) ProtoMessage()
func (*TriggerRevision) ProtoReflect ¶
func (x *TriggerRevision) ProtoReflect() protoreflect.Message
func (*TriggerRevision) Reset ¶
func (x *TriggerRevision) Reset()
func (*TriggerRevision) String ¶
func (x *TriggerRevision) String() string
func (*TriggerRevision) Validate ¶
func (m *TriggerRevision) Validate() error
Validate checks the field values on TriggerRevision 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 (*TriggerRevision) ValidateAll ¶
func (m *TriggerRevision) ValidateAll() error
ValidateAll checks the field values on TriggerRevision 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 TriggerRevisionMultiError, or nil if none found.
type TriggerRevisionAction ¶
type TriggerRevisionAction int32
Stores human- and machine-friendly explanation of what changed in the revision
const ( TriggerRevisionAction_TRIGGER_REVISION_ACTION_UNSPECIFIED TriggerRevisionAction = 0 TriggerRevisionAction_TRIGGER_REVISION_ACTION_DEPLOY TriggerRevisionAction = 1 TriggerRevisionAction_TRIGGER_REVISION_ACTION_ACTIVATE TriggerRevisionAction = 2 TriggerRevisionAction_TRIGGER_REVISION_ACTION_DEACTIVATE TriggerRevisionAction = 3 TriggerRevisionAction_TRIGGER_REVISION_ACTION_DELETE TriggerRevisionAction = 4 )
func (TriggerRevisionAction) Descriptor ¶
func (TriggerRevisionAction) Descriptor() protoreflect.EnumDescriptor
func (TriggerRevisionAction) Enum ¶
func (x TriggerRevisionAction) Enum() *TriggerRevisionAction
func (TriggerRevisionAction) EnumDescriptor
deprecated
func (TriggerRevisionAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use TriggerRevisionAction.Descriptor instead.
func (TriggerRevisionAction) Number ¶
func (x TriggerRevisionAction) Number() protoreflect.EnumNumber
func (TriggerRevisionAction) String ¶
func (x TriggerRevisionAction) String() string
func (TriggerRevisionAction) Type ¶
func (TriggerRevisionAction) Type() protoreflect.EnumType
type TriggerRevisionMultiError ¶
type TriggerRevisionMultiError []error
TriggerRevisionMultiError is an error wrapping multiple validation errors returned by TriggerRevision.ValidateAll() if the designated constraints aren't met.
func (TriggerRevisionMultiError) AllErrors ¶
func (m TriggerRevisionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TriggerRevisionMultiError) Error ¶
func (m TriggerRevisionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TriggerRevisionValidationError ¶
type TriggerRevisionValidationError struct {
// contains filtered or unexported fields
}
TriggerRevisionValidationError is the validation error returned by TriggerRevision.Validate if the designated constraints aren't met.
func (TriggerRevisionValidationError) Cause ¶
func (e TriggerRevisionValidationError) Cause() error
Cause function returns cause value.
func (TriggerRevisionValidationError) Error ¶
func (e TriggerRevisionValidationError) Error() string
Error satisfies the builtin error interface
func (TriggerRevisionValidationError) ErrorName ¶
func (e TriggerRevisionValidationError) ErrorName() string
ErrorName returns error name.
func (TriggerRevisionValidationError) Field ¶
func (e TriggerRevisionValidationError) Field() string
Field function returns field value.
func (TriggerRevisionValidationError) Key ¶
func (e TriggerRevisionValidationError) Key() bool
Key function returns key value.
func (TriggerRevisionValidationError) Reason ¶
func (e TriggerRevisionValidationError) Reason() string
Reason function returns reason value.
type TriggerServiceClient ¶
type TriggerServiceClient interface {
// Create if trigger didn't exist previously.
// Update if it already exists.
// Re-create(or undelete) if it was soft-deleted.
// Client must fetch the latest trigger in order to obtain the latest `trigger.id.revision`.
// If trigger is not found, client can set `trigger.id.revision` to 1, it is ignored and set automatically by backend.
// If trigger is found, client should set `trigger.id.revision` to the <latest>.
// Backend validates that version is the latest and creates a new revision of the trigger.
// Otherwise, operation is rejected(optimistic locking) and client must re-fetch trigger again.
DeployTrigger(ctx context.Context, in *DeployTriggerRequest, opts ...grpc.CallOption) (*DeployTriggerResponse, error)
// Get detailed info about the latest trigger revision
GetTriggerDetails(ctx context.Context, in *GetTriggerDetailsRequest, opts ...grpc.CallOption) (*GetTriggerDetailsResponse, error)
// Get detailed info about a specific trigger revision
GetTriggerRevisionDetails(ctx context.Context, in *GetTriggerRevisionDetailsRequest, opts ...grpc.CallOption) (*GetTriggerRevisionDetailsResponse, error)
// List basic info about triggers based on various filtering and sorting rules.
ListTriggers(ctx context.Context, in *ListTriggersRequest, opts ...grpc.CallOption) (*ListTriggersResponse, error)
// GetTriggerRevisionHistory returns all revisions for a given trigger
GetTriggerRevisionHistory(ctx context.Context, in *GetTriggerRevisionHistoryRequest, opts ...grpc.CallOption) (*GetTriggerRevisionHistoryResponse, error)
// Update some trigger spec fields for multiple triggers at once
UpdateTriggers(ctx context.Context, in *UpdateTriggersRequest, opts ...grpc.CallOption) (*UpdateTriggersResponse, error)
// Soft-delete multiple triggers at once.
DeleteTriggers(ctx context.Context, in *DeleteTriggersRequest, opts ...grpc.CallOption) (*DeleteTriggersResponse, error)
}
TriggerServiceClient is the client API for TriggerService 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 NewTriggerServiceClient ¶
func NewTriggerServiceClient(cc grpc.ClientConnInterface) TriggerServiceClient
type TriggerServiceServer ¶
type TriggerServiceServer interface {
// Create if trigger didn't exist previously.
// Update if it already exists.
// Re-create(or undelete) if it was soft-deleted.
// Client must fetch the latest trigger in order to obtain the latest `trigger.id.revision`.
// If trigger is not found, client can set `trigger.id.revision` to 1, it is ignored and set automatically by backend.
// If trigger is found, client should set `trigger.id.revision` to the <latest>.
// Backend validates that version is the latest and creates a new revision of the trigger.
// Otherwise, operation is rejected(optimistic locking) and client must re-fetch trigger again.
DeployTrigger(context.Context, *DeployTriggerRequest) (*DeployTriggerResponse, error)
// Get detailed info about the latest trigger revision
GetTriggerDetails(context.Context, *GetTriggerDetailsRequest) (*GetTriggerDetailsResponse, error)
// Get detailed info about a specific trigger revision
GetTriggerRevisionDetails(context.Context, *GetTriggerRevisionDetailsRequest) (*GetTriggerRevisionDetailsResponse, error)
// List basic info about triggers based on various filtering and sorting rules.
ListTriggers(context.Context, *ListTriggersRequest) (*ListTriggersResponse, error)
// GetTriggerRevisionHistory returns all revisions for a given trigger
GetTriggerRevisionHistory(context.Context, *GetTriggerRevisionHistoryRequest) (*GetTriggerRevisionHistoryResponse, error)
// Update some trigger spec fields for multiple triggers at once
UpdateTriggers(context.Context, *UpdateTriggersRequest) (*UpdateTriggersResponse, error)
// Soft-delete multiple triggers at once.
DeleteTriggers(context.Context, *DeleteTriggersRequest) (*DeleteTriggersResponse, error)
}
TriggerServiceServer is the server API for TriggerService service. All implementations should embed UnimplementedTriggerServiceServer for forward compatibility
type TriggerSpec ¶
type TriggerSpec struct {
// Inputs for the triggered task. Inline literals are set by older SDKs; newer SDKs (>= 2.3.6)
// offload the inputs via UploadInputs at registration and set offloaded_input_data instead.
//
// Types that are assignable to InputWrapper:
//
// *TriggerSpec_Inputs
// *TriggerSpec_OffloadedInputData
InputWrapper isTriggerSpec_InputWrapper `protobuf_oneof:"input_wrapper"`
// The run spec for triggered task.
RunSpec *task.RunSpec `protobuf:"bytes,3,opt,name=run_spec,json=runSpec,proto3" json:"run_spec,omitempty"`
// Whether trigger is active
Active bool `protobuf:"varint,4,opt,name=active,proto3" json:"active,omitempty"`
// Task version together with trigger name will give us the unique task id
TaskVersion string `protobuf:"bytes,5,opt,name=task_version,json=taskVersion,proto3" json:"task_version,omitempty"`
// Optional description
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
func (*TriggerSpec) Descriptor
deprecated
func (*TriggerSpec) Descriptor() ([]byte, []int)
Deprecated: Use TriggerSpec.ProtoReflect.Descriptor instead.
func (*TriggerSpec) GetActive ¶
func (x *TriggerSpec) GetActive() bool
func (*TriggerSpec) GetDescription ¶
func (x *TriggerSpec) GetDescription() string
func (*TriggerSpec) GetInputWrapper ¶ added in v2.0.21
func (m *TriggerSpec) GetInputWrapper() isTriggerSpec_InputWrapper
func (*TriggerSpec) GetInputs ¶
func (x *TriggerSpec) GetInputs() *task.Inputs
func (*TriggerSpec) GetOffloadedInputData ¶ added in v2.0.21
func (x *TriggerSpec) GetOffloadedInputData() *common.OffloadedInputData
func (*TriggerSpec) GetRunSpec ¶
func (x *TriggerSpec) GetRunSpec() *task.RunSpec
func (*TriggerSpec) GetTaskVersion ¶
func (x *TriggerSpec) GetTaskVersion() string
func (*TriggerSpec) ProtoMessage ¶
func (*TriggerSpec) ProtoMessage()
func (*TriggerSpec) ProtoReflect ¶
func (x *TriggerSpec) ProtoReflect() protoreflect.Message
func (*TriggerSpec) Reset ¶
func (x *TriggerSpec) Reset()
func (*TriggerSpec) String ¶
func (x *TriggerSpec) String() string
func (*TriggerSpec) Validate ¶
func (m *TriggerSpec) Validate() error
Validate checks the field values on TriggerSpec 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 (*TriggerSpec) ValidateAll ¶
func (m *TriggerSpec) ValidateAll() error
ValidateAll checks the field values on TriggerSpec 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 TriggerSpecMultiError, or nil if none found.
type TriggerSpecMultiError ¶
type TriggerSpecMultiError []error
TriggerSpecMultiError is an error wrapping multiple validation errors returned by TriggerSpec.ValidateAll() if the designated constraints aren't met.
func (TriggerSpecMultiError) AllErrors ¶
func (m TriggerSpecMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TriggerSpecMultiError) Error ¶
func (m TriggerSpecMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TriggerSpecValidationError ¶
type TriggerSpecValidationError struct {
// contains filtered or unexported fields
}
TriggerSpecValidationError is the validation error returned by TriggerSpec.Validate if the designated constraints aren't met.
func (TriggerSpecValidationError) Cause ¶
func (e TriggerSpecValidationError) Cause() error
Cause function returns cause value.
func (TriggerSpecValidationError) Error ¶
func (e TriggerSpecValidationError) Error() string
Error satisfies the builtin error interface
func (TriggerSpecValidationError) ErrorName ¶
func (e TriggerSpecValidationError) ErrorName() string
ErrorName returns error name.
func (TriggerSpecValidationError) Field ¶
func (e TriggerSpecValidationError) Field() string
Field function returns field value.
func (TriggerSpecValidationError) Key ¶
func (e TriggerSpecValidationError) Key() bool
Key function returns key value.
func (TriggerSpecValidationError) Reason ¶
func (e TriggerSpecValidationError) Reason() string
Reason function returns reason value.
type TriggerSpec_Inputs ¶ added in v2.0.21
type TriggerSpec_OffloadedInputData ¶ added in v2.0.21
type TriggerSpec_OffloadedInputData struct {
// Offloaded inputs for the triggered task (URI + hash from UploadInputs). When present,
// launches pass this directly as the run's OffloadedInputData and rely on run_start_time
// rather than merging a kickoff-time input literal.
OffloadedInputData *common.OffloadedInputData `protobuf:"bytes,7,opt,name=offloaded_input_data,json=offloadedInputData,proto3,oneof"`
}
type TriggerStatus ¶
type TriggerStatus struct {
// The first time trigger was deployed.
DeployedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=deployed_at,json=deployedAt,proto3" json:"deployed_at,omitempty"`
// The last time the trigger was updated.
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// The last time the trigger fired.
TriggeredAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=triggered_at,json=triggeredAt,proto3" json:"triggered_at,omitempty"`
// The time trigger was deleted.
DeletedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
// contains filtered or unexported fields
}
func (*TriggerStatus) Descriptor
deprecated
func (*TriggerStatus) Descriptor() ([]byte, []int)
Deprecated: Use TriggerStatus.ProtoReflect.Descriptor instead.
func (*TriggerStatus) GetDeletedAt ¶
func (x *TriggerStatus) GetDeletedAt() *timestamppb.Timestamp
func (*TriggerStatus) GetDeployedAt ¶
func (x *TriggerStatus) GetDeployedAt() *timestamppb.Timestamp
func (*TriggerStatus) GetTriggeredAt ¶
func (x *TriggerStatus) GetTriggeredAt() *timestamppb.Timestamp
func (*TriggerStatus) GetUpdatedAt ¶
func (x *TriggerStatus) GetUpdatedAt() *timestamppb.Timestamp
func (*TriggerStatus) ProtoMessage ¶
func (*TriggerStatus) ProtoMessage()
func (*TriggerStatus) ProtoReflect ¶
func (x *TriggerStatus) ProtoReflect() protoreflect.Message
func (*TriggerStatus) Reset ¶
func (x *TriggerStatus) Reset()
func (*TriggerStatus) String ¶
func (x *TriggerStatus) String() string
func (*TriggerStatus) Validate ¶
func (m *TriggerStatus) Validate() error
Validate checks the field values on TriggerStatus 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 (*TriggerStatus) ValidateAll ¶
func (m *TriggerStatus) ValidateAll() error
ValidateAll checks the field values on TriggerStatus 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 TriggerStatusMultiError, or nil if none found.
type TriggerStatusMultiError ¶
type TriggerStatusMultiError []error
TriggerStatusMultiError is an error wrapping multiple validation errors returned by TriggerStatus.ValidateAll() if the designated constraints aren't met.
func (TriggerStatusMultiError) AllErrors ¶
func (m TriggerStatusMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TriggerStatusMultiError) Error ¶
func (m TriggerStatusMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TriggerStatusValidationError ¶
type TriggerStatusValidationError struct {
// contains filtered or unexported fields
}
TriggerStatusValidationError is the validation error returned by TriggerStatus.Validate if the designated constraints aren't met.
func (TriggerStatusValidationError) Cause ¶
func (e TriggerStatusValidationError) Cause() error
Cause function returns cause value.
func (TriggerStatusValidationError) Error ¶
func (e TriggerStatusValidationError) Error() string
Error satisfies the builtin error interface
func (TriggerStatusValidationError) ErrorName ¶
func (e TriggerStatusValidationError) ErrorName() string
ErrorName returns error name.
func (TriggerStatusValidationError) Field ¶
func (e TriggerStatusValidationError) Field() string
Field function returns field value.
func (TriggerStatusValidationError) Key ¶
func (e TriggerStatusValidationError) Key() bool
Key function returns key value.
func (TriggerStatusValidationError) Reason ¶
func (e TriggerStatusValidationError) Reason() string
Reason function returns reason value.
type TriggerValidationError ¶
type TriggerValidationError struct {
// contains filtered or unexported fields
}
TriggerValidationError is the validation error returned by Trigger.Validate if the designated constraints aren't met.
func (TriggerValidationError) Cause ¶
func (e TriggerValidationError) Cause() error
Cause function returns cause value.
func (TriggerValidationError) Error ¶
func (e TriggerValidationError) Error() string
Error satisfies the builtin error interface
func (TriggerValidationError) ErrorName ¶
func (e TriggerValidationError) ErrorName() string
ErrorName returns error name.
func (TriggerValidationError) Field ¶
func (e TriggerValidationError) Field() string
Field function returns field value.
func (TriggerValidationError) Key ¶
func (e TriggerValidationError) Key() bool
Key function returns key value.
func (TriggerValidationError) Reason ¶
func (e TriggerValidationError) Reason() string
Reason function returns reason value.
type UnimplementedTriggerServiceServer ¶
type UnimplementedTriggerServiceServer struct {
}
UnimplementedTriggerServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedTriggerServiceServer) DeleteTriggers ¶
func (UnimplementedTriggerServiceServer) DeleteTriggers(context.Context, *DeleteTriggersRequest) (*DeleteTriggersResponse, error)
func (UnimplementedTriggerServiceServer) DeployTrigger ¶
func (UnimplementedTriggerServiceServer) DeployTrigger(context.Context, *DeployTriggerRequest) (*DeployTriggerResponse, error)
func (UnimplementedTriggerServiceServer) GetTriggerDetails ¶
func (UnimplementedTriggerServiceServer) GetTriggerDetails(context.Context, *GetTriggerDetailsRequest) (*GetTriggerDetailsResponse, error)
func (UnimplementedTriggerServiceServer) GetTriggerRevisionDetails ¶
func (UnimplementedTriggerServiceServer) GetTriggerRevisionDetails(context.Context, *GetTriggerRevisionDetailsRequest) (*GetTriggerRevisionDetailsResponse, error)
func (UnimplementedTriggerServiceServer) GetTriggerRevisionHistory ¶
func (UnimplementedTriggerServiceServer) GetTriggerRevisionHistory(context.Context, *GetTriggerRevisionHistoryRequest) (*GetTriggerRevisionHistoryResponse, error)
func (UnimplementedTriggerServiceServer) ListTriggers ¶
func (UnimplementedTriggerServiceServer) ListTriggers(context.Context, *ListTriggersRequest) (*ListTriggersResponse, error)
func (UnimplementedTriggerServiceServer) UpdateTriggers ¶
func (UnimplementedTriggerServiceServer) UpdateTriggers(context.Context, *UpdateTriggersRequest) (*UpdateTriggersResponse, error)
type UnsafeTriggerServiceServer ¶
type UnsafeTriggerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTriggerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TriggerServiceServer will result in compilation errors.
type UpdateTriggersRequest ¶
type UpdateTriggersRequest struct {
Names []*common.TriggerName `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
Active bool `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty"`
// contains filtered or unexported fields
}
Request message for updating some trigger spec fields for multiple triggers
func (*UpdateTriggersRequest) Descriptor
deprecated
func (*UpdateTriggersRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTriggersRequest.ProtoReflect.Descriptor instead.
func (*UpdateTriggersRequest) GetActive ¶
func (x *UpdateTriggersRequest) GetActive() bool
func (*UpdateTriggersRequest) GetNames ¶
func (x *UpdateTriggersRequest) GetNames() []*common.TriggerName
func (*UpdateTriggersRequest) ProtoMessage ¶
func (*UpdateTriggersRequest) ProtoMessage()
func (*UpdateTriggersRequest) ProtoReflect ¶
func (x *UpdateTriggersRequest) ProtoReflect() protoreflect.Message
func (*UpdateTriggersRequest) Reset ¶
func (x *UpdateTriggersRequest) Reset()
func (*UpdateTriggersRequest) String ¶
func (x *UpdateTriggersRequest) String() string
func (*UpdateTriggersRequest) Validate ¶
func (m *UpdateTriggersRequest) Validate() error
Validate checks the field values on UpdateTriggersRequest 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 (*UpdateTriggersRequest) ValidateAll ¶
func (m *UpdateTriggersRequest) ValidateAll() error
ValidateAll checks the field values on UpdateTriggersRequest 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 UpdateTriggersRequestMultiError, or nil if none found.
type UpdateTriggersRequestMultiError ¶
type UpdateTriggersRequestMultiError []error
UpdateTriggersRequestMultiError is an error wrapping multiple validation errors returned by UpdateTriggersRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateTriggersRequestMultiError) AllErrors ¶
func (m UpdateTriggersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateTriggersRequestMultiError) Error ¶
func (m UpdateTriggersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateTriggersRequestValidationError ¶
type UpdateTriggersRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateTriggersRequestValidationError is the validation error returned by UpdateTriggersRequest.Validate if the designated constraints aren't met.
func (UpdateTriggersRequestValidationError) Cause ¶
func (e UpdateTriggersRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateTriggersRequestValidationError) Error ¶
func (e UpdateTriggersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTriggersRequestValidationError) ErrorName ¶
func (e UpdateTriggersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTriggersRequestValidationError) Field ¶
func (e UpdateTriggersRequestValidationError) Field() string
Field function returns field value.
func (UpdateTriggersRequestValidationError) Key ¶
func (e UpdateTriggersRequestValidationError) Key() bool
Key function returns key value.
func (UpdateTriggersRequestValidationError) Reason ¶
func (e UpdateTriggersRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateTriggersResponse ¶
type UpdateTriggersResponse struct {
// contains filtered or unexported fields
}
Response message for updating some trigger spec fields for multiple triggers
func (*UpdateTriggersResponse) Descriptor
deprecated
func (*UpdateTriggersResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTriggersResponse.ProtoReflect.Descriptor instead.
func (*UpdateTriggersResponse) ProtoMessage ¶
func (*UpdateTriggersResponse) ProtoMessage()
func (*UpdateTriggersResponse) ProtoReflect ¶
func (x *UpdateTriggersResponse) ProtoReflect() protoreflect.Message
func (*UpdateTriggersResponse) Reset ¶
func (x *UpdateTriggersResponse) Reset()
func (*UpdateTriggersResponse) String ¶
func (x *UpdateTriggersResponse) String() string
func (*UpdateTriggersResponse) Validate ¶
func (m *UpdateTriggersResponse) Validate() error
Validate checks the field values on UpdateTriggersResponse 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 (*UpdateTriggersResponse) ValidateAll ¶
func (m *UpdateTriggersResponse) ValidateAll() error
ValidateAll checks the field values on UpdateTriggersResponse 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 UpdateTriggersResponseMultiError, or nil if none found.
type UpdateTriggersResponseMultiError ¶
type UpdateTriggersResponseMultiError []error
UpdateTriggersResponseMultiError is an error wrapping multiple validation errors returned by UpdateTriggersResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateTriggersResponseMultiError) AllErrors ¶
func (m UpdateTriggersResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateTriggersResponseMultiError) Error ¶
func (m UpdateTriggersResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateTriggersResponseValidationError ¶
type UpdateTriggersResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateTriggersResponseValidationError is the validation error returned by UpdateTriggersResponse.Validate if the designated constraints aren't met.
func (UpdateTriggersResponseValidationError) Cause ¶
func (e UpdateTriggersResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateTriggersResponseValidationError) Error ¶
func (e UpdateTriggersResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTriggersResponseValidationError) ErrorName ¶
func (e UpdateTriggersResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTriggersResponseValidationError) Field ¶
func (e UpdateTriggersResponseValidationError) Field() string
Field function returns field value.
func (UpdateTriggersResponseValidationError) Key ¶
func (e UpdateTriggersResponseValidationError) Key() bool
Key function returns key value.
func (UpdateTriggersResponseValidationError) Reason ¶
func (e UpdateTriggersResponseValidationError) Reason() string
Reason function returns reason value.