teams

package
v1.56.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IntegrationTypes = struct {
	Email   IntegrationType
	Jira    IntegrationType
	MsTeams IntegrationType
	Slack   IntegrationType
}{
	"EMAIL",
	"JIRA",
	"MS_TEAMS",
	"SLACK",
}
View Source
var LinkTypes = struct {
	Dashboard     LinkType
	Documentation LinkType
	HealthApp     LinkType
	Repository    LinkType
	Runbook       LinkType
	Url           LinkType
	Wiki          LinkType
}{
	"DASHBOARD",
	"DOCUMENTATION",
	"HEALTH_APP",
	"REPOSITORY",
	"RUNBOOK",
	"URL",
	"WIKI",
}

Functions

This section is empty.

Types

type AdditionalInformation

type AdditionalInformation struct {
	Key   string  `json:"key"` // Name
	Url   *string `json:"url,omitempty"`
	Value string  `json:"value"`
}

func (*AdditionalInformation) MarshalHCL

func (me *AdditionalInformation) MarshalHCL(properties hcl.Properties) error

func (*AdditionalInformation) Schema

func (me *AdditionalInformation) Schema() map[string]*schema.Schema

func (*AdditionalInformation) UnmarshalHCL

func (me *AdditionalInformation) UnmarshalHCL(decoder hcl.Decoder) error

type AdditionalInformations

type AdditionalInformations []*AdditionalInformation

func (AdditionalInformations) MarshalHCL

func (me AdditionalInformations) MarshalHCL(properties hcl.Properties) error

func (*AdditionalInformations) Schema

func (me *AdditionalInformations) Schema() map[string]*schema.Schema

func (*AdditionalInformations) UnmarshalHCL

func (me *AdditionalInformations) UnmarshalHCL(decoder hcl.Decoder) error

type ContactDetails

type ContactDetails struct {
	Email           *string         `json:"email,omitempty"`
	IntegrationType IntegrationType `json:"integrationType"` // Possible Values: `EMAIL`, `JIRA`, `MS_TEAMS`, `SLACK`
	Jira            *JiraConnection `json:"jira,omitempty"`
	MsTeams         *string         `json:"msTeams,omitempty"`      // Team
	SlackChannel    *string         `json:"slackChannel,omitempty"` // Channel
	Url             *string         `json:"url,omitempty"`
}

func (*ContactDetails) HandlePreconditions

func (me *ContactDetails) HandlePreconditions() error

func (*ContactDetails) MarshalHCL

func (me *ContactDetails) MarshalHCL(properties hcl.Properties) error

func (*ContactDetails) Schema

func (me *ContactDetails) Schema() map[string]*schema.Schema

func (*ContactDetails) UnmarshalHCL

func (me *ContactDetails) UnmarshalHCL(decoder hcl.Decoder) error

type ContactDetailss

type ContactDetailss []*ContactDetails

func (ContactDetailss) MarshalHCL

func (me ContactDetailss) MarshalHCL(properties hcl.Properties) error

func (*ContactDetailss) Schema

func (me *ContactDetailss) Schema() map[string]*schema.Schema

func (*ContactDetailss) UnmarshalHCL

func (me *ContactDetailss) UnmarshalHCL(decoder hcl.Decoder) error

type IntegrationType

type IntegrationType string

type JiraConnection

type JiraConnection struct {
	DefaultAssignee string `json:"defaultAssignee"` // Default Assignee
	Project         string `json:"project"`
}

func (*JiraConnection) MarshalHCL

func (me *JiraConnection) MarshalHCL(properties hcl.Properties) error

func (*JiraConnection) Schema

func (me *JiraConnection) Schema() map[string]*schema.Schema

func (*JiraConnection) UnmarshalHCL

func (me *JiraConnection) UnmarshalHCL(decoder hcl.Decoder) error
type Link struct {
	LinkType LinkType `json:"linkType"` // Possible Values: `DASHBOARD`, `DOCUMENTATION`, `HEALTH_APP`, `REPOSITORY`, `RUNBOOK`, `URL`, `WIKI`
	Url      string   `json:"url"`
}

func (*Link) MarshalHCL

func (me *Link) MarshalHCL(properties hcl.Properties) error

func (*Link) Schema

func (me *Link) Schema() map[string]*schema.Schema

func (*Link) UnmarshalHCL

