Help us shape the future of Go! Take the 2026 Go Developer Survey

mappers

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppResponseToDomain

func AppResponseToDomain(res responses.AppResponse) domain.Application

func DeviceCodeResponseToDomain

func DeviceCodeResponseToDomain(resp responses.DeviceCodeResponse) *domain.LoginCredentials

DeviceCodeResponseToDomain converts repository response to domain model

func DomainToAppRequest

func DomainToAppRequest(app *domain.Application) requests.ApplicationRequest

func EnvTypeResponseToDomain

func EnvTypeResponseToDomain(res responses.EnvTypeResponse) domain.EnvType

func EnvironmentVariableToBatchRequest

func EnvironmentVariableToBatchRequest(envs []domain.EnvironmentVariable, appID, envTypeID string) requests.BatchSyncEnvRequest

func EnvironmentVariablesToDomain

func EnvironmentVariablesToDomain(envs []responses.EnvironmentVariable) []*domain.EnvironmentVariable

func KeysToBatchDeleteRequest

func KeysToBatchDeleteRequest(envs []string, appID, envTypeID string) requests.BatchDeleteRequest

func LoginTokenResponseToDomain

func LoginTokenResponseToDomain(resp responses.LoginTokenResponse) *domain.AccessToken

LoginTokenResponseToDomain converts repository response to domain model

func UserInfoResponseToDomain

func UserInfoResponseToDomain(resp responses.UserInfoResponse) *domain.UserInfo

UserInfoResponseToDomain converts user info response to domain model

Types

This section is empty.

Jump to

Keyboard shortcuts

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