Documentation ¶
Index ¶
- func LogRequest(logger *zap.SugaredLogger, body bool) autorest.PrepareDecorator
- func LogResponse(logger *zap.SugaredLogger, body bool) autorest.RespondDecorator
- type Client
- type Compute
- type Event
- type EventHub
- type Events
- type Networking
- type Provider
- type ProvisionedVolume
- type ResourceSkus
- type SecretMap
- type VMType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogRequest ¶
func LogRequest(logger *zap.SugaredLogger, body bool) autorest.PrepareDecorator
func LogResponse ¶
func LogResponse(logger *zap.SugaredLogger, body bool) autorest.RespondDecorator
Types ¶
type Client ¶
type Client struct { Account *gardener.Account SubscriptionID string Location string // contains filtered or unexported fields }
Client holds azure clients configuration
type Compute ¶
type Compute struct { VMTypes []VMType `json:"vm_types"` ProvisionedRAMGB float64 `json:"provisioned_ram_gb"` ProvisionedVolumes ProvisionedVolume `json:"provisioned_volumes"` ProvisionedCpus uint32 `json:"provisioned_cpus"` }
type Event ¶
type Event struct { Timestamp string `json:"timestamp"` ResourceGroups []string `json:"resource_groups"` Compute Compute `json:"compute"` Networking Networking `json:"networking"` EventHub EventHub `json:"event_hub"` }
type EventHub ¶
type EventHub struct { NumberNamespaces uint32 `json:"number_namespaces"` IncomingRequestsPT1M float64 `json:"incoming_requests_pt1m"` MaxIncomingBytesPT1M float64 `json:"max_incoming_bytes_pt1m"` MaxOutgoingBytesPT1M float64 `json:"max_outgoing_bytes_pt1m"` IncomingRequestsPT5M float64 `json:"incoming_requests_pt5m"` MaxIncomingBytesPT5M float64 `json:"max_incoming_bytes_pt5m"` MaxOutgoingBytesPT5M float64 `json:"max_outgoing_bytes_pt5m"` }
type Networking ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
type ProvisionedVolume ¶
type ResourceSkus ¶
type ResourceSkus struct {
// contains filtered or unexported fields
}
var (
ResourceSkusList ResourceSkus
)
type SecretMap ¶
type SecretMap struct { ClientID string `mapstructure:"clientID"` ClientSecret string `mapstructure:"clientSecret"` TenantID string `mapstructure:"tenantID"` SubscriptionID string `mapstructure:"subscriptionID"` EnvironmentName string }
SecretMap is a structure to decode and map kubernetes secret data values to azure client configuration
Click to show internal directories.
Click to hide internal directories.