deployment

package
v1.43.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 8 Imported by: 17

Documentation

Overview

Code generated by protoc-gen-go-helpers. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_temporal_api_deployment_v1_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Deployment

type Deployment struct {

	// Different versions of the same worker service/application are related together by having a
	// shared series name.
	// Out of all deployments of a series, one can be designated as the current deployment, which
	// receives new workflow executions and new tasks of workflows with
	// `VERSIONING_BEHAVIOR_AUTO_UPGRADE` versioning behavior.
	SeriesName string `protobuf:"bytes,1,opt,name=series_name,json=seriesName,proto3" json:"series_name,omitempty"`
	// Build ID changes with each version of the worker when the worker program code and/or config
	// changes.
	BuildId string `protobuf:"bytes,2,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	// contains filtered or unexported fields
}

`Deployment` identifies a deployment of Temporal workers. The combination of deployment series name + build ID serves as the identifier. User can use `WorkerDeploymentOptions` in their worker programs to specify these values.

func (*Deployment) Descriptor deprecated

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

Deprecated: Use Deployment.ProtoReflect.Descriptor instead.

func (*Deployment) Equal

func (this *Deployment) Equal(that interface{}) bool

Equal returns whether two Deployment values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*Deployment) GetBuildId

func (x *Deployment) GetBuildId() string

func (*Deployment) GetSeriesName

func (x *Deployment) GetSeriesName() string

func (*Deployment) Marshal

func (val *Deployment) Marshal() ([]byte, error)

Marshal an object of type Deployment to the protobuf v3 wire format

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) ProtoReflect

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

func (*Deployment) Reset

func (x *Deployment) Reset()

func (*Deployment) Size

func (val *Deployment) Size() int

Size returns the size of the object, in bytes, once serialized

func (*Deployment) String

func (x *Deployment) String() string

func (*Deployment) Unmarshal

func (val *Deployment) Unmarshal(buf []byte) error

Unmarshal an object of type Deployment from the protobuf v3 wire format

type DeploymentInfo

type DeploymentInfo struct {
	Deployment     *Deployment                     `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
	CreateTime     *timestamppb.Timestamp          `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	TaskQueueInfos []*DeploymentInfo_TaskQueueInfo `protobuf:"bytes,3,rep,name=task_queue_infos,json=taskQueueInfos,proto3" json:"task_queue_infos,omitempty"`
	// A user-defined set of key-values. Can be updated as part of write operations to the
	// deployment, such as `SetCurrentDeployment`.
	Metadata map[string]*v1.Payload `` /* 143-byte string literal not displayed */
	// If this deployment is the current deployment of its deployment series.
	IsCurrent bool `protobuf:"varint,5,opt,name=is_current,json=isCurrent,proto3" json:"is_current,omitempty"`
	// contains filtered or unexported fields
}

`DeploymentInfo` holds information about a deployment. Deployment information is tracked automatically by server as soon as the first poll from that deployment reaches the server. There can be multiple task queue workers in a single deployment which are listed in this message.

func (*DeploymentInfo) Descriptor deprecated

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

Deprecated: Use DeploymentInfo.ProtoReflect.Descriptor instead.

func (*DeploymentInfo) Equal

func (this *DeploymentInfo) Equal(that interface{}) bool

Equal returns whether two DeploymentInfo values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*DeploymentInfo) GetCreateTime

func (x *DeploymentInfo) GetCreateTime() *timestamppb.Timestamp

func (*DeploymentInfo) GetDeployment

func (x *DeploymentInfo) GetDeployment() *Deployment

func (*DeploymentInfo) GetIsCurrent

func (x *DeploymentInfo) GetIsCurrent() bool

func (*DeploymentInfo) GetMetadata

func (x *DeploymentInfo) GetMetadata() map[string]*v1.Payload

func (*DeploymentInfo) GetTaskQueueInfos

func (x *DeploymentInfo) GetTaskQueueInfos() []*DeploymentInfo_TaskQueueInfo

func (*DeploymentInfo) Marshal

func (val *DeploymentInfo) Marshal() ([]byte, error)

Marshal an object of type DeploymentInfo to the protobuf v3 wire format

func (*DeploymentInfo) ProtoMessage

func (*DeploymentInfo) ProtoMessage()

func (*DeploymentInfo) ProtoReflect

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

func (*DeploymentInfo) Reset

func (x *DeploymentInfo) Reset()

func (*DeploymentInfo) Size

func (val *DeploymentInfo) Size() int

Size returns the size of the object, in bytes, once serialized

func (*DeploymentInfo) String

func (x *DeploymentInfo) String() string

func (*DeploymentInfo) Unmarshal

func (val *DeploymentInfo) Unmarshal(buf []byte) error

Unmarshal an object of type DeploymentInfo from the protobuf v3 wire format

type DeploymentInfo_TaskQueueInfo

type DeploymentInfo_TaskQueueInfo struct {
	Name string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type v11.TaskQueueType `protobuf:"varint,2,opt,name=type,proto3,enum=temporal.api.enums.v1.TaskQueueType" json:"type,omitempty"`
	// When server saw the first poller for this task queue in this deployment.
	FirstPollerTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=first_poller_time,json=firstPollerTime,proto3" json:"first_poller_time,omitempty"`
	// contains filtered or unexported fields
}

