objects

package
v0.0.0-...-4be731d Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Fqdn               string        `json:"fqdn"`
	Username           string        `json:"username"`
	Password           string        `json:"password"`
	Tenant             string        `json:"tenant"`
	Region             string        `json:"region"`
	WaitPeriod         time.Duration `json:"wait_period"`
	AllowInsecure      bool          `json:"allow_insecure"`
	ProxyURL           string        `json:"proxy_url"`
	MfaToken           string        `json:"mfa_token"`
	AwsIamUsername     string        `json:"aws_iam_username"`
	AwsAccessKey       string        `json:"aws_access_key"`
	AwsSecretKey       string        `json:"aws_secret_key"`
	AwsRegion          string        `json:"aws_region"`
	AzureTenant        string        `json:"azure_tenant"`
	AzureClient        string        `json:"azure_application"`
	AzureSubscription  string        `json:"azure_subscription"`
	AzureSecret        string        `json:"azure_secret"`
	GooglePath         string        `json:"google_path"`
	GoogleProjectName  string        `json:"google_project_name"`
	GoogleServiceEmail string        `json:"google_service_email"`
}

objects stores information to contact with the pf9 controller.

type HttpProxy

type HttpProxy struct {
	Protocol string `json:"protocol"`
	Host     string `json:"host"`
	Port     string `json:"port"`
	User     string `json:"user"`
	Pass     string `json:"pass"`
}

type NodeConfig

type NodeConfig struct {
	User               string
	Password           string
	SshKey             string
	IPs                []string
	MFA                string
	SudoPassword       string
	RemoveExistingPkgs bool
}

type ProxySetting

type ProxySetting struct {
	Proxy HttpProxy `json:"http_proxy"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