| Package | Description |
|---|---|
| io.fabric8.kubernetes.api.model |
| Modifier and Type | Method and Description |
|---|---|
default OwnerReference |
HasMetadata.addOwnerReference(HasMetadata owner)
Adds an
OwnerReference to the specified owner if possible. |
default OwnerReference |
HasMetadata.addOwnerReference(OwnerReference ownerReference)
Adds the specified, supposed valid (for example because validated by calling
HasMetadata.sanitizeAndValidate(OwnerReference)
beforehand), OwnerReference to this HasMetadata |
OwnerReference |
OwnerReferenceBuilder.build() |
OwnerReference |
ObjectMetaFluent.buildFirstOwnerReference() |
OwnerReference |
ObjectMetaFluent.buildLastOwnerReference() |
OwnerReference |
ObjectMetaFluent.buildMatchingOwnerReference(Predicate<OwnerReferenceBuilder> predicate) |
OwnerReference |
ObjectMetaFluent.buildOwnerReference(int index) |
static OwnerReference |
HasMetadata.sanitizeAndValidate(OwnerReference ownerReference)
Sanitizes and validates the specified
OwnerReference, presumably to add it |
| Modifier and Type | Method and Description |
|---|---|
List<OwnerReference> |
ObjectMetaFluent.buildOwnerReferences() |
default Optional<OwnerReference> |
HasMetadata.getOwnerReferenceFor(HasMetadata owner)
Retrieves the
OwnerReference associated with the specified owner if it's part of this HasMetadata's owners. |
default Optional<OwnerReference> |
HasMetadata.getOwnerReferenceFor(String ownerUid)
Retrieves the
OwnerReference associated with the owner identified by the specified UID if it's part of
thisHasMetadata's owners. |
List<OwnerReference> |
ObjectMeta.getOwnerReferences() |
| Modifier and Type | Method and Description |
|---|---|
A |
ObjectMetaFluent.addAllToOwnerReferences(Collection<OwnerReference> items) |
A |
ObjectMetaFluent.removeAllFromOwnerReferences(Collection<OwnerReference> items) |
void |
ObjectMeta.setOwnerReferences(List<OwnerReference> ownerReferences) |
A |
ObjectMetaFluent.withOwnerReferences(List<OwnerReference> ownerReferences) |
| Constructor and Description |
|---|
OwnerReferenceBuilder(OwnerReference instance) |
OwnerReferenceBuilder(OwnerReferenceFluent<?> fluent,
OwnerReference instance) |
OwnerReferenceFluent(OwnerReference instance) |
| Constructor and Description |
|---|
ObjectMeta(Map<String,String> annotations,
String creationTimestamp,
Long deletionGracePeriodSeconds,
String deletionTimestamp,
List<String> finalizers,
String generateName,
Long generation,
Map<String,String> labels,
List<ManagedFieldsEntry> managedFields,
String name,
String namespace,
List<OwnerReference> ownerReferences,
String resourceVersion,
String selfLink,
String uid) |
Copyright © 2015–2024 Red Hat. All rights reserved.