ivcap_client.service
Module Contents
Classes
This clas represents a particular service available |
|
Helper class that provides a standard way to create an ABC using |
|
Generic enumeration. |
|
Attributes
- class ivcap_client.service.Service(ivcap: ivcap_client.ivcap.IVCAP, **kwargs)[source]
This clas represents a particular service available in a particular IVCAP deployment
- property parameters: Dict[str, ServiceParameter]
- property mandatory_parameters: Set[str]
- id: Optional[ivcap_client.ivcap.URN]
- name: Optional[str]
- description: Optional[str]
- banner: Optional[str]
- policy: Optional[ivcap_client.ivcap.URN]
- published_at: Optional[datetime.datetime]
- policy: Optional[ivcap_client.ivcap.URN]
- account: Optional[ivcap_client.ivcap.URN]
- classmethod _from_list_item(item: ivcap_client.models.service_list_item.ServiceListItem, ivcap: ivcap_client.ivcap.IVCAP)[source]
- place_order(**kwargs) ivcap_client.order.Order [source]
- class ivcap_client.service.ServiceIter(ivcap: ivcap_client.ivcap.IVCAP, **kwargs)[source]
Bases:
ivcap_client.utils.BaseIter
[Service
,ivcap_client.models.service_list_item.ServiceListItem
]Helper class that provides a standard way to create an ABC using inheritance.
- class ivcap_client.service.PType[source]
Bases:
enum.Enum
Generic enumeration.
Derive from this class to define new enumerations.
- STRING = 'string'
- INT = 'int'
- FLOAT = 'float'
- BOOL = 'bool'
- OPTION = 'option'
- ARTIFACT = 'artifact'
- COLLECTION = 'collection'
- ivcap_client.service._verifier
- class ivcap_client.service.ServiceParameter(p: ivcap_client.models.parameter_def_t.ParameterDefT)[source]
- name: str
- description: str
- label: Optional[str]
- unit: Optional[str]
- is_constant: Optional[bool] = False
- is_unary: Optional[bool] = False
- is_optional: Optional[bool] = False
- default: Optional[str]
- options: Optional[List[ivcap_client.models.parameter_opt_t.ParameterOptT]]