public final class InitContainerPropertiesDefinitionInstanceView extends Object
| Constructor and Description |
|---|
InitContainerPropertiesDefinitionInstanceView() |
| Modifier and Type | Method and Description |
|---|---|
ContainerState |
currentState()
Get the currentState property: The current state of the init container.
|
List<Event> |
events()
Get the events property: The events of the init container.
|
ContainerState |
previousState()
Get the previousState property: The previous state of the init container.
|
Integer |
restartCount()
Get the restartCount property: The number of times that the init container has been restarted.
|
void |
validate()
Validates the instance.
|
public InitContainerPropertiesDefinitionInstanceView()
public Integer restartCount()
public ContainerState currentState()
public ContainerState previousState()
public List<Event> events()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.