response

package
v0.0.0-...-88d0870 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

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 GeneralStatsLine struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

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 ResponseConfigAzureResourceGroupTag

type ResponseConfigAzureResourceGroupTag struct {
	Name        string `json:"name"`
	Label       string `json:"label"`
	Description string `json:"description"`
	Type        string `json:"type"`
	Default     string `json:"default"`
	Placeholder string `json:"placeholder"`
}

type ResponseConfigAzureRoleAssignment

type ResponseConfigAzureRoleAssignment struct {
	RoleDefinitions []string `json:"roleDefinitions"`
	Ttl             []string `json:"ttl"`
}

type ResponseConfigKubernetes

type ResponseConfigKubernetes struct {
	Namespace ResponseConfigKubernetesNamespace `json:"namespace"`
}

type ResponseConfigKubernetesNamespace

type ResponseConfigKubernetesNamespace struct {
	NetworkPolicy []ResponseConfigKubernetesNamespaceNetworkPolicy `json:"networkPolicy"`
	Settings      []ResponseConfigKubernetesNamespaceSetting       `json:"settings"`
}

type ResponseConfigKubernetesNamespaceEnvironments

type ResponseConfigKubernetesNamespaceEnvironments struct {
	Environment string `json:"environment"`
	Description string `json:"description"`
	Template    string `json:"template"`
}

type ResponseConfigKubernetesNamespaceNetworkPolicy

type ResponseConfigKubernetesNamespaceNetworkPolicy struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

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 ResponseConfigSupportPagerdutyEndpoint

type ResponseConfigSupportPagerdutyEndpoint struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

type ResponseConfigTeam

type ResponseConfigTeam struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

type ResponseConfigUser

type ResponseConfigUser struct {
	Name     string `json:"name"`
	Username string `json:"username"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL