Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Add examples of inspect cmd #590

Merged
merged 1 commit into from
Apr 27, 2020

Conversation

kobayashi
Copy link
Contributor

Adding examples of usage Go template for command ignite inspect. The example commands are from #587

Example usage:
        $ ignite inspect vm my-vm

        $ ignite inspect vm my-vm -t {{.Status.IPAddresses}}

        $ ignite inspect vm my-vm -t {{.ObjectMeta.Name}}

        $ ignite inspect vm my-vm -t {{.Spec.Image.OCI}}

related: #589

@kobayashi kobayashi requested a review from twelho as a code owner April 20, 2020 20:50
Copy link
Contributor

@darkowlzz darkowlzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks.
Since this command can be used to inspect image and kernel kinds as well, maybe we should have one example for them too.

@stealthybox stealthybox merged commit c51ee83 into weaveworks:master Apr 27, 2020
@luxas luxas added this to the v0.7.0 milestone Jun 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants