fake_docker_session

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeDockerSession

type FakeDockerSession struct {
	GetRepositoryDataStub func(remote string) (*registry.RepositoryData, error)

	GetRemoteTagsStub func(registries []string, repository string, token []string) (map[string]string, error)

	GetRemoteImageJSONStub func(imgID, registry string, token []string) ([]byte, int, error)
	// contains filtered or unexported fields
}

func (*FakeDockerSession) GetRemoteImageJSON

func (fake *FakeDockerSession) GetRemoteImageJSON(imgID string, registry string, token []string) ([]byte, int, error)

func (*FakeDockerSession) GetRemoteImageJSONArgsForCall

func (fake *FakeDockerSession) GetRemoteImageJSONArgsForCall(i int) (string, string, []string)

func (*FakeDockerSession) GetRemoteImageJSONCallCount

func (fake *FakeDockerSession) GetRemoteImageJSONCallCount() int

func (*FakeDockerSession) GetRemoteImageJSONReturns

func (fake *FakeDockerSession) GetRemoteImageJSONReturns(result1 []byte, result2 int, result3 error)

func (*FakeDockerSession) GetRemoteTags

func (fake *FakeDockerSession) GetRemoteTags(registries []string, repository string, token []string) (map[string]string, error)

func (*FakeDockerSession) GetRemoteTagsArgsForCall

func (fake *FakeDockerSession) GetRemoteTagsArgsForCall(i int) ([]string, string, []string)

func (*FakeDockerSession) GetRemoteTagsCallCount

func (fake *FakeDockerSession) GetRemoteTagsCallCount() int

func (*FakeDockerSession) GetRemoteTagsReturns

func (fake *FakeDockerSession) GetRemoteTagsReturns(result1 map[string]string, result2 error)

func (*FakeDockerSession) GetRepositoryData

func (fake *FakeDockerSession) GetRepositoryData(remote string) (*registry.RepositoryData, error)

func (*FakeDockerSession) GetRepositoryDataArgsForCall

func (fake *FakeDockerSession) GetRepositoryDataArgsForCall(i int) string

func (*FakeDockerSession) GetRepositoryDataCallCount

func (fake *FakeDockerSession) GetRepositoryDataCallCount() int

func (*FakeDockerSession) GetRepositoryDataReturns

func (fake *FakeDockerSession) GetRepositoryDataReturns(result1 *registry.RepositoryData, result2 error)

type FakeDockerSessionFactory

type FakeDockerSessionFactory struct {
	MakeSessionStub func(repoName string) (docker_metadata_fetcher.DockerSession, error)
	// contains filtered or unexported fields
}

func (*FakeDockerSessionFactory) MakeSession

func (*FakeDockerSessionFactory) MakeSessionArgsForCall

func (fake *FakeDockerSessionFactory) MakeSessionArgsForCall(i int) string

func (*FakeDockerSessionFactory) MakeSessionCallCount

func (fake *FakeDockerSessionFactory) MakeSessionCallCount() int

func (*FakeDockerSessionFactory) MakeSessionReturns

func (fake *FakeDockerSessionFactory) MakeSessionReturns(result1 docker_metadata_fetcher.DockerSession, result2 error)

Jump to

Keyboard shortcuts

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