cmd

package
v0.0.0-...-aebccf2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Copyright © 2023 Syndis ehf. <[email protected]>

Copyright © 2023 Syndis ehf. <[email protected]>

Copyright © 2023 Syndis ehf. <[email protected]>

Copyright © 2023 Syndis ehf. <[email protected]>

Copyright © 2023 Syndis ehf. <[email protected]>

Copyright © 2023 Syndis ehf. <[email protected]>

Copyright © 2023 Syndis ehf. <[email protected]>

Copyright © 2023 Syndis ehf. <[email protected]>

Copyright © 2023 Syndis ehf. <[email protected]>

Copyright © 2023 Syndis ehf. <[email protected]>

Copyright © 2023 Syndis ehf. <[email protected]>

Copyright © 2023 Syndis ehf. <[email protected]>

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