certificatehost

package
v0.86.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

type Manager struct {
	Resources []pulumi.Resource
	// contains filtered or unexported fields
}

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

func WithSelfSignedCert(subject string) Option

WithSelfSignedCert enables creation of a self-signed certificate

func WithUser

func WithUser(username, password string) Option

WithUser sets the username and password for the test user

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL