client

package
v0.14.0-rc1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package client provides the ability for Vela to parse and manage the client rendered for a CLI action.

Usage:

import "github.com/go-vela/cli/internal/client"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(c *cli.Context) (*vela.Client, error)

Parse digests the provided urfave/cli context and parses the provided configuration to produce a valid Vela client.

func ParseEmptyToken

func ParseEmptyToken(c *cli.Context) (*vela.Client, error)

ParseEmptyToken digests the provided urfave/cli context and parses the provided configuration to produce a valid Vela client without token authentication.

Types

This section is empty.

Jump to

Keyboard shortcuts

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