File: //lib/python3.6/site-packages/awscli/customizations/eks/__pycache__/kubeconfig.cpython-36.opt-1.pyc
3
�T_�$ � @ s� d dl Z d dlZd dlZd dlZd dlmZ d dlmZ d dlm Z m
Z
G dd� de�ZG dd� de�ZG d d
� d
e�Z
dd� ZG d
d� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZdS )� N)�OrderedDict)�EKSError)�ordered_yaml_load�ordered_yaml_dumpc @ s e Zd ZdZdS )�KubeconfigErrorz& Base class for all kubeconfig errors.N)�__name__�
__module__�__qualname__�__doc__� r r � /usr/lib/python3.6/kubeconfig.pyr s r c @ s e Zd ZdZdS )�KubeconfigCorruptedErrorz+ Raised when a kubeconfig cannot be parsed.N)r r r r
r r r r r
s r
c @ s e Zd ZdZdS )�KubeconfigInaccessableErrorz< Raised when a kubeconfig cannot be opened for read/writing.N)r r r r
r r r r r ! s r c C s( t ddg fdg fdd
d t � fd
g fg�S )N�
apiVersion�v1�clusters�contexts�current-context� �kind�ConfigZpreferences�users)r r )r r )r r )r r r r r �_get_new_kubeconfig_content% s r c @ s&