pbconvert

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func FromPBAdditionalLink(link *pb.AdditionalLink) *domain.AdditionalLink

func FromPBApplication added in v1.1.0

func FromPBApplication(app *pb.Application) *domain.Application

func FromPBApplicationConfig

func FromPBApplicationConfig(c *pb.ApplicationConfig) domain.ApplicationConfig

func FromPBArtifact added in v1.1.0

func FromPBArtifact(artifact *pb.Artifact) *domain.Artifact

func FromPBAutoShutdown added in v1.6.0

func FromPBAutoShutdown(as *pb.AutoShutdownConfig) domain.AutoShutdownConfig

func FromPBAvailableDomain

func FromPBAvailableDomain(ad *pb.AvailableDomain) *domain.AvailableDomain

func FromPBAvailablePort added in v0.3.0

func FromPBAvailablePort(ap *pb.AvailablePort) *domain.AvailablePort

func FromPBBuild added in v1.1.0

func FromPBBuild(build *pb.Build) *domain.Build

func FromPBBuildConfig

func FromPBBuildConfig(c *pb.ApplicationConfig) domain.BuildConfig

func FromPBBuilderSystemInfo added in v1.1.0

func FromPBBuilderSystemInfo(info *pb.BuilderSystemInfo) *domain.BuilderSystemInfo

func FromPBCreateWebsiteRequest

func FromPBCreateWebsiteRequest(req *pb.CreateWebsiteRequest) *domain.Website

func FromPBEnvironment added in v1.1.0

func FromPBEnvironment(env *pb.ApplicationEnvVar) *domain.Environment

func FromPBNullTimestamp added in v1.1.0

func FromPBNullTimestamp(t *pb.NullTimestamp) optional.Of[time.Time]

func FromPBPortPublication added in v0.3.0

func FromPBPortPublication(p *pb.PortPublication) *domain.PortPublication

func FromPBRepository added in v1.1.0

func FromPBRepository(repo *pb.Repository) *domain.Repository

func FromPBRepositoryPrivate added in v1.1.0

func FromPBRepositoryPrivate(repo *pb.RepositoryPrivate) *domain.Repository

func FromPBRuntimeConfig added in v0.3.5

func FromPBRuntimeConfig(c *pb.RuntimeConfig) domain.RuntimeConfig

func FromPBStartBuildRequest added in v1.1.0

func FromPBStartBuildRequest(req *pb.StartBuildRequest) *domain.StartBuildRequest

func FromPBStaticConfig added in v0.10.0

func FromPBStaticConfig(c *pb.StaticConfig) domain.StaticConfig

func FromPBSystemInfo added in v0.10.1

func FromPBSystemInfo(i *pb.SystemInfo) *domain.SystemInfo

func FromPBUpdateOwners added in v0.7.13

func FromPBUpdateOwners(req *pb.UpdateApplicationRequest_UpdateOwners) []string

func FromPBUpdatePorts added in v0.7.13

func FromPBUpdateRepositoryOwners added in v0.7.13

func FromPBUpdateRepositoryOwners(req *pb.UpdateRepositoryRequest_UpdateOwners) []string

func FromPBUpdateWebsites added in v0.7.13

func FromPBUpdateWebsites(req *pb.UpdateApplicationRequest_UpdateWebsites) []*domain.Website

func FromPBWebsite added in v1.1.0

func FromPBWebsite(website *pb.Website) *domain.Website
func ToPBAdditionalLink(link *domain.AdditionalLink) *pb.AdditionalLink

func ToPBApplication

func ToPBApplication(app *domain.Application, latestBuild *domain.Build) *pb.Application

func ToPBApplicationMetric added in v0.15.0

func ToPBApplicationMetric(metric *domain.AppMetric) *pb.ApplicationMetric

func ToPBApplicationOutput

func ToPBApplicationOutput(l *domain.ContainerLog) *pb.ApplicationOutput

func ToPBArtifact

func ToPBArtifact(artifact *domain.Artifact) *pb.Artifact

func ToPBAutoShutdown added in v1.6.0

func ToPBAutoShutdown(as domain.AutoShutdownConfig) *pb.AutoShutdownConfig

func ToPBAvailableDomain

func ToPBAvailableDomain(ad *domain.AvailableDomain) *pb.AvailableDomain

func ToPBAvailablePort added in v0.3.0

func ToPBAvailablePort(ap *domain.AvailablePort) *pb.AvailablePort

func ToPBBuild

func ToPBBuild(build *domain.Build) *pb.Build

func ToPBBuilderSystemInfo added in v1.1.0

func ToPBBuilderSystemInfo(info *domain.BuilderSystemInfo) *pb.BuilderSystemInfo

func ToPBEnvironment

func ToPBEnvironment(env *domain.Environment) *pb.ApplicationEnvVar

func ToPBNullTimestamp

func ToPBNullTimestamp(t optional.Of[time.Time]) *pb.NullTimestamp

func ToPBPortPublication added in v0.9.7

func ToPBPortPublication(p *domain.PortPublication) *pb.PortPublication

func ToPBRepository

func ToPBRepository(repo *domain.Repository) *pb.Repository

func ToPBRepositoryPrivate added in v1.1.0

func ToPBRepositoryPrivate(repo *domain.Repository) *pb.RepositoryPrivate

func ToPBRuntimeConfig added in v0.3.5

func ToPBRuntimeConfig(c *domain.RuntimeConfig) *pb.RuntimeConfig

func ToPBRuntimeImage added in v1.5.0

func ToPBRuntimeImage(image *domain.RuntimeImage) *pb.RuntimeImage

func ToPBSimpleCommit added in v1.3.0

func ToPBSimpleCommit(c *domain.RepositoryCommit) *pb.SimpleCommit

func ToPBStartBuildRequest added in v1.1.0

func ToPBStartBuildRequest(req *domain.StartBuildRequest) *pb.StartBuildRequest

func ToPBStaticConfig added in v0.10.0

func ToPBStaticConfig(c *domain.StaticConfig) *pb.StaticConfig

func ToPBSystemInfo added in v0.10.1

func ToPBSystemInfo(i *domain.SystemInfo) *pb.SystemInfo

func ToPBUser

func ToPBUser(user *domain.User, avatarBaseURL domain.AvatarBaseURL) *pb.User

func ToPBUserKey

func ToPBUserKey(key *domain.UserKey) *pb.UserKey

func ToPBWebsite

func ToPBWebsite(website *domain.Website) *pb.Website

Types

This section is empty.

Jump to

Keyboard shortcuts

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