delivery_extension

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

Documentation

Overview

Package delivery_extension is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	DeliveryExtensionManager_ConfigureDeliveryExtension_FullMethodName         = "/prodvana.delivery_extension.DeliveryExtensionManager/ConfigureDeliveryExtension"
	DeliveryExtensionManager_ValidateConfigureDeliveryExtension_FullMethodName = "/prodvana.delivery_extension.DeliveryExtensionManager/ValidateConfigureDeliveryExtension"
	DeliveryExtensionManager_ListDeliveryExtensions_FullMethodName             = "/prodvana.delivery_extension.DeliveryExtensionManager/ListDeliveryExtensions"
	DeliveryExtensionManager_GetDeliveryExtension_FullMethodName               = "/prodvana.delivery_extension.DeliveryExtensionManager/GetDeliveryExtension"
	DeliveryExtensionManager_GetDeliveryExtensionConfig_FullMethodName         = "/prodvana.delivery_extension.DeliveryExtensionManager/GetDeliveryExtensionConfig"
	DeliveryExtensionManager_GetDeliveryExtensionInstanceConfig_FullMethodName = "/prodvana.delivery_extension.DeliveryExtensionManager/GetDeliveryExtensionInstanceConfig"
)

Variables

View Source
var (
	Type_name = map[int32]string{
		0: "UNKNOWN_TYPE",
		1: "GLOBAL_USER_CREATED",
		2: "EPHEMERAL",
	}
	Type_value = map[string]int32{
		"UNKNOWN_TYPE":        0,
		"GLOBAL_USER_CREATED": 1,
		"EPHEMERAL":           2,
	}
)

Enum value maps for Type.

View Source
var DeliveryExtensionManager_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "prodvana.delivery_extension.DeliveryExtensionManager",
	HandlerType: (*DeliveryExtensionManagerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ConfigureDeliveryExtension",
			Handler:    _DeliveryExtensionManager_ConfigureDeliveryExtension_Handler,
		},
		{
			MethodName: "ValidateConfigureDeliveryExtension",
			Handler:    _DeliveryExtensionManager_ValidateConfigureDeliveryExtension_Handler,
		},
		{
			MethodName: "ListDeliveryExtensions",
			Handler:    _DeliveryExtensionManager_ListDeliveryExtensions_Handler,
		},
		{
			MethodName: "GetDeliveryExtension",
			Handler:    _DeliveryExtensionManager_GetDeliveryExtension_Handler,
		},
		{
			MethodName: "GetDeliveryExtensionConfig",
			Handler:    _DeliveryExtensionManager_GetDeliveryExtensionConfig_Handler,
		},
		{
			MethodName: "GetDeliveryExtensionInstanceConfig",
			Handler:    _DeliveryExtensionManager_GetDeliveryExtensionInstanceConfig_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "prodvana/delivery_extension/manager.proto",
}

DeliveryExtensionManager_ServiceDesc is the grpc.ServiceDesc for DeliveryExtensionManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_prodvana_delivery_extension_config_proto protoreflect.FileDescriptor
View Source
var File_prodvana_delivery_extension_manager_proto protoreflect.FileDescriptor
View Source
var File_prodvana_delivery_extension_object_proto protoreflect.FileDescriptor

Functions

func RegisterDeliveryExtensionManagerHandler

func RegisterDeliveryExtensionManagerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterDeliveryExtensionManagerHandler registers the http handlers for service DeliveryExtensionManager to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterDeliveryExtensionManagerHandlerClient

func RegisterDeliveryExtensionManagerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DeliveryExtensionManagerClient) error

RegisterDeliveryExtensionManagerHandlerClient registers the http handlers for service DeliveryExtensionManager to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DeliveryExtensionManagerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DeliveryExtensionManagerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DeliveryExtensionManagerClient" to call the correct interceptors.

func RegisterDeliveryExtensionManagerHandlerFromEndpoint

func RegisterDeliveryExtensionManagerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterDeliveryExtensionManagerHandlerFromEndpoint is same as RegisterDeliveryExtensionManagerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterDeliveryExtensionManagerHandlerServer

func RegisterDeliveryExtensionManagerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DeliveryExtensionManagerServer) error

RegisterDeliveryExtensionManagerHandlerServer registers the http handlers for service DeliveryExtensionManager to "mux". UnaryRPC :call DeliveryExtensionManagerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterDeliveryExtensionManagerHandlerFromEndpoint instead.

func RegisterDeliveryExtensionManagerServer

func RegisterDeliveryExtensionManagerServer(s grpc.ServiceRegistrar, srv DeliveryExtensionManagerServer)

Types

type CompiledDeliveryExtensionInstanceConfig

type CompiledDeliveryExtensionInstanceConfig struct {
	Definition       *DeliveryExtensionConfig         `protobuf:"bytes,1,opt,name=definition,proto3" json:"definition,omitempty"`
	RuntimeExecution *runtimes.RuntimeExecutionConfig `protobuf:"bytes,2,opt,name=runtime_execution,json=runtimeExecution,proto3" json:"runtime_execution,omitempty"`
	// The compiled environment for this attachment's context, e.g.  Release Channel.
	Env map[string]*common_config.EnvValue `` /* 147-byte string literal not displayed */
	// compiled parameter values
	ParameterValues []*common_config.ParameterValue `protobuf:"bytes,4,rep,name=parameter_values,json=parameterValues,proto3" json:"parameter_values,omitempty"`
	// contains filtered or unexported fields
}

func (*CompiledDeliveryExtensionInstanceConfig) Descriptor deprecated

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

Deprecated: Use CompiledDeliveryExtensionInstanceConfig.ProtoReflect.Descriptor instead.

func (*CompiledDeliveryExtensionInstanceConfig) GetDefinition

func (*CompiledDeliveryExtensionInstanceConfig) GetEnv

func (*CompiledDeliveryExtensionInstanceConfig) GetParameterValues

func (*CompiledDeliveryExtensionInstanceConfig) GetRuntimeExecution

func (*CompiledDeliveryExtensionInstanceConfig) ProtoMessage

func (*CompiledDeliveryExtensionInstanceConfig) ProtoReflect

