Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommitImage ¶
func CommitImage(ctx context.Context, c v1beta1.ImageServiceClient, request *v1beta1.CommitRequest) error
CommitImage requests a commit and prints the result.
func GetVersion ¶
func GetVersion(ctx context.Context, c v1beta1.ImageServiceClient, request *v1beta1.VersionRequest) (string, error)
GetVersion calls Version on the agent and prints the response. Returns the version string and an error so callers may handle failure (Cobra's RunE expects error returns) instead of os.Exit'ing.
func PushImage ¶
func PushImage(ctx context.Context, c v1beta1.ImageServiceClient, request *v1beta1.PushRequest) error
PushImage requests a push and prints the result.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.