coglog

package
v0.15.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const CoglogDisableEnvVarName = "R8_COGLOG_DISABLE"
View Source
const CoglogHostEnvVarName = "R8_COGLOG_HOST"
View Source
const StatusAccepted = "accepted"
View Source
const StatusDeclined = "declined"
View Source
const StatusNone = "none"
View Source
const StatusPassed = "passed"

Variables

This section is empty.

Functions

func DisableFromEnvironment

func DisableFromEnvironment() (bool, error)

func HostFromEnvironment

func HostFromEnvironment() string

Types

type BuildLogContext

type BuildLogContext struct {
	// contains filtered or unexported fields
}

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(client *http.Client) *Client

func (*Client) EndBuild

func (c *Client) EndBuild(ctx context.Context, err error, logContext BuildLogContext) bool

func (*Client) EndMigrate added in v0.14.10

func (c *Client) EndMigrate(ctx context.Context, err error, logContext *MigrateLogContext) bool

func (*Client) EndPush

func (c *Client) EndPush(ctx context.Context, err error, logContext PushLogContext) bool

func (*Client) StartBuild

func (c *Client) StartBuild(fast bool, localImage bool) BuildLogContext

func (*Client) StartMigrate added in v0.14.10

func (c *Client) StartMigrate(accept bool) *MigrateLogContext

func (*Client) StartPush

func (c *Client) StartPush(fast bool, localImage bool) PushLogContext

type MigrateLogContext added in v0.14.10

type MigrateLogContext struct {
	PythonPackageStatus string
	RunStatus           string
	PythonPredictStatus string
	PythonTrainStatus   string
	// contains filtered or unexported fields
}

func NewMigrateLogContext added in v0.14.10

func NewMigrateLogContext(accept bool) *MigrateLogContext

type PushLogContext

type PushLogContext struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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