Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentType ¶ added in v0.9.0
type DeploymentType int8
DeploymentType indicates artifacts to use for deployment
const ( // K8SManifest used to generate K8S Manifest that is compatible with kustomize K8SManifest DeploymentType = iota - 1 // HemlChart Deployment artifact HemlChart // UnknownDeployemntType is invalid deployment type UnknownDeployemntType )
func ValueOf ¶ added in v0.9.0
func ValueOf(d string) (DeploymentType, error)
ValueOf returns Typed DeploymentType
func (DeploymentType) String ¶ added in v0.9.0
func (d DeploymentType) String() string
type Options ¶
type Options struct { Name string ModuleName string ResourceName string ImageName string Description string DstDir string HTTPRoutePrefix string DeploymentType DeploymentType DomainName string ProtocVersion string ServiceBuilderVersion string }
Options used for Service builder
type ServiceBuilder ¶
type ServiceBuilder interface {
Generate() error
}
ServiceBuilder that register templates can generates a service
func New ¶
func New(templateProvider TemplateProvider) (ServiceBuilder, error)
New ServiceBuilder with a given template provider
Click to show internal directories.
Click to hide internal directories.