Package org.cdk8s.plus25.k8s
Interface KubeServiceProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KubeServiceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.715Z") @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 classKubeServiceProps.BuilderA builder forKubeServicePropsstatic classKubeServiceProps.Jsii$ProxyAn implementation forKubeServiceProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static KubeServiceProps.Builderbuilder()default ObjectMetagetMetadata()Standard object's metadata.default ServiceSpecgetSpec()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.BuilderofKubeServiceProps
-
-