Help us shape the future of Go! Take the 2026 Go Developer Survey

log

package
v0.28.2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package log provides the defined CLI log actions for Vela.

Usage:

import "github.com/go-vela/cli/action/log"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Action  string
	Org     string
	Repo    string
	Build   int64
	Page    int
	PerPage int
	Service int32
	Step    int32
	Output  string
	Color   output.ColorOptions
}

Config represents the configuration necessary to perform log related requests with Vela.

func (*Config) Get

func (c *Config) Get(ctx context.Context, client *vela.Client) error

Get captures a list of build logs based on the provided configuration.

func (*Config) Validate

func (c *Config) Validate() error

Validate verifies the configuration provided.

func (*Config) ViewService

func (c *Config) ViewService(ctx context.Context, client *vela.Client) error

ViewService inspects a service log based on the provided configuration.

func (*Config) ViewStep

func (c *Config) ViewStep(ctx context.Context, client *vela.Client) error

ViewStep inspects a service log based on the provided configuration.

Jump to

Keyboard shortcuts

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