version

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: MIT Imports: 11 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMessage        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessage          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Alert added in v1.1.0

type Alert struct {
	Message  string      `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Severity v1.Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=temporal.api.enums.v1.Severity" json:"severity,omitempty"`
}

Alert contains notification and severity.

func (*Alert) Descriptor added in v1.1.0

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

func (*Alert) Equal added in v1.1.0

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

func (*Alert) GetMessage added in v1.1.0

func (m *Alert) GetMessage() string

func (*Alert) GetSeverity added in v1.1.0

func (m *Alert) GetSeverity() v1.Severity

func (*Alert) GoString added in v1.1.0

func (this *Alert) GoString() string

func (*Alert) Marshal added in v1.1.0

func (m *Alert) Marshal() (dAtA []byte, err error)

func (*Alert) MarshalTo added in v1.1.0

func (m *Alert) MarshalTo(dAtA []byte) (int, error)

func (*Alert) MarshalToSizedBuffer added in v1.1.0

func (m *Alert) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Alert) ProtoMessage added in v1.1.0

func (*Alert) ProtoMessage()

func (*Alert) Reset added in v1.1.0

func (m *Alert) Reset()

func (*Alert) Size added in v1.1.0

func (m *Alert) Size() (n int)

func (*Alert) String added in v1.1.0

func (this *Alert) String() string

func (*Alert) Unmarshal added in v1.1.0

func (m *Alert) Unmarshal(dAtA []byte) error

func (*Alert) XXX_DiscardUnknown added in v1.1.0

func (m *Alert) XXX_DiscardUnknown()

func (*Alert) XXX_Marshal added in v1.1.0

func (m *Alert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Alert) XXX_Merge added in v1.1.0

func (m *Alert) XXX_Merge(src proto.Message)

func (*Alert) XXX_Size added in v1.1.0

func (m *Alert) XXX_Size() int

func (*Alert) XXX_Unmarshal added in v1.1.0

func (m *Alert) XXX_Unmarshal(b []byte) error

type ReleaseInfo added in v1.1.0

type ReleaseInfo struct {
	Version     string     `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	ReleaseTime *time.Time `protobuf:"bytes,2,opt,name=release_time,json=releaseTime,proto3,stdtime" json:"release_time,omitempty"`
	Notes       string     `protobuf:"bytes,3,opt,name=notes,proto3" json:"notes,omitempty"`
}

ReleaseInfo contains information about specific version of temporal.

func (*ReleaseInfo) Descriptor added in v1.1.0

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

func (*ReleaseInfo) Equal added in v1.1.0

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

func (*ReleaseInfo) GetNotes added in v1.1.0

func (m *ReleaseInfo) GetNotes() string

func (*ReleaseInfo) GetReleaseTime added in v1.1.0

func (m *ReleaseInfo) GetReleaseTime() *time.Time

func (*ReleaseInfo) GetVersion added in v1.1.0

func (m *ReleaseInfo) GetVersion() string

func (*ReleaseInfo) GoString added in v1.1.0

func (this *ReleaseInfo) GoString() string

func (*ReleaseInfo) Marshal added in v1.1.0

func (m *ReleaseInfo) Marshal() (dAtA []byte, err error)

func (*ReleaseInfo) MarshalTo added in v1.1.0

func (m *ReleaseInfo) MarshalTo(dAtA []byte) (int, error)

func (*ReleaseInfo) MarshalToSizedBuffer added in v1.1.0

func (m *ReleaseInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReleaseInfo) ProtoMessage added in v1.1.0

func (*ReleaseInfo) ProtoMessage()

func (*ReleaseInfo) Reset added in v1.1.0

func (m *ReleaseInfo) Reset()

func (*ReleaseInfo) Size added in v1.1.0

func (m *ReleaseInfo) Size() (n int)

func (*ReleaseInfo) String added in v1.1.0

func (this *ReleaseInfo) String() string

func (*ReleaseInfo) Unmarshal added in v1.1.0

func (m *ReleaseInfo) Unmarshal(dAtA []byte) error

func (*ReleaseInfo) XXX_DiscardUnknown added in v1.1.0

func (m *ReleaseInfo) XXX_DiscardUnknown()

func (*ReleaseInfo) XXX_Marshal added in v1.1.0

func (m *ReleaseInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReleaseInfo) XXX_Merge added in v1.1.0

func (m *ReleaseInfo) XXX_Merge(src proto.Message)

func (*ReleaseInfo) XXX_Size added in v1.1.0

func (m *ReleaseInfo) XXX_Size() int

func (*ReleaseInfo) XXX_Unmarshal added in v1.1.0

func (m *ReleaseInfo) XXX_Unmarshal(b []byte) error

type VersionInfo added in v1.1.0

type VersionInfo struct {
	Current        *ReleaseInfo `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"`
	Recommended    *ReleaseInfo `protobuf:"bytes,2,opt,name=recommended,proto3" json:"recommended,omitempty"`
	Instructions   string       `protobuf:"bytes,3,opt,name=instructions,proto3" json:"instructions,omitempty"`
	Alerts         []*Alert     `protobuf:"bytes,4,rep,name=alerts,proto3" json:"alerts,omitempty"`
	LastUpdateTime *time.Time   `protobuf:"bytes,5,opt,name=last_update_time,json=lastUpdateTime,proto3,stdtime" json:"last_update_time,omitempty"`
}

