github.com/goharbor/go-client@v0.210.0/pkg/sdk/v2.0/models/annotations.go (about)

     1  // Code generated by go-swagger; DO NOT EDIT.
     2  
     3  package models
     4  
     5  // This file was generated by the swagger tool.
     6  // Editing this file might prove futile when you re-run the swagger generate command
     7  
     8  import (
     9  	"context"
    10  
    11  	"github.com/go-openapi/strfmt"
    12  )
    13  
    14  // Annotations annotations
    15  //
    16  // swagger:model Annotations
    17  type Annotations map[string]string
    18  
    19  // Validate validates this annotations
    20  func (m Annotations) Validate(formats strfmt.Registry) error {
    21  	return nil
    22  }
    23  
    24  // ContextValidate validates this annotations based on context it is used
    25  func (m Annotations) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
    26  	return nil
    27  }