From 34325e9c9962eebf3a8f65efcaf31ebc843394e3 Mon Sep 17 00:00:00 2001 From: coderchirag Date: Wed, 3 Dec 2025 13:55:52 +0530 Subject: [PATCH] add PrivatePackageRepository option in objects.config --- pkg/objects/objects.go | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/pkg/objects/objects.go b/pkg/objects/objects.go index 92897d0..4777072 100644 --- a/pkg/objects/objects.go +++ b/pkg/objects/objects.go @@ -4,26 +4,27 @@ import "time" // objects stores information to contact with the pf9 controller. 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"` + 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"` + PrivatePackageRepository string `json:"private_package_repository"` } type NodeConfig struct {