mappingapi

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetRequest

type GetRequest struct {
	ExternalID string
	Type       string
}

type GetResponse

type GetResponse struct {
	TenantID string
}

type MapSystemToTenantRequest

type MapSystemToTenantRequest struct {
	ExternalID string
	Type       string
	TenantID   string
}

type MapSystemToTenantResponse

type MapSystemToTenantResponse struct {
	Success bool
}

type RegistryMapping

type RegistryMapping interface {
	MapSystemToTenant(
		ctx context.Context, req *MapSystemToTenantRequest,
	) (*MapSystemToTenantResponse, error)
	UnmapSystemFromTenant(
		ctx context.Context, req *UnmapSystemFromTenantRequest,
	) (*UnmapSystemFromTenantResponse, error)
	Get(ctx context.Context, req *GetRequest) (*GetResponse, error)
}

type UnmapSystemFromTenantRequest

type UnmapSystemFromTenantRequest struct {
	ExternalID string
	Type       string
	TenantID   string
}

type UnmapSystemFromTenantResponse

type UnmapSystemFromTenantResponse struct {
	Success bool
}

Jump to

Keyboard shortcuts

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