fly

package
v0.3.42 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_prodvana_fly_fly_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type FlyConfig

type FlyConfig struct {

	// Types that are assignable to TomlOneof:
	//
	//	*FlyConfig_Inlined
	//	*FlyConfig_Local
	//	*FlyConfig_Remote
	TomlOneof isFlyConfig_TomlOneof `protobuf_oneof:"toml_oneof"`
	// contains filtered or unexported fields
}

func (*FlyConfig) Descriptor deprecated

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

Deprecated: Use FlyConfig.ProtoReflect.Descriptor instead.

func (*FlyConfig) GetInlined

func (x *FlyConfig) GetInlined() string

func (*FlyConfig) GetLocal

func (x *FlyConfig) GetLocal() *common_config.LocalConfig

func (*FlyConfig) GetRemote

func (x *FlyConfig) GetRemote() *common_config.RemoteConfig

func (*FlyConfig) GetTomlOneof

func (m *FlyConfig) GetTomlOneof() isFlyConfig_TomlOneof

func (*FlyConfig) ProtoMessage

func (*FlyConfig) ProtoMessage()

func (*FlyConfig) ProtoReflect

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

func (*FlyConfig) Reset

func (x *FlyConfig) Reset()

func (*FlyConfig) String

func (x *FlyConfig) String() string

func (*FlyConfig) Validate

func (m *FlyConfig) Validate() error

Validate checks the field values on FlyConfig 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 (*FlyConfig) ValidateAll

func (m *FlyConfig) ValidateAll() error

ValidateAll checks the field values on FlyConfig 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 FlyConfigMultiError, or nil if none found.

type FlyConfigMultiError

type FlyConfigMultiError []error

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

func (FlyConfigMultiError) AllErrors

func (m FlyConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FlyConfigMultiError) Error

func (m FlyConfigMultiError) Error() string

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

type FlyConfigValidationError

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

FlyConfigValidationError is the validation error returned by FlyConfig.Validate if the designated constraints aren't met.

func (FlyConfigValidationError) Cause

func (e FlyConfigValidationError) Cause() error

Cause function returns cause value.

func (FlyConfigValidationError) Error

func (e FlyConfigValidationError) Error() string

Error satisfies the builtin error interface

func (FlyConfigValidationError) ErrorName

func (e FlyConfigValidationError) ErrorName() string

ErrorName returns error name.

func (FlyConfigValidationError) Field

func (e FlyConfigValidationError) Field() string

Field function returns field value.

func (FlyConfigValidationError) Key

Key function returns key value.

func (FlyConfigValidationError) Reason

func (e FlyConfigValidationError) Reason() string

Reason function returns reason value.

type FlyConfig_Inlined

type FlyConfig_Inlined struct {
	Inlined string `protobuf:"bytes,1,opt,name=inlined,proto3,oneof"`
}

type FlyConfig_Local

type FlyConfig_Local struct {
	Local *common_config.LocalConfig `protobuf:"bytes,2,opt,name=local,proto3,oneof"`
}

type FlyConfig_Remote

type FlyConfig_Remote struct {
	Remote *common_config.RemoteConfig `protobuf:"bytes,3,opt,name=remote,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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