Class MockVpcEndpointService
java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.dns.MockVpcEndpointService
- All Implemented Interfaces:
VpcEndpointService
- Author:
- jonmv
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.yahoo.vespa.hosted.controller.api.integration.dns.VpcEndpointService
VpcEndpointService.ChallengeState, VpcEndpointService.DnsChallenge, VpcEndpointService.EndpointState, VpcEndpointService.VpcEndpoint -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetConnections(ClusterId cluster, Optional<com.yahoo.config.provision.CloudAccount> account) Lists all endpoints connected to an endpoint service (owned by account) for the given cluster.process(VpcEndpointService.DnsChallenge challenge) Attempts to complete the challenge, and returns the updated challenge state.setPrivateDns(ai.vespa.http.DomainName privateDnsName, ClusterId clusterId, Optional<com.yahoo.config.provision.CloudAccount> account, boolean isGenerated) Sets the private DNS name for any VPC endpoint for the given cluster, potentially guarded by a challenge.
-
Field Details
-
enabled
-
outcomes
-
-
Constructor Details
-
MockVpcEndpointService
-
-
Method Details
-
setPrivateDns
public Optional<VpcEndpointService.DnsChallenge> setPrivateDns(ai.vespa.http.DomainName privateDnsName, ClusterId clusterId, Optional<com.yahoo.config.provision.CloudAccount> account, boolean isGenerated) Description copied from interface:VpcEndpointServiceSets the private DNS name for any VPC endpoint for the given cluster, potentially guarded by a challenge.- Specified by:
setPrivateDnsin interfaceVpcEndpointService
-
process
Description copied from interface:VpcEndpointServiceAttempts to complete the challenge, and returns the updated challenge state.- Specified by:
processin interfaceVpcEndpointService
-
getConnections
public List<VpcEndpointService.VpcEndpoint> getConnections(ClusterId cluster, Optional<com.yahoo.config.provision.CloudAccount> account) Description copied from interface:VpcEndpointServiceLists all endpoints connected to an endpoint service (owned by account) for the given cluster.- Specified by:
getConnectionsin interfaceVpcEndpointService
-