repository

package
v0.0.0-...-5d714f6 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const GetNgcImagesOKCode int = 200

GetNgcImagesOKCode is the HTTP code returned for type GetNgcImagesOK

View Source
const GetNgcRepositoriesOKCode int = 200

GetNgcRepositoriesOKCode is the HTTP code returned for type GetNgcRepositoriesOK

View Source
const GetRemoteImagesOKCode int = 200

GetRemoteImagesOKCode is the HTTP code returned for type GetRemoteImagesOK

View Source
const GetRemoteRepositoriesOKCode int = 200

GetRemoteRepositoriesOKCode is the HTTP code returned for type GetRemoteRepositoriesOK

View Source
const GetRepositoriesOKCode int = 200

GetRepositoriesOKCode is the HTTP code returned for type GetRepositoriesOK

Variables

This section is empty.

Functions

This section is empty.

Types

type GetNgcImages

type GetNgcImages struct {
	Context *middleware.Context
	Handler GetNgcImagesHandler
}

GetNgcImages swagger:route GET /nvidia/repositories/{namespace}/images/{id} repository getNgcImages

returns NGC images

func NewGetNgcImages

func NewGetNgcImages(ctx *middleware.Context, handler GetNgcImagesHandler) *GetNgcImages

NewGetNgcImages creates a new http.Handler for the get ngc images operation

func (*GetNgcImages) ServeHTTP

func (o *GetNgcImages) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetNgcImagesDefault

type GetNgcImagesDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetNgcImagesDefault Unexpected error

swagger:response getNgcImagesDefault

func NewGetNgcImagesDefault

func NewGetNgcImagesDefault(code int) *GetNgcImagesDefault

NewGetNgcImagesDefault creates GetNgcImagesDefault with default headers values

func (*GetNgcImagesDefault) SetPayload

