Documentation ¶
Index ¶
- Variables
- func CreateCluster(cluster string) error
- func DeleteCluster() error
- func GetHTTPResponse(link string) (bool, string, error)
- func RunScript(script string, args ...string) error
- type Framework
- func (f Framework) ApplyManifest(manifestPath string) error
- func (f *Framework) CreateNamespace() error
- func (f *Framework) DeleteNamespace() error
- func (f Framework) GetResponseFromPod(podName string) (bool, error)
- func (f *Framework) Invoke() (*Invocation, error)
- func (f *Framework) Namespace() string
- func (f *Framework) RestConfig() *rest.Config
- type Invocation
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Image = "linode/linode-cloud-controller-manager:latest" ApiToken = "" DockerRegistry = "kubedbci" DBCatalogName = "9.6-v2" StorageClass = "linode-block-storage" Timeout time.Duration RetryInterval time.Duration )
Functions ¶
func CreateCluster ¶
func DeleteCluster ¶
func DeleteCluster() error
Types ¶
type Framework ¶
type Framework struct {
// contains filtered or unexported fields
}
func New ¶
func New( restConfig *rest.Config, kubeClient kubernetes.Interface, kubeConfig string, metricsClient *metricsclientset.Clientset, ) (*Framework, error)
func (Framework) ApplyManifest ¶
func (*Framework) CreateNamespace ¶
func (*Framework) DeleteNamespace ¶
func (Framework) GetResponseFromPod ¶
func (*Framework) Invoke ¶
func (f *Framework) Invoke() (*Invocation, error)
func (*Framework) RestConfig ¶
type Invocation ¶
type Invocation struct { Cluster *k8sInvocation // contains filtered or unexported fields }
func (*Invocation) GetNodeList ¶
func (i *Invocation) GetNodeList() ([]string, error)
func (*Invocation) WaitForHTTPResponse ¶
func (f *Invocation) WaitForHTTPResponse(link string) error
Click to show internal directories.
Click to hide internal directories.