github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/worker/uniter/runner/jujuc/export_test.go (about) 1 // Copyright 2012, 2013 Canonical Ltd. 2 // Copyright 2014 Cloudbase Solutions SRL 3 // Licensed under the AGPLv3, see LICENCE file for details. 4 5 package jujuc 6 7 import ( 8 "github.com/juju/cmd/v3" 9 ) 10 11 func HandleSettingsFile(c *RelationSetCommand, ctx *cmd.Context) error { 12 return c.handleSettingsFile(ctx) 13 } 14 15 func NewJujuLogCommandWithMocks(ctx JujuLogContext) cmd.Command { 16 return &JujuLogCommand{ 17 ctx: ctx, 18 } 19 } 20 21 func NewJujucCommandWrappedForTest(c cmd.Command) cmd.Command { 22 return &cmdWrapper{c, nil} 23 }