/
label_configuration.go
37 lines (27 loc) · 1.07 KB
/
label_configuration.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package models
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
strfmt "github.com/go-openapi/strfmt"
"github.com/go-openapi/errors"
)
// LabelConfiguration Label configuration of an endpoint
// swagger:model LabelConfiguration
type LabelConfiguration struct {
// Custom labels in addition to orchestration system labels.
Custom Labels `json:"custom"`
// Labels derived from orchestration system which have been disabled.
Disabled Labels `json:"disabled"`
// Labels derived from orchestration system that are used in computing a security identity
OrchestrationIdentity Labels `json:"orchestration-identity"`
// Labels derived from orchestration system that are not used in computing a security identity
OrchestrationInfo Labels `json:"orchestration-info"`
}
// Validate validates this label configuration
func (m *LabelConfiguration) Validate(formats strfmt.Registry) error {
var res []error
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
}