Documentation ¶
Index ¶
- type Framework
- func (f *Framework) CreateDeployment(kclient kubernetes.Interface, ns string, deploy *v1beta1.Deployment) error
- func (f *Framework) CreatePrometheus(e *spec.Prometheus) (*spec.Prometheus, error)
- func (f *Framework) DeletePrometheus(name string) error
- func (f *Framework) Teardown() error
- func (f *Framework) WaitForPodsReady(timeout time.Duration, expectedReplicas int, opts api.ListOptions) (*v1.PodList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Framework ¶
type Framework struct { KubeClient kubernetes.Interface HTTPClient *http.Client MasterHost string Namespace *v1.Namespace OperatorPod *v1.Pod }
func (*Framework) CreateDeployment ¶
func (f *Framework) CreateDeployment(kclient kubernetes.Interface, ns string, deploy *v1beta1.Deployment) error
func (*Framework) CreatePrometheus ¶
func (f *Framework) CreatePrometheus(e *spec.Prometheus) (*spec.Prometheus, error)
func (*Framework) DeletePrometheus ¶
Click to show internal directories.
Click to hide internal directories.