(self, cluster_ident, ca_cert_type=None)
return Certificate.convert_with_links(certificate)
Retrieve CA information about the given cluster.

        :param cluster_ident: UUID of a cluster or
        logical name of the cluster.
Retrieve CA information about the given cluster.
Retrieve CA information about the given cluster .
def get_one(self, cluster_ident, ca_cert_type=None):
        """Retrieve CA information about the given cluster.

        :param cluster_ident: UUID of a cluster or
        logical name of the cluster.
        """
        context = pecan.request.context
        cluster = api_utils.get_resource('Cluster', cluster_ident)
        policy.enforce(context, 'certificate:get', cluster.as_dict(),
                       action='certificate:get')
        certificate = pecan.request.rpcapi.get_ca_certificate(cluster,
                                                              ca_cert_type)
        return Certificate.convert_with_links(certificate)
def get_one ( self , cluster_ident , ca_cert_type = None ) : context = pecan . request . context cluster = api_utils . get_resource ( 'Cluster' , cluster_ident ) policy . enforce ( context , 'certificate:get' , cluster . as_dict ( ) , action = 'certificate:get' ) certificate = pecan . request . rpcapi . get_ca_certificate ( cluster , ca_cert_type ) return Certificate . convert_with_links ( certificate )