mocks

package
v3.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationServiceInterface

type ApplicationServiceInterface struct {
	mock.Mock
}

ApplicationServiceInterface is an autogenerated mock type for the ApplicationServiceInterface type

func (*ApplicationServiceInterface) Apply

func (_m *ApplicationServiceInterface) Apply() error

Apply provides a mock function with given fields:

func (*ApplicationServiceInterface) DeleteByNamespace

func (_m *ApplicationServiceInterface) DeleteByNamespace() error

DeleteByNamespace provides a mock function with given fields:

func (*ApplicationServiceInterface) GetDomain

func (_m *ApplicationServiceInterface) GetDomain(dnsConfig loader.DNSConfig) string

GetDomain provides a mock function with given fields: dnsConfig

func (*ApplicationServiceInterface) HandleIngressAnnotationOnApply

func (_m *ApplicationServiceInterface) HandleIngressAnnotationOnApply() error

HandleIngressAnnotationOnApply provides a mock function with given fields:

func (*ApplicationServiceInterface) HasNamespace

func (_m *ApplicationServiceInterface) HasNamespace() bool

HasNamespace provides a mock function with given fields:

type BranchLoaderInterface

type BranchLoaderInterface struct {
	mock.Mock
}

BranchLoaderInterface is an autogenerated mock type for the BranchLoaderInterface type

func (*BranchLoaderInterface) LoadBranches

func (_m *BranchLoaderInterface) LoadBranches(bitbucket loader.Bitbucket) ([]string, error)

LoadBranches provides a mock function with given fields: bitbucket

type BucketServiceInterface

type BucketServiceInterface struct {
	mock.Mock
}

BucketServiceInterface is an autogenerated mock type for the BucketServiceInterface type

func (*BucketServiceInterface) DeleteFile

func (_m *BucketServiceInterface) DeleteFile(filename string) error

DeleteFile provides a mock function with given fields: filename

func (*BucketServiceInterface) DownLoadFile

func (_m *BucketServiceInterface) DownLoadFile(filename string, serviceAccountEmailAddress string) (io.Reader, error)

DownLoadFile provides a mock function with given fields: filename, serviceAccountEmailAddress

func (*BucketServiceInterface) RemoveBucketACL

func (_m *BucketServiceInterface) RemoveBucketACL(serviceAccount string) error

RemoveBucketACL provides a mock function with given fields: serviceAccount

func (*BucketServiceInterface) SetBucketACL

func (_m *BucketServiceInterface) SetBucketACL(serviceAccountEmailAddress string, role string) error

SetBucketACL provides a mock function with given fields: serviceAccountEmailAddress, role

func (*BucketServiceInterface) UploadFile

func (_m *BucketServiceInterface) UploadFile(targetFilename string, originalFilename string, serviceAccountEmailAddress string) error

UploadFile provides a mock function with given fields: targetFilename, originalFilename, serviceAccountEmailAddress

type ConfigLoader

type ConfigLoader struct {
	mock.Mock
}

ConfigLoader is an autogenerated mock type for the ConfigLoader type

func (*ConfigLoader) LoadConfigFromPath

func (_m *ConfigLoader) LoadConfigFromPath(filepath string) (loader.Config, error)

LoadConfigFromPath provides a mock function with given fields: filepath

type ImagesInterface

type ImagesInterface struct {
	mock.Mock
}

ImagesInterface is an autogenerated mock type for the ImagesInterface type

func (*ImagesInterface) DeleteManifest

func (_m *ImagesInterface) DeleteManifest(config loader.Cleanup, manifest string) error

DeleteManifest provides a mock function with given fields: config, manifest

func (*ImagesInterface) HasTag

func (_m *ImagesInterface) HasTag(config loader.Cleanup, tag string) (bool, error)

HasTag provides a mock function with given fields: config, tag

func (*ImagesInterface) List

func (_m *ImagesInterface) List(config loader.Cleanup) (*model.TagCollection, error)

List provides a mock function with given fields: config

func (*ImagesInterface) Untag

func (_m *ImagesInterface) Untag(config loader.Cleanup, tag string) error

Untag provides a mock function with given fields: config, tag

type KindInterface

type KindInterface struct {
	mock.Mock
}

KindInterface is an autogenerated mock type for the KindInterface type

func (*KindInterface) ApplyKind

func (_m *KindInterface) ApplyKind(kubernetesNamespace string, fileLines []string, namespaceWithoutPrefix string) error

ApplyKind provides a mock function with given fields: kubernetesNamespace, fileLines, namespaceWithoutPrefix

func (*KindInterface) CleanupKind

func (_m *KindInterface) CleanupKind(kubernetesNamespace string) error

CleanupKind provides a mock function with given fields: kubernetesNamespace

type ServiceBuilderInterface

type ServiceBuilderInterface struct {
	mock.Mock
}

ServiceBuilderInterface is an autogenerated mock type for the ServiceBuilderInterface type

func (*ServiceBuilderInterface) GetClientSet

func (_m *ServiceBuilderInterface) GetClientSet(config loader.Config) (kubernetes.Interface, error)

GetClientSet provides a mock function with given fields: config

func (*ServiceBuilderInterface) GetComputeService

func (_m *ServiceBuilderInterface) GetComputeService() (*compute.Service, error)

GetComputeService provides a mock function with given fields:

func (*ServiceBuilderInterface) GetDNSService

func (_m *ServiceBuilderInterface) GetDNSService() (*dns.Service, error)

GetDNSService provides a mock function with given fields:

func (*ServiceBuilderInterface) GetImagesService

func (_m *ServiceBuilderInterface) GetImagesService() (image.ImagesInterface, error)

GetImagesService provides a mock function with given fields:

func (*ServiceBuilderInterface) GetSQLService

func (_m *ServiceBuilderInterface) GetSQLService() (*sqladmin.Service, error)

GetSQLService provides a mock function with given fields:

func (*ServiceBuilderInterface) GetServiceManagementService

func (_m *ServiceBuilderInterface) GetServiceManagementService() (*servicemanagement.APIService, error)

GetServiceManagementService provides a mock function with given fields:

func (*ServiceBuilderInterface) GetStorageService

func (_m *ServiceBuilderInterface) GetStorageService(bucketName string) (bucket.BucketServiceInterface, error)

GetStorageService provides a mock function with given fields: bucketName

Jump to

Keyboard shortcuts

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