models

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {

	// Error message
	// Required: true
	Message *string `json:"message"`
}

Error error

swagger:model Error

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type PolicyID

type PolicyID string

PolicyID A unique policy ID

swagger:model PolicyId

func (PolicyID) Validate

func (m PolicyID) Validate(formats strfmt.Registry) error

Validate validates this policy Id

type RemediateResource

type RemediateResource struct {

	// policy Id
	// Required: true
	PolicyID PolicyID `json:"policyId"`

	// resource Id
	// Required: true
	ResourceID ResourceID `json:"resourceId"`
}

RemediateResource remediate resource

swagger:model RemediateResource

func (*RemediateResource) MarshalBinary

func (m *RemediateResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemediateResource) UnmarshalBinary

func (m *RemediateResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemediateResource) Validate

func (m *RemediateResource) Validate(formats strfmt.Registry) error

Validate validates this remediate resource

type Remediations

type Remediations map[string]interface{}

Remediations remediations

swagger:model Remediations

func (Remediations) Validate

func (m Remediations) Validate(formats strfmt.Registry) error

Validate validates this remediations

type ResourceID

type ResourceID string

ResourceID Unique resource identifier

swagger:model ResourceId

func (ResourceID) Validate

func (m ResourceID) Validate(formats strfmt.Registry) error

Validate validates this resource Id

Jump to

Keyboard shortcuts

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