func (o *GetNgcImagesDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get ngc images default response

func (*GetNgcImagesDefault) SetStatusCode

func (o *GetNgcImagesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get ngc images default response

func (*GetNgcImagesDefault) WithPayload

func (o *GetNgcImagesDefault) WithPayload(payload *models.Error) *GetNgcImagesDefault

WithPayload adds the payload to the get ngc images default response

func (*GetNgcImagesDefault) WithStatusCode

func (o *GetNgcImagesDefault) WithStatusCode(code int) *GetNgcImagesDefault

WithStatusCode adds the status to the get ngc images default response

func (*GetNgcImagesDefault) WriteResponse

func (o *GetNgcImagesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetNgcImagesHandler

type GetNgcImagesHandler interface {
	Handle(GetNgcImagesParams, *auth.Principal) middleware.Responder
}

GetNgcImagesHandler interface for that can handle valid get ngc images params

type GetNgcImagesHandlerFunc

type GetNgcImagesHandlerFunc func(GetNgcImagesParams, *auth.Principal) middleware.Responder

GetNgcImagesHandlerFunc turns a function with the right signature into a get ngc images handler

func (GetNgcImagesHandlerFunc) Handle

Handle executing the request and returning a response

type GetNgcImagesOK

type GetNgcImagesOK struct {

	/*
	  In: Body
	*/
	Payload []*models.NgcImage `json:"body,omitempty"`
}

GetNgcImagesOK OK

swagger:response getNgcImagesOK

func NewGetNgcImagesOK

func NewGetNgcImagesOK() *GetNgcImagesOK

NewGetNgcImagesOK creates GetNgcImagesOK with default headers values

func (*GetNgcImagesOK) SetPayload

func (o *GetNgcImagesOK) SetPayload(payload []*models.NgcImage)

SetPayload sets the payload to the get ngc images o k response

func (*GetNgcImagesOK) WithPayload

func (o *GetNgcImagesOK) WithPayload(payload []*models.NgcImage) *GetNgcImagesOK

WithPayload adds the payload to the get ngc images o k response

func (*GetNgcImagesOK) WriteResponse

func (o *GetNgcImagesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetNgcImagesParams

type GetNgcImagesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Docker image name
	  Required: true
	  In: path
	*/
	ID string
	/*Docker repositry namespace
	  Required: true
	  In: path
	*/
	Namespace string
}

GetNgcImagesParams contains all the bound params for the get ngc images operation typically these are obtained from a http.Request

swagger:parameters getNgcImages

func NewGetNgcImagesParams

func NewGetNgcImagesParams() GetNgcImagesParams

NewGetNgcImagesParams creates a new GetNgcImagesParams object no default values defined in spec.

func (*GetNgcImagesParams) BindRequest

func (o *GetNgcImagesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetNgcImagesParams() beforehand.

type GetNgcImagesURL

type GetNgcImagesURL struct {
	ID        string
	Namespace string
	// contains filtered or unexported fields
}

GetNgcImagesURL generates an URL for the get ngc images operation

func (*GetNgcImagesURL) Build

func (o *GetNgcImagesURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetNgcImagesURL) BuildFull

func (o *GetNgcImagesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetNgcImagesURL) Must

func (o *GetNgcImagesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetNgcImagesURL) SetBasePath

func (o *GetNgcImagesURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetNgcImagesURL) String

func (o *GetNgcImagesURL) String() string

String returns the string representation of the path with query string

func (*GetNgcImagesURL) StringFull

func (o *GetNgcImagesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetNgcImagesURL) WithBasePath

func (o *GetNgcImagesURL) WithBasePath(bp string) *GetNgcImagesURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetNgcRepositories

type GetNgcRepositories struct {
	Context *middleware.Context
	Handler GetNgcRepositoriesHandler
}

GetNgcRepositories swagger:route GET /nvidia/repositories repository getNgcRepositories

returns NGC repositories

func NewGetNgcRepositories

func NewGetNgcRepositories(ctx *middleware.Context, handler GetNgcRepositoriesHandler) *GetNgcRepositories

NewGetNgcRepositories creates a new http.Handler for the get ngc repositories operation

func (*GetNgcRepositories) ServeHTTP

func (o *GetNgcRepositories) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetNgcRepositoriesDefault

type GetNgcRepositoriesDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetNgcRepositoriesDefault Unexpected error

swagger:response getNgcRepositoriesDefault

func NewGetNgcRepositoriesDefault

func NewGetNgcRepositoriesDefault(code int) *GetNgcRepositoriesDefault

NewGetNgcRepositoriesDefault creates GetNgcRepositoriesDefault with default headers values

func (*GetNgcRepositoriesDefault) SetPayload

func (o *GetNgcRepositoriesDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get ngc repositories default response

func (*GetNgcRepositoriesDefault) SetStatusCode

func (o *GetNgcRepositoriesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get ngc repositories default response

func (*GetNgcRepositoriesDefault) WithPayload

WithPayload adds the payload to the get ngc repositories default response

func (*GetNgcRepositoriesDefault) WithStatusCode

func (o *GetNgcRepositoriesDefault) WithStatusCode(code int) *GetNgcRepositoriesDefault

WithStatusCode adds the status to the get ngc repositories default response

func (*GetNgcRepositoriesDefault) WriteResponse

func (o *GetNgcRepositoriesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetNgcRepositoriesHandler

type GetNgcRepositoriesHandler interface {
	Handle(GetNgcRepositoriesParams, *auth.Principal) middleware.Responder
}

GetNgcRepositoriesHandler interface for that can handle valid get ngc repositories params

type GetNgcRepositoriesHandlerFunc

type GetNgcRepositoriesHandlerFunc func(GetNgcRepositoriesParams, *auth.Principal) middleware.Responder

GetNgcRepositoriesHandlerFunc turns a function with the right signature into a get ngc repositories handler

func (GetNgcRepositoriesHandlerFunc) Handle

Handle executing the request and returning a response

type GetNgcRepositoriesOK

type GetNgcRepositoriesOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Repository `json:"body,omitempty"`
}

GetNgcRepositoriesOK OK

swagger:response getNgcRepositoriesOK

func NewGetNgcRepositoriesOK

func NewGetNgcRepositoriesOK() *GetNgcRepositoriesOK

NewGetNgcRepositoriesOK creates GetNgcRepositoriesOK with default headers values

func (*GetNgcRepositoriesOK) SetPayload

func (o *GetNgcRepositoriesOK) SetPayload(payload []*models.Repository)

SetPayload sets the payload to the get ngc repositories o k response

func (*GetNgcRepositoriesOK) WithPayload

func (o *GetNgcRepositoriesOK) WithPayload(payload []*models.Repository) *GetNgcRepositoriesOK

WithPayload adds the payload to the get ngc repositories o k response

func (*GetNgcRepositoriesOK) WriteResponse

func (o *GetNgcRepositoriesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetNgcRepositoriesParams

type GetNgcRepositoriesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetNgcRepositoriesParams contains all the bound params for the get ngc repositories operation typically these are obtained from a http.Request

swagger:parameters getNgcRepositories

func NewGetNgcRepositoriesParams

func NewGetNgcRepositoriesParams() GetNgcRepositoriesParams

NewGetNgcRepositoriesParams creates a new GetNgcRepositoriesParams object no default values defined in spec.

func (*GetNgcRepositoriesParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetNgcRepositoriesParams() beforehand.

type GetNgcRepositoriesURL

type GetNgcRepositoriesURL struct {
	// contains filtered or unexported fields
}

GetNgcRepositoriesURL generates an URL for the get ngc repositories operation

func (*GetNgcRepositoriesURL) Build

func (o *GetNgcRepositoriesURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetNgcRepositoriesURL) BuildFull

func (o *GetNgcRepositoriesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetNgcRepositoriesURL) Must

func (o *GetNgcRepositoriesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetNgcRepositoriesURL) SetBasePath

func (o *GetNgcRepositoriesURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetNgcRepositoriesURL) String

func (o *GetNgcRepositoriesURL) String() string

String returns the string representation of the path with query string

func (*GetNgcRepositoriesURL) StringFull

func (o *GetNgcRepositoriesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetNgcRepositoriesURL) WithBasePath

func (o *GetNgcRepositoriesURL) WithBasePath(bp string) *GetNgcRepositoriesURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetRemoteImages

type GetRemoteImages struct {
	Context *middleware.Context
	Handler GetRemoteImagesHandler
}

GetRemoteImages swagger:route GET /remote-images/{id} repository getRemoteImages

returns remote images

func NewGetRemoteImages

func NewGetRemoteImages(ctx *middleware.Context, handler GetRemoteImagesHandler) *GetRemoteImages

NewGetRemoteImages creates a new http.Handler for the get remote images operation

func (*GetRemoteImages) ServeHTTP

func (o *GetRemoteImages) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetRemoteImagesDefault

type GetRemoteImagesDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetRemoteImagesDefault Unexpected error

swagger:response getRemoteImagesDefault

func NewGetRemoteImagesDefault

func NewGetRemoteImagesDefault(code int) *GetRemoteImagesDefault

NewGetRemoteImagesDefault creates GetRemoteImagesDefault with default headers values

func (*GetRemoteImagesDefault) SetPayload

func (o *GetRemoteImagesDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get remote images default response

func (*GetRemoteImagesDefault) SetStatusCode

func (o *GetRemoteImagesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get remote images default response

func (*GetRemoteImagesDefault) WithPayload

func (o *GetRemoteImagesDefault) WithPayload(payload *models.Error) *GetRemoteImagesDefault

WithPayload adds the payload to the get remote images default response

func (*GetRemoteImagesDefault) WithStatusCode

func (o *GetRemoteImagesDefault) WithStatusCode(code int) *GetRemoteImagesDefault

WithStatusCode adds the status to the get remote images default response

func (*GetRemoteImagesDefault) WriteResponse

func (o *GetRemoteImagesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetRemoteImagesHandler

type GetRemoteImagesHandler interface {
	Handle(GetRemoteImagesParams, *auth.Principal) middleware.Responder
}

GetRemoteImagesHandler interface for that can handle valid get remote images params

type GetRemoteImagesHandlerFunc

type GetRemoteImagesHandlerFunc func(GetRemoteImagesParams, *auth.Principal) middleware.Responder

GetRemoteImagesHandlerFunc turns a function with the right signature into a get remote images handler

func (GetRemoteImagesHandlerFunc) Handle

Handle executing the request and returning a response

type GetRemoteImagesOK

type GetRemoteImagesOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Image `json:"body,omitempty"`
}

GetRemoteImagesOK OK

swagger:response getRemoteImagesOK

func NewGetRemoteImagesOK

func NewGetRemoteImagesOK() *GetRemoteImagesOK

NewGetRemoteImagesOK creates GetRemoteImagesOK with default headers values

func (*GetRemoteImagesOK) SetPayload

func (o *GetRemoteImagesOK) SetPayload(payload []*models.Image)

SetPayload sets the payload to the get remote images o k response

func (*GetRemoteImagesOK) WithPayload

func (o *GetRemoteImagesOK) WithPayload(payload []*models.Image) *GetRemoteImagesOK

WithPayload adds the payload to the get remote images o k response

func (*GetRemoteImagesOK) WriteResponse

func (o *GetRemoteImagesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetRemoteImagesParams

type GetRemoteImagesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Docker image name
	  Required: true
	  In: path
	*/
	ID string
}

GetRemoteImagesParams contains all the bound params for the get remote images operation typically these are obtained from a http.Request

swagger:parameters getRemoteImages

func NewGetRemoteImagesParams

func NewGetRemoteImagesParams() GetRemoteImagesParams

NewGetRemoteImagesParams creates a new GetRemoteImagesParams object no default values defined in spec.

func (*GetRemoteImagesParams) BindRequest

func (o *GetRemoteImagesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetRemoteImagesParams() beforehand.

type GetRemoteImagesURL

type GetRemoteImagesURL struct {
	ID string
	// contains filtered or unexported fields
}

GetRemoteImagesURL generates an URL for the get remote images operation

func (*GetRemoteImagesURL) Build

func (o *GetRemoteImagesURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetRemoteImagesURL) BuildFull

func (o *GetRemoteImagesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetRemoteImagesURL) Must

func (o *GetRemoteImagesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetRemoteImagesURL) SetBasePath

func (o *GetRemoteImagesURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetRemoteImagesURL) String

func (o *GetRemoteImagesURL) String() string

String returns the string representation of the path with query string

func (*GetRemoteImagesURL) StringFull

func (o *GetRemoteImagesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetRemoteImagesURL) WithBasePath

func (o *GetRemoteImagesURL) WithBasePath(bp string) *GetRemoteImagesURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetRemoteRepositories

type GetRemoteRepositories struct {
	Context *middleware.Context
	Handler GetRemoteRepositoriesHandler
}

GetRemoteRepositories swagger:route GET /repositories repository getRemoteRepositories

returns remote repositories

func NewGetRemoteRepositories

func NewGetRemoteRepositories(ctx *middleware.Context, handler GetRemoteRepositoriesHandler) *GetRemoteRepositories

NewGetRemoteRepositories creates a new http.Handler for the get remote repositories operation

func (*GetRemoteRepositories) ServeHTTP

func (o *GetRemoteRepositories) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetRemoteRepositoriesDefault

type GetRemoteRepositoriesDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetRemoteRepositoriesDefault Unexpected error

swagger:response getRemoteRepositoriesDefault

func NewGetRemoteRepositoriesDefault

func NewGetRemoteRepositoriesDefault(code int) *GetRemoteRepositoriesDefault

NewGetRemoteRepositoriesDefault creates GetRemoteRepositoriesDefault with default headers values

func (*GetRemoteRepositoriesDefault) SetPayload

func (o *GetRemoteRepositoriesDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get remote repositories default response

func (*GetRemoteRepositoriesDefault) SetStatusCode

func (o *GetRemoteRepositoriesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get remote repositories default response

func (*GetRemoteRepositoriesDefault) WithPayload

WithPayload adds the payload to the get remote repositories default response

func (*GetRemoteRepositoriesDefault) WithStatusCode

WithStatusCode adds the status to the get remote repositories default response

func (*GetRemoteRepositoriesDefault) WriteResponse

func (o *GetRemoteRepositoriesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetRemoteRepositoriesHandler

type GetRemoteRepositoriesHandler interface {
	Handle(GetRemoteRepositoriesParams, *auth.Principal) middleware.Responder
}

GetRemoteRepositoriesHandler interface for that can handle valid get remote repositories params

type GetRemoteRepositoriesHandlerFunc

type GetRemoteRepositoriesHandlerFunc func(GetRemoteRepositoriesParams, *auth.Principal) middleware.Responder

GetRemoteRepositoriesHandlerFunc turns a function with the right signature into a get remote repositories handler

func (GetRemoteRepositoriesHandlerFunc) Handle

Handle executing the request and returning a response

type GetRemoteRepositoriesOK

type GetRemoteRepositoriesOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Repository `json:"body,omitempty"`
}

GetRemoteRepositoriesOK OK

swagger:response getRemoteRepositoriesOK

func NewGetRemoteRepositoriesOK

func NewGetRemoteRepositoriesOK() *GetRemoteRepositoriesOK

NewGetRemoteRepositoriesOK creates GetRemoteRepositoriesOK with default headers values

func (*GetRemoteRepositoriesOK) SetPayload

func (o *GetRemoteRepositoriesOK) SetPayload(payload []*models.Repository)

SetPayload sets the payload to the get remote repositories o k response

func (*GetRemoteRepositoriesOK) WithPayload

WithPayload adds the payload to the get remote repositories o k response

func (*GetRemoteRepositoriesOK) WriteResponse

func (o *GetRemoteRepositoriesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetRemoteRepositoriesParams

type GetRemoteRepositoriesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetRemoteRepositoriesParams contains all the bound params for the get remote repositories operation typically these are obtained from a http.Request

swagger:parameters getRemoteRepositories

func NewGetRemoteRepositoriesParams

func NewGetRemoteRepositoriesParams() GetRemoteRepositoriesParams

NewGetRemoteRepositoriesParams creates a new GetRemoteRepositoriesParams object no default values defined in spec.

func (*GetRemoteRepositoriesParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetRemoteRepositoriesParams() beforehand.

type GetRemoteRepositoriesURL

type GetRemoteRepositoriesURL struct {
	// contains filtered or unexported fields
}

GetRemoteRepositoriesURL generates an URL for the get remote repositories operation

func (*GetRemoteRepositoriesURL) Build

func (o *GetRemoteRepositoriesURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetRemoteRepositoriesURL) BuildFull

func (o *GetRemoteRepositoriesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetRemoteRepositoriesURL) Must

func (o *GetRemoteRepositoriesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetRemoteRepositoriesURL) SetBasePath

func (o *GetRemoteRepositoriesURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetRemoteRepositoriesURL) String

func (o *GetRemoteRepositoriesURL) String() string

String returns the string representation of the path with query string

func (*GetRemoteRepositoriesURL) StringFull

func (o *GetRemoteRepositoriesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetRemoteRepositoriesURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetRepositories

type GetRepositories struct {
	Context *middleware.Context
	Handler GetRepositoriesHandler
}

GetRepositories swagger:route GET /repositories repository getRepositories

returns NGC repositories

func NewGetRepositories

func NewGetRepositories(ctx *middleware.Context, handler GetRepositoriesHandler) *GetRepositories

NewGetRepositories creates a new http.Handler for the get repositories operation

func (*GetRepositories) ServeHTTP

func (o *GetRepositories) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetRepositoriesDefault

type GetRepositoriesDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetRepositoriesDefault Unexpected error

swagger:response getRepositoriesDefault

func NewGetRepositoriesDefault

func NewGetRepositoriesDefault(code int) *GetRepositoriesDefault

NewGetRepositoriesDefault creates GetRepositoriesDefault with default headers values

func (*GetRepositoriesDefault) SetPayload

func (o *GetRepositoriesDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get repositories default response

func (*GetRepositoriesDefault) SetStatusCode

func (o *GetRepositoriesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get repositories default response

func (*GetRepositoriesDefault) WithPayload

func (o *GetRepositoriesDefault) WithPayload(payload *models.Error) *GetRepositoriesDefault

WithPayload adds the payload to the get repositories default response

func (*GetRepositoriesDefault) WithStatusCode

func (o *GetRepositoriesDefault) WithStatusCode(code int) *GetRepositoriesDefault

WithStatusCode adds the status to the get repositories default response

func (*GetRepositoriesDefault) WriteResponse

func (o *GetRepositoriesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetRepositoriesHandler

type GetRepositoriesHandler interface {
	Handle(GetRepositoriesParams, *auth.Principal) middleware.Responder
}

GetRepositoriesHandler interface for that can handle valid get repositories params

type GetRepositoriesHandlerFunc

type GetRepositoriesHandlerFunc func(GetRepositoriesParams, *auth.Principal) middleware.Responder

GetRepositoriesHandlerFunc turns a function with the right signature into a get repositories handler

func (GetRepositoriesHandlerFunc) Handle

Handle executing the request and returning a response

type GetRepositoriesOK

type GetRepositoriesOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Repository `json:"body,omitempty"`
}

GetRepositoriesOK OK

swagger:response getRepositoriesOK

func NewGetRepositoriesOK

func NewGetRepositoriesOK() *GetRepositoriesOK

NewGetRepositoriesOK creates GetRepositoriesOK with default headers values

func (*GetRepositoriesOK) SetPayload

func (o *GetRepositoriesOK) SetPayload(payload []*models.Repository)

SetPayload sets the payload to the get repositories o k response

func (*GetRepositoriesOK) WithPayload

func (o *GetRepositoriesOK) WithPayload(payload []*models.Repository) *GetRepositoriesOK

WithPayload adds the payload to the get repositories o k response

func (*GetRepositoriesOK) WriteResponse

func (o *GetRepositoriesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetRepositoriesParams

type GetRepositoriesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetRepositoriesParams contains all the bound params for the get repositories operation typically these are obtained from a http.Request

swagger:parameters getRepositories

func NewGetRepositoriesParams

func NewGetRepositoriesParams() GetRepositoriesParams

NewGetRepositoriesParams creates a new GetRepositoriesParams object no default values defined in spec.

func (*GetRepositoriesParams) BindRequest

func (o *GetRepositoriesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetRepositoriesParams() beforehand.

type GetRepositoriesURL

type GetRepositoriesURL struct {
	// contains filtered or unexported fields
}

GetRepositoriesURL generates an URL for the get repositories operation

func (*GetRepositoriesURL) Build

func (o *GetRepositoriesURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetRepositoriesURL) BuildFull

func (o *GetRepositoriesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetRepositoriesURL) Must

func (o *GetRepositoriesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetRepositoriesURL) SetBasePath

func (o *GetRepositoriesURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetRepositoriesURL) String

func (o *GetRepositoriesURL) String() string

String returns the string representation of the path with query string

func (*GetRepositoriesURL) StringFull

func (o *GetRepositoriesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetRepositoriesURL) WithBasePath

func (o *GetRepositoriesURL) WithBasePath(bp string) *GetRepositoriesURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

Jump to

Keyboard shortcuts

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