get.porter.sh/porter@v1.3.0/pkg/mixin/install.go (about)

     1  package mixin
     2  
     3  import (
     4  	"get.porter.sh/porter/pkg/pkgmgmt"
     5  )
     6  
     7  type InstallOptions struct {
     8  	pkgmgmt.InstallOptions
     9  }
    10  
    11  func (o *InstallOptions) Validate(args []string) error {
    12  	o.PackageType = "mixin"
    13  	return o.InstallOptions.Validate(args)
    14  }