Skip to content

Commit

Permalink
First shot
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Oct 23, 2023
1 parent 221118b commit 469c35b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pkg/apis/metal/types_cloudprofile.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package metal

import (
"net/url"

metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

Expand Down Expand Up @@ -66,4 +68,24 @@ const (
type Partition struct {
// FirewallTypes is a list of available firewall machine types in this partition. When empty, allows all values.
FirewallTypes []string
Proxy Proxy
}

type Proxy struct {
HTTPProxy url.URL
HTTPSProxy url.URL
DefaultHTTPNoProxy []string

RegistryMirror url.URL

DNSServers []DNSServer
NTPServers []NTPServer
}

type DNSServer struct {
Host string
}

type NTPServer struct {
Host string
}

0 comments on commit 469c35b

Please sign in to comment.