formdata

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertmanagerForm

type AlertmanagerForm struct {
	Team    string         `json:"team"`
	Silence models.Silence `json:"silence"`
}

func (*AlertmanagerForm) ToMarkdown

func (a *AlertmanagerForm) ToMarkdown(id string) *string

func (*AlertmanagerForm) ToString

func (a *AlertmanagerForm) ToString(id string) (ret string)

func (*AlertmanagerForm) Validate

func (a *AlertmanagerForm) Validate() (ret *AlertmanagerForm, err error)

type AzureResourceGroup

type AzureResourceGroup struct {
	Name     string            `json:"name"`
	Location string            `json:"location"`
	Team     string            `json:"team"`
	Tags     map[string]string `json:"tags"`
}

type AzureRoleAssignment

type AzureRoleAssignment struct {
	ResourceId     string `json:"resourceId"`
	RoleDefinition string `json:"roleDefinition"`
	Ttl            string `json:"ttl"`
	Reason         string `json:"reason"`
}

type GeneralSettings

type GeneralSettings map[string]string

type KubernetesNamespaceCreate

type KubernetesNamespaceCreate struct {
	Name          *string            `json:"name"`
	Team          *string            `json:"team"`
	Description   *string            `json:"description"`
	NetworkPolicy *string            `json:"networkPolicy"`
	Settings      *map[string]string `json:"settings"`
}

type SupportPagerduty

type SupportPagerduty struct {
	Team          string `yaml:"team"`
	Endpoint      string `yaml:"endpoint"`
	ResourceType  string `yaml:"resourceType"`
	Location      string `yaml:"location"`
	ResourceGroup string `yaml:"resourceGroup"`
	Resource      string `yaml:"resource"`
	Message       string `yaml:"message"`
	Contact       string `yaml:"contact"`
}

func (*SupportPagerduty) Validate

func (a *SupportPagerduty) Validate() (ret *SupportPagerduty, err error)

Jump to

Keyboard shortcuts

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