triggersv1

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

View Source
var File_autokitteh_triggers_v1_svc_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Trigger.ProtoReflect.Descriptor instead.

func (*Trigger) GetCodeLocation

func (x *Trigger) GetCodeLocation() *v1.CodeLocation

func (*Trigger) GetConnectionId

func (x *Trigger) GetConnectionId() string

func (*Trigger) GetEnvId

func (x *Trigger) GetEnvId() string

func (*Trigger) GetEventType

func (x *Trigger) GetEventType() string

func (*Trigger) GetFilter added in v0.4.0

func (x *Trigger) GetFilter() string

func (*Trigger) GetName added in v0.4.0

func (x *Trigger) GetName() string

func (*Trigger) GetSchedule added in v0.9.0

func (x *Trigger) GetSchedule() string

func (*Trigger) GetSourceType added in v0.9.0

func (x *Trigger) GetSourceType() Trigger_SourceType

func (*Trigger) GetTriggerId

func (x *Trigger) GetTriggerId() string

func (*Trigger) GetWebhookSlug added in v0.9.0

func (x *Trigger) GetWebhookSlug() string

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

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) Enum added in v0.9.0

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 (Trigger_SourceType) String added in v0.9.0

func (x Trigger_SourceType) String() string

func (Trigger_SourceType) Type added in v0.9.0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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