Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterContext ¶
type ClusterContext struct { RESTConfig rest.Config UnversionedClient rest.Interface Cluster clusterv1.Interface Authorization authzv1.Interface }
func NewClusterContext ¶
func NewClusterContext(config rest.Config) (*ClusterContext, error)
func (*ClusterContext) StartAndWait ¶
func (c *ClusterContext) StartAndWait() error
type WorkloadContext ¶
type WorkloadContext struct { Cluster *ClusterContext ClusterName string RESTConfig rest.Config UnversionedClient rest.Interface K8sClient kubernetes.Interface Apps appsv1beta2.Interface Workload workloadv1.Interface Core corev1.Interface }
func NewWorkloadContext ¶
func NewWorkloadContext(clusterConfig, config rest.Config, clusterName string) (*WorkloadContext, error)
func (*WorkloadContext) StartAndWait ¶
func (w *WorkloadContext) StartAndWait() error
Click to show internal directories.
Click to hide internal directories.