Class MockVpcEndpointService
java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.dns.MockVpcEndpointService
- All Implemented Interfaces:
VpcEndpointService
- Author:
- jonmv
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.yahoo.vespa.hosted.controller.api.integration.dns.VpcEndpointService
VpcEndpointService.DnsChallenge, 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.setPrivateDns(ai.vespa.http.DomainName privateDnsName, ClusterId clusterId, Optional<com.yahoo.config.provision.CloudAccount> account) Sets the private DNS name for any VPC endpoint for the given cluster, potentially guarded by a challenge.
-
Field Details
-
empty
-
delegate
-
-
Constructor Details
-
MockVpcEndpointService
public MockVpcEndpointService()
-
-
Method Details
-
setPrivateDns
public Optional<VpcEndpointService.DnsChallenge> setPrivateDns(ai.vespa.http.DomainName privateDnsName, ClusterId clusterId, Optional<com.yahoo.config.provision.CloudAccount> account) 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
-
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
-