func (*DeploymentInfo_TaskQueueInfo) Descriptor deprecated

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

Deprecated: Use DeploymentInfo_TaskQueueInfo.ProtoReflect.Descriptor instead.

func (*DeploymentInfo_TaskQueueInfo) GetFirstPollerTime

func (x *DeploymentInfo_TaskQueueInfo) GetFirstPollerTime() *timestamppb.Timestamp

func (*DeploymentInfo_TaskQueueInfo) GetName

func (x *DeploymentInfo_TaskQueueInfo) GetName() string

func (*DeploymentInfo_TaskQueueInfo) GetType

func (*DeploymentInfo_TaskQueueInfo) ProtoMessage

func (*DeploymentInfo_TaskQueueInfo) ProtoMessage()

func (*DeploymentInfo_TaskQueueInfo) ProtoReflect

func (*DeploymentInfo_TaskQueueInfo) Reset

func (x *DeploymentInfo_TaskQueueInfo) Reset()

func (*DeploymentInfo_TaskQueueInfo) String

type DeploymentListInfo

type DeploymentListInfo struct {
	Deployment *Deployment            `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// If this deployment is the current deployment of its deployment series.
	IsCurrent bool `protobuf:"varint,3,opt,name=is_current,json=isCurrent,proto3" json:"is_current,omitempty"`
	// contains filtered or unexported fields
}

DeploymentListInfo is an abbreviated set of fields from DeploymentInfo that's returned in ListDeployments.

func (*DeploymentListInfo) Descriptor deprecated

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

Deprecated: Use DeploymentListInfo.ProtoReflect.Descriptor instead.

func (*DeploymentListInfo) Equal

func (this *DeploymentListInfo) Equal(that interface{}) bool

Equal returns whether two DeploymentListInfo values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*DeploymentListInfo) GetCreateTime

func (x *DeploymentListInfo) GetCreateTime() *timestamppb.Timestamp

func (*DeploymentListInfo) GetDeployment

func (x *DeploymentListInfo) GetDeployment() *Deployment

func (*DeploymentListInfo) GetIsCurrent

func (x *DeploymentListInfo) GetIsCurrent() bool

func (*DeploymentListInfo) Marshal

func (val *DeploymentListInfo) Marshal() ([]byte, error)

Marshal an object of type DeploymentListInfo to the protobuf v3 wire format

func (*DeploymentListInfo) ProtoMessage

func (*DeploymentListInfo) ProtoMessage()

func (*DeploymentListInfo) ProtoReflect

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

func (*DeploymentListInfo) Reset

func (x *DeploymentListInfo) Reset()

func (*DeploymentListInfo) Size

func (val *DeploymentListInfo) Size() int

Size returns the size of the object, in bytes, once serialized

func (*DeploymentListInfo) String

func (x *DeploymentListInfo) String() string

func (*DeploymentListInfo) Unmarshal

func (val *DeploymentListInfo) Unmarshal(buf []byte) error

Unmarshal an object of type DeploymentListInfo from the protobuf v3 wire format

type UpdateDeploymentMetadata

type UpdateDeploymentMetadata struct {
	UpsertEntries map[string]*v1.Payload `` /* 174-byte string literal not displayed */
	// List of keys to remove from the metadata.
	RemoveEntries []string `protobuf:"bytes,2,rep,name=remove_entries,json=removeEntries,proto3" json:"remove_entries,omitempty"`
	// contains filtered or unexported fields
}

Used as part of Deployment write APIs to update metadata attached to a deployment.

func (*UpdateDeploymentMetadata) Descriptor deprecated

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

Deprecated: Use UpdateDeploymentMetadata.ProtoReflect.Descriptor instead.

func (*UpdateDeploymentMetadata) Equal

func (this *UpdateDeploymentMetadata) Equal(that interface{}) bool

Equal returns whether two UpdateDeploymentMetadata values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*UpdateDeploymentMetadata) GetRemoveEntries

func (x *UpdateDeploymentMetadata) GetRemoveEntries() []string

func (*UpdateDeploymentMetadata) GetUpsertEntries

func (x *UpdateDeploymentMetadata) GetUpsertEntries() map[string]*v1.Payload

func (*UpdateDeploymentMetadata) Marshal

func (val *UpdateDeploymentMetadata) Marshal() ([]byte, error)

Marshal an object of type UpdateDeploymentMetadata to the protobuf v3 wire format

func (*UpdateDeploymentMetadata) ProtoMessage

func (*UpdateDeploymentMetadata) ProtoMessage()

func (*UpdateDeploymentMetadata) ProtoReflect

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

func (*UpdateDeploymentMetadata) Reset

func (x *UpdateDeploymentMetadata) Reset()

func (*UpdateDeploymentMetadata) Size

func (val *UpdateDeploymentMetadata) Size() int

Size returns the size of the object, in bytes, once serialized

func (*UpdateDeploymentMetadata) String

func (x *UpdateDeploymentMetadata) String() string

func (*UpdateDeploymentMetadata) Unmarshal

func (val *UpdateDeploymentMetadata) Unmarshal(buf []byte) error

Unmarshal an object of type UpdateDeploymentMetadata from the protobuf v3 wire format

Jump to

Keyboard shortcuts

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