Documentation
¶
Overview ¶
Package ufs provides option to build connection to UFS service & invoke it's endpoints.
Index ¶
- func GetDutStateFromUFS(ctx context.Context, dutName string) (dutstate.State, error)
- func NewClient(ctx context.Context) (ufsAPI.FleetClient, error)
- func SafeUpdateUFSDUTState(ctx context.Context, dutName string, dutState dutstate.State) error
- func SetupContext(ctx context.Context, namespace string) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDutStateFromUFS ¶
GetDutStateFromUFS reads DUT state from the UFS service.
func NewClient ¶
func NewClient(ctx context.Context) (ufsAPI.FleetClient, error)
NewClient initialize and return new client to work with UFS service.
func SafeUpdateUFSDUTState ¶
SafeUpdateUFSDUTState attempts to safely update the DUT state to the given value in UFS.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.