realm

package
v0.489.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetExternalRealm

func GetExternalRealm(ctx context.Context, cacheDir, name string, cfg projectconfig.ExternalRealmConfig) (*schema.Realm, error)

GetExternalRealm returns the external realm that the config refers to, with the commit SHA. It will cache the realm in the given directory if it does not yet exist.

func LatestExternalRealm

func LatestExternalRealm(ctx context.Context, cfg projectconfig.ExternalRealmConfig) (realm *schema.Realm, commitSHA string, err error)

LatestExternalRealm returns the latest external realm that the config refers to, with the commit SHA.

Types

This section is empty.

Jump to

Keyboard shortcuts

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