Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UserStorageContext types.StorageContext = "user" ManagementStorageContext types.StorageContext = "mgmt" )
Functions ¶
This section is empty.
Types ¶
type ManagementContext ¶
type ManagementContext struct { ClientGetter proxy.ClientGetter LocalConfig *rest.Config RESTConfig rest.Config UnversionedClient rest.Interface DynamicClient k8dynamic.Interface K8sClient kubernetes.Interface APIExtClient clientset.Interface Schemas *types.Schemas Scheme *runtime.Scheme Dialer dialer.Factory UserManager user.Manager Management managementv3.Interface Project projectv3.Interface RBAC rbacv1.Interface Core corev1.Interface }
func NewManagementContext ¶
func NewManagementContext(config rest.Config) (*ManagementContext, error)
func (*ManagementContext) StartAndWait ¶
func (c *ManagementContext) StartAndWait() error
type ScaledContext ¶
type ScaledContext struct { ClientGetter proxy.ClientGetter LocalConfig *rest.Config RESTConfig rest.Config UnversionedClient rest.Interface K8sClient kubernetes.Interface APIExtClient clientset.Interface Schemas *types.Schemas AccessControl types.AccessControl Dialer dialer.Factory UserManager user.Manager PeerManager peermanager.PeerManager Management managementv3.Interface Project projectv3.Interface RBAC rbacv1.Interface Core corev1.Interface }
func NewScaledContext ¶
func NewScaledContext(config rest.Config) (*ScaledContext, error)
func (*ScaledContext) NewManagementContext ¶
func (c *ScaledContext) NewManagementContext() (*ManagementContext, error)
type UserContext ¶
type UserContext struct { Management *ManagementContext ClusterName string RESTConfig rest.Config UnversionedClient rest.Interface APIExtClient clientset.Interface K8sClient kubernetes.Interface Apps appsv1beta2.Interface Project projectv3.Interface Core corev1.Interface RBAC rbacv1.Interface Extensions extv1beta1.Interface BatchV1 batchv1.Interface BatchV1Beta1 batchv1beta1.Interface Networking knetworkingv1.Interface Monitoring monitoringv1.Interface Cluster clusterv3.Interface }
func NewUserContext ¶
func NewUserContext(scaledContext *ScaledContext, config rest.Config, clusterName string) (*UserContext, error)
func (*UserContext) StartAndWait ¶
func (w *UserContext) StartAndWait(ctx context.Context) error
func (*UserContext) UserOnlyContext ¶
func (w *UserContext) UserOnlyContext() *UserOnlyContext
type UserOnlyContext ¶
type UserOnlyContext struct { Schemas *types.Schemas ClusterName string RESTConfig rest.Config UnversionedClient rest.Interface K8sClient kubernetes.Interface Apps appsv1beta2.Interface Project projectv3.Interface Core corev1.Interface RBAC rbacv1.Interface Extensions extv1beta1.Interface BatchV1 batchv1.Interface BatchV1Beta1 batchv1beta1.Interface Monitoring monitoringv1.Interface Cluster clusterv3.Interface }
func NewUserOnlyContext ¶
func NewUserOnlyContext(config rest.Config) (*UserOnlyContext, error)
func (*UserOnlyContext) StartAndWait ¶
func (w *UserOnlyContext) StartAndWait(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.