Class KubeVirtCloudConfig

java.lang.Object
io.jenkins.plugins.kubevirt.KubeVirtCloudConfig

public final class KubeVirtCloudConfig extends Object
Immutable value object containing KubeVirt cloud configuration. Used to pass cloud configuration to services without exposing the full KubeVirtCloud object.
  • Constructor Details

    • KubeVirtCloudConfig

      public KubeVirtCloudConfig(String cloudName, String serverUrl, String credentialsId, String namespace, boolean ignoreSsl)
      Creates a new cloud configuration.
      Parameters:
      cloudName - The name of the cloud in Jenkins
      serverUrl - The Kubernetes API server URL
      credentialsId - The ID of the credentials for authentication
      namespace - The Kubernetes namespace for VMs
      ignoreSsl - Whether to ignore SSL certificate errors
  • Method Details

    • getCloudName

      public String getCloudName()
    • getServerUrl

      public String getServerUrl()
    • getCredentialsId

      public String getCredentialsId()
    • getNamespace

      public String getNamespace()
    • isIgnoreSsl

      public boolean isIgnoreSsl()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object