Documentation ¶
Index ¶
- type GeneralMessage
- type GeneralStats
- type GeneralStatsLine
- type KubernetesNamespace
- type ResponseConfig
- type ResponseConfigAzure
- type ResponseConfigAzureResourceGroup
- type ResponseConfigAzureResourceGroupTag
- type ResponseConfigAzureRoleAssignment
- type ResponseConfigKubernetes
- type ResponseConfigKubernetesNamespace
- type ResponseConfigKubernetesNamespaceEnvironments
- type ResponseConfigKubernetesNamespaceNetworkPolicy
- type ResponseConfigKubernetesNamespaceSetting
- type ResponseConfigSupport
- type ResponseConfigSupportPagerduty
- type ResponseConfigSupportPagerdutyEndpoint
- type ResponseConfigTeam
- type ResponseConfigUser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeneralMessage ¶
type GeneralMessage struct {
Message string `json:"message"`
}
type GeneralStats ¶
type GeneralStats struct { Name string `json:"name"` Stats []GeneralStatsLine `json:"stats"` }
func NewGeneralStats ¶
func NewGeneralStats(name string) *GeneralStats
func (*GeneralStats) Add ¶
func (s *GeneralStats) Add(name, value string)
type GeneralStatsLine ¶
type KubernetesNamespace ¶
type KubernetesNamespace struct { Name string `json:"name"` PodCount *int64 `json:"podCount"` Description string `json:"description"` NetworkPolicy string `json:"networkPolicy"` OwnerTeam string `json:"ownerTeam"` Status string `json:"status"` Created string `json:"created"` CreatedAgo string `json:"createdAgo"` ManagedBy string `json:"managedBy"` Editable bool `json:"editable"` Deleteable bool `json:"deleteable"` Settings map[string]string `json:"settings"` }
type ResponseConfig ¶
type ResponseConfig struct { User ResponseConfigUser `json:"user"` Teams []ResponseConfigTeam `json:"teams"` Quota map[string]int `json:"quota"` Azure ResponseConfigAzure `json:"azure"` Kubernetes ResponseConfigKubernetes `json:"kubernetes"` Support ResponseConfigSupport `json:"support"` }
type ResponseConfigAzure ¶
type ResponseConfigAzure struct { TenantId string `json:"tenantId"` ResourceGroup ResponseConfigAzureResourceGroup `json:"resourceGroup"` RoleAssignment ResponseConfigAzureRoleAssignment `json:"roleAssignment"` }
type ResponseConfigAzureResourceGroup ¶
type ResponseConfigAzureResourceGroup struct {
Tags []ResponseConfigAzureResourceGroupTag `json:"tags"`
}
type ResponseConfigKubernetes ¶
type ResponseConfigKubernetes struct {
Namespace ResponseConfigKubernetesNamespace `json:"namespace"`
}
type ResponseConfigKubernetesNamespace ¶
type ResponseConfigKubernetesNamespace struct { NetworkPolicy []ResponseConfigKubernetesNamespaceNetworkPolicy `json:"networkPolicy"` Settings []ResponseConfigKubernetesNamespaceSetting `json:"settings"` }
type ResponseConfigKubernetesNamespaceSetting ¶
type ResponseConfigKubernetesNamespaceSetting struct { Name string `json:"name"` Label string `json:"label"` Description string `json:"description"` K8sType string `json:"k8sType"` K8sName string `json:"k8sName"` Type string `json:"type"` Default string `json:"default"` Placeholder string `json:"placeholder"` Required bool `json:"required"` }
type ResponseConfigSupport ¶
type ResponseConfigSupport struct {
Pagerduty ResponseConfigSupportPagerduty `json:"pagerduty"`
}
type ResponseConfigSupportPagerduty ¶
type ResponseConfigSupportPagerduty struct {
Endpoints []ResponseConfigSupportPagerdutyEndpoint `json:"endpoints"`
}
type ResponseConfigTeam ¶
type ResponseConfigUser ¶
Click to show internal directories.
Click to hide internal directories.