Documentation ¶
Index ¶
- type ApplicationServiceInterface
- func (_m *ApplicationServiceInterface) Apply() error
- func (_m *ApplicationServiceInterface) DeleteByNamespace() error
- func (_m *ApplicationServiceInterface) GetDomain(dnsConfig loader.DNSConfig) string
- func (_m *ApplicationServiceInterface) HandleIngressAnnotationOnApply() error
- func (_m *ApplicationServiceInterface) HasNamespace() bool
- type BranchLoaderInterface
- type BucketServiceInterface
- func (_m *BucketServiceInterface) DeleteFile(filename string) error
- func (_m *BucketServiceInterface) DownLoadFile(filename string, serviceAccountEmailAddress string) (io.Reader, error)
- func (_m *BucketServiceInterface) RemoveBucketACL(serviceAccount string) error
- func (_m *BucketServiceInterface) SetBucketACL(serviceAccountEmailAddress string, role string) error
- func (_m *BucketServiceInterface) UploadFile(targetFilename string, originalFilename string, ...) error
- type ConfigLoader
- type ImagesInterface
- func (_m *ImagesInterface) DeleteManifest(config loader.Cleanup, manifest string) error
- func (_m *ImagesInterface) HasTag(config loader.Cleanup, tag string) (bool, error)
- func (_m *ImagesInterface) List(config loader.Cleanup) (*model.TagCollection, error)
- func (_m *ImagesInterface) Untag(config loader.Cleanup, tag string) error
- type KindInterface
- type ServiceBuilderInterface
- func (_m *ServiceBuilderInterface) GetClientSet(config loader.Config) (kubernetes.Interface, error)
- func (_m *ServiceBuilderInterface) GetComputeService() (*compute.Service, error)
- func (_m *ServiceBuilderInterface) GetDNSService() (*dns.Service, error)
- func (_m *ServiceBuilderInterface) GetImagesService() (image.ImagesInterface, error)
- func (_m *ServiceBuilderInterface) GetSQLService() (*sqladmin.Service, error)
- func (_m *ServiceBuilderInterface) GetServiceManagementService() (*servicemanagement.APIService, error)
- func (_m *ServiceBuilderInterface) GetStorageService(bucketName string) (bucket.BucketServiceInterface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationServiceInterface ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) List ¶
func (_m *ImagesInterface) List(config loader.Cleanup) (*model.TagCollection, error)
List provides a mock function with given fields: config
type KindInterface ¶
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 ¶
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