Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssessmentResponse ¶
type AssessmentResponse struct {
// details
Details []*Details `json:"details"`
// enforcements
Enforcements []*Enforcement `json:"enforcements"`
// passed
Passed bool `json:"passed,omitempty"`
// total
Total int32 `json:"total,omitempty"`
// vulnerable
Vulnerable int32 `json:"vulnerable,omitempty"`
}
AssessmentResponse assessment response
swagger:model AssessmentResponse
func (*AssessmentResponse) MarshalBinary ¶
func (m *AssessmentResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssessmentResponse) UnmarshalBinary ¶
func (m *AssessmentResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Details ¶
type Details struct {
// baseline
Baseline string `json:"baseline,omitempty"`
// container
// Required: true
Container *string `json:"container"`
// dimension
Dimension string `json:"dimension,omitempty"`
// failure
// Required: true
Failure *string `json:"failure"`
// workload
// Required: true
Workload *string `json:"workload"`
}
Details details
swagger:model Details
func (*Details) MarshalBinary ¶
MarshalBinary interface implementation
func (*Details) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Enforcement ¶
type Enforcement struct {
// kind
// Required: true
Kind *string `json:"kind"`
// settings
Settings string `json:"settings,omitempty"`
// status
// Required: true
Status *string `json:"status"`
}
Enforcement enforcement
swagger:model Enforcement
func (*Enforcement) MarshalBinary ¶
func (m *Enforcement) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Enforcement) UnmarshalBinary ¶
func (m *Enforcement) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NSWithPolicies ¶
type NSWithPolicies struct {
// name of inspection policies applied to the namespace
Name string `json:"name,omitempty"`
// policies
Policies []string `json:"policies"`
}
NSWithPolicies n s with policies
swagger:model NSWithPolicies
func (*NSWithPolicies) MarshalBinary ¶
func (m *NSWithPolicies) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NSWithPolicies) UnmarshalBinary ¶
func (m *NSWithPolicies) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatusResponse ¶
type StatusResponse struct {
// status
Status string `json:"status,omitempty"`
// timestamp
Timestamp string `json:"timestamp,omitempty"`
}
StatusResponse status response
swagger:model StatusResponse
func (*StatusResponse) MarshalBinary ¶
func (m *StatusResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatusResponse) UnmarshalBinary ¶
func (m *StatusResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation