Documentation ¶
Index ¶
- func NewConfigRepository() playbook.ConfigRepository
- func NewInventoryRepository() playbook.InventoryRepository
- func NewNamespaceRepository(kubernetes kubernetes.Interface, createFailure bool) resource.NamespaceRepository
- func NewPlaybookRepository() playbook.PlaybookRepository
- func NewServiceRepository(kubernetes kubernetes.Interface, host string) resource.ServiceRepository
- type DeploymentRepository
- type JobRepository
- type PodRepository
- type StatefulsetRepository
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 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 ¶
type DeploymentRepository ¶ added in v0.8.0
func (*DeploymentRepository) List ¶ added in v0.8.0
func (m *DeploymentRepository) List(namespace string) (resource.Deployments, error)
type JobRepository ¶ added in v0.8.0
func (*JobRepository) Delete ¶ added in v0.8.0
func (m *JobRepository) Delete(namespace, resourceName string) error
type PodRepository ¶ added in v0.8.0
type StatefulsetRepository ¶ added in v0.8.0
func (*StatefulsetRepository) List ¶ added in v0.8.0
func (m *StatefulsetRepository) List(namespace string) (resource.Statefulsets, error)
Click to show internal directories.
Click to hide internal directories.