Documentation ¶
Index ¶
- Constants
- func AppendToURIPath(uri string, paths ...string) (string, error)
- func ConvertInt32PointerToStringPointer(iPtr *int32) *string
- func ConvertStringPointerToInt32Pointer(s *string) int32
- func DumpStringPointer(s *string) string
- func GenerateRandomName() (string, error)
- func GetLoggerFromContext(ctx context.Context) *logrus.Logger
- func IsNilOrEmptyString(v *string) bool
- func IsNotNilOrEmptyString(v *string) bool
- func NewContextWithLogger(ctx context.Context, logger *logrus.Logger) context.Context
- func NewContextWithLoggerFromFiberContext(c *fiber.Ctx) context.Context
- func NewLoggerFromConfig(cfg *config.Config) *logrus.Logger
- func NewUUID() string
- func PtrTo[T any](v T) *T
Constants ¶
View Source
const ( TagRunName = "mlflow.runName" TagUser = "mlflow.user" )
Variables ¶
This section is empty.
Functions ¶
func DumpStringPointer ¶
func GenerateRandomName ¶
GenerateRandomName generates random name for `run`.
func IsNilOrEmptyString ¶
func IsNotNilOrEmptyString ¶
func NewContextWithLogger ¶
func NewContextWithLoggerFromFiberContext ¶
NewContextWithLoggerFromFiberContext transfer logger from Fiber context to a normal context.Context object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.