def get_resource_api(api_client: client.ApiClient = None, **kwargs) -> "client.SettingsV1alpha1Api": """ Returns an instance of the kubernetes API client associated with this object. """ if api_client: kwargs["apl_client"] = api_client return client.SettingsV1alpha1Api(**kwargs)
def __init__(self): self.core = client.CoreV1Api() self.certs = client.CertificatesV1beta1Api() self.rbac = client.RbacAuthorizationV1Api() self.settings_api = client.SettingsV1alpha1Api() self.policy = client.PolicyV1beta1Api()