codefly

package module
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 9 Imported by: 1

README

workflow Go Report Card Go Reference

codefly + go = sdk-go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CatchPanic added in v0.0.7

func CatchPanic(ctx context.Context)

func GetEndpoint added in v0.0.12

func GetEndpoint(ctx context.Context, unique string) (*configurations.EndpointInstance, error)

func GetLogLevel added in v0.0.11

func GetLogLevel() wool.Loglevel

func GetProjectProvider added in v0.1.6

func GetProjectProvider(ctx context.Context, name string, key string) (string, error)

func GetServiceProvider added in v0.1.6

func GetServiceProvider(ctx context.Context, unique string, name string, key string) (string, error)

func Init added in v0.0.11

func Init(ctx context.Context) (*wool.Provider, error)

func IsLocalEnvironment added in v0.1.14

func IsLocalEnvironment() bool

func LoadEnvironmentVariables added in v0.0.7

func LoadEnvironmentVariables(ctx context.Context) error

func LoadFromEnvironmentVariables added in v0.1.6

func LoadFromEnvironmentVariables(ctx context.Context) error

func LoadOverrideIfNeeded added in v0.1.18

func LoadOverrideIfNeeded(ctx context.Context) error

func LoadOverrides added in v0.0.7

func LoadOverrides(ctx context.Context) error

func LoadService added in v0.0.7

func LoadService(ctx context.Context) error

func Service added in v0.1.18

func Service() *configurations.Service

func Version added in v0.0.7

func Version() string

Types

type Configuration added in v0.0.7

type Configuration struct {
	Endpoints []EndpointOverride
}

type EndpointOverride added in v0.0.7

type EndpointOverride struct {
	Name     string
	Override string
}

Jump to

Keyboard shortcuts

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