trigger

package
v2.0.21 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

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

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

View Source
var File_flyteidl2_trigger_trigger_definition_proto protoreflect.FileDescriptor
View Source
var File_flyteidl2_trigger_trigger_service_proto protoreflect.FileDescriptor
View Source
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

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

Cause function returns cause value.

func (DeleteTriggersRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteTriggersRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteTriggersRequestValidationError) Field

Field function returns field value.

func (DeleteTriggersRequestValidationError) Key

Key function returns key value.

func (DeleteTriggersRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteTriggersResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteTriggersResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteTriggersResponseValidationError) Field

Field function returns field value.

func (DeleteTriggersResponseValidationError) Key

Key function returns key value.

func (DeleteTriggersResponseValidationError) Reason

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

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

Cause function returns cause value.

func (DeployTriggerRequestValidationError) Error

Error satisfies the builtin error interface

func (DeployTriggerRequestValidationError) ErrorName

ErrorName returns error name.

func (DeployTriggerRequestValidationError) Field

Field function returns field value.

func (DeployTriggerRequestValidationError) Key

Key function returns key value.

func (DeployTriggerRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeployTriggerResponseValidationError) Error

Error satisfies the builtin error interface

func (DeployTriggerResponseValidationError) ErrorName

ErrorName returns error name.

func (DeployTriggerResponseValidationError) Field

Field function returns field value.

func (DeployTriggerResponseValidationError) Key

Key function returns key value.

func (DeployTriggerResponseValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (GetTriggerDetailsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetTriggerDetailsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetTriggerDetailsRequestValidationError) Field

Field function returns field value.

func (GetTriggerDetailsRequestValidationError) Key

Key function returns key value.

func (GetTriggerDetailsRequestValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (GetTriggerDetailsResponseMultiError) Error

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

Cause function returns cause value.

func (GetTriggerDetailsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetTriggerDetailsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetTriggerDetailsResponseValidationError) Field

Field function returns field value.

func (GetTriggerDetailsResponseValidationError) Key

Key function returns key value.

func (GetTriggerDetailsResponseValidationError) Reason

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 (*GetTriggerRevisionDetailsRequest) ProtoMessage

func (*GetTriggerRevisionDetailsRequest) ProtoMessage()

func (*GetTriggerRevisionDetailsRequest) ProtoReflect

func (*GetTriggerRevisionDetailsRequest) Reset

func (*GetTriggerRevisionDetailsRequest) String

func (*GetTriggerRevisionDetailsRequest) Validate

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

AllErrors returns a list of validation violation errors.

func (GetTriggerRevisionDetailsRequestMultiError) Error

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

Cause function returns cause value.

func (GetTriggerRevisionDetailsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetTriggerRevisionDetailsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetTriggerRevisionDetailsRequestValidationError) Field

Field function returns field value.

func (GetTriggerRevisionDetailsRequestValidationError) Key

Key function returns key value.

func (GetTriggerRevisionDetailsRequestValidationError) Reason

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 (*GetTriggerRevisionDetailsResponse) ProtoMessage

func (*GetTriggerRevisionDetailsResponse) ProtoMessage()

func (*GetTriggerRevisionDetailsResponse) ProtoReflect

func (*GetTriggerRevisionDetailsResponse) Reset

func (*GetTriggerRevisionDetailsResponse) String

func (*GetTriggerRevisionDetailsResponse) Validate

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

AllErrors returns a list of validation violation errors.

func (GetTriggerRevisionDetailsResponseMultiError) Error

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

Cause function returns cause value.

func (GetTriggerRevisionDetailsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetTriggerRevisionDetailsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetTriggerRevisionDetailsResponseValidationError) Field

Field function returns field value.

func (GetTriggerRevisionDetailsResponseValidationError) Key

Key function returns key value.

func (GetTriggerRevisionDetailsResponseValidationError) Reason

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 (*GetTriggerRevisionHistoryRequest) GetRequest

func (*GetTriggerRevisionHistoryRequest) ProtoMessage

func (*GetTriggerRevisionHistoryRequest) ProtoMessage()

func (*GetTriggerRevisionHistoryRequest) ProtoReflect

func (*GetTriggerRevisionHistoryRequest) Reset

func (*GetTriggerRevisionHistoryRequest) String

func (*GetTriggerRevisionHistoryRequest) Validate

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

AllErrors returns a list of validation violation errors.

func (GetTriggerRevisionHistoryRequestMultiError) Error

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

Cause function returns cause value.

func (GetTriggerRevisionHistoryRequestValidationError) Error

Error satisfies the builtin error interface

func (GetTriggerRevisionHistoryRequestValidationError) ErrorName

ErrorName returns error name.

func (GetTriggerRevisionHistoryRequestValidationError) Field

Field function returns field value.

func (GetTriggerRevisionHistoryRequestValidationError) Key

Key function returns key value.

func (GetTriggerRevisionHistoryRequestValidationError) Reason

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 (*GetTriggerRevisionHistoryResponse) GetTriggers

func (*GetTriggerRevisionHistoryResponse) ProtoMessage

func (*GetTriggerRevisionHistoryResponse) ProtoMessage()

func (*GetTriggerRevisionHistoryResponse) ProtoReflect

func (*GetTriggerRevisionHistoryResponse) Reset

func (*GetTriggerRevisionHistoryResponse) String

func (*GetTriggerRevisionHistoryResponse) Validate

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

AllErrors returns a list of validation violation errors.

func (GetTriggerRevisionHistoryResponseMultiError) Error

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

Cause function returns cause value.

func (GetTriggerRevisionHistoryResponseValidationError) Error

Error satisfies the builtin error interface

func (GetTriggerRevisionHistoryResponseValidationError) ErrorName

ErrorName returns error name.

func (GetTriggerRevisionHistoryResponseValidationError) Field

Field function returns field value.

func (GetTriggerRevisionHistoryResponseValidationError) Key

Key function returns key value.

func (GetTriggerRevisionHistoryResponseValidationError) Reason

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

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

Cause function returns cause value.

func (ListTriggersRequestValidationError) Error

Error satisfies the builtin error interface

func (ListTriggersRequestValidationError) ErrorName

ErrorName returns error name.

func (ListTriggersRequestValidationError) Field

Field function returns field value.

func (ListTriggersRequestValidationError) Key

Key function returns key value.

func (ListTriggersRequestValidationError) Reason

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 ListTriggersRequest_TaskName

type ListTriggersRequest_TaskName struct {
	// List all triggers attached to a given task.
	TaskName *task.TaskName `protobuf:"bytes,5,opt,name=task_name,json=taskName,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

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

Cause function returns cause value.

func (ListTriggersResponseValidationError) Error

Error satisfies the builtin error interface

func (ListTriggersResponseValidationError) ErrorName

ErrorName returns error name.

func (ListTriggersResponseValidationError) Field

Field function returns field value.

func (ListTriggersResponseValidationError) Key

Key function returns key value.

func (ListTriggersResponseValidationError) Reason

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

Deprecated: Use Trigger.ProtoReflect.Descriptor instead.

func (*Trigger) GetActive

func (x *Trigger) GetActive() bool

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) Reset

func (x *Trigger) Reset()

func (*Trigger) String

func (x *Trigger) String() string

func (*Trigger) Validate

func (m *Trigger) Validate() error

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

func (m *Trigger) ValidateAll() error

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 (*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

Cause function returns cause value.

func (TriggerDetailsValidationError) Error

Error satisfies the builtin error interface

func (TriggerDetailsValidationError) ErrorName

func (e TriggerDetailsValidationError) ErrorName() string

ErrorName returns error name.

func (TriggerDetailsValidationError) Field

Field function returns field value.

func (TriggerDetailsValidationError) Key

Key function returns key value.

func (TriggerDetailsValidationError) Reason

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

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

Cause function returns cause value.

func (TriggerMetadataValidationError) Error

Error satisfies the builtin error interface

func (TriggerMetadataValidationError) ErrorName

func (e TriggerMetadataValidationError) ErrorName() string

ErrorName returns error name.

func (TriggerMetadataValidationError) Field

Field function returns field value.

func (TriggerMetadataValidationError) Key

Key function returns key value.

func (TriggerMetadataValidationError) Reason

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 (*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) Enum

func (TriggerRevisionAction) EnumDescriptor deprecated

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

Deprecated: Use TriggerRevisionAction.Descriptor instead.

func (TriggerRevisionAction) Number

func (TriggerRevisionAction) String

func (x TriggerRevisionAction) String() string

func (TriggerRevisionAction) Type

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

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

Cause function returns cause value.

func (TriggerRevisionValidationError) Error

Error satisfies the builtin error interface

func (TriggerRevisionValidationError) ErrorName

func (e TriggerRevisionValidationError) ErrorName() string

ErrorName returns error name.

func (TriggerRevisionValidationError) Field

Field function returns field value.

func (TriggerRevisionValidationError) Key

Key function returns key value.

func (TriggerRevisionValidationError) Reason

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.

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

Cause function returns cause value.

func (TriggerSpecValidationError) Error

Error satisfies the builtin error interface

func (TriggerSpecValidationError) ErrorName

func (e TriggerSpecValidationError) ErrorName() string

ErrorName returns error name.

func (TriggerSpecValidationError) Field

Field function returns field value.

func (TriggerSpecValidationError) Key

Key function returns key value.

func (TriggerSpecValidationError) Reason

Reason function returns reason value.

type TriggerSpec_Inputs added in v2.0.21

type TriggerSpec_Inputs struct {
	// Inline inputs for the triggered task.
	Inputs *task.Inputs `protobuf:"bytes,2,opt,name=inputs,proto3,oneof"`
}

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

Cause function returns cause value.

func (TriggerStatusValidationError) Error

Error satisfies the builtin error interface

func (TriggerStatusValidationError) ErrorName

func (e TriggerStatusValidationError) ErrorName() string

ErrorName returns error name.

func (TriggerStatusValidationError) Field

Field function returns field value.

func (TriggerStatusValidationError) Key

Key function returns key value.

func (TriggerStatusValidationError) Reason

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) DeployTrigger

func (UnimplementedTriggerServiceServer) GetTriggerDetails

func (UnimplementedTriggerServiceServer) ListTriggers

func (UnimplementedTriggerServiceServer) UpdateTriggers

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

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

Cause function returns cause value.

func (UpdateTriggersRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateTriggersRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateTriggersRequestValidationError) Field

Field function returns field value.

func (UpdateTriggersRequestValidationError) Key

Key function returns key value.

func (UpdateTriggersRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateTriggersResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateTriggersResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateTriggersResponseValidationError) Field

Field function returns field value.

func (UpdateTriggersResponseValidationError) Key

Key function returns key value.

func (UpdateTriggersResponseValidationError) Reason

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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