Documentation ¶
Index ¶
- type Client
- func (cli *Client) CleanupProject(namespace string) error
- func (cli *Client) CreateProject(namespace string) error
- func (cli *Client) DumpInfo(namespace string) error
- func (cli *Client) GetServiceAccountToken(namespace, name string) ([]byte, error)
- func (cli *Client) InstantiateTemplate(srcTemplateName, dstNamespace string) error
- type ClientSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { AppsV1 appsv1client.AppsV1Interface AuthorizationV1 authorizationv1client.AuthorizationV1Interface CoreV1 corev1client.CoreV1Interface BatchV1 batchv1client.BatchV1Interface NetworkV1 networkv1client.NetworkV1Interface PolicyV1beta1 policyv1beta1client.PolicyV1beta1Interface RbacV1 rbacv1client.RbacV1Interface OAppsV1 oappsv1client.AppsV1Interface BuildV1 buildv1client.BuildV1Interface ProjectV1 projectv1client.ProjectV1Interface RouteV1 routev1client.RouteV1Interface TemplateV1 templatev1client.TemplateV1Interface UserV1 userv1client.UserV1Interface }
func NewAdminClient ¶
func NewAdminClient(cs *internalapi.OpenShiftManagedCluster) (*Client, error)
func NewCustomerAdminClient ¶
func NewCustomerAdminClient(cs *internalapi.OpenShiftManagedCluster) (*Client, error)
func NewEndUserClient ¶
func NewEndUserClient(cs *internalapi.OpenShiftManagedCluster) (*Client, error)
func (*Client) CleanupProject ¶
func (*Client) CreateProject ¶
func (*Client) GetServiceAccountToken ¶
func (*Client) InstantiateTemplate ¶
type ClientSet ¶
func NewClientSet ¶
func NewClientSet(cs *internalapi.OpenShiftManagedCluster) (*ClientSet, error)
NewClientSet creates a new set of openshift clients scoped for different levels of access
Click to show internal directories.
Click to hide internal directories.