func makeUnit(state cloudprovider.InstanceState, jujuName string, hostname string, providerID string, agentStatus string, workloadStatus string, machine string) Unit {
	return Unit{
		state:      state,
		jujuName:   jujuName,
		hostname:   hostname,
		providerID: providerID,
		status: params.UnitStatus{
			AgentStatus: params.DetailedStatus{
				Status: agentStatus,
			},
			WorkloadStatus: params.DetailedStatus{
				Status: workloadStatus,
			},
			Machine: machine,
		},
	}
}
// Note: If you need to generate new mocks , run go generate ./... in the cloudprovider/juju directory
If you need to generate new mocks , run go generate ./... in the cloudprovider/juju directory
// Note : If you need to generate new mocks run go generate . / ... in the cloudprovider / juju directory
func makeUnit(state cloudprovider.InstanceState, jujuName string, hostname string, providerID string, agentStatus string, workloadStatus string, machine string) Unit {
	return Unit{
		state:      state,
		jujuName:   jujuName,
		hostname:   hostname,
		providerID: providerID,
		status: params.UnitStatus{
			AgentStatus: params.DetailedStatus{
				Status: agentStatus,
			},
			WorkloadStatus: params.DetailedStatus{
				Status: workloadStatus,
			},
			Machine: machine,
		},
	}
}
func makeUnit ( state cloudprovider . InstanceState , jujuName string , hostname string , providerID string , agentStatus string , workloadStatus string , machine string ) Unit { return Unit { state : state , jujuName : jujuName , hostname : hostname , providerID : providerID , status : params . UnitStatus { AgentStatus : params . DetailedStatus { Status : agentStatus , } , WorkloadStatus : params . DetailedStatus { Status : workloadStatus , } , Machine : machine , } , } }
If you need to generate new mocks , run go generate ./... in the cloudprovider/juju directory
If you need to generate new mocks run go generate . / ... in the cloudprovider / juju directory