github.com/cilium/cilium@v1.16.2/api/v1/health/models/error.go (about)

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