src/Formats/DeploymentV1Beta1.Format.ps1xml

<?xml version="1.0" encoding="utf-8" ?>
<Configuration>
    <ViewDefinitions>
        <View>
            <!-- Resembles the default output of kubectl get deploy -->
            <Name>Default</Name>
            <ViewSelectedBy>
                <TypeName>KubeClient.Models.DeploymentV1Beta1</TypeName>
            </ViewSelectedBy>
            <TableControl>
                <TableHeaders>
                    <TableColumnHeader>
                        <Label>Name</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>Desired</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>Current</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>Updated</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>Available</Label>
                    </TableColumnHeader>
                    <TableColumnHeader>
                        <Label>Age</Label>
                    </TableColumnHeader>
                </TableHeaders>
                <TableRowEntries>
                    <TableRowEntry>
                        <TableColumnItems>
                            <TableColumnItem>
                                <PropertyName>Name</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>Desired</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>Current</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>Updated</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>Available</PropertyName>
                            </TableColumnItem>
                            <TableColumnItem>
                                <PropertyName>Age</PropertyName>
                                <FormatString>%d\D\ hh\h\ mm\m\ ss\s</FormatString>
                                <Alignment>Right</Alignment>
                            </TableColumnItem>
                        </TableColumnItems>
                    </TableRowEntry>
                </TableRowEntries>
            </TableControl>
        </View>
    </ViewDefinitions>
</Configuration>