func (gc graphContext) GetArg(name string) string {
	switch name {
	case "AC_NAME":
		return gc.replica
	case "AC_FLOW_NAME":
		return gc.flow.Name
	default:
		val, ok := gc.args[name]
		if ok {
			return val
		}
		val, ok = gc.graph.Options().Args[name]
		if ok {
			return val
		}
		fp, ok := gc.flow.Parameters[name]
		if ok && fp.Default != nil {
			return *fp.Default
		}
		return ""
	}
}
GetArg returns argument values available in the current graph context
package scheduler
import (
	"container/list"
	"fmt"
	"log"
	"sort"
	"strings"
	"time"
	"github.com/Mirantis/k8s-AppController/pkg/client"
	"github.com/Mirantis/k8s-AppController/pkg/copier"
	"github.com/Mirantis/k8s-AppController/pkg/interfaces"
	"github.com/Mirantis/k8s-AppController/pkg/resources"
	"k8s.io/client-go/pkg/api"
	"k8s.io/client-go/pkg/api/unversioned"
	"k8s.io/client-go/pkg/labels"
)
type dependencyGraph struct {
	graph        map[string]*ScheduledResource
	scheduler    *scheduler
	graphOptions interfaces.DependencyGraphOptions
	finalizer    func()
}
type graphContext struct {
	args       map[string]string
	graph      *dependencyGraph
	scheduler  *scheduler
	flow       *client.Flow
	dependency *client.Dependency
	replica    string
}
var _ interfaces.GraphContext = &graphContext{}
func (gc graphContext) Scheduler() interfaces.Scheduler {
	return gc.scheduler
}