VersionInfo contains details about current and recommended release versions as well as alerts and upgrade instructions.

func (*VersionInfo) Descriptor added in v1.1.0

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

func (*VersionInfo) Equal added in v1.1.0

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

func (*VersionInfo) GetAlerts added in v1.1.0

func (m *VersionInfo) GetAlerts() []*Alert

func (*VersionInfo) GetCurrent added in v1.1.0

func (m *VersionInfo) GetCurrent() *ReleaseInfo

func (*VersionInfo) GetInstructions added in v1.1.0

func (m *VersionInfo) GetInstructions() string

func (*VersionInfo) GetLastUpdateTime added in v1.1.0

func (m *VersionInfo) GetLastUpdateTime() *time.Time

func (*VersionInfo) GetRecommended added in v1.1.0

func (m *VersionInfo) GetRecommended() *ReleaseInfo

func (*VersionInfo) GoString added in v1.1.0

func (this *VersionInfo) GoString() string

func (*VersionInfo) Marshal added in v1.1.0

func (m *VersionInfo) Marshal() (dAtA []byte, err error)

func (*VersionInfo) MarshalTo added in v1.1.0

func (m *VersionInfo) MarshalTo(dAtA []byte) (int, error)

func (*VersionInfo) MarshalToSizedBuffer added in v1.1.0

func (m *VersionInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VersionInfo) ProtoMessage added in v1.1.0

func (*VersionInfo) ProtoMessage()

func (*VersionInfo) Reset added in v1.1.0

func (m *VersionInfo) Reset()

func (*VersionInfo) Size added in v1.1.0

func (m *VersionInfo) Size() (n int)

func (*VersionInfo) String added in v1.1.0

func (this *VersionInfo) String() string

func (*VersionInfo) Unmarshal added in v1.1.0

func (m *VersionInfo) Unmarshal(dAtA []byte) error

func (*VersionInfo) XXX_DiscardUnknown added in v1.1.0

func (m *VersionInfo) XXX_DiscardUnknown()

func (*VersionInfo) XXX_Marshal added in v1.1.0

func (m *VersionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VersionInfo) XXX_Merge added in v1.1.0

func (m *VersionInfo) XXX_Merge(src proto.Message)

func (*VersionInfo) XXX_Size added in v1.1.0

func (m *VersionInfo) XXX_Size() int

func (*VersionInfo) XXX_Unmarshal added in v1.1.0

func (m *VersionInfo) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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