func (*CompiledDeliveryExtensionInstanceConfig) Reset

func (*CompiledDeliveryExtensionInstanceConfig) String

func (*CompiledDeliveryExtensionInstanceConfig) Validate

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

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

type CompiledDeliveryExtensionInstanceConfigMultiError

type CompiledDeliveryExtensionInstanceConfigMultiError []error

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

func (CompiledDeliveryExtensionInstanceConfigMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CompiledDeliveryExtensionInstanceConfigMultiError) Error

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

type CompiledDeliveryExtensionInstanceConfigValidationError

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

CompiledDeliveryExtensionInstanceConfigValidationError is the validation error returned by CompiledDeliveryExtensionInstanceConfig.Validate if the designated constraints aren't met.

func (CompiledDeliveryExtensionInstanceConfigValidationError) Cause

Cause function returns cause value.

func (CompiledDeliveryExtensionInstanceConfigValidationError) Error

Error satisfies the builtin error interface

func (CompiledDeliveryExtensionInstanceConfigValidationError) ErrorName

ErrorName returns error name.

func (CompiledDeliveryExtensionInstanceConfigValidationError) Field

Field function returns field value.

func (CompiledDeliveryExtensionInstanceConfigValidationError) Key

Key function returns key value.

func (CompiledDeliveryExtensionInstanceConfigValidationError) Reason

Reason function returns reason value.

type ConfigureDeliveryExtensionReq

