Documentation ¶
Index ¶
- Constants
- Variables
- type Attribute
- type AttributeDetails
- type Bucket
- type BucketFilter
- type Capability
- type CapabilityConstraint
- type CapabilityDetails
- type CapabilityFilter
- type Category
- type CategoryDetails
- type Check
- type CheckConfig
- type CheckConfigConstraint
- type CheckConfigDetails
- type CheckConfigFilter
- type CheckConfigThreshold
- type CheckInstance
- type CheckInstanceInfo
- type Cluster
- type ClusterFilter
- type Datacenter
- type DatacenterDetails
- type DatacenterGroup
- type DatacenterGroupDetails
- type Deployment
- type Details
- type DetailsCreation
- type Entity
- type EntityDetails
- type Environment
- type EnvironmentDetails
- type Filter
- type Flags
- type Grant
- type GrantDetails
- type GrantFilter
- type Group
- type GroupFilter
- type HostDeployment
- type Job
- type JobDetails
- type JobFilter
- type Level
- type LevelDetails
- type LevelFilter
- type Metric
- type MetricDetails
- type MetricFilter
- type MetricPackage
- type Mode
- type ModeDetails
- type Monitoring
- type MonitoringDetails
- type MonitoringFilter
- type Node
- type NodeConfig
- type NodeFilter
- type Oncall
- type OncallDetails
- type OncallFilter
- type OncallMember
- type Permission
- type PermissionDetails
- type PermissionFilter
- type Predicate
- type PredicateDetails
- type Property
- type PropertyCustom
- type PropertyDetails
- type PropertyFilter
- type PropertyNative
- type PropertyOncall
- type PropertyService
- type PropertySystem
- type Provider
- type ProviderDetails
- type ProviderFilter
- type Repository
- type RepositoryFilter
- type Request
- func NewAttributeRequest() Request
- func NewBucketFilter() Request
- func NewBucketRequest() Request
- func NewCapabilityFilter() Request
- func NewCapabilityRequest() Request
- func NewCategoryRequest() Request
- func NewCheckConfigFilter() Request
- func NewCheckConfigRequest() Request
- func NewClusterFilter() Request
- func NewClusterRequest() Request
- func NewDatacenterGroupRequest() Request
- func NewDatacenterRequest() Request
- func NewEntityRequest() Request
- func NewEnvironmentRequest() Request
- func NewGrantFilter() Request
- func NewGrantRequest() Request
- func NewGroupFilter() Request
- func NewGroupRequest() Request
- func NewHostDeploymentRequest() Request
- func NewJobFilter() Request
- func NewLevelFilter() Request
- func NewLevelRequest() Request
- func NewMetricFilter() Request
- func NewMetricRequest() Request
- func NewModeRequest() Request
- func NewMonitoringFilter() Request
- func NewMonitoringRequest() Request
- func NewNodeFilter() Request
- func NewNodeRequest() Request
- func NewOncallFilter() Request
- func NewOncallRequest() Request
- func NewPermissionFilter() Request
- func NewPermissionRequest() Request
- func NewPredicateRequest() Request
- func NewPropertyFilter() Request
- func NewPropertyRequest() Request
- func NewProviderFilter() Request
- func NewProviderRequest() Request
- func NewRepositoryFilter() Request
- func NewRepositoryRequest() Request
- func NewServerFilter() Request
- func NewServerRequest() Request
- func NewStateRequest() Request
- func NewStatusRequest() Request
- func NewSystemOperationRequest() Request
- func NewTeamFilter() Request
- func NewTeamRequest() Request
- func NewUnitFilter() Request
- func NewUnitRequest() Request
- func NewUserFilter() Request
- func NewUserRequest() Request
- func NewValidityRequest() Request
- func NewViewRequest() Request
- type Result
- func NewAttributeResult() Result
- func NewBucketResult() Result
- func NewCapabilityResult() Result
- func NewCategoryResult() Result
- func NewCheckConfigResult() Result
- func NewClusterResult() Result
- func NewDatacenterGroupResult() Result
- func NewDatacenterResult() Result
- func NewDeploymentResult() Result
- func NewEntityResult() Result
- func NewEnvironmentResult() Result
- func NewGrantResult() Result
- func NewGroupResult() Result
- func NewHostDeploymentResult() Result
- func NewJobResult() Result
- func NewLevelResult() Result
- func NewMetricResult() Result
- func NewModeResult() Result
- func NewMonitoringResult() Result
- func NewNodeResult() Result
- func NewOncallResult() Result
- func NewPermissionResult() Result
- func NewPredicateResult() Result
- func NewPropertyResult() Result
- func NewProviderResult() Result
- func NewRepositoryResult() Result
- func NewServerResult() Result
- func NewStateResult() Result
- func NewStatusResult() Result
- func NewSystemOperationResult() Result
- func NewTeamResult() Result
- func NewTreeResult() Result
- func NewUnitResult() Result
- func NewUserResult() Result
- func NewValidityResult() Result
- func NewViewResult() Result
- func (r *Result) Accepted()
- func (r *Result) Clean()
- func (r *Result) Conflict()
- func (r *Result) Error(err error) bool
- func (r *Result) ErrorMark(err error, imp bool, found bool, length int, jobid, jobtype string) bool
- func (r *Result) NotFound()
- func (r *Result) NotImplemented()
- func (r *Result) OK()
- func (r *Result) Partial()
- func (r *Result) Unavailable()
- type Server
- type ServerDetails
- type ServerFilter
- type ServiceAttribute
- type State
- type StateDetails
- type Status
- type StatusDetails
- type SystemOperation
- type Team
- type TeamDetails
- type TeamFilter
- type Tree
- type Unit
- type UnitDetails
- type UnitFilter
- type User
- type UserCredentials
- type UserDetails
- type UserFilter
- type Validity
- type ValidityDetails
- type View
- type ViewDetails
Constants ¶
View Source
const ( StatusOK = 200 StatusAccepted = 202 StatusPartial = 206 StatusBadRequest = 400 StatusForbidden = 403 StatusNotFound = 404 StatusConflict = 406 StatusError = 500 StatusNotImplemented = 501 StatusGatewayTimeout = 504 )
Variables ¶
View Source
var DisplayStatus = map[int]string{
200: "OK",
202: "Accepted",
206: "Partial result",
400: "Bad Request",
401: "Unauthorized",
403: "Forbidden",
404: "Not found",
406: "Readonly instance",
500: "Server error",
501: "Not implemented",
503: "Service unavailable",
504: "Gateway timeout",
}
Display text for status codes
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
type Attribute struct { Name string `json:"name,omitempty"` Cardinality string `json:"cardinality,omitempty"` Details *AttributeDetails `json:"details,omitempty"` }
type AttributeDetails ¶
type AttributeDetails struct {
DetailsCreation
}
type Bucket ¶
type Bucket struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` RepositoryId string `json:"repositoryId,omitempty"` TeamId string `json:"teamId,omitempty"` Environment string `json:"environment,omitempty"` IsDeleted bool `json:"isDeleted,omitempty"` IsFrozen bool `json:"isFrozen,omitempty"` MemberGroups *[]Group `json:"memberGroups,omitempty"` MemberClusters *[]Cluster `json:"memberClusters,omitempty"` MemberNodes *[]Node `json:"memberNodes,omitempty"` Details *Details `json:"details,omitempty"` Properties *[]Property `json:"properties,omitempty"` }
type BucketFilter ¶
type Capability ¶
type Capability struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` MonitoringId string `json:"monitoringId,omitempty"` Metric string `json:"metric,omitempty"` View string `json:"view,omitempty"` Thresholds uint64 `json:"thresholds,omitempty"` Demux *[]string `json:"demux,omitempty"` Constraints *[]CapabilityConstraint `json:"constraints,omitempty"` Details *CapabilityDetails `json:"details,omitempty"` }
func (*Capability) DeepCompare ¶
func (c *Capability) DeepCompare(a *Capability) bool
func (*Capability) DeepCompareSlice ¶
func (c *Capability) DeepCompareSlice(s string, a *[]string) bool
type CapabilityConstraint ¶
func (*CapabilityConstraint) DeepCompare ¶
func (c *CapabilityConstraint) DeepCompare(a *CapabilityConstraint) bool
func (*CapabilityConstraint) DeepCompareSlice ¶
func (c *CapabilityConstraint) DeepCompareSlice(a *[]CapabilityConstraint) bool
type CapabilityDetails ¶
type CapabilityDetails struct {
DetailsCreation
}
type CapabilityFilter ¶
type Category ¶
type Category struct { Name string `json:"name,omitempty"` Details *CategoryDetails `json:"details,omitempty"` }
type CategoryDetails ¶
type Check ¶
type Check struct { CheckId string `json:"checkId,omitempty"` SourceCheckId string `json:"sourceCheckId,omitempty"` CheckConfigId string `json:"checkConfigId,omitempty"` SourceType string `json:"sourceType,omitempty"` IsInherited bool `json:"isInherited,omitempty"` InheritedFrom string `json:"inheritedFrom,omitempty"` Inheritance bool `json:"inheritance,omitempty"` ChildrenOnly bool `json:"childrenOnly,omitempty"` RepositoryId string `json:"repositoryId,omitempty"` BucketId string `json:"bucketId,omitempty"` CapabilityId string `json:"capabilityId,omitempty"` }
func (*Check) DeepCompare ¶
type CheckConfig ¶
type CheckConfig struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Interval uint64 `json:"interval,omitempty"` RepositoryId string `json:"repositoryId,omitempty"` BucketId string `json:"bucketId,omitempty"` CapabilityId string `json:"capabilityId,omitempty"` ObjectId string `json:"objectId,omitempty"` ObjectType string `json:"objectType,omitempty"` IsActive bool `json:"isActive,omitempty"` IsEnabled bool `json:"isEnabled,omitempty"` Inheritance bool `json:"inheritance,omitempty"` ChildrenOnly bool `json:"childrenOnly,omitempty"` ExternalId string `json:"externalId,omitempty"` Constraints []CheckConfigConstraint `json:"constraints,omitempty"` Thresholds []CheckConfigThreshold `json:"thresholds,omitempty"` Details *CheckConfigDetails `json:"details,omitempty"` }
func (*CheckConfig) DeepCompare ¶
func (c *CheckConfig) DeepCompare(a *CheckConfig) bool
type CheckConfigConstraint ¶
type CheckConfigConstraint struct { ConstraintType string `json:"constraintType,omitempty"` Native *PropertyNative `json:"native,omitempty"` Oncall *PropertyOncall `json:"oncall,omitempty"` Custom *PropertyCustom `json:"custom,omitempty"` System *PropertySystem `json:"system,omitempty"` Service *PropertyService `json:"service,omitempty"` Attribute *ServiceAttribute `json:"attribute,omitempty"` }
func (*CheckConfigConstraint) DeepCompare ¶
func (c *CheckConfigConstraint) DeepCompare(a *CheckConfigConstraint) bool
func (*CheckConfigConstraint) DeepCompareSlice ¶
func (c *CheckConfigConstraint) DeepCompareSlice(a []CheckConfigConstraint) bool
type CheckConfigDetails ¶
type CheckConfigDetails struct { CreatedAt string `json:"createdAt,omitempty"` CreatedBy string `json:"createdBy,omitempty"` Instances []CheckInstanceInfo `json:"instances,omitempty"` }
type CheckConfigFilter ¶
type CheckConfigThreshold ¶
func (*CheckConfigThreshold) DeepCompare ¶
func (c *CheckConfigThreshold) DeepCompare(a *CheckConfigThreshold) bool
func (*CheckConfigThreshold) DeepCompareSlice ¶
func (c *CheckConfigThreshold) DeepCompareSlice(a []CheckConfigThreshold) bool
type CheckInstance ¶
type CheckInstance struct { InstanceId string `json:"instanceId,omitempty"` CheckId string `json:"checkId,omitempty"` ConfigId string `json:"configId,omitempty"` InstanceConfigId string `json:"instanceConfigId,omitempty"` Version uint64 `json:"version"` ConstraintHash string `json:"constraintHash,omitempty"` ConstraintValHash string `json:"constraintValHash,omitempty"` InstanceSvcCfgHash string `json:"instanceSvcCfghash,omitempty"` InstanceService string `json:"instanceService,omitempty"` InstanceServiceConfig string `json:"instanceServiceCfg,omitempty"` }
func (*CheckInstance) DeepCompare ¶
func (t *CheckInstance) DeepCompare(a *CheckInstance) bool
type CheckInstanceInfo ¶
type Cluster ¶
type Cluster struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` BucketId string `json:"bucketId,omitempty"` ObjectState string `json:"objectState,omitempty"` TeamId string `json:"teamId,omitempty"` Members *[]Node `json:"members,omitempty"` Details *Details `json:"details,omitempty"` Properties *[]Property `json:"properties,omitempty"` }
func (*Cluster) DeepCompare ¶
type ClusterFilter ¶
type Datacenter ¶
type Datacenter struct { Locode string `json:"locode,omitempty"` Details *DatacenterDetails `json:"details,omitempty"` }
type DatacenterDetails ¶
type DatacenterDetails struct {
DetailsCreation
}
type DatacenterGroup ¶
type DatacenterGroup struct { Name string `json:"name,omitempty"` Members *[]Datacenter `json:"members,omitempty"` Details *DatacenterGroupDetails `json:"details,omitempty"` }
type DatacenterGroupDetails ¶
type DatacenterGroupDetails struct {
DetailsCreation
}
type Deployment ¶
type Deployment struct { Repository string `json:"repository"` Environment string `json:"environment"` Bucket string `json:"bucket"` ObjectType string `json:"objectType"` View string `json:"view"` Task string `json:"task"` Datacenter string `json:"datacenter"` Capability *Capability `json:"capability"` Monitoring *Monitoring `json:"monitoringSystem"` Metric *Metric `json:"metric"` Unit *Unit `json:"unit"` Team *Team `json:"organizationalTeam"` Oncall *Oncall `json:"oncallDuty,omitempty"` Service *PropertyService `json:"service,omitempty"` Properties *[]PropertySystem `json:"properties,omitempty"` CustomProperties *[]PropertyCustom `json:"customProperties,omitempty"` Group *Group `json:"group,omitempty"` Cluster *Cluster `json:"cluster,omitempty"` Node *Node `json:"node,omitempty"` Server *Server `json:"server,omitempty"` CheckConfig *CheckConfig `json:"checkConfig"` Check *Check `json:"check"` CheckInstance *CheckInstance `json:"checkInstance"` }
func (*Deployment) DeepCompare ¶
func (dd *Deployment) DeepCompare(alternate *Deployment) bool
type DetailsCreation ¶
type Entity ¶
type Entity struct { Name string `json:"entity,omitempty"` Details *EntityDetails `json:"details,omitempty"` }
An Entity is a Type without the golang keyword problem
type EntityDetails ¶
type EntityDetails struct {
DetailsCreation
}
type Environment ¶
type Environment struct { Name string `json:"name,omitempty"` Details *EnvironmentDetails `json:"details,omitempty"` }
type EnvironmentDetails ¶
type EnvironmentDetails struct {
DetailsCreation
}
type Filter ¶
type Filter struct { Bucket *BucketFilter `json:"bucket,omitempty"` Capability *CapabilityFilter `json:"capability,omitempty"` CheckConfig *CheckConfigFilter `json:"checkConfig,omitempty"` Cluster *ClusterFilter `json:"cluster,omitempty"` Grant *GrantFilter `json:"grant,omitempty"` Group *GroupFilter `json:"group,omitempty"` Job *JobFilter `json:"job,omitempty"` Level *LevelFilter `json:"level,omitempty"` Metric *MetricFilter `json:"metric,omitempty"` Monitoring *MonitoringFilter `json:"monitoring,omitempty"` Node *NodeFilter `json:"node,omitempty"` Oncall *OncallFilter `json:"oncall,omitempty"` Permission *PermissionFilter `json:"permission,omitempty"` Property *PropertyFilter `json:"property,omitempty"` Provider *ProviderFilter `json:"provider,omitempty"` Repository *RepositoryFilter `json:"repository,omitempty"` Server *ServerFilter `json:"server,omitempty"` Team *TeamFilter `json:"team,omitempty"` Unit *UnitFilter `json:"unit,omitempty"` User *UserFilter `json:"user,omitempty"` }
type Grant ¶
type Grant struct { Id string `json:"id"` RecipientType string `json:"recipientType"` //user,team,tool RecipientId string `json:"recipientId"` PermissionId string `json:"permissionId"` Category string `json:"category"` RepositoryId string `json:"repositoryId"` ObjectType string `json:"objectType"` ObjectId string `json:"objectId"` Details *GrantDetails `json:"details,omitempty"` }
type GrantDetails ¶
type GrantFilter ¶
type Group ¶
type Group struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` BucketId string `json:"bucketId,omitempty"` ObjectState string `json:"objectState,omitempty"` TeamId string `json:"teamId,omitempty"` MemberGroups *[]Group `json:"memberGroups,omitempty"` MemberClusters *[]Cluster `json:"memberClusters,omitempty"` MemberNodes *[]Node `json:"memberNodes,omitempty"` Details *Details `json:"details,omitempty"` Properties *[]Property `json:"properties,omitempty"` }
func (*Group) DeepCompare ¶
type GroupFilter ¶
type HostDeployment ¶
type Job ¶
type Job struct { Id string `json:"id,omitempty"` Status string `json:"status,omitempty"` Result string `json:"result,omitempty"` Type string `json:"type,omitempty"` Serial int `json:"serial,omitempty"` RepositoryId string `json:"repositoryId,omitempty"` UserId string `json:"userId,omitempty"` TeamId string `json:"teamId,omitempty"` TsQueued string `json:"queued,omitempty"` TsStarted string `json:"started,omitempty"` TsFinished string `json:"finished,omitempty"` Error string `json:"error,omitempty"` Details *JobDetails `json:"details,omitempty"` }
type JobDetails ¶
type Level ¶
type Level struct { Name string `json:"name,omitempty"` ShortName string `json:"shortName,omitempty"` Numeric uint16 `json:"numeric,omitempty"` Details *LevelDetails `json:"details,omitempty"` }
type LevelDetails ¶
type LevelDetails struct {
DetailsCreation
}
type LevelFilter ¶
type Metric ¶
type Metric struct { Path string `json:"path,omitempty"` Unit string `json:"unit,omitempty"` Description string `json:"description,omitempty"` Packages *[]MetricPackage `json:"packages,omitempty"` Details *MetricDetails `json:"details,omitempty"` }
func (*Metric) DeepCompare ¶
type MetricDetails ¶
type MetricDetails struct {
DetailsCreation
}
type MetricFilter ¶
type MetricPackage ¶
type MetricPackage struct { Provider string `json:"provider,omitempty"` Name string `json:"name,omitempty"` }
func (*MetricPackage) DeepCompare ¶
func (p *MetricPackage) DeepCompare(a *MetricPackage) bool
func (*MetricPackage) DeepCompareSlice ¶
func (p *MetricPackage) DeepCompareSlice(a *[]MetricPackage) bool
type Mode ¶
type Mode struct { Mode string `json:"mode,omitempty"` Details *ModeDetails `json:"details,omitempty"` }
type ModeDetails ¶
type ModeDetails struct {
DetailsCreation
}
type Monitoring ¶
type Monitoring struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Mode string `json:"mode,omitempty"` Contact string `json:"contact,omitempty"` TeamId string `json:"teamId,omitempty"` Callback string `json:"callback,omitempty"` Details *MonitoringDetails `json:"details,omitempty"` }
func (*Monitoring) DeepCompare ¶
func (p *Monitoring) DeepCompare(a *Monitoring) bool
type MonitoringDetails ¶
type MonitoringDetails struct { DetailsCreation Checks uint64 `json:"checks,omitempty"` Instances uint64 `json:"instances,omitempty"` }
type MonitoringFilter ¶
type Node ¶
type Node struct { Id string `json:"id,omitempty"` AssetId uint64 `json:"assetId,omitempty"` Name string `json:"name,omitempty"` TeamId string `json:"teamId,omitempty"` ServerId string `json:"serverId,omitempty"` State string `json:"state,omitempty"` IsOnline bool `json:"isOnline,omitempty"` IsDeleted bool `json:"isDeleted,omitempty"` Details *Details `json:"details,omitempty"` Config *NodeConfig `json:"config,omitempty"` Properties *[]Property `json:"properties,omitempty"` }
func (*Node) DeepCompare ¶
type NodeConfig ¶
type NodeFilter ¶
type NodeFilter struct { Name string `json:"name,omitempty"` TeamId string `json:"teamId,omitempty"` ServerId string `json:"serverId,omitempty"` IsOnline bool `json:"isOnline,omitempty"` NotOnline bool `json:"notOnline,omitempty"` Deleted bool `json:"isDeleted,omitempty"` NotDeleted bool `json:"notDeleted,omitempty"` }
type Oncall ¶
type Oncall struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Number string `json:"number,omitempty"` Members *[]OncallMember `json:"members,omitempty"` Details *OncallDetails `json:"details,omitempty"` }
func (*Oncall) DeepCompare ¶
type OncallDetails ¶
type OncallDetails struct {
DetailsCreation
}
type OncallFilter ¶
type OncallMember ¶
type Permission ¶
type Permission struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Category string `json:"category,omitempty"` Grants string `json:"grants,omitempty"` Details *PermissionDetails `json:"details,omitempty"` }
type PermissionDetails ¶
type PermissionFilter ¶
type PermissionFilter struct {
Name string `json:"name,omitempty"`
}
type Predicate ¶
type Predicate struct { Symbol string `json:"symbol,omitempty"` Details *PredicateDetails `json:"details,omitempty"` }
type PredicateDetails ¶
type PredicateDetails struct {
DetailsCreation
}
type Property ¶
type Property struct { Type string `json:"type"` RepositoryId string `json:"repositoryId,omitempty"` BucketId string `json:"bucketId,omitempty"` InstanceId string `json:"instanceId,omitempty"` View string `json:"view,omitempty"` Inheritance bool `json:"inheritance,omitempty"` ChildrenOnly bool `json:"childrenOnly,omitempty"` IsInherited bool `json:"isInherited,omitempty"` SourceInstanceId string `json:"sourceInstanceId,omitempty"` SourceType string `json:"sourceType,omitempty"` InheritedFrom string `json:"inheritedFrom,omitempty"` Custom *PropertyCustom `json:"custom,omitempty"` System *PropertySystem `json:"system,omitempty"` Service *PropertyService `json:"service,omitempty"` Native *PropertyNative `json:"native,omitempty"` Oncall *PropertyOncall `json:"oncall,omitempty"` Details *PropertyDetails `json:"details,omitempty"` }
type PropertyCustom ¶
type PropertyCustom struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` RepositoryId string `json:"repositoryId,omitempty"` Value string `json:"value,omitempty"` }
func (*PropertyCustom) DeepCompare ¶
func (t *PropertyCustom) DeepCompare(a *PropertyCustom) bool
func (*PropertyCustom) DeepCompareSlice ¶
func (t *PropertyCustom) DeepCompareSlice(a *[]PropertyCustom) bool
type PropertyDetails ¶
type PropertyDetails struct {
DetailsCreation
}
type PropertyFilter ¶
type PropertyNative ¶
type PropertyNative struct { Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` }
func (*PropertyNative) DeepCompare ¶
func (t *PropertyNative) DeepCompare(a *PropertyNative) bool
type PropertyOncall ¶
type PropertyOncall struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Number string `json:"number,omitempty"` }
func (*PropertyOncall) DeepCompare ¶
func (t *PropertyOncall) DeepCompare(a *PropertyOncall) bool
type PropertyService ¶
type PropertyService struct { Name string `json:"name,omitempty"` TeamId string `json:"teamId,omitempty"` Attributes []ServiceAttribute `json:"attributes"` }
func (*PropertyService) DeepCompare ¶
func (t *PropertyService) DeepCompare(a *PropertyService) bool
type PropertySystem ¶
type PropertySystem struct { Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` }
func (*PropertySystem) DeepCompare ¶
func (t *PropertySystem) DeepCompare(a *PropertySystem) bool
func (*PropertySystem) DeepCompareSlice ¶
func (t *PropertySystem) DeepCompareSlice(a *[]PropertySystem) bool
type Provider ¶
type Provider struct { Name string `json:"name,omitempty"` Details *ProviderDetails `json:"details,omitempty"` }
type ProviderDetails ¶
type ProviderDetails struct {
DetailsCreation
}
type ProviderFilter ¶
type ProviderFilter struct {
Name string `json:"name,omitempty"`
}
type Repository ¶
type Repository struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` TeamId string `json:"teamId,omitempty"` IsDeleted bool `json:"isDeleted,omitempty"` IsActive bool `json:"isActive,omitempty"` Members *[]Bucket `json:"members,omitempty"` Details *Details `json:"details,omitempty"` Properties *[]Property `json:"properties,omitempty"` }
type RepositoryFilter ¶
type Request ¶
type Request struct { Filter *Filter `json:"filter,omitempty"` Flags *Flags `json:"flags,omitempty"` Attribute *Attribute `json:"attribute,omitempty"` Bucket *Bucket `json:"bucket,omitempty"` Capability *Capability `json:"capability,omitempty"` Category *Category `json:"category,omitempty"` CheckConfig *CheckConfig `json:"checkConfig,omitempty"` Cluster *Cluster `json:"cluster,omitempty"` Datacenter *Datacenter `json:"datacenter,omitempty"` DatacenterGroup *DatacenterGroup `json:"datacenterGroup,omitempty"` Entity *Entity `json:"entity,omitempty"` Environment *Environment `json:"environment,omitempty"` Grant *Grant `json:"grant,omitempty"` Group *Group `json:"group,omitempty"` HostDeployment *HostDeployment `json:"hostDeployment,omitempty"` Level *Level `json:"level,omitempty"` Metric *Metric `json:"metric,omitempty"` Mode *Mode `json:"mode,omitempty"` Monitoring *Monitoring `json:"monitoring,omitempty"` Node *Node `json:"node,omitempty"` Oncall *Oncall `json:"oncall,omitempty"` Permission *Permission `json:"permission,omitempty"` Predicate *Predicate `json:"predicate,omitempty"` Property *Property `json:"property,omitempty"` Provider *Provider `json:"provider,omitempty"` Repository *Repository `json:"repository,omitempty"` Server *Server `json:"server,omitempty"` State *State `json:"state,omitempty"` Status *Status `json:"status,omitempty"` SystemOperation *SystemOperation `json:"systemOperation,omitempty"` Team *Team `json:"team,omitempty"` Unit *Unit `json:"unit,omitempty"` User *User `json:"user,omitempty"` Validity *Validity `json:"validity,omitempty"` View *View `json:"view,omitempty"` }
func NewAttributeRequest ¶
func NewAttributeRequest() Request
func NewBucketFilter ¶
func NewBucketFilter() Request
func NewBucketRequest ¶
func NewBucketRequest() Request
func NewCapabilityFilter ¶
func NewCapabilityFilter() Request
func NewCapabilityRequest ¶
func NewCapabilityRequest() Request
func NewCategoryRequest ¶
func NewCategoryRequest() Request
func NewCheckConfigFilter ¶
func NewCheckConfigFilter() Request
func NewCheckConfigRequest ¶
func NewCheckConfigRequest() Request
func NewClusterFilter ¶
func NewClusterFilter() Request
func NewClusterRequest ¶
func NewClusterRequest() Request
func NewDatacenterGroupRequest ¶
func NewDatacenterGroupRequest() Request
func NewDatacenterRequest ¶
func NewDatacenterRequest() Request
func NewEntityRequest ¶
func NewEntityRequest() Request
func NewEnvironmentRequest ¶
func NewEnvironmentRequest() Request
func NewGrantFilter ¶
func NewGrantFilter() Request
func NewGrantRequest ¶
func NewGrantRequest() Request
func NewGroupFilter ¶
func NewGroupFilter() Request
func NewGroupRequest ¶
func NewGroupRequest() Request
func NewHostDeploymentRequest ¶
func NewHostDeploymentRequest() Request
func NewJobFilter ¶
func NewJobFilter() Request
func NewLevelFilter ¶
func NewLevelFilter() Request
func NewLevelRequest ¶
func NewLevelRequest() Request
func NewMetricFilter ¶
func NewMetricFilter() Request
func NewMetricRequest ¶
func NewMetricRequest() Request
func NewModeRequest ¶
func NewModeRequest() Request
func NewMonitoringFilter ¶
func NewMonitoringFilter() Request
func NewMonitoringRequest ¶
func NewMonitoringRequest() Request
func NewNodeFilter ¶
func NewNodeFilter() Request
func NewNodeRequest ¶
func NewNodeRequest() Request
func NewOncallFilter ¶
func NewOncallFilter() Request
func NewOncallRequest ¶
func NewOncallRequest() Request
func NewPermissionFilter ¶
func NewPermissionFilter() Request
func NewPermissionRequest ¶
func NewPermissionRequest() Request
func NewPredicateRequest ¶
func NewPredicateRequest() Request
func NewPropertyFilter ¶
func NewPropertyFilter() Request
func NewPropertyRequest ¶
func NewPropertyRequest() Request
func NewProviderFilter ¶
func NewProviderFilter() Request
func NewProviderRequest ¶
func NewProviderRequest() Request
func NewRepositoryFilter ¶
func NewRepositoryFilter() Request
func NewRepositoryRequest ¶
func NewRepositoryRequest() Request
func NewServerFilter ¶
func NewServerFilter() Request
func NewServerRequest ¶
func NewServerRequest() Request
func NewStateRequest ¶
func NewStateRequest() Request
func NewStatusRequest ¶
func NewStatusRequest() Request
func NewSystemOperationRequest ¶
func NewSystemOperationRequest() Request
func NewTeamFilter ¶
func NewTeamFilter() Request
func NewTeamRequest ¶
func NewTeamRequest() Request
func NewUnitFilter ¶
func NewUnitFilter() Request
func NewUnitRequest ¶
func NewUnitRequest() Request
func NewUserFilter ¶
func NewUserFilter() Request
func NewUserRequest ¶
func NewUserRequest() Request
func NewValidityRequest ¶
func NewValidityRequest() Request
func NewViewRequest ¶
func NewViewRequest() Request
type Result ¶
type Result struct { StatusCode uint16 `json:"statusCode"` StatusText string `json:"statusText"` // Errors is set for StatusCode >399 Errors *[]string `json:"errors,omitempty"` // JobId is set for StatusCode 202 (async processing) JobId string `json:"jobId,omitempty"` JobType string `json:"jobType,omitempty"` // List of (outstanding) deployment IDs DeploymentsList *[]string `json:"deploymentsList,omitempty"` // Request dependent data Attributes *[]Attribute `json:"attributes,omitempty"` Buckets *[]Bucket `json:"buckets,omitempty"` Capabilities *[]Capability `json:"capability,omitempty"` Categories *[]Category `json:"categories,omitempty"` CheckConfigs *[]CheckConfig `json:"checkConfigs,omitempty"` Clusters *[]Cluster `json:"clusters,omitempty"` DatacenterGroups *[]DatacenterGroup `json:"datacenterGroups,omitempty"` Datacenters *[]Datacenter `json:"datacenter,omitempty"` Deployments *[]Deployment `json:"deployments,omitempty"` Entities *[]Entity `json:"entities,omitempty"` Environments *[]Environment `json:"environment,omitempty"` Grants *[]Grant `json:"grants,omitempty"` Groups *[]Group `json:"groups,omitempty"` HostDeployments *[]HostDeployment `json:"hostDeployments,omitempty"` Jobs *[]Job `json:"jobs,omitempty"` Levels *[]Level `json:"levels,omitempty"` Metrics *[]Metric `json:"metrics,omitempty"` Modes *[]Mode `json:"modes,omitempty"` Monitorings *[]Monitoring `json:"monitorings,omitempty"` Nodes *[]Node `json:"nodes,omitempty"` Oncalls *[]Oncall `json:"oncall,omitempty"` Permissions *[]Permission `json:"permissions,omitempty"` Predicates *[]Predicate `json:"predicates,omitempty"` Properties *[]Property `json:"properties,omitempty"` Providers *[]Provider `json:"providers,omitempty"` Repositories *[]Repository `json:"repositories,omitempty"` Servers *[]Server `json:"servers,omitempty"` States *[]State `json:"states,omitempty"` Status *[]Status `json:"status,omitempty"` SystemOperations *[]SystemOperation `json:"systemOperation,omitempty"` Teams *[]Team `json:"teams,omitempty"` Tree *Tree `json:"tree,omitempty"` Units *[]Unit `json:"units,omitempty"` Users *[]User `json:"users,omitempty"` Validities *[]Validity `json:"validities,omitempty"` Views *[]View `json:"views,omitempty"` }
func NewAttributeResult ¶
func NewAttributeResult() Result
func NewBucketResult ¶
func NewBucketResult() Result
func NewCapabilityResult ¶
func NewCapabilityResult() Result
func NewCategoryResult ¶
func NewCategoryResult() Result
func NewCheckConfigResult ¶
func NewCheckConfigResult() Result
func NewClusterResult ¶
func NewClusterResult() Result
func NewDatacenterGroupResult ¶
func NewDatacenterGroupResult() Result
func NewDatacenterResult ¶
func NewDatacenterResult() Result
func NewDeploymentResult ¶
func NewDeploymentResult() Result
func NewEntityResult ¶
func NewEntityResult() Result
func NewEnvironmentResult ¶
func NewEnvironmentResult() Result
func NewGrantResult ¶
func NewGrantResult() Result
func NewGroupResult ¶
func NewGroupResult() Result
func NewHostDeploymentResult ¶
func NewHostDeploymentResult() Result
func NewJobResult ¶
func NewJobResult() Result
func NewLevelResult ¶
func NewLevelResult() Result
func NewMetricResult ¶
func NewMetricResult() Result
func NewModeResult ¶
func NewModeResult() Result
func NewMonitoringResult ¶
func NewMonitoringResult() Result
func NewNodeResult ¶
func NewNodeResult() Result
func NewOncallResult ¶
func NewOncallResult() Result
func NewPermissionResult ¶
func NewPermissionResult() Result
func NewPredicateResult ¶
func NewPredicateResult() Result
func NewPropertyResult ¶
func NewPropertyResult() Result
func NewProviderResult ¶
func NewProviderResult() Result
func NewRepositoryResult ¶
func NewRepositoryResult() Result
func NewServerResult ¶
func NewServerResult() Result
func NewStateResult ¶
func NewStateResult() Result
func NewStatusResult ¶
func NewStatusResult() Result
func NewSystemOperationResult ¶
func NewSystemOperationResult() Result
func NewTeamResult ¶
func NewTeamResult() Result
func NewTreeResult ¶
func NewTreeResult() Result
func NewUnitResult ¶
func NewUnitResult() Result
func NewUserResult ¶
func NewUserResult() Result
func NewValidityResult ¶
func NewValidityResult() Result
func NewViewResult ¶
func NewViewResult() Result
func (*Result) NotImplemented ¶
func (r *Result) NotImplemented()
func (*Result) Unavailable ¶
func (r *Result) Unavailable()
type Server ¶
type Server struct { Id string `json:"id,omitempty"` AssetId uint64 `json:"assetId,omitempty"` Datacenter string `json:"datacenter,omitempty"` Location string `json:"location,omitempty"` Name string `json:"name,omitempty"` IsOnline bool `json:"isOnline,omitempty"` IsDeleted bool `json:"isDeleted,omitempty"` Details *ServerDetails `json:"details,omitempty"` }
func (*Server) DeepCompare ¶
type ServerDetails ¶
type ServerDetails struct {
DetailsCreation
}
type ServerFilter ¶
type ServerFilter struct { IsOnline bool `json:"isOnline,omitempty"` NotOnline bool `json:"notOnline,omitempty"` Deleted bool `json:"Deleted,omitempty"` NotDeleted bool `json:"notDeleted,omitempty"` Datacenter string `json:"datacenter,omitempty"` Name string `json:"name,omitempty"` AssetId uint64 `json:"assetId,omitempty"` }
type ServiceAttribute ¶
type ServiceAttribute struct { Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` }
func (*ServiceAttribute) DeepCompare ¶
func (t *ServiceAttribute) DeepCompare(a *ServiceAttribute) bool
func (*ServiceAttribute) DeepCompareSlice ¶
func (t *ServiceAttribute) DeepCompareSlice(a *[]ServiceAttribute) bool
type State ¶
type State struct { Name string `json:"Name,omitempty"` Details *StateDetails `json:"details,omitempty"` }
type StateDetails ¶
type StateDetails struct {
DetailsCreation
}
type Status ¶
type Status struct { Name string `json:"name,omitempty"` Details *StatusDetails `json:"details,omitempty"` }
type StatusDetails ¶
type StatusDetails struct {
DetailsCreation
}
type SystemOperation ¶
type Team ¶
type Team struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` LdapId string `json:"ldapId,omitempty"` IsSystem bool `json:"isSystem,omitempty"` Details *TeamDetails `json:"details,omitempty"` }
func (*Team) DeepCompare ¶
type TeamDetails ¶
type TeamDetails struct {
DetailsCreation
}
type TeamFilter ¶
type Unit ¶
type Unit struct { Unit string `json:"unit,omitempty"` Name string `json:"name,omitempty"` Details *UnitDetails `json:"details,omitempty"` }
func (*Unit) DeepCompare ¶
type UnitDetails ¶
type UnitDetails struct {
DetailsCreation
}
type UnitFilter ¶
type User ¶
type User struct { Id string `json:"id,omitempty"` UserName string `json:"userName,omitempty"` FirstName string `json:"firstName,omitempty"` LastName string `json:"lastName,omitempty"` EmployeeNumber string `json:"employeeNumber,omitempty"` MailAddress string `json:"mailAddress,omitempty"` IsActive bool `json:"isActive,omitempty"` IsSystem bool `json:"isSystem,omitempty"` IsDeleted bool `json:"isDeleted,omitempty"` TeamId string `json:"teamId,omitempty"` Details *UserDetails `json:"details,omitempty"` Credentials *UserCredentials `json:"credentials,omitempty"` }
type UserCredentials ¶
type UserDetails ¶
type UserDetails struct {
DetailsCreation
}
type UserFilter ¶
type Validity ¶
type Validity struct { SystemProperty string `json:"systemProperty,omitempty"` ObjectType string `json:"objectType,omitempty"` Direct bool `json:"direct,string,omitempty"` Inherited bool `json:"inherited,string,omitempty"` Details *ValidityDetails `json:"details,omitempty"` }
type ValidityDetails ¶
type ValidityDetails struct {
DetailsCreation
}
type View ¶
type View struct { Name string `json:"name,omitempty"` Details *ViewDetails `json:"details,omitempty"` }
type ViewDetails ¶
type ViewDetails struct {
DetailsCreation
}
Source Files ¶
- attribute.go
- bucket.go
- capability.go
- category.go
- check.go
- check_instance.go
- checkconfig.go
- cluster.go
- datacenter.go
- datacenter_group.go
- deployment.go
- details.go
- entity.go
- environment.go
- filter.go
- flag.go
- grant.go
- group.go
- host_deployment.go
- include_details_creation.go
- job.go
- level.go
- metric.go
- mode.go
- monitoring.go
- node.go
- oncall.go
- permission.go
- predicate.go
- property.go
- provider.go
- repository.go
- request.go
- result.go
- server.go
- state.go
- status.go
- systemoperation.go
- team.go
- tree.go
- unit.go
- user.go
- validity.go
- view.go
Click to show internal directories.
Click to hide internal directories.