models

package
v2.7.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIResponse

type APIResponse struct {

	// message
	Message string `json:"message,omitempty"`
}

APIResponse An object that is returned in all cases of failures.

swagger:model ApiResponse

func (*APIResponse) ContextValidate

func (m *APIResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api response based on context it is used

func (*APIResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*APIResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIResponse) Validate

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

Validate validates this Api response

type SBOM

type SBOM struct {

	// sbom
	// Format: byte
	Sbom strfmt.Base64 `json:"sbom,omitempty"`
}

SBOM Software Bill Of Materials as stored in the DB.

swagger:model SBOM

func (*SBOM) ContextValidate

func (m *SBOM) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s b o m based on context it is used

func (*SBOM) MarshalBinary

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

MarshalBinary interface implementation

func (*SBOM) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SBOM) Validate

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

Validate validates this s b o m

type SuccessResponse

type SuccessResponse struct {

	// message
	Message string `json:"message,omitempty"`
}

SuccessResponse An object that is returned in cases of success that returns nothing.

swagger:model SuccessResponse

func (*SuccessResponse) ContextValidate

func (m *SuccessResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this success response based on context it is used

func (*SuccessResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*SuccessResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SuccessResponse) Validate

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

Validate validates this success response

Jump to

Keyboard shortcuts

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