Documentation
¶
Index ¶
- Constants
- func DisableFromEnvironment() (bool, error)
- func HostFromEnvironment() string
- type BuildLogContext
- type Client
- func (c *Client) EndBuild(ctx context.Context, err error, logContext BuildLogContext) bool
- func (c *Client) EndMigrate(ctx context.Context, err error, logContext *MigrateLogContext) bool
- func (c *Client) EndPull(ctx context.Context, err error, logContext PullLogContext) bool
- func (c *Client) EndPush(ctx context.Context, err error, logContext PushLogContext) bool
- func (c *Client) StartBuild(fast bool, localImage bool) BuildLogContext
- func (c *Client) StartMigrate(accept bool) *MigrateLogContext
- func (c *Client) StartPull() PullLogContext
- func (c *Client) StartPush(fast bool, localImage bool) PushLogContext
- type MigrateLogContext
- type PullLogContext
- type PushLogContext
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 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 (*Client) EndMigrate ¶ added in v0.14.10
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) StartPull ¶ added in v0.15.4
func (c *Client) StartPull() PullLogContext
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 PullLogContext ¶ added in v0.15.4
type PullLogContext struct {
// contains filtered or unexported fields
}
type PushLogContext ¶
type PushLogContext struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.