A C D E F G H I K L M N O P R S T U V W 
All Classes All Packages

A

addCredential(SecurityContext, ContainerRegistryCredentials) - Method in class uk.co.ractf.polaris.controller.resources.CredentialResource
 
addNotificationReceiver(SecurityContext, NotificationReceiver) - Method in class uk.co.ractf.polaris.controller.resources.NotificationResource
 
addTask(SecurityContext, Task) - Method in class uk.co.ractf.polaris.controller.resources.TaskResource
 
AdminResource - Class in uk.co.ractf.polaris.node.resources
 
AdminResource(GarbageCollectionService, OrphanKillerService) - Constructor for class uk.co.ractf.polaris.node.resources.AdminResource
 
allocate(List<PortMapping>) - Method in class uk.co.ractf.polaris.controller.PortAllocator
 
allocate(InstanceRequest) - Method in class uk.co.ractf.polaris.controller.instanceallocation.EphemeralInstanceAllocator
 
allocate(InstanceRequest) - Method in interface uk.co.ractf.polaris.controller.instanceallocation.InstanceAllocator
Allocate an Instance to a user based on the Allocation rules defined in the Challenge, this should return the same instance if called multiple times with the same InstanceRequest, unless a call to InstanceAllocator.requestNewAllocation(InstanceRequest) has been made, in which case the instance returned from here will be avoided where possible.
AndromedaEmulationResource - Class in uk.co.ractf.polaris.controller.resources
Deprecated.
AndromedaEmulationResource(Controller, ClusterState, NotificationFacade, Scheduler) - Constructor for class uk.co.ractf.polaris.controller.resources.AndromedaEmulationResource
Deprecated.
 
APITokenResource - Class in uk.co.ractf.polaris.controller.resources
 