func (me *Link) UnmarshalHCL(decoder hcl.Decoder) error

type LinkType

type LinkType string
type Links []*Link

func (Links) MarshalHCL

func (me Links) MarshalHCL(properties hcl.Properties) error

func (*Links) Schema

func (me *Links) Schema() map[string]*schema.Schema

func (*Links) UnmarshalHCL

func (me *Links) UnmarshalHCL(decoder hcl.Decoder) error

type Responsibilities

type Responsibilities struct {
	Development    bool `json:"development"`    // Responsible for developing and maintaining high quality software. Development teams are responsible for making code changes to address performance regressions, errors, or security vulnerabilities.
	Infrastructure bool `json:"infrastructure"` // Responsible for the administration, management, and support of the IT infrastructure including physical servers, virtualization, and cloud. Teams with infrastructure responsibility are responsible for addressing hardware issues, resource limits, and operating system vulnerabilities.
	LineOfBusiness bool `json:"lineOfBusiness"` // Responsible for ensuring that applications in development align with business needs and meet the usability requirements of users, stakeholders, customers, and external partners. Teams with line of business responsibility are responsible for understanding the customer experience and how it affects business goals.
	Operations     bool `json:"operations"`     // Responsible for deploying and managing software, with a focus on high availability and performance. Teams with operations responsibilities needs to understand the impact, priority, and team responsible for addressing problems detected by Dynatrace.
	Security       bool `json:"security"`       // Responsible for the security posture of the organization. Teams with security responsibility must understand the impact, priority, and team responsible for addressing security vulnerabilities.
}

func (*Responsibilities) MarshalHCL

func (me *Responsibilities) MarshalHCL(properties hcl.Properties) error

func (*Responsibilities) Schema

func (me *Responsibilities) Schema() map[string]*schema.Schema

func (*Responsibilities) UnmarshalHCL

func (me *Responsibilities) UnmarshalHCL(decoder hcl.Decoder) error

type Settings

type Settings struct {
	AdditionalInformation    AdditionalInformations   `json:"additionalInformation,omitempty"`    // Define key/value pairs that further describe this team — for example, cost center, solution type, or business unit assignments.
	ContactDetails           ContactDetailss          `json:"contactDetails,omitempty"`           // Define options for messaging integration or other means of contacting this team.
	Description              *string                  `json:"description,omitempty"`              // Description
	ExternalID               *string                  `json:"externalId,omitempty"`               // This field should only be used for the automation purpose when importing team information.
	Identifier               string                   `json:"identifier"`                         // The team identifier is used to reference the team from any entity in Dynatrace. If you are using Kubernetes labels, keep in mind the 63 character limit that they enforce.
	Links                    Links                    `json:"links,omitempty"`                    // Include links to online resources where information relevant to this team’s responsibilities can be found.
	Name                     string                   `json:"name"`                               // Team name
	Responsibilities         *Responsibilities        `json:"responsibilities"`                   // Turn on all responsibility assignments that apply to this team.
	SupplementaryIdentifiers SupplementaryIdentifiers `json:"supplementaryIdentifiers,omitempty"` // The supplementary team identifiers can be optionally used in addition to the main team identifier to reference this team from any entity in Dynatrace. Up to 3 supplementary identifiers are supported.
}

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

type SupplementaryIdentifier

type SupplementaryIdentifier struct {
	SupplementaryIdentifier string `json:"supplementaryIdentifier"` // Supplementary Identifier
}

func (*SupplementaryIdentifier) MarshalHCL

func (me *SupplementaryIdentifier) MarshalHCL(properties hcl.Properties) error

func (*SupplementaryIdentifier) Schema

func (me *SupplementaryIdentifier) Schema() map[string]*schema.Schema

func (*SupplementaryIdentifier) UnmarshalHCL

func (me *SupplementaryIdentifier) UnmarshalHCL(decoder hcl.Decoder) error

type SupplementaryIdentifiers

type SupplementaryIdentifiers []*SupplementaryIdentifier

func (SupplementaryIdentifiers) MarshalHCL

func (me SupplementaryIdentifiers) MarshalHCL(properties hcl.Properties) error

func (*SupplementaryIdentifiers) Schema

func (me *SupplementaryIdentifiers) Schema() map[string]*schema.Schema

func (*SupplementaryIdentifiers) UnmarshalHCL

func (me *SupplementaryIdentifiers) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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