version

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: MIT Imports: 11 Imported by: 0

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

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

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

func (*Alert) Equal

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

func (*Alert) GetMessage

func (m *Alert) GetMessage() string

func (*Alert) GetSeverity

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

func (*Alert) GoString

func (this *Alert) GoString() string

func (*Alert) Marshal

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

func (*Alert) MarshalTo

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

func (*Alert) MarshalToSizedBuffer

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

func (*Alert) ProtoMessage

func (*Alert) ProtoMessage()

func (*Alert) Reset

func (m *Alert) Reset()

func (*Alert) Size

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

func (*Alert) String

func (this *Alert) String() string

func (*Alert) Unmarshal

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

func (*Alert) XXX_DiscardUnknown

func (m *Alert) XXX_DiscardUnknown()

func (*Alert) XXX_Marshal

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

func (*Alert) XXX_Merge

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

func (*Alert) XXX_Size

func (m *Alert) XXX_Size() int

func (*Alert) XXX_Unmarshal

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

type ReleaseInfo

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

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

func (*ReleaseInfo) Equal

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

func (*ReleaseInfo) GetNotes

func (m *ReleaseInfo) GetNotes() string

func (*ReleaseInfo) GetReleaseTime

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

func (*ReleaseInfo) GetVersion

func (m *ReleaseInfo) GetVersion() string

func (*ReleaseInfo) GoString

func (this *ReleaseInfo) GoString() string

func (*ReleaseInfo) Marshal

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

func (*ReleaseInfo) MarshalTo

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

func (*ReleaseInfo) MarshalToSizedBuffer

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

func (*ReleaseInfo) ProtoMessage

func (*ReleaseInfo) ProtoMessage()

func (*ReleaseInfo) Reset

func (m *ReleaseInfo) Reset()

func (*ReleaseInfo) Size

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

func (*ReleaseInfo) String

func (this *ReleaseInfo) String() string

func (*ReleaseInfo) Unmarshal

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

func (*ReleaseInfo) XXX_DiscardUnknown

func (m *ReleaseInfo) XXX_DiscardUnknown()

func (*ReleaseInfo) XXX_Marshal

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

func (*ReleaseInfo) XXX_Merge

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

func (*ReleaseInfo) XXX_Size

func (m *ReleaseInfo) XXX_Size() int

func (*ReleaseInfo) XXX_Unmarshal

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

type VersionInfo

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

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

func (*VersionInfo) Equal

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

func (*VersionInfo) GetAlerts

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

func (*VersionInfo) GetCurrent

func (m *VersionInfo) GetCurrent() *ReleaseInfo

func (*VersionInfo) GetInstructions

func (m *VersionInfo) GetInstructions() string

func (*VersionInfo) GetLastUpdateTime

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

func (*VersionInfo) GetRecommended

func (m *VersionInfo) GetRecommended() *ReleaseInfo

func (*VersionInfo) GoString

func (this *VersionInfo) GoString() string

func (*VersionInfo) Marshal

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

func (*VersionInfo) MarshalTo

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

func (*VersionInfo) MarshalToSizedBuffer

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

func (*VersionInfo) ProtoMessage

func (*VersionInfo) ProtoMessage()

func (*VersionInfo) Reset

func (m *VersionInfo) Reset()

func (*VersionInfo) Size

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

func (*VersionInfo) String

func (this *VersionInfo) String() string

func (*VersionInfo) Unmarshal

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

func (*VersionInfo) XXX_DiscardUnknown

func (m *VersionInfo) XXX_DiscardUnknown()

func (*VersionInfo) XXX_Marshal

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

func (*VersionInfo) XXX_Merge

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

func (*VersionInfo) XXX_Size

func (m *VersionInfo) XXX_Size() int

func (*VersionInfo) XXX_Unmarshal

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