Package org.cdk8s.plus24.k8s
Interface KubeServiceProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KubeServiceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-26T02:32:35.209Z") @Stability(Stable) public interface KubeServiceProps extends software.amazon.jsii.JsiiSerializable
Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
KubeServiceProps.Builder
A builder forKubeServiceProps
static class
KubeServiceProps.Jsii$Proxy
An implementation forKubeServiceProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static KubeServiceProps.Builder
builder()
default ObjectMeta
getMetadata()
Standard object's metadata.default ServiceSpec
getSpec()
Spec defines the behavior of a service.
-
-
-
Method Detail
-
getMetadata
@Stability(Stable) @Nullable default ObjectMeta getMetadata()
Standard object's metadata.More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
-
getSpec
@Stability(Stable) @Nullable default ServiceSpec getSpec()
Spec defines the behavior of a service.https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
-
builder
@Stability(Stable) static KubeServiceProps.Builder builder()
- Returns:
- a
KubeServiceProps.Builder
ofKubeServiceProps
-
-