Created
January 7, 2018 12:40
-
-
Save yeshess/955cda8bd838f92a2f6267f3513edfac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SUPPORTED_API_MAPPINGS = { | |
'ClusterRoleBinding': KubernetesApiMapping( | |
create=KubernetesSingleOperationApiMapping( | |
api='RbacAuthorizationV1beta1Api', | |
method='create_cluster_role_binding', | |
payload='V1beta1ClusterRoleBinding' | |
), | |
read=KubernetesSingleOperationApiMapping( | |
api='RbacAuthorizationV1beta1Api', | |
method='read_cluster_role_binding', | |
), | |
update=KubernetesSingleOperationApiMapping( | |
api='RbacAuthorizationV1beta1Api', | |
method='replace_cluster_role_binding', | |
), | |
delete=KubernetesSingleOperationApiMapping( | |
api='RbacAuthorizationV1beta1Api', | |
method='delete_cluster_role_binding', | |
payload='V1DeleteOptions' | |
), | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment