Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Attributess = struct { PgName Attributes PgTag Attributes ServiceManagementZone Attributes ServiceName Attributes ServiceTag Attributes ServiceType Attributes }{ "PG_NAME", "PG_TAG", "SERVICE_MANAGEMENT_ZONE", "SERVICE_NAME", "SERVICE_TAG", "SERVICE_TYPE", }
View Source
var ServiceTypess = struct { Amp ServiceTypes Cics ServiceTypes Cicsinteraction ServiceTypes Customapplication ServiceTypes Database ServiceTypes Enterpriseservicebus ServiceTypes External ServiceTypes Ims ServiceTypes Imsinteraction ServiceTypes Messaging ServiceTypes Method ServiceTypes Mobile ServiceTypes Process ServiceTypes Queueinteraction ServiceTypes Queuelistener ServiceTypes Remotecall ServiceTypes Rmi ServiceTypes Saasvendor ServiceTypes Webrequest ServiceTypes Webservice ServiceTypes Website ServiceTypes Zosconnect ServiceTypes }{ "AMP", "CICS", "CICSInteraction", "CustomApplication", "Database", "EnterpriseServiceBus", "External", "IMS", "IMSInteraction", "Messaging", "Method", "Mobile", "Process", "QueueInteraction", "QueueListener", "RemoteCall", "RMI", "SaasVendor", "WebRequest", "WebService", "WebSite", "zOSConnect", }
Functions ¶
This section is empty.
Types ¶
type Attributes ¶
type Attributes string
type Condition ¶
type Condition struct { Attribute Attributes `json:"attribute"` // Possible Values: `PG_NAME`, `PG_TAG`, `SERVICE_MANAGEMENT_ZONE`, `SERVICE_NAME`, `SERVICE_TAG`, `SERVICE_TYPE` Predicate *Predicate `json:"predicate"` // Condition to check the attribute against }
func (*Condition) MarshalHCL ¶
func (me *Condition) MarshalHCL(properties hcl.Properties) error
type Conditions ¶
type Conditions []*Condition
func (Conditions) MarshalHCL ¶
func (me Conditions) MarshalHCL(properties hcl.Properties) error
func (*Conditions) UnmarshalHCL ¶
func (me *Conditions) UnmarshalHCL(decoder hcl.Decoder) error
type Predicate ¶
type Predicate struct { CaseSensitive *bool `json:"caseSensitive,omitempty"` // Case sensitive ManagementZones []string `json:"managementZones,omitempty"` // Management zones PredicateType string `json:"predicateType"` // Predicate type ServiceType []ServiceTypes `json:"serviceType,omitempty"` // Service types TagKeys []string `json:"tagKeys,omitempty"` // Tag keys Tags []string `json:"tags,omitempty"` // Tags (exact match) TextValues []string `json:"textValues,omitempty"` // Names }
func (*Predicate) HandlePreconditions ¶
func (me *Predicate) HandlePreconditions()
func (*Predicate) MarshalHCL ¶
func (me *Predicate) MarshalHCL(properties hcl.Properties) error
type ServiceTypes ¶
type ServiceTypes string
type Settings ¶
type Settings struct { Conditions Conditions `json:"conditions"` // Conditions Description *string `json:"description,omitempty"` // Rule description Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) RuleName string `json:"name"` // Rule name ParameterID string `json:"parameterId"` // Failure detection parameters InsertAfter string `json:"-"` }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.