Package org.cdk8s.plus24.k8s
Interface KubeEndpointSliceV1Beta1Props
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KubeEndpointSliceV1Beta1Props.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-07-08T00:25:14.479Z") @Stability(Stable) public interface KubeEndpointSliceV1Beta1Props extends software.amazon.jsii.JsiiSerializable
EndpointSlice represents a subset of the endpoints that implement a service.For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
KubeEndpointSliceV1Beta1Props.Builder
A builder forKubeEndpointSliceV1Beta1Props
static class
KubeEndpointSliceV1Beta1Props.Jsii$Proxy
An implementation forKubeEndpointSliceV1Beta1Props
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static KubeEndpointSliceV1Beta1Props.Builder
builder()
String
getAddressType()
addressType specifies the type of address carried by this EndpointSlice.List<EndpointV1Beta1>
getEndpoints()
endpoints is a list of unique endpoints in this slice.default ObjectMeta
getMetadata()
Standard object's metadata.default List<EndpointPortV1Beta1>
getPorts()
ports specifies the list of network ports exposed by each endpoint in this slice.
-
-
-
Method Detail
-
getAddressType
@Stability(Stable) @NotNull String getAddressType()
addressType specifies the type of address carried by this EndpointSlice.All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.
-
getEndpoints
@Stability(Stable) @NotNull List<EndpointV1Beta1> getEndpoints()
endpoints is a list of unique endpoints in this slice.Each slice may include a maximum of 1000 endpoints.
-
getMetadata
@Stability(Stable) @Nullable default ObjectMeta getMetadata()
Standard object's metadata.
-
getPorts
@Stability(Stable) @Nullable default List<EndpointPortV1Beta1> getPorts()
ports specifies the list of network ports exposed by each endpoint in this slice.Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports.
-
builder
@Stability(Stable) static KubeEndpointSliceV1Beta1Props.Builder builder()
-
-