type ConfigureDeliveryExtensionReq struct {
	DeliveryExtensionConfig *DeliveryExtensionConfig `` /* 132-byte string literal not displayed */
	Source                  version.Source           `protobuf:"varint,2,opt,name=source,proto3,enum=prodvana.version.Source" json:"source,omitempty"`
	SourceMetadata          *version.SourceMetadata  `protobuf:"bytes,3,opt,name=source_metadata,json=sourceMetadata,proto3" json:"source_metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigureDeliveryExtensionReq) Descriptor deprecated

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

Deprecated: Use ConfigureDeliveryExtensionReq.ProtoReflect.Descriptor instead.

func (*ConfigureDeliveryExtensionReq) GetDeliveryExtensionConfig

func (x *ConfigureDeliveryExtensionReq) GetDeliveryExtensionConfig() *DeliveryExtensionConfig

func (*ConfigureDeliveryExtensionReq) GetSource

func (*ConfigureDeliveryExtensionReq) GetSourceMetadata

func (x *ConfigureDeliveryExtensionReq) GetSourceMetadata() *version.SourceMetadata

func (*ConfigureDeliveryExtensionReq) ProtoMessage

func (*ConfigureDeliveryExtensionReq) ProtoMessage()

func (*ConfigureDeliveryExtensionReq) ProtoReflect

func (*ConfigureDeliveryExtensionReq) Reset

func (x *ConfigureDeliveryExtensionReq) Reset()

func (*ConfigureDeliveryExtensionReq) String

func (*ConfigureDeliveryExtensionReq) Validate

func (m *ConfigureDeliveryExtensionReq) Validate() error

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

func (m *ConfigureDeliveryExtensionReq) ValidateAll() error

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

type ConfigureDeliveryExtensionReqMultiError

type ConfigureDeliveryExtensionReqMultiError []error

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

func (ConfigureDeliveryExtensionReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ConfigureDeliveryExtensionReqMultiError) Error

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

type ConfigureDeliveryExtensionReqValidationError

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

ConfigureDeliveryExtensionReqValidationError is the validation error returned by ConfigureDeliveryExtensionReq.Validate if the designated constraints aren't met.

func (ConfigureDeliveryExtensionReqValidationError) Cause

Cause function returns cause value.

func (ConfigureDeliveryExtensionReqValidationError) Error

Error satisfies the builtin error interface

func (ConfigureDeliveryExtensionReqValidationError) ErrorName

ErrorName returns error name.

func (ConfigureDeliveryExtensionReqValidationError) Field

Field function returns field value.

func (ConfigureDeliveryExtensionReqValidationError) Key

Key function returns key value.

func (ConfigureDeliveryExtensionReqValidationError) Reason

Reason function returns reason value.

type ConfigureDeliveryExtensionResp

type ConfigureDeliveryExtensionResp struct {
	DeliveryExtensionId string `protobuf:"bytes,1,opt,name=delivery_extension_id,json=deliveryExtensionId,proto3" json:"delivery_extension_id,omitempty"`
	Version             string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigureDeliveryExtensionResp) Descriptor deprecated

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

Deprecated: Use ConfigureDeliveryExtensionResp.ProtoReflect.Descriptor instead.

func (*ConfigureDeliveryExtensionResp) GetDeliveryExtensionId

func (x *ConfigureDeliveryExtensionResp) GetDeliveryExtensionId() string

func (*ConfigureDeliveryExtensionResp) GetVersion

func (x *ConfigureDeliveryExtensionResp) GetVersion() string

func (*ConfigureDeliveryExtensionResp) ProtoMessage

func (*ConfigureDeliveryExtensionResp) ProtoMessage()

func (*ConfigureDeliveryExtensionResp) ProtoReflect

func (*ConfigureDeliveryExtensionResp) Reset

func (x *ConfigureDeliveryExtensionResp) Reset()

func (*ConfigureDeliveryExtensionResp) String

func (*ConfigureDeliveryExtensionResp) Validate

func (m *ConfigureDeliveryExtensionResp) Validate() error

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

func (m *ConfigureDeliveryExtensionResp) ValidateAll() error

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

type ConfigureDeliveryExtensionRespMultiError

type ConfigureDeliveryExtensionRespMultiError []error

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

func (ConfigureDeliveryExtensionRespMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ConfigureDeliveryExtensionRespMultiError) Error

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

type ConfigureDeliveryExtensionRespValidationError

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

ConfigureDeliveryExtensionRespValidationError is the validation error returned by ConfigureDeliveryExtensionResp.Validate if the designated constraints aren't met.

func (ConfigureDeliveryExtensionRespValidationError) Cause

Cause function returns cause value.

func (ConfigureDeliveryExtensionRespValidationError) Error

Error satisfies the builtin error interface

func (ConfigureDeliveryExtensionRespValidationError) ErrorName

ErrorName returns error name.

func (ConfigureDeliveryExtensionRespValidationError) Field

Field function returns field value.

func (ConfigureDeliveryExtensionRespValidationError) Key

Key function returns key value.

func (ConfigureDeliveryExtensionRespValidationError) Reason

Reason function returns reason value.

type DeliveryExtension

type DeliveryExtension struct {
	Meta   *object.ObjectMeta       `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Config *DeliveryExtensionConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	State  *DeliveryExtensionState  `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*DeliveryExtension) Descriptor deprecated

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

Deprecated: Use DeliveryExtension.ProtoReflect.Descriptor instead.

func (*DeliveryExtension) GetConfig

func (*DeliveryExtension) GetMeta

func (x *DeliveryExtension) GetMeta() *object.ObjectMeta

func (*DeliveryExtension) GetState

func (*DeliveryExtension) ProtoMessage

func (*DeliveryExtension) ProtoMessage()

func (*DeliveryExtension) ProtoReflect

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

func (*DeliveryExtension) Reset

func (x *DeliveryExtension) Reset()

func (*DeliveryExtension) String

func (x *DeliveryExtension) String() string

func (*DeliveryExtension) Validate

func (m *DeliveryExtension) Validate() error

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

func (m *DeliveryExtension) ValidateAll() error

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

type DeliveryExtensionConfig

type DeliveryExtensionConfig struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to ExecConfig:
	//
	//	*DeliveryExtensionConfig_TaskConfig
	//	*DeliveryExtensionConfig_KubernetesConfig
	ExecConfig isDeliveryExtensionConfig_ExecConfig `protobuf_oneof:"exec_config"`
	Parameters []*common_config.ParameterDefinition `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty"`
	// optional env variables to inject and override from exec_config
	Env         map[string]*common_config.EnvValue `` /* 147-byte string literal not displayed */
	RetryPolicy *environment.RetryPolicy           `protobuf:"bytes,6,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
	// a string used to de-duplicate instances of the same delivery extension.
	// by building this string with the parameters that make this instance unique,
	// Prodvana will ensure only one instance of this delivery extension is created
	// and it will be used to satisfy all references with this same key.
	//
	// By default this will be set to the name of the release channel that the
	// delivery extension will be executed in.
	SharedInstanceKey string `protobuf:"bytes,7,opt,name=shared_instance_key,json=sharedInstanceKey,proto3" json:"shared_instance_key,omitempty"`
	// contains filtered or unexported fields
}

func (*DeliveryExtensionConfig) Descriptor deprecated

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

Deprecated: Use DeliveryExtensionConfig.ProtoReflect.Descriptor instead.

func (*DeliveryExtensionConfig) GetEnv added in v0.1.19

func (*DeliveryExtensionConfig) GetExecConfig

func (m *DeliveryExtensionConfig) GetExecConfig() isDeliveryExtensionConfig_ExecConfig

func (*DeliveryExtensionConfig) GetKubernetesConfig

func (x *DeliveryExtensionConfig) GetKubernetesConfig() *common_config.KubernetesConfig

func (*DeliveryExtensionConfig) GetName

func (x *DeliveryExtensionConfig) GetName() string

func (*DeliveryExtensionConfig) GetParameters

func (*DeliveryExtensionConfig) GetRetryPolicy added in v0.3.27

func (x *DeliveryExtensionConfig) GetRetryPolicy() *environment.RetryPolicy

func (*DeliveryExtensionConfig) GetSharedInstanceKey added in v0.3.42

func (x *DeliveryExtensionConfig) GetSharedInstanceKey() string

func (*DeliveryExtensionConfig) GetTaskConfig

func (x *DeliveryExtensionConfig) GetTaskConfig() *common_config.TaskConfig

func (*DeliveryExtensionConfig) ProtoMessage

func (*DeliveryExtensionConfig) ProtoMessage()

func (*DeliveryExtensionConfig) ProtoReflect

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

func (*DeliveryExtensionConfig) Reset

func (x *DeliveryExtensionConfig) Reset()

func (*DeliveryExtensionConfig) String

func (x *DeliveryExtensionConfig) String() string

func (*DeliveryExtensionConfig) Validate

func (m *DeliveryExtensionConfig) Validate() error

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

func (m *DeliveryExtensionConfig) ValidateAll() error

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

type DeliveryExtensionConfigMultiError

type DeliveryExtensionConfigMultiError []error

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

func (DeliveryExtensionConfigMultiError) AllErrors

func (m DeliveryExtensionConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeliveryExtensionConfigMultiError) Error

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

type DeliveryExtensionConfigValidationError

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

DeliveryExtensionConfigValidationError is the validation error returned by DeliveryExtensionConfig.Validate if the designated constraints aren't met.

func (DeliveryExtensionConfigValidationError) Cause

Cause function returns cause value.

func (DeliveryExtensionConfigValidationError) Error

Error satisfies the builtin error interface

func (DeliveryExtensionConfigValidationError) ErrorName

ErrorName returns error name.

func (DeliveryExtensionConfigValidationError) Field

Field function returns field value.

func (DeliveryExtensionConfigValidationError) Key

Key function returns key value.

func (DeliveryExtensionConfigValidationError) Reason

Reason function returns reason value.

type DeliveryExtensionConfig_KubernetesConfig

type DeliveryExtensionConfig_KubernetesConfig struct {
	KubernetesConfig *common_config.KubernetesConfig `protobuf:"bytes,3,opt,name=kubernetes_config,json=kubernetesConfig,proto3,oneof"`
}

type DeliveryExtensionConfig_TaskConfig

type DeliveryExtensionConfig_TaskConfig struct {
	TaskConfig *common_config.TaskConfig `protobuf:"bytes,2,opt,name=task_config,json=taskConfig,proto3,oneof"`
}

type DeliveryExtensionInstanceRef added in v0.1.16

type DeliveryExtensionInstanceRef struct {
	Name       string                          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Parameters []*common_config.ParameterValue `protobuf:"bytes,3,rep,name=parameters,proto3" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

func (*DeliveryExtensionInstanceRef) Descriptor deprecated added in v0.1.16

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

Deprecated: Use DeliveryExtensionInstanceRef.ProtoReflect.Descriptor instead.

func (*DeliveryExtensionInstanceRef) GetName added in v0.1.16

func (x *DeliveryExtensionInstanceRef) GetName() string

func (*DeliveryExtensionInstanceRef) GetParameters added in v0.1.16

func (*DeliveryExtensionInstanceRef) ProtoMessage added in v0.1.16

func (*DeliveryExtensionInstanceRef) ProtoMessage()

func (*DeliveryExtensionInstanceRef) ProtoReflect added in v0.1.16

func (*DeliveryExtensionInstanceRef) Reset added in v0.1.16

func (x *DeliveryExtensionInstanceRef) Reset()

func (*DeliveryExtensionInstanceRef) String added in v0.1.16

func (*DeliveryExtensionInstanceRef) Validate added in v0.1.16

func (m *DeliveryExtensionInstanceRef) Validate() error

Validate checks the field values on DeliveryExtensionInstanceRef 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 (*DeliveryExtensionInstanceRef) ValidateAll added in v0.1.16

func (m *DeliveryExtensionInstanceRef) ValidateAll() error

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

type DeliveryExtensionInstanceRefMultiError added in v0.1.16

type DeliveryExtensionInstanceRefMultiError []error

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

func (DeliveryExtensionInstanceRefMultiError) AllErrors added in v0.1.16

AllErrors returns a list of validation violation errors.

func (DeliveryExtensionInstanceRefMultiError) Error added in v0.1.16

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

type DeliveryExtensionInstanceRefValidationError added in v0.1.16

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

DeliveryExtensionInstanceRefValidationError is the validation error returned by DeliveryExtensionInstanceRef.Validate if the designated constraints aren't met.

func (DeliveryExtensionInstanceRefValidationError) Cause added in v0.1.16

Cause function returns cause value.

func (DeliveryExtensionInstanceRefValidationError) Error added in v0.1.16

Error satisfies the builtin error interface

func (DeliveryExtensionInstanceRefValidationError) ErrorName added in v0.1.16

ErrorName returns error name.

func (DeliveryExtensionInstanceRefValidationError) Field added in v0.1.16

Field function returns field value.

func (DeliveryExtensionInstanceRefValidationError) Key added in v0.1.16

Key function returns key value.

func (DeliveryExtensionInstanceRefValidationError) Reason added in v0.1.16

Reason function returns reason value.

type DeliveryExtensionManagerClient

type DeliveryExtensionManagerClient interface {
	ConfigureDeliveryExtension(ctx context.Context, in *ConfigureDeliveryExtensionReq, opts ...grpc.CallOption) (*ConfigureDeliveryExtensionResp, error)
	ValidateConfigureDeliveryExtension(ctx context.Context, in *ConfigureDeliveryExtensionReq, opts ...grpc.CallOption) (*ValidateConfigureDeliveryExtensionResp, error)
	ListDeliveryExtensions(ctx context.Context, in *ListDeliveryExtensionsReq, opts ...grpc.CallOption) (*ListDeliveryExtensionsResp, error)
	GetDeliveryExtension(ctx context.Context, in *GetDeliveryExtensionReq, opts ...grpc.CallOption) (*GetDeliveryExtensionResp, error)
	GetDeliveryExtensionConfig(ctx context.Context, in *GetDeliveryExtensionConfigReq, opts ...grpc.CallOption) (*GetDeliveryExtensionConfigResp, error)
	GetDeliveryExtensionInstanceConfig(ctx context.Context, in *GetDeliveryExtensionInstanceConfigReq, opts ...grpc.CallOption) (*GetDeliveryExtensionInstanceConfigResp, error)
}

DeliveryExtensionManagerClient is the client API for DeliveryExtensionManager service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type DeliveryExtensionManagerServer

type DeliveryExtensionManagerServer interface {
	ConfigureDeliveryExtension(context.Context, *ConfigureDeliveryExtensionReq) (*ConfigureDeliveryExtensionResp, error)
	ValidateConfigureDeliveryExtension(context.Context, *ConfigureDeliveryExtensionReq) (*ValidateConfigureDeliveryExtensionResp, error)
	ListDeliveryExtensions(context.Context, *ListDeliveryExtensionsReq) (*ListDeliveryExtensionsResp, error)
	GetDeliveryExtension(context.Context, *GetDeliveryExtensionReq) (*GetDeliveryExtensionResp, error)
	GetDeliveryExtensionConfig(context.Context, *GetDeliveryExtensionConfigReq) (*GetDeliveryExtensionConfigResp, error)
	GetDeliveryExtensionInstanceConfig(context.Context, *GetDeliveryExtensionInstanceConfigReq) (*GetDeliveryExtensionInstanceConfigResp, error)
	// contains filtered or unexported methods
}

DeliveryExtensionManagerServer is the server API for DeliveryExtensionManager service. All implementations must embed UnimplementedDeliveryExtensionManagerServer for forward compatibility

type DeliveryExtensionMultiError

type DeliveryExtensionMultiError []error

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

func (DeliveryExtensionMultiError) AllErrors

func (m DeliveryExtensionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeliveryExtensionMultiError) Error

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

type DeliveryExtensionState

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

func (*DeliveryExtensionState) Descriptor deprecated

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

Deprecated: Use DeliveryExtensionState.ProtoReflect.Descriptor instead.

func (*DeliveryExtensionState) ProtoMessage

func (*DeliveryExtensionState) ProtoMessage()

func (*DeliveryExtensionState) ProtoReflect

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

func (*DeliveryExtensionState) Reset

func (x *DeliveryExtensionState) Reset()

func (*DeliveryExtensionState) String

func (x *DeliveryExtensionState) String() string

func (*DeliveryExtensionState) Validate

func (m *DeliveryExtensionState) Validate() error

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

func (m *DeliveryExtensionState) ValidateAll() error

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

type DeliveryExtensionStateMultiError

type DeliveryExtensionStateMultiError []error

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

func (DeliveryExtensionStateMultiError) AllErrors

func (m DeliveryExtensionStateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeliveryExtensionStateMultiError) Error

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

type DeliveryExtensionStateValidationError

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

DeliveryExtensionStateValidationError is the validation error returned by DeliveryExtensionState.Validate if the designated constraints aren't met.

func (DeliveryExtensionStateValidationError) Cause

Cause function returns cause value.

func (DeliveryExtensionStateValidationError) Error

Error satisfies the builtin error interface

func (DeliveryExtensionStateValidationError) ErrorName

ErrorName returns error name.

func (DeliveryExtensionStateValidationError) Field

Field function returns field value.

func (DeliveryExtensionStateValidationError) Key

Key function returns key value.

func (DeliveryExtensionStateValidationError) Reason

Reason function returns reason value.

type DeliveryExtensionValidationError

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

DeliveryExtensionValidationError is the validation error returned by DeliveryExtension.Validate if the designated constraints aren't met.

func (DeliveryExtensionValidationError) Cause

Cause function returns cause value.

func (DeliveryExtensionValidationError) Error

Error satisfies the builtin error interface

func (DeliveryExtensionValidationError) ErrorName

ErrorName returns error name.

func (DeliveryExtensionValidationError) Field

Field function returns field value.

func (DeliveryExtensionValidationError) Key

Key function returns key value.

func (DeliveryExtensionValidationError) Reason

Reason function returns reason value.

type GetDeliveryExtensionConfigReq

type GetDeliveryExtensionConfigReq struct {
	DeliveryExtension string `protobuf:"bytes,1,opt,name=delivery_extension,json=deliveryExtension,proto3" json:"delivery_extension,omitempty"`
	Version           string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // omit to get latest version
	// contains filtered or unexported fields
}

func (*GetDeliveryExtensionConfigReq) Descriptor deprecated

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

Deprecated: Use GetDeliveryExtensionConfigReq.ProtoReflect.Descriptor instead.

func (*GetDeliveryExtensionConfigReq) GetDeliveryExtension

func (x *GetDeliveryExtensionConfigReq) GetDeliveryExtension() string

func (*GetDeliveryExtensionConfigReq) GetVersion

func (x *GetDeliveryExtensionConfigReq) GetVersion() string

func (*GetDeliveryExtensionConfigReq) ProtoMessage

func (*GetDeliveryExtensionConfigReq) ProtoMessage()

func (*GetDeliveryExtensionConfigReq) ProtoReflect

func (*GetDeliveryExtensionConfigReq) Reset

func (x *GetDeliveryExtensionConfigReq) Reset()

func (*GetDeliveryExtensionConfigReq) String

func (*GetDeliveryExtensionConfigReq) Validate

func (m *GetDeliveryExtensionConfigReq) Validate() error

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

func (m *GetDeliveryExtensionConfigReq) ValidateAll() error

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

type GetDeliveryExtensionConfigReqMultiError

type GetDeliveryExtensionConfigReqMultiError []error

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

func (GetDeliveryExtensionConfigReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetDeliveryExtensionConfigReqMultiError) Error

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

type GetDeliveryExtensionConfigReqValidationError

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

GetDeliveryExtensionConfigReqValidationError is the validation error returned by GetDeliveryExtensionConfigReq.Validate if the designated constraints aren't met.

func (GetDeliveryExtensionConfigReqValidationError) Cause

Cause function returns cause value.

func (GetDeliveryExtensionConfigReqValidationError) Error

Error satisfies the builtin error interface

func (GetDeliveryExtensionConfigReqValidationError) ErrorName

ErrorName returns error name.

func (GetDeliveryExtensionConfigReqValidationError) Field

Field function returns field value.

func (GetDeliveryExtensionConfigReqValidationError) Key

Key function returns key value.

func (GetDeliveryExtensionConfigReqValidationError) Reason

Reason function returns reason value.

type GetDeliveryExtensionConfigResp

type GetDeliveryExtensionConfigResp struct {
	InputConfig    *DeliveryExtensionConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
	CompiledConfig *DeliveryExtensionConfig `protobuf:"bytes,3,opt,name=compiled_config,json=compiledConfig,proto3" json:"compiled_config,omitempty"`
	Version        string                   `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // next tag: 4
	// contains filtered or unexported fields
}

func (*GetDeliveryExtensionConfigResp) Descriptor deprecated

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

Deprecated: Use GetDeliveryExtensionConfigResp.ProtoReflect.Descriptor instead.

func (*GetDeliveryExtensionConfigResp) GetCompiledConfig added in v0.2.13

func (*GetDeliveryExtensionConfigResp) GetInputConfig added in v0.2.13

func (*GetDeliveryExtensionConfigResp) GetVersion

func (x *GetDeliveryExtensionConfigResp) GetVersion() string

func (*GetDeliveryExtensionConfigResp) ProtoMessage

func (*GetDeliveryExtensionConfigResp) ProtoMessage()

func (*GetDeliveryExtensionConfigResp) ProtoReflect

func (*GetDeliveryExtensionConfigResp) Reset

func (x *GetDeliveryExtensionConfigResp) Reset()

func (*GetDeliveryExtensionConfigResp) String

func (*GetDeliveryExtensionConfigResp) Validate

func (m *GetDeliveryExtensionConfigResp) Validate() error

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

func (m *GetDeliveryExtensionConfigResp) ValidateAll() error

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

type GetDeliveryExtensionConfigRespMultiError

type GetDeliveryExtensionConfigRespMultiError []error

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

func (GetDeliveryExtensionConfigRespMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetDeliveryExtensionConfigRespMultiError) Error

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

type GetDeliveryExtensionConfigRespValidationError

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

GetDeliveryExtensionConfigRespValidationError is the validation error returned by GetDeliveryExtensionConfigResp.Validate if the designated constraints aren't met.

func (GetDeliveryExtensionConfigRespValidationError) Cause

Cause function returns cause value.

func (GetDeliveryExtensionConfigRespValidationError) Error

Error satisfies the builtin error interface

func (GetDeliveryExtensionConfigRespValidationError) ErrorName

ErrorName returns error name.

func (GetDeliveryExtensionConfigRespValidationError) Field

Field function returns field value.

func (GetDeliveryExtensionConfigRespValidationError) Key

Key function returns key value.

func (GetDeliveryExtensionConfigRespValidationError) Reason

Reason function returns reason value.

type GetDeliveryExtensionInstanceConfigReq added in v0.2.0

type GetDeliveryExtensionInstanceConfigReq struct {
	DeliveryExtensionInstanceId string ``                                                                    /* 146-byte string literal not displayed */
	Version                     string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // omit to get latest version
	// contains filtered or unexported fields
}

func (*GetDeliveryExtensionInstanceConfigReq) Descriptor deprecated added in v0.2.0

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

Deprecated: Use GetDeliveryExtensionInstanceConfigReq.ProtoReflect.Descriptor instead.

func (*GetDeliveryExtensionInstanceConfigReq) GetDeliveryExtensionInstanceId added in v0.2.0

func (x *GetDeliveryExtensionInstanceConfigReq) GetDeliveryExtensionInstanceId() string

func (*GetDeliveryExtensionInstanceConfigReq) GetVersion added in v0.2.0

func (*GetDeliveryExtensionInstanceConfigReq) ProtoMessage added in v0.2.0

func (*GetDeliveryExtensionInstanceConfigReq) ProtoMessage()

func (*GetDeliveryExtensionInstanceConfigReq) ProtoReflect added in v0.2.0

func (*GetDeliveryExtensionInstanceConfigReq) Reset added in v0.2.0

func (*GetDeliveryExtensionInstanceConfigReq) String added in v0.2.0

func (*GetDeliveryExtensionInstanceConfigReq) Validate added in v0.2.0

Validate checks the field values on GetDeliveryExtensionInstanceConfigReq 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 (*GetDeliveryExtensionInstanceConfigReq) ValidateAll added in v0.2.0

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

type GetDeliveryExtensionInstanceConfigReqMultiError added in v0.2.0

type GetDeliveryExtensionInstanceConfigReqMultiError []error

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

func (GetDeliveryExtensionInstanceConfigReqMultiError) AllErrors added in v0.2.0

AllErrors returns a list of validation violation errors.

func (GetDeliveryExtensionInstanceConfigReqMultiError) Error added in v0.2.0

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

type GetDeliveryExtensionInstanceConfigReqValidationError added in v0.2.0

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

GetDeliveryExtensionInstanceConfigReqValidationError is the validation error returned by GetDeliveryExtensionInstanceConfigReq.Validate if the designated constraints aren't met.

func (GetDeliveryExtensionInstanceConfigReqValidationError) Cause added in v0.2.0

Cause function returns cause value.

func (GetDeliveryExtensionInstanceConfigReqValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (GetDeliveryExtensionInstanceConfigReqValidationError) ErrorName added in v0.2.0

ErrorName returns error name.

func (GetDeliveryExtensionInstanceConfigReqValidationError) Field added in v0.2.0

Field function returns field value.

func (GetDeliveryExtensionInstanceConfigReqValidationError) Key added in v0.2.0

Key function returns key value.

func (GetDeliveryExtensionInstanceConfigReqValidationError) Reason added in v0.2.0

Reason function returns reason value.

type GetDeliveryExtensionInstanceConfigResp added in v0.2.0

type GetDeliveryExtensionInstanceConfigResp struct {
	Config  *CompiledDeliveryExtensionInstanceConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	Version string                                   `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeliveryExtensionInstanceConfigResp) Descriptor deprecated added in v0.2.0

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

Deprecated: Use GetDeliveryExtensionInstanceConfigResp.ProtoReflect.Descriptor instead.

func (*GetDeliveryExtensionInstanceConfigResp) GetConfig added in v0.2.0

func (*GetDeliveryExtensionInstanceConfigResp) GetVersion added in v0.2.0

func (*GetDeliveryExtensionInstanceConfigResp) ProtoMessage added in v0.2.0

func (*GetDeliveryExtensionInstanceConfigResp) ProtoReflect added in v0.2.0

func (*GetDeliveryExtensionInstanceConfigResp) Reset added in v0.2.0

func (*GetDeliveryExtensionInstanceConfigResp) String added in v0.2.0

func (*GetDeliveryExtensionInstanceConfigResp) Validate added in v0.2.0

Validate checks the field values on GetDeliveryExtensionInstanceConfigResp 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 (*GetDeliveryExtensionInstanceConfigResp) ValidateAll added in v0.2.0

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

type GetDeliveryExtensionInstanceConfigRespMultiError added in v0.2.0

type GetDeliveryExtensionInstanceConfigRespMultiError []error

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

func (GetDeliveryExtensionInstanceConfigRespMultiError) AllErrors added in v0.2.0

AllErrors returns a list of validation violation errors.

func (GetDeliveryExtensionInstanceConfigRespMultiError) Error added in v0.2.0

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

type GetDeliveryExtensionInstanceConfigRespValidationError added in v0.2.0

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

GetDeliveryExtensionInstanceConfigRespValidationError is the validation error returned by GetDeliveryExtensionInstanceConfigResp.Validate if the designated constraints aren't met.

func (GetDeliveryExtensionInstanceConfigRespValidationError) Cause added in v0.2.0

Cause function returns cause value.

func (GetDeliveryExtensionInstanceConfigRespValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (GetDeliveryExtensionInstanceConfigRespValidationError) ErrorName added in v0.2.0

ErrorName returns error name.

func (GetDeliveryExtensionInstanceConfigRespValidationError) Field added in v0.2.0

Field function returns field value.

func (GetDeliveryExtensionInstanceConfigRespValidationError) Key added in v0.2.0

Key function returns key value.

func (GetDeliveryExtensionInstanceConfigRespValidationError) Reason added in v0.2.0

Reason function returns reason value.

type GetDeliveryExtensionReq

type GetDeliveryExtensionReq struct {
	DeliveryExtension string `protobuf:"bytes,1,opt,name=delivery_extension,json=deliveryExtension,proto3" json:"delivery_extension,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeliveryExtensionReq) Descriptor deprecated

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

Deprecated: Use GetDeliveryExtensionReq.ProtoReflect.Descriptor instead.

func (*GetDeliveryExtensionReq) GetDeliveryExtension

func (x *GetDeliveryExtensionReq) GetDeliveryExtension() string

func (*GetDeliveryExtensionReq) ProtoMessage

func (*GetDeliveryExtensionReq) ProtoMessage()

func (*GetDeliveryExtensionReq) ProtoReflect

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

func (*GetDeliveryExtensionReq) Reset

func (x *GetDeliveryExtensionReq) Reset()

func (*GetDeliveryExtensionReq) String

func (x *GetDeliveryExtensionReq) String() string

func (*GetDeliveryExtensionReq) Validate

func (m *GetDeliveryExtensionReq) Validate() error

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

func (m *GetDeliveryExtensionReq) ValidateAll() error

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

type GetDeliveryExtensionReqMultiError

type GetDeliveryExtensionReqMultiError []error

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

func (GetDeliveryExtensionReqMultiError) AllErrors

func (m GetDeliveryExtensionReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetDeliveryExtensionReqMultiError) Error

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

type GetDeliveryExtensionReqValidationError

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

GetDeliveryExtensionReqValidationError is the validation error returned by GetDeliveryExtensionReq.Validate if the designated constraints aren't met.

func (GetDeliveryExtensionReqValidationError) Cause

Cause function returns cause value.

func (GetDeliveryExtensionReqValidationError) Error

Error satisfies the builtin error interface

func (GetDeliveryExtensionReqValidationError) ErrorName

ErrorName returns error name.

func (GetDeliveryExtensionReqValidationError) Field

Field function returns field value.

func (GetDeliveryExtensionReqValidationError) Key

Key function returns key value.

func (GetDeliveryExtensionReqValidationError) Reason

Reason function returns reason value.

type GetDeliveryExtensionResp

type GetDeliveryExtensionResp struct {
	DeliveryExtension *DeliveryExtension `protobuf:"bytes,1,opt,name=delivery_extension,json=deliveryExtension,proto3" json:"delivery_extension,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeliveryExtensionResp) Descriptor deprecated

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

Deprecated: Use GetDeliveryExtensionResp.ProtoReflect.Descriptor instead.

func (*GetDeliveryExtensionResp) GetDeliveryExtension

func (x *GetDeliveryExtensionResp) GetDeliveryExtension() *DeliveryExtension

func (*GetDeliveryExtensionResp) ProtoMessage

func (*GetDeliveryExtensionResp) ProtoMessage()

func (*GetDeliveryExtensionResp) ProtoReflect

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

func (*GetDeliveryExtensionResp) Reset

func (x *GetDeliveryExtensionResp) Reset()

func (*GetDeliveryExtensionResp) String

func (x *GetDeliveryExtensionResp) String() string

func (*GetDeliveryExtensionResp) Validate

func (m *GetDeliveryExtensionResp) Validate() error

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

func (m *GetDeliveryExtensionResp) ValidateAll() error

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

type GetDeliveryExtensionRespMultiError

type GetDeliveryExtensionRespMultiError []error

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

func (GetDeliveryExtensionRespMultiError) AllErrors

func (m GetDeliveryExtensionRespMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetDeliveryExtensionRespMultiError) Error

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

type GetDeliveryExtensionRespValidationError

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

GetDeliveryExtensionRespValidationError is the validation error returned by GetDeliveryExtensionResp.Validate if the designated constraints aren't met.

func (GetDeliveryExtensionRespValidationError) Cause

Cause function returns cause value.

func (GetDeliveryExtensionRespValidationError) Error

Error satisfies the builtin error interface

func (GetDeliveryExtensionRespValidationError) ErrorName

ErrorName returns error name.

func (GetDeliveryExtensionRespValidationError) Field

Field function returns field value.

func (GetDeliveryExtensionRespValidationError) Key

Key function returns key value.

func (GetDeliveryExtensionRespValidationError) Reason

Reason function returns reason value.

type ListDeliveryExtensionsReq

type ListDeliveryExtensionsReq struct {
	PageToken string `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	PageSize  int32  `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDeliveryExtensionsReq) Descriptor deprecated

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

Deprecated: Use ListDeliveryExtensionsReq.ProtoReflect.Descriptor instead.

func (*ListDeliveryExtensionsReq) GetPageSize

func (x *ListDeliveryExtensionsReq) GetPageSize() int32

func (*ListDeliveryExtensionsReq) GetPageToken

func (x *ListDeliveryExtensionsReq) GetPageToken() string

func (*ListDeliveryExtensionsReq) ProtoMessage

func (*ListDeliveryExtensionsReq) ProtoMessage()

func (*ListDeliveryExtensionsReq) ProtoReflect

func (*ListDeliveryExtensionsReq) Reset

func (x *ListDeliveryExtensionsReq) Reset()

func (*ListDeliveryExtensionsReq) String

func (x *ListDeliveryExtensionsReq) String() string

func (*ListDeliveryExtensionsReq) Validate

func (m *ListDeliveryExtensionsReq) Validate() error

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

func (m *ListDeliveryExtensionsReq) ValidateAll() error

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

type ListDeliveryExtensionsReqMultiError

type ListDeliveryExtensionsReqMultiError []error

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

func (ListDeliveryExtensionsReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListDeliveryExtensionsReqMultiError) Error

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

type ListDeliveryExtensionsReqValidationError

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

ListDeliveryExtensionsReqValidationError is the validation error returned by ListDeliveryExtensionsReq.Validate if the designated constraints aren't met.

func (ListDeliveryExtensionsReqValidationError) Cause

Cause function returns cause value.

func (ListDeliveryExtensionsReqValidationError) Error

Error satisfies the builtin error interface

func (ListDeliveryExtensionsReqValidationError) ErrorName

ErrorName returns error name.

func (ListDeliveryExtensionsReqValidationError) Field

Field function returns field value.

func (ListDeliveryExtensionsReqValidationError) Key

Key function returns key value.

func (ListDeliveryExtensionsReqValidationError) Reason

Reason function returns reason value.

type ListDeliveryExtensionsResp

type ListDeliveryExtensionsResp struct {
	DeliveryExtensions []*DeliveryExtension `protobuf:"bytes,1,rep,name=delivery_extensions,json=deliveryExtensions,proto3" json:"delivery_extensions,omitempty"`
	NextPageToken      string               `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDeliveryExtensionsResp) Descriptor deprecated

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

Deprecated: Use ListDeliveryExtensionsResp.ProtoReflect.Descriptor instead.

func (*ListDeliveryExtensionsResp) GetDeliveryExtensions

func (x *ListDeliveryExtensionsResp) GetDeliveryExtensions() []*DeliveryExtension

func (*ListDeliveryExtensionsResp) GetNextPageToken

func (x *ListDeliveryExtensionsResp) GetNextPageToken() string

func (*ListDeliveryExtensionsResp) ProtoMessage

func (*ListDeliveryExtensionsResp) ProtoMessage()

func (*ListDeliveryExtensionsResp) ProtoReflect

func (*ListDeliveryExtensionsResp) Reset

func (x *ListDeliveryExtensionsResp) Reset()

func (*ListDeliveryExtensionsResp) String

func (x *ListDeliveryExtensionsResp) String() string

func (*ListDeliveryExtensionsResp) Validate

func (m *ListDeliveryExtensionsResp) Validate() error

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

func (m *ListDeliveryExtensionsResp) ValidateAll() error

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

type ListDeliveryExtensionsRespMultiError

type ListDeliveryExtensionsRespMultiError []error

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

func (ListDeliveryExtensionsRespMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListDeliveryExtensionsRespMultiError) Error

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

type ListDeliveryExtensionsRespValidationError

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

ListDeliveryExtensionsRespValidationError is the validation error returned by ListDeliveryExtensionsResp.Validate if the designated constraints aren't met.

func (ListDeliveryExtensionsRespValidationError) Cause

Cause function returns cause value.

func (ListDeliveryExtensionsRespValidationError) Error

Error satisfies the builtin error interface

func (ListDeliveryExtensionsRespValidationError) ErrorName

ErrorName returns error name.

func (ListDeliveryExtensionsRespValidationError) Field

Field function returns field value.

func (ListDeliveryExtensionsRespValidationError) Key

Key function returns key value.

func (ListDeliveryExtensionsRespValidationError) Reason

Reason function returns reason value.

type Type

type Type int32
const (
	Type_UNKNOWN_TYPE        Type = 0
	Type_GLOBAL_USER_CREATED Type = 1
	// one-off delivery extensions inlined into other configs
	Type_EPHEMERAL Type = 2
)

func (Type) Descriptor

func (Type) Descriptor() protoreflect.EnumDescriptor

func (Type) Enum

func (x Type) Enum() *Type

func (Type) EnumDescriptor deprecated

func (Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Type.Descriptor instead.

func (Type) Number

func (x Type) Number() protoreflect.EnumNumber

func (Type) String

func (x Type) String() string

func (Type) Type

func (Type) Type() protoreflect.EnumType

type UnimplementedDeliveryExtensionManagerServer

type UnimplementedDeliveryExtensionManagerServer struct {
}

UnimplementedDeliveryExtensionManagerServer must be embedded to have forward compatible implementations.

func (UnimplementedDeliveryExtensionManagerServer) ConfigureDeliveryExtension

func (UnimplementedDeliveryExtensionManagerServer) GetDeliveryExtension

func (UnimplementedDeliveryExtensionManagerServer) GetDeliveryExtensionConfig

func (UnimplementedDeliveryExtensionManagerServer) GetDeliveryExtensionInstanceConfig added in v0.2.0

func (UnimplementedDeliveryExtensionManagerServer) ListDeliveryExtensions

type UnsafeDeliveryExtensionManagerServer

type UnsafeDeliveryExtensionManagerServer interface {
	// contains filtered or unexported methods
}

UnsafeDeliveryExtensionManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeliveryExtensionManagerServer will result in compilation errors.

type ValidateConfigureDeliveryExtensionResp

type ValidateConfigureDeliveryExtensionResp struct {
	InputConfig    *DeliveryExtensionConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
	CompiledConfig *DeliveryExtensionConfig `protobuf:"bytes,2,opt,name=compiled_config,json=compiledConfig,proto3" json:"compiled_config,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateConfigureDeliveryExtensionResp) Descriptor deprecated

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

Deprecated: Use ValidateConfigureDeliveryExtensionResp.ProtoReflect.Descriptor instead.

func (*ValidateConfigureDeliveryExtensionResp) GetCompiledConfig added in v0.2.13

func (*ValidateConfigureDeliveryExtensionResp) GetInputConfig added in v0.2.13

func (*ValidateConfigureDeliveryExtensionResp) ProtoMessage

func (*ValidateConfigureDeliveryExtensionResp) ProtoReflect

func (*ValidateConfigureDeliveryExtensionResp) Reset

func (*ValidateConfigureDeliveryExtensionResp) String

func (*ValidateConfigureDeliveryExtensionResp) Validate

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

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

type ValidateConfigureDeliveryExtensionRespMultiError

type ValidateConfigureDeliveryExtensionRespMultiError []error

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

func (ValidateConfigureDeliveryExtensionRespMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ValidateConfigureDeliveryExtensionRespMultiError) Error

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

type ValidateConfigureDeliveryExtensionRespValidationError

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

ValidateConfigureDeliveryExtensionRespValidationError is the validation error returned by ValidateConfigureDeliveryExtensionResp.Validate if the designated constraints aren't met.

func (ValidateConfigureDeliveryExtensionRespValidationError) Cause

Cause function returns cause value.

func (ValidateConfigureDeliveryExtensionRespValidationError) Error

Error satisfies the builtin error interface

func (ValidateConfigureDeliveryExtensionRespValidationError) ErrorName

ErrorName returns error name.

func (ValidateConfigureDeliveryExtensionRespValidationError) Field

Field function returns field value.

func (ValidateConfigureDeliveryExtensionRespValidationError) Key

Key function returns key value.

func (ValidateConfigureDeliveryExtensionRespValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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