/usr/lib/python2.6/site-packages/openstack/cluster/v1
NameSizeModeActions
action.py29260644editdlrm
action.pyc15030644editdlrm
build_info.py9050644editdlrm
build_info.pyc7550644editdlrm
cluster.py59400644editdlrm
cluster.pyc51720644editdlrm
cluster_policy.py15770644editdlrm
cluster_policy.pyc11270644editdlrm
event.py14000644editdlrm
event.pyc12280644editdlrm
node.py46760644editdlrm
node.pyc35420644editdlrm
policy.py17010644editdlrm
policy.pyc11300644editdlrm
policy_type.py10600644editdlrm
policy_type.pyc8530644editdlrm
profile.py17190644editdlrm
profile.pyc11470644editdlrm
profile_type.py10700644editdlrm
profile_type.pyc8590644editdlrm
receiver.py23250644editdlrm
receiver.pyc13270644editdlrm
_proxy.py356420644editdlrm
_proxy.pyc398560644editdlrm
__init__.py00644editdlrm
__init__.pyc1540644editdlrm
Edit: /usr/lib/python2.6/site-packages/openstack/cluster/v1/_proxy.pyc (39856B)
5 Wc@sddklZddklZddklZddklZddklZ ddkl Z ddkl Z ddklZdd klZdd klZdd klZdd klZdd klZdeifdYZdS(i(taction(t build_info(tcluster(tcluster_policy(tevent(tnode(tpolicy(t policy_type(tprofile(t profile_type(treceiver(tproxy(tresourcetProxycBseZdZdZdZdZdZdZedZ edZ dZ d Z d Z d Zed Zed ZdZdZdZdZdZd4dZd4dZdZdZdZdZdZdZdZedZ dZ!dZ"edZ#d4d Z$d!Z%d"Z&d#Z'ed$Z(ed%Z)d&Z*d'Z+d(Z,d)Z-d*Z.d+Z/ed,Z0ed-Z1d.Z2d/Z3d0Z4d1Z5d2Z6d3Z7RS(5cCs|itiS(sGet build info for service engine and API :returns: A dictionary containing the API and engine revision string. (t_getRt BuildInfo(tself((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytget_build_infoscKs|itidt|S(sGet a generator of profile types. :returns: A generator of objects that are of type :class:`~openstack.cluster.v1.profile_type.ProfileType` t paginated(t_listt _profile_typet ProfileTypetFalse(Rtquery((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt profile_types%scCs|iti|S(sGet the details about a profile_type. :param name: The name of the profile_type to retrieve or an object of :class:`~openstack.cluster.v1.profile_type.ProfileType`. :returns: A :class:`~openstack.cluster.v1.profile_type.ProfileType` object. :raises: :class:`~openstack.exceptions.ResourceNotFound` when no profile_type matching the name could be found. (RRR(RR ((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytget_profile_type-s cKs|itidt|S(sGet a generator of policy types. :returns: A generator of objects that are of type :class:`~openstack.cluster.v1.policy_type.PolicyType` R(Rt _policy_typet PolicyTypeR(RR((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt policy_types:scCs|iti|S(sGet the details about a policy_type. :param policy_type: The name of a poicy_type or an object of :class:`~openstack.cluster.v1.policy_type.PolicyType`. :returns: A :class:`~openstack.cluster.v1.policy_type.PolicyType` object. :raises: :class:`~openstack.exceptions.ResourceNotFound` when no policy_type matching the name could be found. (RRR(RR((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytget_policy_typeBs cKs|iti|S(spCreate a new profile from attributes. :param dict attrs: Keyword arguments that will be used to create a :class:`~openstack.cluster.v1.profile.Profile`, it is comprised of the properties on the Profile class. :returns: The results of profile creation. :rtype: :class:`~openstack.cluster.v1.profile.Profile`. (t_createt_profiletProfile(Rtattrs((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytcreate_profileOs cCs|iti|d|dS(sDelete a profile. :param profile: The value can be either the name or ID of a profile or a :class:`~openstack.cluster.v1.profile.Profile` instance. :param bool ignore_missing: When set to ``False``, an exception :class:`~openstack.exceptions.ResourceNotFound` will be raised when the profile could not be found. When set to ``True``, no exception will be raised when attempting to delete a non-existent profile. :returns: ``None`` tignore_missingN(t_deleteRR (RRR#((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytdelete_profile[s cCs|iti|d|S(sFind a single profile. :param str name_or_id: The name or ID of a profile. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the resource does not exist. When set to ``True``, None will be returned when attempting to find a nonexistent resource. :returns: One :class:`~openstack.cluster.v1.profile.Profile` object or None R#(t_findRR (Rt name_or_idR#((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt find_profileis cCs|iti|S(swGet a single profile. :param profile: The value can be the name or ID of a profile or a :class:`~openstack.cluster.v1.profile.Profile` instance. :returns: One :class:`~openstack.cluster.v1.profile.Profile` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no profile matching the criteria could be found. (RRR (RR((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt get_profilexs cKs|itidt|S(sRetrieve a generator of profiles. :param kwargs \*\*query: Optional query parameters to be sent to restrict the profiles to be returned. Available parameters include: * name: The name of a profile. * type: The type name of a profile. * metadata: A list of key-value pairs that are associated with a profile. * sort: A list of sorting keys separated by commas. Each sorting key can optionally be attached with a sorting direction modifier which can be ``asc`` or ``desc``. * limit: Requests a specified size of returned items from the query. Returns a number of items up to the specified limit value. * marker: Specifies the ID of the last-seen item. Use the limit parameter to make an initial limited request and use the ID of the last-seen item from the response as the marker parameter value in a subsequent limited request. * global_project: A boolean value indicating whether profiles from all projects will be returned. :returns: A generator of profile instances. R(RRR tTrue(RR((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytprofilesscKs|iti||S(sUpdate a profile. :param profile: Either the name or the ID of the profile, or an instance of :class:`~openstack.cluster.v1.profile.Profile`. :param attrs: The attributes to update on the profile represented by the ``value`` parameter. :returns: The updated profile. :rtype: :class:`~openstack.cluster.v1.profile.Profile` (t_updateRR (RRR!((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytupdate_profiles cKs|iti|S(spCreate a new cluster from attributes. :param dict attrs: Keyword arguments that will be used to create a :class:`~openstack.cluster.v1.cluster.Cluster`, it is comprised of the properties on the Cluster class. :returns: The results of cluster creation. :rtype: :class:`~openstack.cluster.v1.cluster.Cluster`. (Rt_clustertCluster(RR!((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytcreate_clusters cCs|iti|d|S(sgDelete a cluster. :param cluster: The value can be either the name or ID of a cluster or a :class:`~openstack.cluster.v1.cluster.Cluster` instance. :param bool ignore_missing: When set to ``False``, an exception :class:`~openstack.exceptions.ResourceNotFound` will be raised when the cluster could not be found. When set to ``True``, no exception will be raised when attempting to delete a non-existent cluster. :returns: The instance of the Cluster which was deleted. :rtype: :class:`~openstack.cluster.v1.cluster.Cluster`. R#(R$R.R/(RRR#((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytdelete_clusters cCs|iti|d|S(sFind a single cluster. :param str name_or_id: The name or ID of a cluster. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the resource does not exist. When set to ``True``, None will be returned when attempting to find a nonexistent resource. :returns: One :class:`~openstack.cluster.v1.cluster.Cluster` object or None R#(R&R.R/(RR'R#((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt find_clusters cCs|iti|S(swGet a single cluster. :param cluster: The value can be the name or ID of a cluster or a :class:`~openstack.cluster.v1.cluster.Cluster` instance. :returns: One :class:`~openstack.cluster.v1.cluster.Cluster` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no cluster matching the criteria could be found. (RR.R/(RR((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt get_clusters cKs|itidt|S(s~Retrieve a generator of clusters. :param kwargs \*\*query: Optional query parameters to be sent to restrict the clusters to be returned. Available parameters include: * name: The name of a cluster. * status: The current status of a cluster. * sort: A list of sorting keys separated by commas. Each sorting key can optionally be attached with a sorting direction modifier which can be ``asc`` or ``desc``. * limit: Requests a specified size of returned items from the query. Returns a number of items up to the specified limit value. * marker: Specifies the ID of the last-seen item. Use the limit parameter to make an initial limited request and use the ID of the last-seen item from the response as the marker parameter value in a subsequent limited request. * global_project: A boolean value indicating whether clusters from all projects will be returned. :returns: A generator of cluster instances. R(RR.R/R*(RR((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytclustersscKs|iti||S(sUpdate a cluster. :param cluster: Either the name or the ID of the cluster, or an instance of :class:`~openstack.cluster.v1.cluster.Cluster`. :param attrs: The attributes to update on the cluster represented by the ``cluster`` parameter. :returns: The updated cluster. :rtype: :class:`~openstack.cluster.v1.cluster.Cluster` (R,R.R/(RRR!((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytupdate_clusters cCsKt|tio |}n|iti|dt}|i|i|S(s=Add nodes to a cluster. :param cluster: Either the name or the ID of the cluster, or an instance of :class:`~openstack.cluster.v1.cluster.Cluster`. :param nodes: List of nodes to be added to the cluster. :returns: A dict containing the action initiated by this operation. R#(t isinstanceR.R/R&Rt add_nodestsession(RRtnodestobj((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytcluster_add_nodes s cCsKt|tio |}n|iti|dt}|i|i|S(sFRemove nodes from a cluster. :param cluster: Either the name or the ID of the cluster, or an instance of :class:`~openstack.cluster.v1.cluster.Cluster`. :param nodes: List of nodes to be removed from the cluster. :returns: A dict containing the action initiated by this operation. R#(R6R.R/R&Rt del_nodesR8(RRR9R:((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytcluster_del_nodess cCsKt|tio |}n|iti|dt}|i|i|S(seInflate the size of a cluster. :param cluster: Either the name or the ID of the cluster, or an instance of :class:`~openstack.cluster.v1.cluster.Cluster`. :param count: Optional parameter specifying the number of nodes to be added. :returns: A dict containing the action initiated by this operation. R#(R6R.R/R&Rt scale_outR8(RRtcountR:((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytcluster_scale_out%s  cCsKt|tio |}n|iti|dt}|i|i|S(sfShrink the size of a cluster. :param cluster: Either the name or the ID of the cluster, or an instance of :class:`~openstack.cluster.v1.cluster.Cluster`. :param count: Optional parameter specifying the number of nodes to be removed. :returns: A dict containing the action initiated by this operation. R#(R6R.R/R&Rtscale_inR8(RRR?R:((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytcluster_scale_in4s  cKsKt|tio |}n|iti|dt}|i|i|S(saResize of cluster. :param cluster: Either the name or the ID of the cluster, or an instance of :class:`~openstack.cluster.v1.cluster.Cluster`. :param dict \*\*params: A dictionary providing the parameters for the resize action. :returns: A dict containing the action initiated by this operation. R#(R6R.R/R&RtresizeR8(RRtparamsR:((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytcluster_resizeCs  cKsNt|tio |}n|iti|dt}|i|i||S(sAttach a policy to a cluster. :param cluster: Either the name or the ID of the cluster, or an instance of :class:`~openstack.cluster.v1.cluster.Cluster`. :param policy: Either the name or the ID of a policy. :param dict \*\*params: A dictionary containing the properties for the policy to be attached. :returns: A dict containing the action initiated by this operation. R#(R6R.R/R&Rt policy_attachR8(RRRRDR:((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytcluster_attach_policyRs  cCsKt|tio |}n|iti|dt}|i|i|S(sAAttach a policy to a cluster. :param cluster: Either the name or the ID of the cluster, or an instance of :class:`~openstack.cluster.v1.cluster.Cluster`. :param policy: Either the name or the ID of a policy. :returns: A dict containing the action initiated by this operation. R#(R6R.R/R&Rt policy_detachR8(RRRR:((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytcluster_detach_policybs cKsNt|tio |}n|iti|dt}|i|i||S(sChange properties of a policy which is bound to the cluster. :param cluster: Either the name or the ID of the cluster, or an instance of :class:`~openstack.cluster.v1.cluster.Cluster`. :param policy: Either the name or the ID of a policy. :param dict \*\*params: A dictionary containing the new properties for the policy. :returns: A dict containing the action initiated by this operation. R#(R6R.R/R&Rt policy_updateR8(RRRRDR:((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytcluster_update_policyps  cKs(|iti|}|i|i|S(sJcheck a cluster. :param cluster: The value can be either the ID of a cluster or a :class:`~openstack.cluster.v1.cluster.Cluster` instance. :param dict \*\*params: A dictionary providing the parameters for the check action. :returns: A dictionary containing the action ID. (t _get_resourceR.R/tcheckR8(RRRDR:((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt check_clusters cKs(|iti|}|i|i|S(sIrecover a node. :param cluster: The value can be either the ID of a cluster or a :class:`~openstack.cluster.v1.cluster.Cluster` instance. :param dict \*\*params: A dictionary providing the parameters for the check action. :returns: A dictionary containing the action ID. (RLR.R/trecoverR8(RRRDR:((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytrecover_clusters cKs|iti|S(s_Create a new node from attributes. :param dict attrs: Keyword arguments that will be used to create a :class:`~openstack.cluster.v1.node.Node`, it is comprised of the properties on the ``Node`` class. :returns: The results of node creation. :rtype: :class:`~openstack.cluster.v1.node.Node`. (Rt_nodetNode(RR!((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt create_nodes cCs|iti|d|S(sIDelete a node. :param node: The value can be either the name or ID of a node or a :class:`~openstack.cluster.v1.node.Node` instance. :param bool ignore_missing: When set to ``False``, an exception :class:`~openstack.exceptions.ResourceNotFound` will be raised when the node could not be found. When set to ``True``, no exception will be raised when attempting to delete a non-existent node. :returns: The instance of the Node which was deleted. :rtype: :class:`~openstack.cluster.v1.node.Node`. R#(R$RQRR(RRR#((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt delete_nodes cKs(|iti|}|i|i|S(scheck a node. :param node: The value can be either the ID of a node or a :class:`~openstack.cluster.v1.node.Node` instance. :returns: A dictionary containing the action ID. (RLRQRRRMR8(RRRDR:((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt check_nodescKs(|iti|}|i|i|S(srecover a node. :param node: The value can be either the ID of a node or a :class:`~openstack.cluster.v1.node.Node` instance. :returns: A dictionary containing the action ID. (RLRQRRROR8(RRRDR:((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt recover_nodescCs|iti|d|S(sFind a single node. :param str name_or_id: The name or ID of a node. :returns: One :class:`~openstack.cluster.v1.node.Node` object or None. R#(R&RQRR(RR'R#((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt find_nodescCs|iti|d|S(sGet a single node. :param node: The value can be the name or ID of a node or a :class:`~openstack.cluster.v1.node.Node` instance. :param args: An optional argument that will be translated into query strings when retrieving the node. :returns: One :class:`~openstack.cluster.v1.node.Node` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no node matching the name or ID could be found. targs(RRQRR(RRRX((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytget_nodes cKs|itidt|S(sRetrieve a generator of nodes. :param kwargs \*\*query: Optional query parameters to be sent to restrict the nodes to be returned. Available parameters include: * cluster_id: A string including the name or ID of a cluster to which the resulted node(s) is a member. * name: The name of a node. * status: The current status of a node. * sort: A list of sorting keys separated by commas. Each sorting key can optionally be attached with a sorting direction modifier which can be ``asc`` or ``desc``. * limit: Requests at most the specified number of items be returned from the query. * marker: Specifies the ID of the last-seen node. Use the limit parameter to make an initial limited request and use the ID of the last-seen node from the response as the marker parameter value in a subsequent limited request. * global_project: A boolean value indicating whether nodes from all projects will be returned. :returns: A generator of node instances. R(RRQRRR*(RR((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyR9scKs|iti||S(shUpdate a node. :param node: Either the name or the ID of the node, or an instance of :class:`~openstack.cluster.v1.node.Node`. :param attrs: The attributes to update on the node represented by the ``node`` parameter. :returns: The updated node. :rtype: :class:`~openstack.cluster.v1.node.Node` (R,RQRR(RRR!((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt update_nodes cKs|iti|S(smCreate a new policy from attributes. :param dict attrs: Keyword arguments that will be used to create a :class:`~openstack.cluster.v1.policy.Policy`, it is comprised of the properties on the ``Policy`` class. :returns: The results of policy creation. :rtype: :class:`~openstack.cluster.v1.policy.Policy`. (Rt_policytPolicy(RR!((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt create_policy s cCs|iti|d|dS(sDelete a policy. :param policy: The value can be either the name or ID of a policy or a :class:`~openstack.cluster.v1.policy.Policy` instance. :param bool ignore_missing: When set to ``False``, an exception :class:`~openstack.exceptions.ResourceNotFound` will be raised when the policy could not be found. When set to ``True``, no exception will be raised when attempting to delete a non-existent policy. :returns: ``None`` R#N(R$R[R\(RRR#((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt delete_policys cCs|iti|d|S(sFind a single policy. :param str name_or_id: The name or ID of a policy. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the specified policy does not exist. When set to ``True``, None will be returned when attempting to find a nonexistent policy. :returns: A policy object or None. :rtype: :class:`~openstack.cluster.v1.policy.Policy` R#(R&R[R\(RR'R#((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt find_policy#s cCs|iti|S(sGet a single policy. :param policy: The value can be the name or ID of a policy or a :class:`~openstack.cluster.v1.policy.Policy` instance. :returns: A policy object. :rtype: :class:`~openstack.cluster.v1.policy.Policy` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no policy matching the criteria could be found. (RR[R\(RR((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt get_policy2s cKs|itidt|S(stRetrieve a generator of policies. :param kwargs \*\*query: Optional query parameters to be sent to restrict the policies to be returned. Available parameters include: * name: The name of a policy. * type: The type name of a policy. * sort: A list of sorting keys separated by commas. Each sorting key can optionally be attached with a sorting direction modifier which can be ``asc`` or ``desc``. * limit: Requests a specified size of returned items from the query. Returns a number of items up to the specified limit value. * marker: Specifies the ID of the last-seen item. Use the limit parameter to make an initial limited request and use the ID of the last-seen item from the response as the marker parameter value in a subsequent limited request. * global_project: A boolean value indicating whether policies from all projects will be returned. :returns: A generator of policy instances. R(RR[R\R*(RR((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytpolicies?scKs|iti||S(syUpdate a policy. :param policy: Either the name or the ID of a policy, or an instance of :class:`~openstack.cluster.v1.policy.Policy`. :param attrs: The attributes to update on the policy represented by the ``value`` parameter. :returns: The updated policy. :rtype: :class:`~openstack.cluster.v1.policy.Policy` (R,R[R\(RRR!((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt update_policyXs cKs8tii|}|itidtdh|d6|S(sRetrieve a generator of cluster-policy bindings. :param cluster: The value can be the name or ID of a cluster or a :class:`~openstack.cluster.v1.cluster.Cluster` instance. :param kwargs \*\*query: Optional query parameters to be sent to restrict the policies to be returned. Available parameters include: * enabled: A boolean value indicating whether the policy is enabled on the cluster. :returns: A generator of cluster-policy binding instances. Rt path_argst cluster_id(R tResourcetget_idRt_cluster_policyt ClusterPolicyR(RRRRd((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytcluster_policieses cCsDtii|}tii|}|iti|dh|d6S(sgGet a cluster-policy binding. :param cluster_policy: The value can be the name or ID of a policy or a :class:`~openstack.cluster.v1.policy.Policy` instance. :param cluster: The value can be the name or ID of a cluster or a :class:`~openstack.cluster.v1.cluster.Cluster` instance. :returns: a cluster-policy binding object. :rtype: :class:`~openstack.cluster.v1.cluster_policy.CLusterPolicy` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no cluster-policy binding matching the criteria could be found. RcRd(R ReRfRRgRh(RRRRdt policy_id((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytget_cluster_policyuscKs|iti|S(swCreate a new receiver from attributes. :param dict attrs: Keyword arguments that will be used to create a :class:`~openstack.cluster.v1.receiver.Receiver`, it is comprised of the properties on the Receiver class. :returns: The results of receiver creation. :rtype: :class:`~openstack.cluster.v1.receiver.Receiver`. (Rt _receivertReceiver(RR!((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytcreate_receivers cCs|iti|d|dS(sDelete a receiver. :param receiver: The value can be either the name or ID of a receiver or a :class:`~openstack.cluster.v1.receiver.Receiver` instance. :param bool ignore_missing: When set to ``False``, an exception :class:`~openstack.exceptions.ResourceNotFound` will be raised when the receiver could not be found. When set to ``True``, no exception will be raised when attempting to delete a non-existent receiver. :returns: ``None`` R#N(R$RlRm(RR R#((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytdelete_receivers cCs|iti|d|S(sFind a single receiver. :param str name_or_id: The name or ID of a receiver. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the specified receiver does not exist. When set to ``True``, None will be returned when attempting to find a nonexistent receiver. :returns: A receiver object or None. :rtype: :class:`~openstack.cluster.v1.receiver.Receiver` R#(R&RlRm(RR'R#((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt find_receivers cCs|iti|S(sGet a single receiver. :param receiver: The value can be the name or ID of a receiver or a :class:`~openstack.cluster.v1.receiver.Receiver` instance. :returns: A receiver object. :rtype: :class:`~openstack.cluster.v1.receiver.Receiver` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no receiver matching the criteria could be found. (RRlRm(RR ((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt get_receivers cKs|itidt|S(s'Retrieve a generator of receivers. :param kwargs \*\*query: Optional query parameters for restricting the receivers to be returned. Available parameters include: * name: The name of a receiver object. * type: The type of receiver objects. * cluster_id: The ID of the associated cluster. * action: The name of the associated action. * sort: A list of sorting keys separated by commas. Each sorting key can optionally be attached with a sorting direction modifier which can be ``asc`` or ``desc``. * global_project: A boolean value indicating whether receivers * from all projects will be returned. :returns: A generator of receiver instances. R(RRlRmR*(RR((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt receiversscCs|iti|S(sGet a single action. :param action: The value can be the name or ID of an action or a :class:`~openstack.cluster.v1.action.Action` instance. :returns: an action object. :rtype: :class:`~openstack.cluster.v1.action.Action` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no action matching the criteria could be found. (Rt_actiontAction(RR((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt get_actions cKs|itidt|S(shRetrieve a generator of actions. :param kwargs \*\*query: Optional query parameters to be sent to restrict the actions to be returned. Available parameters include: * name: name of action for query. * target: ID of the target object for which the actions should be returned. * action: built-in action types for query. * sort: A list of sorting keys separated by commas. Each sorting key can optionally be attached with a sorting direction modifier which can be ``asc`` or ``desc``. * limit: Requests a specified size of returned items from the query. Returns a number of items up to the specified limit value. * marker: Specifies the ID of the last-seen item. Use the limit parameter to make an initial limited request and use the ID of the last-seen item from the response as the marker parameter value in a subsequent limited request. :returns: A generator of action instances. R(RRsRtR*(RR((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pytactionsscCs|iti|S(sGet a single event. :param event: The value can be the name or ID of an event or a :class:`~openstack.cluster.v1.event.Event` instance. :returns: an event object. :rtype: :class:`~openstack.cluster.v1.event.Event` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no event matching the criteria could be found. (Rt_eventtEvent(RR((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt get_events cKs|itidt|S(s Retrieve a generator of events. :param kwargs \*\*query: Optional query parameters to be sent to restrict the events to be returned. Available parameters include: * obj_name: name string of the object associated with an event. * obj_type: type string of the object related to an event. The value can be ``cluster``, ``node``, ``policy`` etc. * obj_id: ID of the object associated with an event. * cluster_id: ID of the cluster associated with the event, if any. * action: name of the action associated with an event. * sort: A list of sorting keys separated by commas. Each sorting key can optionally be attached with a sorting direction modifier which can be ``asc`` or ``desc``. * limit: Requests a specified size of returned items from the query. Returns a number of items up to the specified limit value. * marker: Specifies the ID of the last-seen item. Use the limit parameter to make an initial limited request and use the ID of the last-seen item from the response as the marker parameter value in a subsequent limited request. * global_project: A boolean specifying whether events from all projects should be returned. This option is subject to access control checking. :returns: A generator of event instances. R(RRwRxR*(RR((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyteventssN(8t__name__t __module__RRRRRR"R*R%R(R)R+R-R0R1R2R3R4R5R;R=tNoneR@RBRERGRIRKRNRPRSRTRURVRWRYR9RZR]R^R_R`RaRbRiRkRnRoRpRqRrRuRvRyRz(((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyR sh                              N(topenstack.cluster.v1RRsRRR.RRgRRwRRQRR[RRRRR RR Rlt openstackR R t BaseProxyR (((sA/tmp/pip-build-wCUybK/openstacksdk/openstack/cluster/v1/_proxy.pyt s