mock

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigRepository

func NewConfigRepository() playbook.ConfigRepository

NewConfigRepository returns a new Mock ConfigRepository

func NewInventoryRepository

func NewInventoryRepository() playbook.InventoryRepository

NewInventoryRepository returns a Mock InventoryRepository

func NewNamespaceRepository added in v0.3.0

func NewNamespaceRepository(kubernetes kubernetes.Interface, createFailure bool) resource.NamespaceRepository

NewNamespaceRepository returns a new NamespaceRepository. The parameter is a go-client Kubernetes client

func NewPlaybookRepository added in v0.3.0

func NewPlaybookRepository() playbook.PlaybookRepository

func NewPodRepository added in v0.3.0

func NewPodRepository(kubernetes kubernetes.Interface) resource.PodRepository

NewPodRepository returns a new PodRepository. The parameter is a go-client kubernetes client.

func NewServiceRepository added in v0.3.0

func NewServiceRepository(kubernetes kubernetes.Interface, host string) resource.ServiceRepository

NewServiceRepository retuns a new ServiceRespository It takes as parameter a go-client kubernetes client and the kubernetes cluster host (domain name or ip).

Types

This section is empty.

Jump to

Keyboard shortcuts

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