Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Framework ¶
type Framework struct { *framework.Framework // client for tidb-operator. ExtClient versioned.Interface // client for advanced statefulset. ASClient asclientset.Interface // client for apiregistration. ARClient apiregistration.Interface // client for apiextensions. AEClient apiextensions.Interface RESTMapper *restmapper.DeferredDiscoveryRESTMapper // client can create with yaml file. // It's useful to create some dynamic resource or custom resource without client YAMLClient yamlutil.Interface // TLSManager is prepared for generating tls. // TODO: manage cert-manager lifecycle. TLSManager tlsutil.Manager // PortForwarder is defined to visit pod in local. PortForwarder portforward.PortForwarder // Storage defines interface of s3 storage Storage s3.Interface // contains filtered or unexported fields }
func NewFramework ¶
func (*Framework) BeforeEach ¶
func (f *Framework) BeforeEach()
func (*Framework) CreateYAML ¶
CreateYAML can be used for creating kubernetes object in yaml format. It is prepared for some CRD objects which have no client imported.
func (*Framework) ForceCleanBackups ¶
func (*Framework) RecycleReleasedPV ¶
func (f *Framework) RecycleReleasedPV()
Click to show internal directories.
Click to hide internal directories.