APITokenResource(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.resources.APITokenResource
 
AuthConfigFactory - Class in uk.co.ractf.polaris.node.runner.docker
 
AuthConfigFactory() - Constructor for class uk.co.ractf.polaris.node.runner.docker.AuthConfigFactory
 
authenticate(BasicCredentials) - Method in class uk.co.ractf.polaris.security.PolarisAuthenticator
 
authorize(PolarisUser, String) - Method in class uk.co.ractf.polaris.security.PolarisAuthorizer
 
authorize(PolarisUser, String, ContainerRequestContext) - Method in class uk.co.ractf.polaris.security.PolarisAuthorizer
 
AutoUpdateService - Class in uk.co.ractf.polaris.node.service
 
AutoUpdateService(ClusterState, Set<Runner<?>>) - Constructor for class uk.co.ractf.polaris.node.service.AutoUpdateService
 

C

canSchedule(Task) - Method in class uk.co.ractf.polaris.controller.scheduler.clusterpredicate.NamespaceCapabilityChangeAllowed
 
canSchedule(Task) - Method in class uk.co.ractf.polaris.controller.scheduler.clusterpredicate.NamespaceResourcesAvailable
 
canSchedule(Task) - Method in class uk.co.ractf.polaris.controller.scheduler.clusterpredicate.RegistryAuth
 
canSchedule(Task) - Method in interface uk.co.ractf.polaris.controller.scheduler.ClusterPredicatePlugin
Returns if it is possible to schedule this task.
canStartPod(T) - Method in interface uk.co.ractf.polaris.node.runner.Runner
Returns if the runner is currently able to start this Pod
canStartPod(Container) - Method in class uk.co.ractf.polaris.node.runner.docker.DockerRunner
 
challenge(String) - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
challenges() - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
check() - Method in class uk.co.ractf.polaris.node.metrics.DockerPingHealthCheck
 
client - Variable in class uk.co.ractf.polaris.CommonConfiguration
 
ClusterPredicatePlugin - Interface in uk.co.ractf.polaris.controller.scheduler
A SchedulingAlgorithm Plugin that checks that a Task can actually run on the polaris cluster.
ClusterPredicatePluginModule - Class in uk.co.ractf.polaris.controller.scheduler.clusterpredicate
 
ClusterPredicatePluginModule() - Constructor for class uk.co.ractf.polaris.controller.scheduler.clusterpredicate.ClusterPredicatePluginModule
 
ClusterPredicateResult - Class in uk.co.ractf.polaris.controller.scheduler
 
ClusterPredicateResult(boolean, List<String>) - Constructor for class uk.co.ractf.polaris.controller.scheduler.ClusterPredicateResult
 
ClusterState - Interface in uk.co.ractf.polaris.state
 
CommonConfiguration - Class in uk.co.ractf.polaris
 
CommonConfiguration() - Constructor for class uk.co.ractf.polaris.CommonConfiguration
 
configure() - Method in class uk.co.ractf.polaris.controller.ControllerModule
 
configure() - Method in class uk.co.ractf.polaris.controller.scheduler.clusterpredicate.ClusterPredicatePluginModule
 
configure() - Method in class uk.co.ractf.polaris.controller.scheduler.filter.FilterPluginModule
 
configure() - Method in class uk.co.ractf.polaris.controller.scheduler.instancedecorator.InstanceDecoratorPluginModule
 
configure() - Method in class uk.co.ractf.polaris.controller.scheduler.SchedulerModule
 
configure() - Method in class uk.co.ractf.polaris.controller.scheduler.score.ScorePluginModule
 
configure() - Method in class uk.co.ractf.polaris.controller.service.ControllerServiceModule
 
configure() - Method in class uk.co.ractf.polaris.node.NodeModule
 
configure() - Method in class uk.co.ractf.polaris.node.runner.RunnerModule
 
configure() - Method in class uk.co.ractf.polaris.node.service.NodeServiceModule
 
consul - Variable in class uk.co.ractf.polaris.CommonConfiguration
 
ConsulController - Class in uk.co.ractf.polaris.controller
 
ConsulController(Set<Service>, ClusterState) - Constructor for class uk.co.ractf.polaris.controller.ConsulController
 
ConsulNode - Class in uk.co.ractf.polaris.node
 
ConsulNode(Set<Runner<?>>, Set<Service>, ClusterState) - Constructor for class uk.co.ractf.polaris.node.ConsulNode
 
ConsulPath - Class in uk.co.ractf.polaris.util
 
ConsulPath() - Constructor for class uk.co.ractf.polaris.util.ConsulPath
 
ConsulState - Class in uk.co.ractf.polaris.state
 
ConsulState(Consul, MetricRegistry) - Constructor for class uk.co.ractf.polaris.state.ConsulState
 
Controller - Interface in uk.co.ractf.polaris.controller
The interface that defines what information the Polaris controller needs to receive and how the rest of the application should interact with it.
ControllerConfiguration - Class in uk.co.ractf.polaris.controller
The config for Polaris
ControllerConfiguration() - Constructor for class uk.co.ractf.polaris.controller.ControllerConfiguration
 
ControllerMain - Class in uk.co.ractf.polaris.controller
 
ControllerMain() - Constructor for class uk.co.ractf.polaris.controller.ControllerMain
 
ControllerModule - Class in uk.co.ractf.polaris.controller
 
ControllerModule() - Constructor for class uk.co.ractf.polaris.controller.ControllerModule
 
ControllerServiceModule - Class in uk.co.ractf.polaris.controller.service
 
ControllerServiceModule() - Constructor for class uk.co.ractf.polaris.controller.service.ControllerServiceModule
 
ControllerServices - Annotation Type in uk.co.ractf.polaris.controller.service
 
convertContext(SecurityContext) - Method in class uk.co.ractf.polaris.controller.resources.SecureResource
 
CpuAllocatedGauge - Class in uk.co.ractf.polaris.controller.metrics
 
CpuAllocatedGauge(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.metrics.CpuAllocatedGauge
 
CpuTotalGauge - Class in uk.co.ractf.polaris.controller.metrics
 
CpuTotalGauge(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.metrics.CpuTotalGauge
 
CpuUsedGauge - Class in uk.co.ractf.polaris.controller.metrics
 
CpuUsedGauge(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.metrics.CpuUsedGauge
 
create(Replication) - Static method in interface uk.co.ractf.polaris.controller.replication.ReplicationController
 
createAPIToken(APIToken) - Method in class uk.co.ractf.polaris.controller.resources.APITokenResource
 
createAuthConfig(ContainerRegistryCredentials) - Method in class uk.co.ractf.polaris.node.runner.docker.AuthConfigFactory
 
createNamespace(Namespace) - Method in class uk.co.ractf.polaris.controller.resources.NamespaceResource
 
createNetwork(List<T>, Task, Instance) - Method in interface uk.co.ractf.polaris.node.runner.Runner
Creates a network between a list of pods.
createNetwork(List<Container>, Task, Instance) - Method in class uk.co.ractf.polaris.node.runner.docker.DockerRunner
 
createPod(Task, T, Instance) - Method in interface uk.co.ractf.polaris.node.runner.Runner
Creates a Pod with given Instance details
createPod(Task, Container, Instance) - Method in class uk.co.ractf.polaris.node.runner.docker.DockerRunner
 
createSentryClient(Dsn) - Method in class uk.co.ractf.polaris.sentry.PolarisSentryClientFactory
 
credential(NamespacedId) - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
CredentialRefreshService - Class in uk.co.ractf.polaris.controller.service
 
CredentialRefreshService(ClusterState, NotificationFacade) - Constructor for class uk.co.ractf.polaris.controller.service.CredentialRefreshService
 
CredentialResource - Class in uk.co.ractf.polaris.controller.resources
 
CredentialResource(ClusterState, CredentialRefreshService) - Constructor for class uk.co.ractf.polaris.controller.resources.CredentialResource
 
credentials() - Static method in class uk.co.ractf.polaris.util.ConsulPath
 

D

debug(String, String) - Method in class uk.co.ractf.polaris.notification.NotificationFacade
 
debug(NotificationTarget, Namespace, String, String) - Method in class uk.co.ractf.polaris.notification.NotificationFacade
 
decorate(Instance, Task, NodeInfo) - Method in class uk.co.ractf.polaris.controller.scheduler.instancedecorator.PortBinding
 
decorate(Instance, Task, NodeInfo) - Method in interface uk.co.ractf.polaris.controller.scheduler.InstanceDecoratorPlugin
 
DefaultScheduler - Class in uk.co.ractf.polaris.controller.scheduler
 
DefaultScheduler(SchedulingAlgorithm, ClusterState, Set<InstanceDecoratorPlugin>, MetricRegistry, NotificationFacade) - Constructor for class uk.co.ractf.polaris.controller.scheduler.DefaultScheduler
 
DefaultTaskScaler - Class in uk.co.ractf.polaris.controller.scheduler
 
DefaultTaskScaler(ClusterState, Scheduler) - Constructor for class uk.co.ractf.polaris.controller.scheduler.DefaultTaskScaler
 
deleteAPIToken(String) - Method in class uk.co.ractf.polaris.controller.resources.APITokenResource
 
deleteAPIToken(String) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
deleteAPIToken(String) - Method in class uk.co.ractf.polaris.state.ConsulState
 
deleteCredential(SecurityContext, NamespacedId) - Method in class uk.co.ractf.polaris.controller.resources.CredentialResource
 
deleteCredential(NamespacedId) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
deleteCredential(NamespacedId) - Method in class uk.co.ractf.polaris.state.ConsulState
 
deleteInstance(String) - Method in class uk.co.ractf.polaris.controller.resources.InstanceResource
 
deleteInstance(Instance) - Method in interface uk.co.ractf.polaris.state.ClusterState
Unregisters an Instance from a given Task, probably because its been descheduled
deleteInstance(Instance) - Method in class uk.co.ractf.polaris.state.ConsulState
 
deleteNamespace(String) - Method in class uk.co.ractf.polaris.controller.resources.NamespaceResource
 
deleteNamespace(String) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
deleteNamespace(String) - Method in class uk.co.ractf.polaris.state.ConsulState
 
deleteNotificationReceiver(SecurityContext, NamespacedId) - Method in class uk.co.ractf.polaris.controller.resources.NotificationResource
 
deleteNotificationReceiver(NamespacedId) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
deleteNotificationReceiver(NamespacedId) - Method in class uk.co.ractf.polaris.state.ConsulState
 
deleteTask(SecurityContext, NamespacedId) - Method in class uk.co.ractf.polaris.controller.resources.TaskResource
 
deleteTask(NamespacedId) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
deleteTask(NamespacedId) - Method in class uk.co.ractf.polaris.state.ConsulState
 
deployment(String) - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
deploymentLock(String) - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
deployments() - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
deschedule(Task) - Method in class uk.co.ractf.polaris.controller.scheduler.DefaultScheduler
 
deschedule(Task) - Method in interface uk.co.ractf.polaris.controller.scheduler.Scheduler
 
DockerPingHealthCheck - Class in uk.co.ractf.polaris.node.metrics
 
DockerPingHealthCheck(DockerClient) - Constructor for class uk.co.ractf.polaris.node.metrics.DockerPingHealthCheck
 
DockerRunner - Class in uk.co.ractf.polaris.node.runner.docker
An implementation of Runner that is capable of running docker Containers through the docker-java DockerClient
DockerRunner(DockerClient, Node, ClusterState, AuthConfigFactory, NotificationFacade) - Constructor for class uk.co.ractf.polaris.node.runner.docker.DockerRunner
 

E

EphemeralInstanceAllocator - Class in uk.co.ractf.polaris.controller.instanceallocation
 
EphemeralInstanceAllocator(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.instanceallocation.EphemeralInstanceAllocator
 
error(String, String) - Method in class uk.co.ractf.polaris.notification.NotificationFacade
 
error(NotificationTarget, Namespace, String, String) - Method in class uk.co.ractf.polaris.notification.NotificationFacade
 

F

filter(Task, NodeInfo) - Method in class uk.co.ractf.polaris.controller.scheduler.filter.NodeAffinity
 
filter(Task, NodeInfo) - Method in class uk.co.ractf.polaris.controller.scheduler.filter.NodeAntiAffinity
 
filter(Task, NodeInfo) - Method in class uk.co.ractf.polaris.controller.scheduler.filter.NodeHasRunner
 
filter(Task, NodeInfo) - Method in class uk.co.ractf.polaris.controller.scheduler.filter.NodeIsSchedulable
 
filter(Task, NodeInfo) - Method in interface uk.co.ractf.polaris.controller.scheduler.FilterPlugin
Can the task run on the node?
FilterPlugin - Interface in uk.co.ractf.polaris.controller.scheduler
A SchedulingAlgorithm Plugin that checks that a Task can run on a given node.
FilterPluginModule - Class in uk.co.ractf.polaris.controller.scheduler.filter
 
FilterPluginModule() - Constructor for class uk.co.ractf.polaris.controller.scheduler.filter.FilterPluginModule
 
FilterResult - Class in uk.co.ractf.polaris.controller.scheduler
Represents the result of a filter plugin, if a node can be scheduled onto, and if not, can it be resolved and reasons why.
FilterResult(boolean, boolean, List<String>) - Constructor for class uk.co.ractf.polaris.controller.scheduler.FilterResult
 
forceUpdatePod(Task, T, Instance) - Method in interface uk.co.ractf.polaris.node.runner.Runner
Forcefully update a specific Instance of a Pod
forceUpdatePod(Task, Container, Instance) - Method in class uk.co.ractf.polaris.node.runner.docker.DockerRunner
 
from(NotificationReceiver) - Static method in interface uk.co.ractf.polaris.notification.Notifier
 

G

garbageCollect() - Method in class uk.co.ractf.polaris.node.resources.AdminResource
 
garbageCollect() - Method in class uk.co.ractf.polaris.node.runner.docker.DockerRunner
 
garbageCollect() - Method in interface uk.co.ractf.polaris.node.runner.Runner
Clean up after pods that are currently dead
GarbageCollectionService - Class in uk.co.ractf.polaris.node.service
 
GarbageCollectionService(Set<Runner<?>>) - Constructor for class uk.co.ractf.polaris.node.service.GarbageCollectionService
 
GaugeTimer<T> - Class in uk.co.ractf.polaris.controller.metrics
 
GaugeTimer(Gauge<T>) - Constructor for class uk.co.ractf.polaris.controller.metrics.GaugeTimer
 
GenericSchedulingAlgorithm - Class in uk.co.ractf.polaris.controller.scheduler
The default implementation of SchedulingAlgorithm.
GenericSchedulingAlgorithm(ClusterState, Set<ClusterPredicatePlugin>, Set<FilterPlugin>, Set<ScorePlugin>) - Constructor for class uk.co.ractf.polaris.controller.scheduler.GenericSchedulingAlgorithm
 
getApiToken() - Method in class uk.co.ractf.polaris.security.PolarisUser
 
getAPIToken(String) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
getAPIToken(String) - Method in class uk.co.ractf.polaris.state.ConsulState
 
getAPITokens() - Method in class uk.co.ractf.polaris.controller.resources.APITokenResource
 
getAPITokens() - Method in interface uk.co.ractf.polaris.state.ClusterState
 
getAPITokens() - Method in class uk.co.ractf.polaris.state.ConsulState
 
getAPITokens(String) - Method in class uk.co.ractf.polaris.controller.resources.APITokenResource
 
getAuthConfig() - Method in class uk.co.ractf.polaris.node.ConsulNode
 
getAuthConfig() - Method in interface uk.co.ractf.polaris.node.Node
Gets the docker registry auth config for the host.
getAuthenticationScheme() - Method in class uk.co.ractf.polaris.security.PolarisSecurityContext
 
getClient() - Method in class uk.co.ractf.polaris.CommonConfiguration
 
getConsulFactory() - Method in class uk.co.ractf.polaris.CommonConfiguration
 
getCredential(SecurityContext, NamespacedId) - Method in class uk.co.ractf.polaris.controller.resources.CredentialResource
 
getCredential(NamespacedId) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
getCredential(NamespacedId) - Method in class uk.co.ractf.polaris.state.ConsulState
 
getCredentials() - Method in interface uk.co.ractf.polaris.state.ClusterState
 
getCredentials() - Method in class uk.co.ractf.polaris.state.ConsulState
 
getCredentials(String) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
getCredentials(String) - Method in class uk.co.ractf.polaris.state.ConsulState
 
getCredentials(SecurityContext, String, String, String) - Method in class uk.co.ractf.polaris.controller.resources.CredentialResource
 
getEligibleNodes() - Method in class uk.co.ractf.polaris.controller.scheduler.ScheduleResult
 
getEvaluatedNodes() - Method in class uk.co.ractf.polaris.controller.scheduler.ScheduleResult
 
getExternalIP() - Static method in class uk.co.ractf.polaris.util.IPChecker
 
getFailureReason() - Method in class uk.co.ractf.polaris.controller.scheduler.ScheduleResult
 
getHostInfo(String) - Method in class uk.co.ractf.polaris.controller.resources.NodeResource
Gets NodeInfo from the host's id.
getHostInfoSyncFrequency() - Method in class uk.co.ractf.polaris.node.NodeConfiguration
 
getId() - Method in class uk.co.ractf.polaris.node.ConsulNode
 
getId() - Method in interface uk.co.ractf.polaris.node.Node
Get the host's id
getId() - Method in class uk.co.ractf.polaris.node.NodeConfiguration
 
getImages() - Method in class uk.co.ractf.polaris.node.runner.docker.DockerRunner
 
getImages() - Method in interface uk.co.ractf.polaris.node.runner.Runner
Returns the images that can be used by this runner and are stored locally on the node.
getInstance(String) - Method in interface uk.co.ractf.polaris.state.ClusterState
Gets an Instance by id
getInstance(String) - Method in class uk.co.ractf.polaris.state.ConsulState
 
getInstance(SecurityContext, AndromedaInstanceRequest) - Method in class uk.co.ractf.polaris.controller.resources.AndromedaEmulationResource
Deprecated.
 
getInstance(InstanceRequest) - Method in class uk.co.ractf.polaris.controller.resources.InstanceAllocationResource
Gets an Instance for a user for a given challenge, attempting to comply with the Allocation restraints specified in the Challenge config, if the user or a user on the same team has already requested a challenge, they may be routed back to the same instance.
getInstanceAllocator() - Method in class uk.co.ractf.polaris.controller.ConsulController
 
getInstanceAllocator() - Method in interface uk.co.ractf.polaris.controller.Controller
Returns the InstanceAllocator that should be used to decide which Instances are allocated to which users
getInstanceCounts() - Method in interface uk.co.ractf.polaris.state.ClusterState
 
getInstanceCounts() - Method in class uk.co.ractf.polaris.state.ConsulState
 
getInstanceIds() - Method in interface uk.co.ractf.polaris.state.ClusterState
 
getInstanceIds() - Method in class uk.co.ractf.polaris.state.ConsulState
 
getInstances() - Method in interface uk.co.ractf.polaris.state.ClusterState
 
getInstances() - Method in class uk.co.ractf.polaris.state.ConsulState
 
getInstances(String, String) - Method in class uk.co.ractf.polaris.controller.resources.InstanceResource
Return a Map of instance id to Instance for all instances matching the host id regex and the challenge id regex.
getInstancesOfTask(NamespacedId) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
getInstancesOfTask(NamespacedId) - Method in class uk.co.ractf.polaris.state.ConsulState
 
getInstancesOnNode(String) - Method in interface uk.co.ractf.polaris.state.ClusterState
Gets a list of Instances on a given node.
getInstancesOnNode(String) - Method in class uk.co.ractf.polaris.state.ConsulState
 
getMaxPort() - Method in class uk.co.ractf.polaris.CommonConfiguration
 
getMetrics() - Method in class uk.co.ractf.polaris.controller.metrics.PolarisMetricSet
 
getMinPort() - Method in class uk.co.ractf.polaris.CommonConfiguration
 
getName() - Method in class uk.co.ractf.polaris.controller.ControllerMain
 
getName() - Method in class uk.co.ractf.polaris.controller.scheduler.clusterpredicate.NamespaceCapabilityChangeAllowed
 
getName() - Method in class uk.co.ractf.polaris.controller.scheduler.clusterpredicate.NamespaceResourcesAvailable
 
getName() - Method in class uk.co.ractf.polaris.controller.scheduler.clusterpredicate.RegistryAuth
 
getName() - Method in class uk.co.ractf.polaris.controller.scheduler.filter.NodeAffinity
 
getName() - Method in class uk.co.ractf.polaris.controller.scheduler.filter.NodeAntiAffinity
 
getName() - Method in class uk.co.ractf.polaris.controller.scheduler.filter.NodeHasRunner
 
getName() - Method in class uk.co.ractf.polaris.controller.scheduler.filter.NodeIsSchedulable
 
getName() - Method in class uk.co.ractf.polaris.controller.scheduler.instancedecorator.PortBinding
 
getName() - Method in interface uk.co.ractf.polaris.controller.scheduler.Plugin
 
getName() - Method in class uk.co.ractf.polaris.node.metrics.DockerPingHealthCheck
 
getName() - Method in class uk.co.ractf.polaris.node.runner.docker.DockerRunner
 
getName() - Method in interface uk.co.ractf.polaris.node.runner.Runner
Gets the name of the runner.
getName() - Method in class uk.co.ractf.polaris.security.PolarisUser
 
getNamespace(String) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
getNamespace(String) - Method in class uk.co.ractf.polaris.state.ConsulState
 
getNamespace(SecurityContext, String) - Method in class uk.co.ractf.polaris.controller.resources.NamespaceResource
 
getNamespaces() - Method in class uk.co.ractf.polaris.security.PolarisSecurityContext
 
getNamespaces() - Method in interface uk.co.ractf.polaris.state.ClusterState
 
getNamespaces() - Method in class uk.co.ractf.polaris.state.ConsulState
 
getNamespaces(SecurityContext) - Method in class uk.co.ractf.polaris.controller.resources.NamespaceResource
 
getNode() - Method in class uk.co.ractf.polaris.controller.scheduler.ScheduleResult
 
getNode(String) - Method in interface uk.co.ractf.polaris.state.ClusterState
Gets a NodeInfo by id
getNode(String) - Method in class uk.co.ractf.polaris.state.ConsulState
 
getNodeInfo() - Method in class uk.co.ractf.polaris.node.ConsulNode
 
getNodeInfo() - Method in interface uk.co.ractf.polaris.node.Node
Gets a NodeInfo object with the host's current state
getNodes() - Method in interface uk.co.ractf.polaris.state.ClusterState
Gets a Map of host id to Node
getNodes() - Method in class uk.co.ractf.polaris.state.ConsulState
 
getNotificationReceiver(SecurityContext, NamespacedId) - Method in class uk.co.ractf.polaris.controller.resources.NotificationResource
 
getNotificationReceiver(NamespacedId) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
getNotificationReceiver(NamespacedId) - Method in class uk.co.ractf.polaris.state.ConsulState
 
getNotificationReceivers() - Method in interface uk.co.ractf.polaris.state.ClusterState
 
getNotificationReceivers() - Method in class uk.co.ractf.polaris.state.ConsulState
 
getNotificationReceivers(String) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
getNotificationReceivers(String) - Method in class uk.co.ractf.polaris.state.ConsulState
 
getNotificationReceivers(SecurityContext, String) - Method in class uk.co.ractf.polaris.controller.resources.NotificationResource
 
getPodImages() - Method in class uk.co.ractf.polaris.node.ConsulNode
 
getPodImages() - Method in interface uk.co.ractf.polaris.node.Node
Gets a list of images currently stored on the node
getReason() - Method in class uk.co.ractf.polaris.controller.scheduler.ClusterPredicateResult
 
getReason() - Method in class uk.co.ractf.polaris.controller.scheduler.FilterResult
 
getReconciliationTickFrequency() - Method in class uk.co.ractf.polaris.CommonConfiguration
 
getRegistryPassword() - Method in class uk.co.ractf.polaris.node.NodeConfiguration
 
getRegistryUsername() - Method in class uk.co.ractf.polaris.node.NodeConfiguration
 
getRunners() - Method in class uk.co.ractf.polaris.node.ConsulNode
 
getRunners() - Method in interface uk.co.ractf.polaris.node.Node
Gets a list of runners available on the node
getScaleAmount(List<Instance>, ClusterState) - Method in class uk.co.ractf.polaris.controller.replication.NullReplicationController
 
getScaleAmount(List<Instance>, ClusterState) - Method in interface uk.co.ractf.polaris.controller.replication.ReplicationController
Calculate how many instances need scheduling or descheduling based on the current state of the cluster.
getScaleAmount(List<Instance>, ClusterState) - Method in class uk.co.ractf.polaris.controller.replication.StaticReplicationController
 
getSchedulingAlgorithm() - Method in class uk.co.ractf.polaris.CommonConfiguration
 
getSingleUserPassword() - Method in class uk.co.ractf.polaris.CommonConfiguration
 
getSingleUserRoles() - Method in class uk.co.ractf.polaris.CommonConfiguration
 
getSingleUserUsername() - Method in class uk.co.ractf.polaris.CommonConfiguration
 
getTask(SecurityContext, NamespacedId) - Method in class uk.co.ractf.polaris.controller.resources.TaskResource
 
getTask(NamespacedId) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
getTask(NamespacedId) - Method in class uk.co.ractf.polaris.state.ConsulState
 
getTaskIds() - Method in interface uk.co.ractf.polaris.state.ClusterState
 
getTaskIds() - Method in class uk.co.ractf.polaris.state.ConsulState
 
getTasks() - Method in interface uk.co.ractf.polaris.state.ClusterState
 
getTasks() - Method in class uk.co.ractf.polaris.state.ConsulState
 
getTasks(String) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
getTasks(String) - Method in class uk.co.ractf.polaris.state.ConsulState
 
getTasks(SecurityContext, String, String, String) - Method in class uk.co.ractf.polaris.controller.resources.TaskResource
 
getTaskThreadpoolSize() - Method in class uk.co.ractf.polaris.CommonConfiguration
 
getThreadpoolSize() - Method in class uk.co.ractf.polaris.CommonConfiguration
 
getThreadpoolTimeoutSeconds() - Method in class uk.co.ractf.polaris.CommonConfiguration
 
getType() - Method in class uk.co.ractf.polaris.node.runner.docker.DockerRunner
 
getType() - Method in interface uk.co.ractf.polaris.node.runner.Runner
Returns a class of type T where T is the type of Pod this runner can run
getUserPrincipal() - Method in class uk.co.ractf.polaris.security.PolarisSecurityContext
 
getValue() - Method in class uk.co.ractf.polaris.controller.metrics.CpuAllocatedGauge
 
getValue() - Method in class uk.co.ractf.polaris.controller.metrics.CpuTotalGauge
 
getValue() - Method in class uk.co.ractf.polaris.controller.metrics.CpuUsedGauge
 
getValue() - Method in class uk.co.ractf.polaris.controller.metrics.GaugeTimer
 
getValue() - Method in class uk.co.ractf.polaris.controller.metrics.HostsGauge
 
getValue() - Method in class uk.co.ractf.polaris.controller.metrics.InstancesGauge
 
getValue() - Method in class uk.co.ractf.polaris.controller.metrics.MemoryAllocatedGauge
 
getValue() - Method in class uk.co.ractf.polaris.controller.metrics.MemoryTotalGauge
 
getValue() - Method in class uk.co.ractf.polaris.controller.metrics.MemoryUsedGauge
 
getValue() - Method in class uk.co.ractf.polaris.controller.metrics.PodsGauge
 
getValue() - Method in class uk.co.ractf.polaris.controller.metrics.PortsAllocatedGauge
 
getValue() - Method in class uk.co.ractf.polaris.controller.metrics.TasksGauge
 
getValue() - Method in class uk.co.ractf.polaris.controller.metrics.TcpPortsAllocatedGauge
 
getValue() - Method in class uk.co.ractf.polaris.controller.metrics.UdpPortsAllocatedGauge
 
getWeight() - Method in class uk.co.ractf.polaris.controller.scheduler.score.LeastResourceUsage
 
getWeight() - Method in interface uk.co.ractf.polaris.controller.scheduler.ScorePlugin
How heavily should this scoring plugin be considered in the scheduling algorithm

H

HostsGauge - Class in uk.co.ractf.polaris.controller.metrics
 
HostsGauge(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.metrics.HostsGauge
 

I

info(String, String) - Method in class uk.co.ractf.polaris.notification.NotificationFacade
 
info(NotificationTarget, Namespace, String, String) - Method in class uk.co.ractf.polaris.notification.NotificationFacade
 
initialize(Bootstrap<ControllerConfiguration>) - Method in class uk.co.ractf.polaris.controller.ControllerMain
 
initialize(Bootstrap<NodeConfiguration>) - Method in class uk.co.ractf.polaris.node.NodeMain
 
instance(String) - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
instanceAllocation() - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
instanceAllocation(String) - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
InstanceAllocationResource - Class in uk.co.ractf.polaris.controller.resources
Resource to control allocation of instances to a user or team
InstanceAllocationResource(Controller, ClusterState) - Constructor for class uk.co.ractf.polaris.controller.resources.InstanceAllocationResource
 
InstanceAllocator - Interface in uk.co.ractf.polaris.controller.instanceallocation
The interface used to get Instance allocations for a user/team and request new allocations
InstanceDecoratorPlugin - Interface in uk.co.ractf.polaris.controller.scheduler
 
InstanceDecoratorPluginModule - Class in uk.co.ractf.polaris.controller.scheduler.instancedecorator
 
InstanceDecoratorPluginModule() - Constructor for class uk.co.ractf.polaris.controller.scheduler.instancedecorator.InstanceDecoratorPluginModule
 
instanceExists(String) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
instanceExists(String) - Method in class uk.co.ractf.polaris.state.ConsulState
 
InstanceReconciliationService - Class in uk.co.ractf.polaris.node.service
 
InstanceReconciliationService(ClusterState, Node, Set<Runner<?>>, NodeConfiguration, NotificationFacade) - Constructor for class uk.co.ractf.polaris.node.service.InstanceReconciliationService
 
InstanceResource - Class in uk.co.ractf.polaris.controller.resources
Resource for controlling Instance objects.
InstanceResource(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.resources.InstanceResource
 
instances() - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
InstancesGauge - Class in uk.co.ractf.polaris.controller.metrics
 
InstancesGauge(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.metrics.InstancesGauge
 
IPChecker - Class in uk.co.ractf.polaris.util
 
isKillOrphans() - Method in class uk.co.ractf.polaris.node.NodeConfiguration
 
isPodStarted(T, Instance) - Method in interface uk.co.ractf.polaris.node.runner.Runner
Returns if the runner has started this Instance of this Pod
isPodStarted(Container, Instance) - Method in class uk.co.ractf.polaris.node.runner.docker.DockerRunner
 
isPossible() - Method in class uk.co.ractf.polaris.controller.scheduler.ClusterPredicateResult
 
isResolvable() - Method in class uk.co.ractf.polaris.controller.scheduler.FilterResult
 
isRoot() - Method in class uk.co.ractf.polaris.security.PolarisSecurityContext
 
isRoot() - Method in class uk.co.ractf.polaris.security.PolarisUser
 
isSchedulable() - Method in class uk.co.ractf.polaris.controller.scheduler.FilterResult
 
isSecure() - Method in class uk.co.ractf.polaris.security.PolarisSecurityContext
 
isSuccessful() - Method in class uk.co.ractf.polaris.controller.scheduler.ScheduleResult
 
isUserInNamespace(String) - Method in class uk.co.ractf.polaris.security.PolarisSecurityContext
 
isUserInRole(String) - Method in class uk.co.ractf.polaris.security.PolarisSecurityContext
 

K

killOrphans() - Method in class uk.co.ractf.polaris.node.resources.AdminResource
 
killOrphans() - Method in class uk.co.ractf.polaris.node.runner.docker.DockerRunner
 
killOrphans() - Method in interface uk.co.ractf.polaris.node.runner.Runner
Find orphaned pods that are not tracked in the Controller and kill them

L

LeastResourceUsage - Class in uk.co.ractf.polaris.controller.scheduler.score
 
LeastResourceUsage() - Constructor for class uk.co.ractf.polaris.controller.scheduler.score.LeastResourceUsage
 
listHostInfo(String) - Method in class uk.co.ractf.polaris.controller.resources.NodeResource
Return a Map of host to NodeInfo for all hosts matching the host id regex.
lockTask(Task) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
lockTask(Task) - Method in class uk.co.ractf.polaris.state.ConsulState
 

M

main(String[]) - Static method in class uk.co.ractf.polaris.controller.ControllerMain
 
main(String[]) - Static method in class uk.co.ractf.polaris.Main
 
main(String[]) - Static method in class uk.co.ractf.polaris.node.NodeMain
 
Main - Class in uk.co.ractf.polaris
 
Main() - Constructor for class uk.co.ractf.polaris.Main
 
MemoryAllocatedGauge - Class in uk.co.ractf.polaris.controller.metrics
 
MemoryAllocatedGauge(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.metrics.MemoryAllocatedGauge
 
MemoryTotalGauge - Class in uk.co.ractf.polaris.controller.metrics
 
MemoryTotalGauge(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.metrics.MemoryTotalGauge
 
MemoryUsedGauge - Class in uk.co.ractf.polaris.controller.metrics
 
MemoryUsedGauge(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.metrics.MemoryUsedGauge
 

N

namespace(String) - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
NamespaceCapabilityChangeAllowed - Class in uk.co.ractf.polaris.controller.scheduler.clusterpredicate
 
NamespaceCapabilityChangeAllowed(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.scheduler.clusterpredicate.NamespaceCapabilityChangeAllowed
 
NamespaceResource - Class in uk.co.ractf.polaris.controller.resources
 
NamespaceResource(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.resources.NamespaceResource
 
NamespaceResourcesAvailable - Class in uk.co.ractf.polaris.controller.scheduler.clusterpredicate
 
NamespaceResourcesAvailable(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.scheduler.clusterpredicate.NamespaceResourcesAvailable
 
namespaces() - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
newInstance(InstanceRequest) - Method in class uk.co.ractf.polaris.controller.resources.InstanceAllocationResource
Gets an Instance for a user for a given challenge that is different from their last one, and avoiding the other instances they have been given previously.
node(String) - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
Node - Interface in uk.co.ractf.polaris.node
The interface used for interacting with hosts
NodeAffinity - Class in uk.co.ractf.polaris.controller.scheduler.filter
 
NodeAffinity() - Constructor for class uk.co.ractf.polaris.controller.scheduler.filter.NodeAffinity
 
NodeAntiAffinity - Class in uk.co.ractf.polaris.controller.scheduler.filter
 
NodeAntiAffinity() - Constructor for class uk.co.ractf.polaris.controller.scheduler.filter.NodeAntiAffinity
 
NodeConfiguration - Class in uk.co.ractf.polaris.node
 
NodeConfiguration() - Constructor for class uk.co.ractf.polaris.node.NodeConfiguration
 
NodeHasRunner - Class in uk.co.ractf.polaris.controller.scheduler.filter
 
NodeHasRunner() - Constructor for class uk.co.ractf.polaris.controller.scheduler.filter.NodeHasRunner
 
NodeInfoSyncService - Class in uk.co.ractf.polaris.node.service
 
NodeInfoSyncService(Node, NodeConfiguration) - Constructor for class uk.co.ractf.polaris.node.service.NodeInfoSyncService
 
NodeIsSchedulable - Class in uk.co.ractf.polaris.controller.scheduler.filter
 
NodeIsSchedulable() - Constructor for class uk.co.ractf.polaris.controller.scheduler.filter.NodeIsSchedulable
 
NodeMain - Class in uk.co.ractf.polaris.node
 
NodeMain() - Constructor for class uk.co.ractf.polaris.node.NodeMain
 
NodeModule - Class in uk.co.ractf.polaris.node
 
NodeModule() - Constructor for class uk.co.ractf.polaris.node.NodeModule
 
NodeResource - Class in uk.co.ractf.polaris.controller.resources
Resource providing API endpoints for NodeInfo and Node objects.
NodeResource(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.resources.NodeResource
 
nodes() - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
NodeServiceModule - Class in uk.co.ractf.polaris.node.service
 
NodeServiceModule() - Constructor for class uk.co.ractf.polaris.node.service.NodeServiceModule
 
NodeServices - Annotation Type in uk.co.ractf.polaris.node.service
 
NotificationFacade - Class in uk.co.ractf.polaris.notification
 
NotificationFacade(ClusterState) - Constructor for class uk.co.ractf.polaris.notification.NotificationFacade
 
notificationReceiver(NamespacedId) - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
notificationReceivers() - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
NotificationResource - Class in uk.co.ractf.polaris.controller.resources
 
NotificationResource(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.resources.NotificationResource
 
Notifier - Interface in uk.co.ractf.polaris.notification
 
notify(Notification) - Method in class uk.co.ractf.polaris.notification.NotificationFacade
 
notify(Notification) - Method in interface uk.co.ractf.polaris.notification.Notifier
 
notify(Notification) - Method in class uk.co.ractf.polaris.notification.SlackNotifier
 
NullReplicationController - Class in uk.co.ractf.polaris.controller.replication
An implementation of ReplicationController that will ensure there is always 0 of Instances
NullReplicationController() - Constructor for class uk.co.ractf.polaris.controller.replication.NullReplicationController
 

O

OrphanKillerService - Class in uk.co.ractf.polaris.node.service
 
OrphanKillerService(Set<Runner<?>>, NodeConfiguration) - Constructor for class uk.co.ractf.polaris.node.service.OrphanKillerService
 

P

path(String...) - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
ping(SecurityContext) - Method in class uk.co.ractf.polaris.controller.resources.PingResource
 
PingResource - Class in uk.co.ractf.polaris.controller.resources
 
PingResource() - Constructor for class uk.co.ractf.polaris.controller.resources.PingResource
 
Plugin - Interface in uk.co.ractf.polaris.controller.scheduler
The base interface for a SchedulingAlgorithm plugin, providing just the name of the plugin.
PodsGauge - Class in uk.co.ractf.polaris.controller.metrics
 
PodsGauge(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.metrics.PodsGauge
 
PolarisAuthenticator - Class in uk.co.ractf.polaris.security
 
PolarisAuthenticator(CommonConfiguration, ClusterState) - Constructor for class uk.co.ractf.polaris.security.PolarisAuthenticator
 
PolarisAuthFeature - Class in uk.co.ractf.polaris.security
 
PolarisAuthFeature(PolarisAuthenticator, PolarisAuthorizer, Environment) - Constructor for class uk.co.ractf.polaris.security.PolarisAuthFeature
 
PolarisAuthorizer - Class in uk.co.ractf.polaris.security
 
PolarisAuthorizer() - Constructor for class uk.co.ractf.polaris.security.PolarisAuthorizer
 
PolarisMetricSet - Class in uk.co.ractf.polaris.controller.metrics
 
PolarisMetricSet(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.metrics.PolarisMetricSet
 
PolarisMetricSetRegistrationService - Class in uk.co.ractf.polaris.controller.metrics
 
PolarisMetricSetRegistrationService(MetricRegistry, ClusterState) - Constructor for class uk.co.ractf.polaris.controller.metrics.PolarisMetricSetRegistrationService
 
PolarisSecurityContext - Class in uk.co.ractf.polaris.security
 
PolarisSecurityContext(PolarisUser, SecurityContext) - Constructor for class uk.co.ractf.polaris.security.PolarisSecurityContext
 
PolarisSentryClientFactory - Class in uk.co.ractf.polaris.sentry
 
PolarisSentryClientFactory() - Constructor for class uk.co.ractf.polaris.sentry.PolarisSentryClientFactory
 
PolarisUser - Class in uk.co.ractf.polaris.security
 
PolarisUser(String, APIToken, boolean) - Constructor for class uk.co.ractf.polaris.security.PolarisUser
 
PolarisVersion - Class in uk.co.ractf.polaris.util
 
PortAllocator - Class in uk.co.ractf.polaris.controller
 
PortAllocator(int, int, PortAllocations) - Constructor for class uk.co.ractf.polaris.controller.PortAllocator
 
PortBinding - Class in uk.co.ractf.polaris.controller.scheduler.instancedecorator
 
PortBinding(ControllerConfiguration) - Constructor for class uk.co.ractf.polaris.controller.scheduler.instancedecorator.PortBinding
 
PortsAllocatedGauge - Class in uk.co.ractf.polaris.controller.metrics
 
PortsAllocatedGauge(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.metrics.PortsAllocatedGauge
 
preparePod(Task, T) - Method in interface uk.co.ractf.polaris.node.runner.Runner
Prepares a Pod that currently cannot be started so it can be started in the future (e.g.
preparePod(Task, Container) - Method in class uk.co.ractf.polaris.node.runner.docker.DockerRunner
 

R

RegistryAuth - Class in uk.co.ractf.polaris.controller.scheduler.clusterpredicate
 
RegistryAuth() - Constructor for class uk.co.ractf.polaris.controller.scheduler.clusterpredicate.RegistryAuth
 
ReplicationController - Interface in uk.co.ractf.polaris.controller.replication
This interface is used to control how a Task should replicate its Instances.
requestNewAllocation(InstanceRequest) - Method in class uk.co.ractf.polaris.controller.instanceallocation.EphemeralInstanceAllocator
 
requestNewAllocation(InstanceRequest) - Method in interface uk.co.ractf.polaris.controller.instanceallocation.InstanceAllocator
Discard the current Instance allocation and get a new one, also add the currently Instance to an avoid list so the instance allocator can avoid allocating that instance to the same user/team again.
resetInstance(SecurityContext, AndromedaInstanceRequest) - Method in class uk.co.ractf.polaris.controller.resources.AndromedaEmulationResource
Deprecated.
 
restartInstance(Instance) - Method in class uk.co.ractf.polaris.node.ConsulNode
 
restartInstance(Instance) - Method in interface uk.co.ractf.polaris.node.Node
Restarts an Instance
restartPod(T, Instance) - Method in interface uk.co.ractf.polaris.node.runner.Runner
Restart a specific Instance of a Pod
restartPod(Container, Instance) - Method in class uk.co.ractf.polaris.node.runner.docker.DockerRunner
 
run(ControllerConfiguration, Environment) - Method in class uk.co.ractf.polaris.controller.ControllerMain
 
run(NodeConfiguration, Environment) - Method in class uk.co.ractf.polaris.node.NodeMain
 
Runner<T extends uk.co.ractf.polaris.api.pod.Pod> - Interface in uk.co.ractf.polaris.node.runner
Provides the interface to manage execution of a subclass of Pod
RunnerModule - Class in uk.co.ractf.polaris.node.runner
 
RunnerModule() - Constructor for class uk.co.ractf.polaris.node.runner.RunnerModule
 
runOneIteration() - Method in class uk.co.ractf.polaris.controller.service.CredentialRefreshService
 
runOneIteration() - Method in class uk.co.ractf.polaris.controller.service.TaskScaleReconciliationService
 
runOneIteration() - Method in class uk.co.ractf.polaris.node.service.AutoUpdateService
 
runOneIteration() - Method in class uk.co.ractf.polaris.node.service.GarbageCollectionService
 
runOneIteration() - Method in class uk.co.ractf.polaris.node.service.InstanceReconciliationService
 
runOneIteration() - Method in class uk.co.ractf.polaris.node.service.NodeInfoSyncService
 
runOneIteration() - Method in class uk.co.ractf.polaris.node.service.OrphanKillerService
 

S

scaleTask(Task) - Method in class uk.co.ractf.polaris.controller.scheduler.DefaultTaskScaler
 
scaleTask(Task) - Method in interface uk.co.ractf.polaris.controller.scheduler.TaskScaler
 
SCHEDULABLE - Static variable in class uk.co.ractf.polaris.controller.scheduler.ClusterPredicateResult
 
SCHEDULABLE - Static variable in class uk.co.ractf.polaris.controller.scheduler.FilterResult
 
schedule(Task) - Method in class uk.co.ractf.polaris.controller.scheduler.DefaultScheduler
 
schedule(Task) - Method in class uk.co.ractf.polaris.controller.scheduler.GenericSchedulingAlgorithm
 
schedule(Task) - Method in interface uk.co.ractf.polaris.controller.scheduler.Scheduler
 
schedule(Task) - Method in interface uk.co.ractf.polaris.controller.scheduler.SchedulingAlgorithm
Schedule a Task onto the cluster
scheduler() - Method in class uk.co.ractf.polaris.controller.service.CredentialRefreshService
 
scheduler() - Method in class uk.co.ractf.polaris.controller.service.TaskScaleReconciliationService
 
scheduler() - Method in class uk.co.ractf.polaris.node.service.AutoUpdateService
 
scheduler() - Method in class uk.co.ractf.polaris.node.service.GarbageCollectionService
 
scheduler() - Method in class uk.co.ractf.polaris.node.service.InstanceReconciliationService
 
scheduler() - Method in class uk.co.ractf.polaris.node.service.NodeInfoSyncService
 
scheduler() - Method in class uk.co.ractf.polaris.node.service.OrphanKillerService
 
Scheduler - Interface in uk.co.ractf.polaris.controller.scheduler
 
ScheduleResult - Class in uk.co.ractf.polaris.controller.scheduler
The result of a single Task being scheduled.
ScheduleResult(NodeInfo, boolean, int, int, List<String>) - Constructor for class uk.co.ractf.polaris.controller.scheduler.ScheduleResult
 
SchedulerModule - Class in uk.co.ractf.polaris.controller.scheduler
 
SchedulerModule() - Constructor for class uk.co.ractf.polaris.controller.scheduler.SchedulerModule
 
SchedulingAlgorithm - Interface in uk.co.ractf.polaris.controller.scheduler
The scheduler dictates which node(s) will run a given task, the scheduler doesn't control replication, it just gets asked to give a list of nodes to run N instances of the task.
score(Task, NodeInfo) - Method in class uk.co.ractf.polaris.controller.scheduler.score.LeastResourceUsage
 
score(Task, NodeInfo) - Method in interface uk.co.ractf.polaris.controller.scheduler.ScorePlugin
Scores how well a Task can run on a given NodeInfo.
ScorePlugin - Interface in uk.co.ractf.polaris.controller.scheduler
A SchedulingAlgorithm Plugin that scores how well a Task can run on a given NodeInfo.
ScorePluginModule - Class in uk.co.ractf.polaris.controller.scheduler.score
 
ScorePluginModule() - Constructor for class uk.co.ractf.polaris.controller.scheduler.score.ScorePluginModule
 
SecureResource - Class in uk.co.ractf.polaris.controller.resources
 
SecureResource() - Constructor for class uk.co.ractf.polaris.controller.resources.SecureResource
 
setAPIToken(APIToken) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
setAPIToken(APIToken) - Method in class uk.co.ractf.polaris.state.ConsulState
 
setCredential(ContainerRegistryCredentials) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
setCredential(ContainerRegistryCredentials) - Method in class uk.co.ractf.polaris.state.ConsulState
 
setInstance(Instance) - Method in interface uk.co.ractf.polaris.state.ClusterState
Sets the state of an instance
setInstance(Instance) - Method in class uk.co.ractf.polaris.state.ConsulState
 
setMaxPort(int) - Method in class uk.co.ractf.polaris.CommonConfiguration
 
setMinPort(int) - Method in class uk.co.ractf.polaris.CommonConfiguration
 
setNamespace(Namespace) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
setNamespace(Namespace) - Method in class uk.co.ractf.polaris.state.ConsulState
 
setNodeInfo(NodeInfo) - Method in class uk.co.ractf.polaris.node.ConsulNode
 
setNodeInfo(NodeInfo) - Method in interface uk.co.ractf.polaris.node.Node
Sets the host's current state
setNodeInfo(NodeInfo) - Method in interface uk.co.ractf.polaris.state.ClusterState
Sets the info for a node
setNodeInfo(NodeInfo) - Method in class uk.co.ractf.polaris.state.ConsulState
 
setNotificationReceiver(NotificationReceiver) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
setNotificationReceiver(NotificationReceiver) - Method in class uk.co.ractf.polaris.state.ConsulState
 
setTask(Task) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
setTask(Task) - Method in class uk.co.ractf.polaris.state.ConsulState
 
SlackNotifier - Class in uk.co.ractf.polaris.notification
 
SlackNotifier(SlackWebhook) - Constructor for class uk.co.ractf.polaris.notification.SlackNotifier
 
start() - Method in class uk.co.ractf.polaris.controller.ConsulController
 
start() - Method in class uk.co.ractf.polaris.controller.scheduler.DefaultScheduler
 
start() - Method in class uk.co.ractf.polaris.node.ConsulNode
 
startPod(Task, T, Instance) - Method in interface uk.co.ractf.polaris.node.runner.Runner
Starts a Pod with given Instance details
startPod(Task, Container, Instance) - Method in class uk.co.ractf.polaris.node.runner.docker.DockerRunner
 
startUp() - Method in class uk.co.ractf.polaris.node.service.InstanceReconciliationService
 
StaticReplicationController - Class in uk.co.ractf.polaris.controller.replication
An implementation of ReplicationController that will ensure there is always a static number of Instances
StaticReplicationController(StaticReplication) - Constructor for class uk.co.ractf.polaris.controller.replication.StaticReplicationController
 
stop() - Method in class uk.co.ractf.polaris.controller.ConsulController
 
stop() - Method in class uk.co.ractf.polaris.controller.scheduler.DefaultScheduler
 
stop() - Method in class uk.co.ractf.polaris.node.ConsulNode
 
stopPod(T, Instance) - Method in interface uk.co.ractf.polaris.node.runner.Runner
Stops a Pod with given Instance details
stopPod(Container, Instance) - Method in class uk.co.ractf.polaris.node.runner.docker.DockerRunner
 
submitChallenge(SecurityContext, AndromedaChallenge) - Method in class uk.co.ractf.polaris.controller.resources.AndromedaEmulationResource
Deprecated.
 

T

task(String) - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
task(NamespacedId) - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
taskLock(NamespacedId) - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
TaskResource - Class in uk.co.ractf.polaris.controller.resources
 
TaskResource(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.resources.TaskResource
 
tasks() - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
TaskScaler - Interface in uk.co.ractf.polaris.controller.scheduler
 
TaskScaleReconciliationService - Class in uk.co.ractf.polaris.controller.service
 
TaskScaleReconciliationService(ClusterState, TaskScaler, ControllerConfiguration, NotificationFacade) - Constructor for class uk.co.ractf.polaris.controller.service.TaskScaleReconciliationService
 
TasksGauge - Class in uk.co.ractf.polaris.controller.metrics
 
TasksGauge(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.metrics.TasksGauge
 
TcpPortsAllocatedGauge - Class in uk.co.ractf.polaris.controller.metrics
 
TcpPortsAllocatedGauge(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.metrics.TcpPortsAllocatedGauge
 
token(String) - Static method in class uk.co.ractf.polaris.util.ConsulPath
 
tokens() - Static method in class uk.co.ractf.polaris.util.ConsulPath
 

U

UdpPortsAllocatedGauge - Class in uk.co.ractf.polaris.controller.metrics
 
UdpPortsAllocatedGauge(ClusterState) - Constructor for class uk.co.ractf.polaris.controller.metrics.UdpPortsAllocatedGauge
 
uk.co.ractf.polaris - package uk.co.ractf.polaris
 
uk.co.ractf.polaris.controller - package uk.co.ractf.polaris.controller
 
uk.co.ractf.polaris.controller.instanceallocation - package uk.co.ractf.polaris.controller.instanceallocation
 
uk.co.ractf.polaris.controller.metrics - package uk.co.ractf.polaris.controller.metrics
 
uk.co.ractf.polaris.controller.replication - package uk.co.ractf.polaris.controller.replication
 
uk.co.ractf.polaris.controller.resources - package uk.co.ractf.polaris.controller.resources
 
uk.co.ractf.polaris.controller.scheduler - package uk.co.ractf.polaris.controller.scheduler
 
uk.co.ractf.polaris.controller.scheduler.clusterpredicate - package uk.co.ractf.polaris.controller.scheduler.clusterpredicate
 
uk.co.ractf.polaris.controller.scheduler.filter - package uk.co.ractf.polaris.controller.scheduler.filter
 
uk.co.ractf.polaris.controller.scheduler.instancedecorator - package uk.co.ractf.polaris.controller.scheduler.instancedecorator
 
uk.co.ractf.polaris.controller.scheduler.score - package uk.co.ractf.polaris.controller.scheduler.score
 
uk.co.ractf.polaris.controller.service - package uk.co.ractf.polaris.controller.service
 
uk.co.ractf.polaris.node - package uk.co.ractf.polaris.node
 
uk.co.ractf.polaris.node.metrics - package uk.co.ractf.polaris.node.metrics
 
uk.co.ractf.polaris.node.resources - package uk.co.ractf.polaris.node.resources
 
uk.co.ractf.polaris.node.runner - package uk.co.ractf.polaris.node.runner
 
uk.co.ractf.polaris.node.runner.docker - package uk.co.ractf.polaris.node.runner.docker
 
uk.co.ractf.polaris.node.service - package uk.co.ractf.polaris.node.service
 
uk.co.ractf.polaris.notification - package uk.co.ractf.polaris.notification
 
uk.co.ractf.polaris.security - package uk.co.ractf.polaris.security
 
uk.co.ractf.polaris.sentry - package uk.co.ractf.polaris.sentry
 
uk.co.ractf.polaris.state - package uk.co.ractf.polaris.state
 
uk.co.ractf.polaris.util - package uk.co.ractf.polaris.util
 
unlockTask(Task) - Method in interface uk.co.ractf.polaris.state.ClusterState
 
unlockTask(Task) - Method in class uk.co.ractf.polaris.state.ConsulState
 
updateCredential(SecurityContext, ContainerRegistryCredentials) - Method in class uk.co.ractf.polaris.controller.resources.CredentialResource
 
updateNamespace(String, Namespace) - Method in class uk.co.ractf.polaris.controller.resources.NamespaceResource
 
updateNotificationReceiver(SecurityContext, NotificationReceiver) - Method in class uk.co.ractf.polaris.controller.resources.NotificationResource
 
updatePod(Task, T) - Method in interface uk.co.ractf.polaris.node.runner.Runner
Update a Pod if an update is available.
updatePod(Task, Container) - Method in class uk.co.ractf.polaris.node.runner.docker.DockerRunner
 
updateTask(SecurityContext, Task) - Method in class uk.co.ractf.polaris.controller.resources.TaskResource
 

V

VERSION - Static variable in class uk.co.ractf.polaris.util.PolarisVersion
 

W

warning(String, String) - Method in class uk.co.ractf.polaris.notification.NotificationFacade
 
warning(NotificationTarget, Namespace, String, String) - Method in class uk.co.ractf.polaris.notification.NotificationFacade
 
A C D E F G H I K L M N O P R S T U V W 
All Classes All Packages