Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUserDataRender = errors.New("userdata render error") ImageNotFoundSuggestion = fmt.Sprintf(strings.Join([]string{ "please provide image ID manually in configuration", "create image with `%s` selector", }, " or "), selector) ImageNotFoundMessage = strings.Join([]string{ "can not obtain image ID automatically", "failed to get image", }, ": ") )
View Source
var ErrMarshalYaml = errors.New("yaml marshal error")
Functions ¶
This section is empty.
Types ¶
type CloudInit ¶
type CloudInit struct { SSHPwauth bool `yaml:"ssh_pwauth"` Users []*CloudInitUserCloud Hostname string Chpasswd *CloudInitChpasswd GrowPart *CloudInitGrowPart WriteFiles []*CloudInitWriteFile `yaml:"write_files,omitempty"` RunCMD []string `yaml:"runcmd,omitempty"` // This is internal field for storing pulumi input Inputs *CloudInitPulumiInputs `yaml:"-"` }
type CloudInitChpasswd ¶
type CloudInitChpasswd struct { Expire bool Users []*CloudInitChpasswdUser }
type CloudInitChpasswdUser ¶
type CloudInitGrowPart ¶
type CloudInitGrowPart struct {
Devices []string
}
type CloudInitPulumiInputs ¶
type CloudInitPulumiInputs struct {
Key *pulumi.StringOutput
}
type CloudInitUserCloud ¶
type CloudInitWriteFile ¶
func RenameInterfaceScript ¶
func RenameInterfaceScript() *CloudInitWriteFile
type Server ¶
type Server struct { Config *config.ServerConfig Userdata *CloudInit KeyName pulumi.StringOutput }
Click to show internal directories.
Click to hide internal directories.