Documentation ¶
Index ¶
- Variables
- type CreateRequest
- type CreateResponse
- type DeleteRequest
- type DeleteResponse
- type GetRequest
- type GetResponse
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRequest) GetConnectionId() string
- func (x *ListRequest) GetEnvId() string
- func (x *ListRequest) GetProjectId() string
- func (x *ListRequest) GetSourceType() Trigger_SourceType
- func (*ListRequest) ProtoMessage()
- func (x *ListRequest) ProtoReflect() protoreflect.Message
- func (x *ListRequest) Reset()
- func (x *ListRequest) String() string
- type ListResponse
- type Trigger
- func (*Trigger) Descriptor() ([]byte, []int)deprecated
- func (x *Trigger) GetCodeLocation() *v1.CodeLocation
- func (x *Trigger) GetConnectionId() string
- func (x *Trigger) GetEnvId() string
- func (x *Trigger) GetEventType() string
- func (x *Trigger) GetFilter() string
- func (x *Trigger) GetName() string
- func (x *Trigger) GetSchedule() string
- func (x *Trigger) GetSourceType() Trigger_SourceType
- func (x *Trigger) GetTriggerId() string
- func (x *Trigger) GetWebhookSlug() string
- func (*Trigger) ProtoMessage()
- func (x *Trigger) ProtoReflect() protoreflect.Message
- func (x *Trigger) Reset()
- func (x *Trigger) String() string
- type Trigger_SourceType
- func (Trigger_SourceType) Descriptor() protoreflect.EnumDescriptor
- func (x Trigger_SourceType) Enum() *Trigger_SourceType
- func (Trigger_SourceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Trigger_SourceType) Number() protoreflect.EnumNumber
- func (x Trigger_SourceType) String() string
- func (Trigger_SourceType) Type() protoreflect.EnumType
- type UpdateRequest
- type UpdateResponse
Constants ¶
This section is empty.
Variables ¶
var ( Trigger_SourceType_name = map[int32]string{ 0: "SOURCE_TYPE_UNSPECIFIED", 1: "SOURCE_TYPE_CONNECTION", 2: "SOURCE_TYPE_WEBHOOK", 3: "SOURCE_TYPE_SCHEDULE", } Trigger_SourceType_value = map[string]int32{ "SOURCE_TYPE_UNSPECIFIED": 0, "SOURCE_TYPE_CONNECTION": 1, "SOURCE_TYPE_WEBHOOK": 2, "SOURCE_TYPE_SCHEDULE": 3, } )
Enum value maps for Trigger_SourceType.
var File_autokitteh_triggers_v1_svc_proto protoreflect.FileDescriptor
var File_autokitteh_triggers_v1_trigger_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CreateRequest ¶
type CreateRequest struct { Trigger *Trigger `protobuf:"bytes,1,opt,name=trigger,proto3" json:"trigger,omitempty"` // contains filtered or unexported fields }
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetTrigger ¶
func (x *CreateRequest) GetTrigger() *Trigger
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
type CreateResponse ¶
type CreateResponse struct { TriggerId string `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` // contains filtered or unexported fields }
func (*CreateResponse) Descriptor
deprecated
func (*CreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
func (*CreateResponse) GetTriggerId ¶
func (x *CreateResponse) GetTriggerId() string
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) ProtoReflect ¶
func (x *CreateResponse) ProtoReflect() protoreflect.Message
func (*CreateResponse) Reset ¶
func (x *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (x *CreateResponse) String() string
type DeleteRequest ¶
type DeleteRequest struct { TriggerId string `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetTriggerId ¶
func (x *DeleteRequest) GetTriggerId() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
type DeleteResponse ¶
type DeleteResponse struct {
// contains filtered or unexported fields
}
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
type GetRequest ¶
type GetRequest struct { TriggerId string `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetTriggerId ¶
func (x *GetRequest) GetTriggerId() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetResponse ¶
type GetResponse struct { Trigger *Trigger `protobuf:"bytes,1,opt,name=trigger,proto3" json:"trigger,omitempty"` // contains filtered or unexported fields }
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetTrigger ¶
func (x *GetResponse) GetTrigger() *Trigger
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type ListRequest ¶
type ListRequest struct { EnvId string `protobuf:"bytes,1,opt,name=env_id,json=envId,proto3" json:"env_id,omitempty"` ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` SourceType Trigger_SourceType `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetConnectionId ¶
func (x *ListRequest) GetConnectionId() string
func (*ListRequest) GetEnvId ¶
func (x *ListRequest) GetEnvId() string
func (*ListRequest) GetProjectId ¶ added in v0.6.3
func (x *ListRequest) GetProjectId() string
func (*ListRequest) GetSourceType ¶ added in v0.9.0
func (x *ListRequest) GetSourceType() Trigger_SourceType
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListResponse ¶
type ListResponse struct { Triggers []*Trigger `protobuf:"bytes,1,rep,name=triggers,proto3" json:"triggers,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetTriggers ¶
func (x *ListResponse) GetTriggers() []*Trigger
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
type Trigger ¶
type Trigger struct { TriggerId string `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` SourceType Trigger_SourceType `` /* 139-byte string literal not displayed */ EnvId string `protobuf:"bytes,4,opt,name=env_id,json=envId,proto3" json:"env_id,omitempty"` EventType string `protobuf:"bytes,5,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` CodeLocation *v1.CodeLocation `protobuf:"bytes,6,opt,name=code_location,json=codeLocation,proto3" json:"code_location,omitempty"` Filter string `protobuf:"bytes,7,opt,name=filter,proto3" json:"filter,omitempty"` ConnectionId string `protobuf:"bytes,50,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` // if source_type == CONNECTION. Schedule string `protobuf:"bytes,51,opt,name=schedule,proto3" json:"schedule,omitempty"` // if source_type == SCHEDULE. // read only. WebhookSlug string `protobuf:"bytes,100,opt,name=webhook_slug,json=webhookSlug,proto3" json:"webhook_slug,omitempty"` // if source_type == WEBHOOK, after creation. // contains filtered or unexported fields }
func (*Trigger) Descriptor
deprecated
func (*Trigger) GetCodeLocation ¶
func (x *Trigger) GetCodeLocation() *v1.CodeLocation
func (*Trigger) GetConnectionId ¶
func (*Trigger) GetEventType ¶
func (*Trigger) GetSchedule ¶ added in v0.9.0
func (*Trigger) GetSourceType ¶ added in v0.9.0
func (x *Trigger) GetSourceType() Trigger_SourceType
func (*Trigger) GetTriggerId ¶
func (*Trigger) GetWebhookSlug ¶ added in v0.9.0
func (*Trigger) ProtoMessage ¶
func (*Trigger) ProtoMessage()
func (*Trigger) ProtoReflect ¶
func (x *Trigger) ProtoReflect() protoreflect.Message
type Trigger_SourceType ¶ added in v0.9.0
type Trigger_SourceType int32
const ( Trigger_SOURCE_TYPE_UNSPECIFIED Trigger_SourceType = 0 Trigger_SOURCE_TYPE_CONNECTION Trigger_SourceType = 1 Trigger_SOURCE_TYPE_WEBHOOK Trigger_SourceType = 2 Trigger_SOURCE_TYPE_SCHEDULE Trigger_SourceType = 3 )
func (Trigger_SourceType) Descriptor ¶ added in v0.9.0
func (Trigger_SourceType) Descriptor() protoreflect.EnumDescriptor
func (Trigger_SourceType) Enum ¶ added in v0.9.0
func (x Trigger_SourceType) Enum() *Trigger_SourceType
func (Trigger_SourceType) EnumDescriptor
deprecated
added in
v0.9.0
func (Trigger_SourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Trigger_SourceType.Descriptor instead.
func (Trigger_SourceType) Number ¶ added in v0.9.0
func (x Trigger_SourceType) Number() protoreflect.EnumNumber
func (Trigger_SourceType) String ¶ added in v0.9.0
func (x Trigger_SourceType) String() string
func (Trigger_SourceType) Type ¶ added in v0.9.0
func (Trigger_SourceType) Type() protoreflect.EnumType
type UpdateRequest ¶
type UpdateRequest struct { Trigger *Trigger `protobuf:"bytes,1,opt,name=trigger,proto3" json:"trigger,omitempty"` // contains filtered or unexported fields }
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetTrigger ¶
func (x *UpdateRequest) GetTrigger() *Trigger
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (x *UpdateRequest) String() string
type UpdateResponse ¶
type UpdateResponse struct {
// contains filtered or unexported fields
}
func (*UpdateResponse) Descriptor
deprecated
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶
func (x *UpdateResponse) Reset()
func (*UpdateResponse) String ¶
func (x *UpdateResponse) String() string