Documentation
¶
Overview ¶
Package certificatehost contains code to setup a Windows host for remote certificate testing
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct {
// Username for the test user to create
Username string
// Password for the test user
Password string
// CreateSelfSignedCert determines whether to create a self-signed certificate
CreateSelfSignedCert bool
// CertSubject is the subject for the self-signed certificate (defaults to "CN=test_cert")
CertSubject string
// PulumiResourceOptions are additional Pulumi resource options
PulumiResourceOptions []pulumi.ResourceOption
}
Configuration defines the configuration for the certificate host setup
type Manager ¶
Manager contains the resources to manage a certificate host setup
func NewCertificateHost ¶
func NewCertificateHost(e *config.CommonEnvironment, host *remote.Host, options ...Option) (*Manager, error)
NewCertificateHost creates a new instance of the Certificate Host setup component This component configures a Windows host to allow remote certificate access via SMB and RemoteRegistry
type Option ¶
type Option = func(*Configuration) error
Option is a function that modifies the Configuration
func WithPulumiResourceOptions ¶
func WithPulumiResourceOptions(opts ...pulumi.ResourceOption) Option
WithPulumiResourceOptions sets the Pulumi resource options
func WithSelfSignedCert ¶
WithSelfSignedCert enables creation of a self-signed certificate
Click to show internal directories.
Click to hide internal directories.