config_file

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: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_prodvana_config_file_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ProdvanaConfig

type ProdvanaConfig struct {

	// Types that are assignable to ConfigOneof:
	//
	//	*ProdvanaConfig_Application
	//	*ProdvanaConfig_Service
	//	*ProdvanaConfig_Protection
	//	*ProdvanaConfig_Runtime
	//	*ProdvanaConfig_DeliveryExtension
	//	*ProdvanaConfig_ReleaseChannel
	ConfigOneof isProdvanaConfig_ConfigOneof `protobuf_oneof:"config_oneof"`
	// TODO(naphat) unify metadata format?
	//
	// Types that are assignable to MetadataOneof:
	//
	//	*ProdvanaConfig_ApplicationMetadata
	//	*ProdvanaConfig_ServiceMetadata
	MetadataOneof isProdvanaConfig_MetadataOneof `protobuf_oneof:"metadata_oneof"`
	// contains filtered or unexported fields
}

schema for config.pvn.yaml

func (*ProdvanaConfig) Descriptor deprecated

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

Deprecated: Use ProdvanaConfig.ProtoReflect.Descriptor instead.

func (*ProdvanaConfig) GetApplication

func (x *ProdvanaConfig) GetApplication() *application.ApplicationConfig

func (*ProdvanaConfig) GetApplicationMetadata

func (x *ProdvanaConfig) GetApplicationMetadata() *application.ApplicationUserMetadata

func (*ProdvanaConfig) GetConfigOneof

func (m *ProdvanaConfig) GetConfigOneof() isProdvanaConfig_ConfigOneof

func (*ProdvanaConfig) GetDeliveryExtension

func (x *ProdvanaConfig) GetDeliveryExtension() *delivery_extension.DeliveryExtensionConfig

func (*ProdvanaConfig) GetMetadataOneof

func (m *ProdvanaConfig) GetMetadataOneof() isProdvanaConfig_MetadataOneof

func (*ProdvanaConfig) GetProtection

func (x *ProdvanaConfig) GetProtection() *protection.ProtectionConfig

func (*ProdvanaConfig) GetReleaseChannel

func (x *ProdvanaConfig) GetReleaseChannel() *release_channel.ReleaseChannelConfig

func (*ProdvanaConfig) GetRuntime

func (x *ProdvanaConfig) GetRuntime() *environment.ClusterConfig

func (*ProdvanaConfig) GetService

func (x *ProdvanaConfig) GetService() *service.ServiceConfig

func (*ProdvanaConfig) GetServiceMetadata

func (x *ProdvanaConfig) GetServiceMetadata() *service.ServiceUserMetadata

func (*ProdvanaConfig) ProtoMessage

func (*ProdvanaConfig) ProtoMessage()

func (*ProdvanaConfig) ProtoReflect

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

func (*ProdvanaConfig) Reset

func (x *ProdvanaConfig) Reset()

func (*ProdvanaConfig) String

func (x *ProdvanaConfig) String() string

func (*ProdvanaConfig) Validate

func (m *ProdvanaConfig) Validate() error

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

func (m *ProdvanaConfig) ValidateAll() error

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

type ProdvanaConfigMultiError

type ProdvanaConfigMultiError []error

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

func (ProdvanaConfigMultiError) AllErrors

func (m ProdvanaConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProdvanaConfigMultiError) Error

func (m ProdvanaConfigMultiError) Error() string

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

type ProdvanaConfigValidationError

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

ProdvanaConfigValidationError is the validation error returned by ProdvanaConfig.Validate if the designated constraints aren't met.

func (ProdvanaConfigValidationError) Cause

Cause function returns cause value.

func (ProdvanaConfigValidationError) Error

Error satisfies the builtin error interface

func (ProdvanaConfigValidationError) ErrorName

func (e ProdvanaConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ProdvanaConfigValidationError) Field

Field function returns field value.

func (ProdvanaConfigValidationError) Key

Key function returns key value.

func (ProdvanaConfigValidationError) Reason

Reason function returns reason value.

type ProdvanaConfig_Application

type ProdvanaConfig_Application struct {
	Application *application.ApplicationConfig `protobuf:"bytes,1,opt,name=application,proto3,oneof"`
}

type ProdvanaConfig_ApplicationMetadata

type ProdvanaConfig_ApplicationMetadata struct {
	ApplicationMetadata *application.ApplicationUserMetadata `protobuf:"bytes,5,opt,name=application_metadata,json=applicationMetadata,proto3,oneof"`
}

type ProdvanaConfig_DeliveryExtension

type ProdvanaConfig_DeliveryExtension struct {
	DeliveryExtension *delivery_extension.DeliveryExtensionConfig `protobuf:"bytes,7,opt,name=delivery_extension,json=deliveryExtension,proto3,oneof"`
}

type ProdvanaConfig_Protection

type ProdvanaConfig_Protection struct {
	Protection *protection.ProtectionConfig `protobuf:"bytes,3,opt,name=protection,proto3,oneof"`
}

type ProdvanaConfig_ReleaseChannel

type ProdvanaConfig_ReleaseChannel struct {
	ReleaseChannel *release_channel.ReleaseChannelConfig `protobuf:"bytes,8,opt,name=release_channel,json=releaseChannel,proto3,oneof"`
}

type ProdvanaConfig_Runtime

type ProdvanaConfig_Runtime struct {
	Runtime *environment.ClusterConfig `protobuf:"bytes,4,opt,name=runtime,proto3,oneof"`
}

type ProdvanaConfig_Service

type ProdvanaConfig_Service struct {
	Service *service.ServiceConfig `protobuf:"bytes,2,opt,name=service,proto3,oneof"`
}

type ProdvanaConfig_ServiceMetadata

type ProdvanaConfig_ServiceMetadata struct {
	ServiceMetadata *service.ServiceUserMetadata `protobuf:"bytes,6,opt,name=service_metadata,json=serviceMetadata,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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