coglog

package
v0.14.9 Latest Latest
Warning

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

Go to latest
Published: May 7, 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"

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) 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) StartPush

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

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