a28f02ce68
This change leverages intrinsics in place of the predefined types. It remains to be seen if we can reach 100% on this, however I am hopeful. It's also nice that the system will be built "out of itself" with this approach; in other words, each of the types is simply a Mufile that can use conditional targeting as appropriate for the given cloud providers. If we find that this isn't enough, we can always bring back the concept.
19 lines
488 B
Go
19 lines
488 B
Go
// Copyright 2016 Marapongo, Inc. All rights reserved.
|
|
|
|
package predef
|
|
|
|
import (
|
|
"github.com/marapongo/mu/pkg/ast"
|
|
)
|
|
|
|
const namespace = "mu"
|
|
|
|
const (
|
|
Autoscaler = namespace + ast.NameDelimiter + "autoscaler"
|
|
Container = namespace + ast.NameDelimiter + "container"
|
|
Gateway = namespace + ast.NameDelimiter + "gateway"
|
|
Func = namespace + ast.NameDelimiter + "func"
|
|
Event = namespace + ast.NameDelimiter + "event"
|
|
Volume = namespace + ast.NameDelimiter + "volume"
|
|
)
|