Documentation ¶
Index ¶
- type Client
- func (_m *Client) PackageAddRepo(name string, uri string, index *int) ([]dcos.CosmosPackageRepo, error)
- func (_m *Client) PackageDeleteRepo(name string) error
- func (_m *Client) PackageDescribe(name string, version string) (*cosmos.Description, error)
- func (_m *Client) PackageInstall(appID string, name string, version string, optionsPath string) error
- func (_m *Client) PackageList() ([]cosmos.Package, error)
- func (_m *Client) PackageListRepo() (*dcos.CosmosPackageListRepoV1Response, error)
- func (_m *Client) PackageListVersions(name string) ([]string, error)
- func (_m *Client) PackageRender(appID string, name string, version string, optionsPath string) (map[string]interface{}, error)
- func (_m *Client) PackageSearch(query string) (*cosmos.SearchResult, error)
- func (_m *Client) PackageUninstall(packageName string, all bool, appID string) (*dcos.CosmosPackageUninstallV1Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
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 ¶
PackageDeleteRepo provides a mock function with given fields: name
func (*Client) PackageDescribe ¶
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 ¶
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 ¶
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