mocks

package
v0.0.0-...-11f2a26 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) PackageAddRepo

func (_m *Client) PackageAddRepo(name string, uri string, index *int) ([]dcos.CosmosPackageRepo, error)

PackageAddRepo provides a mock function with given fields: name, uri, index

func (*Client) PackageDeleteRepo

func (_m *Client) PackageDeleteRepo(name string) error

PackageDeleteRepo provides a mock function with given fields: name

func (*Client) PackageDescribe

func (_m *Client) PackageDescribe(name string, version string) (*cosmos.Description, error)

PackageDescribe provides a mock function with given fields: name, version

func (*Client) PackageInstall

func (_m *Client) PackageInstall(appID string, name string, version string, optionsPath string) error

PackageInstall provides a mock function with given fields: appID, name, version, optionsPath

func (*Client) PackageList

func (_m *Client) PackageList() ([]cosmos.Package, error)

PackageList provides a mock function with given fields:

func (*Client) PackageListRepo

func (_m *Client) PackageListRepo() (*dcos.CosmosPackageListRepoV1Response, error)

PackageListRepo provides a mock function with given fields:

func (*Client) PackageListVersions

func (_m *Client) PackageListVersions(name string) ([]string, error)

PackageListVersions provides a mock function with given fields: name

func (*Client) PackageRender

func (_m *Client) PackageRender(appID string, name string, version string, optionsPath string) (map[string]interface{}, error)

PackageRender provides a mock function with given fields: appID, name, version, optionsPath

func (*Client) PackageSearch

func (_m *Client) PackageSearch(query string) (*cosmos.SearchResult, error)

PackageSearch provides a mock function with given fields: query

func (*Client) PackageUninstall

func (_m *Client) PackageUninstall(packageName string, all bool, appID string) (*dcos.CosmosPackageUninstallV1Response, error)

PackageUninstall provides a mock function with given fields: packageName, all, appID

Jump to

Keyboard shortcuts

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