temporalv1

package
v0.0.0-...-0f6a5af Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_config_service_temporal_v1_temporal_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Config

type Config struct {

	// Using a "dns:///" prefixed address for the host will periodically resolve all IPs for DNS address given and round
	// robin amongst them.
	Host              string             `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Port              uint32             `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	ConnectionOptions *ConnectionOptions `protobuf:"bytes,3,opt,name=connection_options,json=connectionOptions,proto3" json:"connection_options,omitempty"`
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetConnectionOptions

func (x *Config) GetConnectionOptions() *ConnectionOptions

func (*Config) GetHost

func (x *Config) GetHost() string

func (*Config) GetPort

func (x *Config) GetPort() uint32

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

func (*Config) Validate

func (m *Config) Validate() error

Validate checks the field values on Config with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Config) ValidateAll

func (m *Config) ValidateAll() error

ValidateAll checks the field values on Config with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfigMultiError, or nil if none found.

type ConfigMultiError

type ConfigMultiError []error

ConfigMultiError is an error wrapping multiple validation errors returned by Config.ValidateAll() if the designated constraints aren't met.

func (ConfigMultiError) AllErrors

func (m ConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConfigMultiError) Error

func (m ConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ConfigValidationError

type ConfigValidationError struct {
	// contains filtered or unexported fields
}

ConfigValidationError is the validation error returned by Config.Validate if the designated constraints aren't met.

func (ConfigValidationError) Cause

func (e ConfigValidationError) Cause() error

Cause function returns cause value.

func (ConfigValidationError) Error

func (e ConfigValidationError) Error() string

Error satisfies the builtin error interface

func (ConfigValidationError) ErrorName

func (e ConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ConfigValidationError) Field

func (e ConfigValidationError) Field() string

Field function returns field value.

func (ConfigValidationError) Key

func (e ConfigValidationError) Key() bool

Key function returns key value.

func (ConfigValidationError) Reason

func (e ConfigValidationError) Reason() string

Reason function returns reason value.

type ConnectionOptions

type ConnectionOptions struct {
	UseSystemCaBundle bool `protobuf:"varint,1,opt,name=use_system_ca_bundle,json=useSystemCaBundle,proto3" json:"use_system_ca_bundle,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionOptions) Descriptor deprecated

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

Deprecated: Use ConnectionOptions.ProtoReflect.Descriptor instead.

func (*ConnectionOptions) GetUseSystemCaBundle

func (x *ConnectionOptions) GetUseSystemCaBundle() bool

func (*ConnectionOptions) ProtoMessage

func (*ConnectionOptions) ProtoMessage()

func (*ConnectionOptions) ProtoReflect

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

func (*ConnectionOptions) Reset

func (x *ConnectionOptions) Reset()

func (*ConnectionOptions) String

func (x *ConnectionOptions) String() string

func (*ConnectionOptions) Validate

func (m *ConnectionOptions) Validate() error

Validate checks the field values on ConnectionOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ConnectionOptions) ValidateAll

func (m *ConnectionOptions) ValidateAll() error

ValidateAll checks the field values on ConnectionOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConnectionOptionsMultiError, or nil if none found.

type ConnectionOptionsMultiError

type ConnectionOptionsMultiError []error

ConnectionOptionsMultiError is an error wrapping multiple validation errors returned by ConnectionOptions.ValidateAll() if the designated constraints aren't met.

func (ConnectionOptionsMultiError) AllErrors

func (m ConnectionOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConnectionOptionsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ConnectionOptionsValidationError

type ConnectionOptionsValidationError struct {
	// contains filtered or unexported fields
}

ConnectionOptionsValidationError is the validation error returned by ConnectionOptions.Validate if the designated constraints aren't met.

func (ConnectionOptionsValidationError) Cause

Cause function returns cause value.

func (ConnectionOptionsValidationError) Error

Error satisfies the builtin error interface

func (ConnectionOptionsValidationError) ErrorName

ErrorName returns error name.

func (ConnectionOptionsValidationError) Field

Field function returns field value.

func (ConnectionOptionsValidationError) Key

Key function returns key value.

func (ConnectionOptionsValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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