ufs

package
v0.0.0-...-e560ebb Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package ufs provides option t build connection to UFS service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(ctx context.Context, ufsService string, authFlags *authcli.Flags) (ufsAPI.FleetClient, error)

NewClient initialize and return new client to work with UFS service.

func SafeUpdateUFSDUTState

func SafeUpdateUFSDUTState(ctx context.Context, authFlags *authcli.Flags, dutName, dutState, ufsService string) error

SafeUpdateUFSDUTState attempts to safely update the DUT state to the given value in UFS. States other than Ready and NeedsRepair are ignored.

func SetupContext

func SetupContext(ctx context.Context, namespace string) context.Context

SetupContext set up the outgoing context for API calls.

Types

This section is empty.

Jump to

Keyboard shortcuts

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