Module: Apcera
- Defined in:
- lib/apcera.rb,
lib/apcera/version.rb,
lib/apcera/api_error.rb,
lib/apcera/api_client.rb,
lib/apcera/models/job.rb,
lib/apcera/models/log.rb,
lib/apcera/models/info.rb,
lib/apcera/models/port.rb,
lib/apcera/models/rule.rb,
lib/apcera/models/task.rb,
lib/apcera/api/jobs_api.rb,
lib/apcera/api/logs_api.rb,
lib/apcera/models/drain.rb,
lib/apcera/models/route.rb,
lib/apcera/api/rules_api.rb,
lib/apcera/configuration.rb,
lib/apcera/models/binding.rb,
lib/apcera/models/metrics.rb,
lib/apcera/models/package.rb,
lib/apcera/models/process.rb,
lib/apcera/models/provide.rb,
lib/apcera/models/runtime.rb,
lib/apcera/models/service.rb,
lib/apcera/api/default_api.rb,
lib/apcera/api/metrics_api.rb,
lib/apcera/models/provider.rb,
lib/apcera/models/resource.rb,
lib/apcera/models/sub_task.rb,
lib/apcera/api/packages_api.rb,
lib/apcera/models/api_error.rb,
lib/apcera/models/instances.rb,
lib/apcera/models/namespace.rb,
lib/apcera/api/instances_api.rb,
lib/apcera/api/providers_api.rb,
lib/apcera/api/utilities_api.rb,
lib/apcera/models/dependency.rb,
lib/apcera/models/job_health.rb,
lib/apcera/models/stager_job.rb,
lib/apcera/models/task_event.rb,
lib/apcera/models/base_object.rb,
lib/apcera/models/subnet_info.rb,
lib/apcera/models/drain_config.rb,
lib/apcera/models/file_listing.rb,
lib/apcera/models/package_info.rb,
lib/apcera/models/policy_error.rb,
lib/apcera/models/version_info.rb,
lib/apcera/models/docker_origin.rb,
lib/apcera/models/metric_series.rb,
lib/apcera/models/task_progress.rb,
lib/apcera/models/audit_log_item.rb,
lib/apcera/models/instance_state.rb,
lib/apcera/models/process_object.rb,
lib/apcera/models/restart_config.rb,
lib/apcera/models/rollout_config.rb,
lib/apcera/models/semi_pipe_rule.rb,
lib/apcera/models/job_preferences.rb,
lib/apcera/models/virtual_network.rb,
lib/apcera/models/apc_download_url.rb,
lib/apcera/models/instance_manager.rb,
lib/apcera/models/package_resource.rb,
lib/apcera/models/staging_pipeline.rb,
lib/apcera/api/virtual_networks_api.rb,
lib/apcera/api/staging_pipelines_api.rb,
lib/apcera/models/apc_version_object.rb,
lib/apcera/models/audit_log_item_old.rb,
lib/apcera/models/dependency_resolve.rb,
lib/apcera/models/metric_series_hash.rb,
lib/apcera/models/job_network_reference.rb,
lib/apcera/models/semi_pipe_rule_action.rb,
lib/apcera/api/services_and_bindings_api.rb,
lib/apcera/models/service_request_object.rb,
lib/apcera/models/package_depends_request.rb,
lib/apcera/models/unbind_parameter_object.rb,
lib/apcera/models/unlink_parameter_object.rb,
lib/apcera/models/virtual_network_endpoint.rb,
lib/apcera/models/create_docker_job_request.rb,
lib/apcera/models/create_docker_job_response.rb,
lib/apcera/models/virtual_network_endpoint_interface.rb
Defined Under Namespace
Classes: APCDownloadURL, APCVersionObject, APIError, ApiClient, ApiError, AuditLogItem, AuditLogItemOld, BaseObject, Binding, Configuration, CreateDockerJobRequest, CreateDockerJobResponse, DefaultApi, Dependency, DependencyResolve, DockerOrigin, Drain, DrainConfig, FileListing, Info, InstanceManager, InstanceState, Instances, InstancesApi, Job, JobHealth, JobNetworkReference, JobPreferences, JobsApi, Log, LogsApi, MetricSeries, MetricSeriesHash, Metrics, MetricsApi, Namespace, Package, PackageDependsRequest, PackageInfo, PackageResource, PackagesApi, PolicyError, Port, Process, ProcessObject, Provide, Provider, ProvidersApi, Resource, RestartConfig, RolloutConfig, Route, Rule, RulesApi, Runtime, SemiPipeRule, SemiPipeRuleAction, Service, ServiceRequestObject, ServicesAndBindingsApi, StagerJob, StagingPipeline, StagingPipelinesApi, SubTask, SubnetInfo, Task, TaskEvent, TaskProgress, UnbindParameterObject, UnlinkParameterObject, UtilitiesApi, VersionInfo, VirtualNetwork, VirtualNetworkEndpoint, VirtualNetworkEndpointInterface, VirtualNetworksApi
Constant Summary collapse
- VERSION =
"0.1.7.1"
Class Method Summary collapse
-
.configure ⇒ Object
Configure sdk using block.
Class Method Details
.configure ⇒ Object
Configure sdk using block. Apcera.configure do |config|
config.username = "xxx"
config.password = "xxx"
end If no block given, return the configuration singleton instance.
89 90 91 92 93 94 95 |
# File 'lib/apcera.rb', line 89 def configure if block_given? yield Configuration.instance else Configuration.instance end end |