cmd

package
v0.0.0-...-98e9f23 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: Apache-2.0 Imports: 22 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Copyright © 2023 Syndis ehf. <syndis@syndis.is>

Copyright © 2023 Syndis ehf. <syndis@syndis.is>

Copyright © 2023 Syndis ehf. <syndis@syndis.is>

Copyright © 2023 Syndis ehf. <syndis@syndis.is>

Copyright © 2023 Syndis ehf. <syndis@syndis.is>

Copyright © 2023 Syndis ehf. <syndis@syndis.is>

Copyright © 2023 Syndis ehf. <syndis@syndis.is>

Copyright © 2023 Syndis ehf. <syndis@syndis.is>

Copyright © 2023 Syndis ehf. <syndis@syndis.is>

Copyright © 2023 Syndis ehf. <syndis@syndis.is>

Copyright © 2023 Syndis ehf. <syndis@syndis.is>

Copyright © 2023 Syndis ehf. <syndis@syndis.is>

Copyright © 2023 Syndis ehf. <syndis@syndis.is>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context, doer openapi.HttpRequestDoer)

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type MockHTTP

type MockHTTP struct {
	Requests  []http.Request
	Responses map[string][]Response
}

func (*MockHTTP) AddResponse

func (c *MockHTTP) AddResponse(path string, resp Response)

func (*MockHTTP) CountRequests

func (c *MockHTTP) CountRequests(path string) int

func (*MockHTTP) Do

func (c *MockHTTP) Do(req *http.Request) (*http.Response, error)

type Response

type Response struct {
	Response      http.Response
	ResponseError error
}

type ScanType

type ScanType string

Jump to

Keyboard shortcuts

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