interop

package
v4.27.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnwrapBatcher added in v4.25.0

func UnwrapBatcher(b *service.Batcher) *policy.Batcher

UnwrapBatcher unwraps a public *service.Batcher type into an internal *policy.Batcher type. This solution will eventually be phased out as it is only used for migrating components.

func UnwrapManagement added in v4.12.0

func UnwrapManagement(r *service.Resources) bundle.NewManagement

UnwrapManagement a public *service.Resources type into an internal bundle.NewManagement type. This solution will eventually be phased out as it is only used for migrating components.

func UnwrapOwnedInput

func UnwrapOwnedInput(o *service.OwnedInput) input.Streamed

UnwrapOwnedInput attempts to unwrap a public owned component into an internal variant. This is useful in cases where we're migrating internal components to use the public configuration APIs but aren't quite ready to move the full implementation yet.

func UnwrapOwnedOutput added in v4.25.0

func UnwrapOwnedOutput(o *service.OwnedOutput) output.Streamed

UnwrapOwnedOutput attempts to unwrap a public owned component into an internal variant. This is useful in cases where we're migrating internal components to use the public configuration APIs but aren't quite ready to move the full implementation yet.

func UnwrapOwnedProcessor added in v4.25.0

func UnwrapOwnedProcessor(o *service.OwnedProcessor) processor.V1

UnwrapOwnedProcessor attempts to unwrap a public owned component into an internal variant. This is useful in cases where we're migrating internal components to use the public configuration APIs but aren't quite ready to move the full implementation yet.

Types

type UnwrapInternalBatchProcessor

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

UnwrapInternalBatchProcessor is a no-op implementation of an internal component that allows a public/service environment to unwrap it straight into the needed format during construction. This is useful in cases where we're migrating internal components to use the public configuration APIs but aren't quite ready to move the full implementation yet.

func NewUnwrapInternalBatchProcessor

func NewUnwrapInternalBatchProcessor(s processor.V1) *UnwrapInternalBatchProcessor

NewUnwrapInternalBatchProcessor returns wraps an internal component implementation.

func (*UnwrapInternalBatchProcessor) Close

Close does nothing, use Unwrap instead.

func (*UnwrapInternalBatchProcessor) ProcessBatch

ProcessBatch does nothing, use Unwrap instead.

func (*UnwrapInternalBatchProcessor) Unwrap

Unwrap in order to obtain the underlying Streamed implementation.

type UnwrapInternalInput

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

UnwrapInternalInput is a no-op implementation of an internal component that allows a public/service environment to unwrap it straight into the needed format during construction. This is useful in cases where we're migrating internal components to use the public configuration APIs but aren't quite ready to move the full implementation yet.

func NewUnwrapInternalInput

func NewUnwrapInternalInput(s input.Streamed) *UnwrapInternalInput

NewUnwrapInternalInput returns wraps an internal component implementation.

func (*UnwrapInternalInput) Close

func (u *UnwrapInternalInput) Close(ctx context.Context) error

Close does nothing, use Unwrap instead.

func (*UnwrapInternalInput) Connect

func (u *UnwrapInternalInput) Connect(ctx context.Context) error

Connect does nothing, use Unwrap instead.

func (*UnwrapInternalInput) ReadBatch

ReadBatch does nothing, use Unwrap instead.

func (*UnwrapInternalInput) Unwrap

func (u *UnwrapInternalInput) Unwrap() input.Streamed

Unwrap in order to obtain the underlying Streamed implementation.

type UnwrapInternalOutput added in v4.12.0

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

UnwrapInternalOutput is a no-op implementation of an internal component that allows a public/service environment to unwrap it straight into the needed format during construction. This is useful in cases where we're migrating internal components to use the public configuration APIs but aren't quite ready to move the full implementation yet.

func NewUnwrapInternalOutput added in v4.12.0

func NewUnwrapInternalOutput(s output.Streamed) *UnwrapInternalOutput

NewUnwrapInternalOutput returns wraps an internal component implementation.

func (*UnwrapInternalOutput) Close added in v4.12.0

func (u *UnwrapInternalOutput) Close(ctx context.Context) error

Close does nothing, use Unwrap instead.

func (*UnwrapInternalOutput) Connect added in v4.12.0

func (u *UnwrapInternalOutput) Connect(ctx context.Context) error

Connect does nothing, use Unwrap instead.

func (*UnwrapInternalOutput) Unwrap added in v4.12.0

func (u *UnwrapInternalOutput) Unwrap() output.Streamed

Unwrap in order to obtain the underlying Streamed implementation.

func (*UnwrapInternalOutput) WriteBatch added in v4.12.0

WriteBatch does nothing, use Unwrap instead.

Jump to

Keyboard shortcuts

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