OpenShift Java Client 2.5.0.Final

com.openshift.client
Interface IOpenShiftSSHKey

All Superinterfaces:
ISSHPublicKey
All Known Implementing Classes:
SSHKeyResource

public interface IOpenShiftSSHKey
extends ISSHPublicKey

Author:
Andre Dietisheim

Method Summary
 void destroy()
           
 String getName()
          Returns the name that is used to store this key on OpenShift.
 void setKeyType(SSHKeyType type, String publicKey)
          Sets the new type and public key of this ssh key to the OpenShift PaaS
 void setPublicKey(String publicKey)
          Sets the public key portion of this ssh key to the OpenShift PaaS.
 
Methods inherited from interface com.openshift.client.ISSHPublicKey
getKeyType, getPublicKey
 

Method Detail

getName

String getName()
Returns the name that is used to store this key on OpenShift.

Returns:

setPublicKey

void setPublicKey(String publicKey)
                  throws OpenShiftException
Sets the public key portion of this ssh key to the OpenShift PaaS.

Parameters:
publicKey - the new public key porition of this key
Throws:
OpenShiftException

setKeyType

void setKeyType(SSHKeyType type,
                String publicKey)
                throws OpenShiftException
Sets the new type and public key of this ssh key to the OpenShift PaaS

Parameters:
type -
Throws:
OpenShiftException

destroy

void destroy()
             throws OpenShiftException
Throws:
OpenShiftException

OpenShift Java Client 2.5.0.Final

Copyright © 2014 JBoss, a division of Red Hat, Inc.. All Rights Reserved.