Documentation ¶
Index ¶
- Constants
- type SubnetAPIKey
- type SubnetAPIKeyDefault
- func (o *SubnetAPIKeyDefault) SetPayload(payload *models.APIError)
- func (o *SubnetAPIKeyDefault) SetStatusCode(code int)
- func (o *SubnetAPIKeyDefault) WithPayload(payload *models.APIError) *SubnetAPIKeyDefault
- func (o *SubnetAPIKeyDefault) WithStatusCode(code int) *SubnetAPIKeyDefault
- func (o *SubnetAPIKeyDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubnetAPIKeyHandler
- type SubnetAPIKeyHandlerFunc
- type SubnetAPIKeyOK
- type SubnetAPIKeyParams
- type SubnetAPIKeyURL
- func (o *SubnetAPIKeyURL) Build() (*url.URL, error)
- func (o *SubnetAPIKeyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SubnetAPIKeyURL) Must(u *url.URL, err error) *url.URL
- func (o *SubnetAPIKeyURL) SetBasePath(bp string)
- func (o *SubnetAPIKeyURL) String() string
- func (o *SubnetAPIKeyURL) StringFull(scheme, host string) string
- func (o *SubnetAPIKeyURL) WithBasePath(bp string) *SubnetAPIKeyURL
- type SubnetInfo
- type SubnetInfoDefault
- func (o *SubnetInfoDefault) SetPayload(payload *models.APIError)
- func (o *SubnetInfoDefault) SetStatusCode(code int)
- func (o *SubnetInfoDefault) WithPayload(payload *models.APIError) *SubnetInfoDefault
- func (o *SubnetInfoDefault) WithStatusCode(code int) *SubnetInfoDefault
- func (o *SubnetInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubnetInfoHandler
- type SubnetInfoHandlerFunc
- type SubnetInfoOK
- type SubnetInfoParams
- type SubnetInfoURL
- func (o *SubnetInfoURL) Build() (*url.URL, error)
- func (o *SubnetInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SubnetInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *SubnetInfoURL) SetBasePath(bp string)
- func (o *SubnetInfoURL) String() string
- func (o *SubnetInfoURL) StringFull(scheme, host string) string
- func (o *SubnetInfoURL) WithBasePath(bp string) *SubnetInfoURL
- type SubnetLogin
- type SubnetLoginDefault
- func (o *SubnetLoginDefault) SetPayload(payload *models.APIError)
- func (o *SubnetLoginDefault) SetStatusCode(code int)
- func (o *SubnetLoginDefault) WithPayload(payload *models.APIError) *SubnetLoginDefault
- func (o *SubnetLoginDefault) WithStatusCode(code int) *SubnetLoginDefault
- func (o *SubnetLoginDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubnetLoginHandler
- type SubnetLoginHandlerFunc
- type SubnetLoginMFA
- type SubnetLoginMFADefault
- func (o *SubnetLoginMFADefault) SetPayload(payload *models.APIError)
- func (o *SubnetLoginMFADefault) SetStatusCode(code int)
- func (o *SubnetLoginMFADefault) WithPayload(payload *models.APIError) *SubnetLoginMFADefault
- func (o *SubnetLoginMFADefault) WithStatusCode(code int) *SubnetLoginMFADefault
- func (o *SubnetLoginMFADefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubnetLoginMFAHandler
- type SubnetLoginMFAHandlerFunc
- type SubnetLoginMFAOK
- type SubnetLoginMFAParams
- type SubnetLoginMFAURL
- func (o *SubnetLoginMFAURL) Build() (*url.URL, error)
- func (o *SubnetLoginMFAURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SubnetLoginMFAURL) Must(u *url.URL, err error) *url.URL
- func (o *SubnetLoginMFAURL) SetBasePath(bp string)
- func (o *SubnetLoginMFAURL) String() string
- func (o *SubnetLoginMFAURL) StringFull(scheme, host string) string
- func (o *SubnetLoginMFAURL) WithBasePath(bp string) *SubnetLoginMFAURL
- type SubnetLoginOK
- type SubnetLoginParams
- type SubnetLoginURL
- func (o *SubnetLoginURL) Build() (*url.URL, error)
- func (o *SubnetLoginURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SubnetLoginURL) Must(u *url.URL, err error) *url.URL
- func (o *SubnetLoginURL) SetBasePath(bp string)
- func (o *SubnetLoginURL) String() string
- func (o *SubnetLoginURL) StringFull(scheme, host string) string
- func (o *SubnetLoginURL) WithBasePath(bp string) *SubnetLoginURL
- type SubnetRegToken
- type SubnetRegTokenDefault
- func (o *SubnetRegTokenDefault) SetPayload(payload *models.APIError)
- func (o *SubnetRegTokenDefault) SetStatusCode(code int)
- func (o *SubnetRegTokenDefault) WithPayload(payload *models.APIError) *SubnetRegTokenDefault
- func (o *SubnetRegTokenDefault) WithStatusCode(code int) *SubnetRegTokenDefault
- func (o *SubnetRegTokenDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubnetRegTokenHandler
- type SubnetRegTokenHandlerFunc
- type SubnetRegTokenOK
- type SubnetRegTokenParams
- type SubnetRegTokenURL
- func (o *SubnetRegTokenURL) Build() (*url.URL, error)
- func (o *SubnetRegTokenURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SubnetRegTokenURL) Must(u *url.URL, err error) *url.URL
- func (o *SubnetRegTokenURL) SetBasePath(bp string)
- func (o *SubnetRegTokenURL) String() string
- func (o *SubnetRegTokenURL) StringFull(scheme, host string) string
- func (o *SubnetRegTokenURL) WithBasePath(bp string) *SubnetRegTokenURL
- type SubnetRegister
- type SubnetRegisterDefault
- func (o *SubnetRegisterDefault) SetPayload(payload *models.APIError)
- func (o *SubnetRegisterDefault) SetStatusCode(code int)
- func (o *SubnetRegisterDefault) WithPayload(payload *models.APIError) *SubnetRegisterDefault
- func (o *SubnetRegisterDefault) WithStatusCode(code int) *SubnetRegisterDefault
- func (o *SubnetRegisterDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubnetRegisterHandler
- type SubnetRegisterHandlerFunc
- type SubnetRegisterOK
- type SubnetRegisterParams
- type SubnetRegisterURL
- func (o *SubnetRegisterURL) Build() (*url.URL, error)
- func (o *SubnetRegisterURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SubnetRegisterURL) Must(u *url.URL, err error) *url.URL
- func (o *SubnetRegisterURL) SetBasePath(bp string)
- func (o *SubnetRegisterURL) String() string
- func (o *SubnetRegisterURL) StringFull(scheme, host string) string
- func (o *SubnetRegisterURL) WithBasePath(bp string) *SubnetRegisterURL
Constants ¶
const SubnetAPIKeyOKCode int = 200
SubnetAPIKeyOKCode is the HTTP code returned for type SubnetAPIKeyOK
const SubnetInfoOKCode int = 200
SubnetInfoOKCode is the HTTP code returned for type SubnetInfoOK
const SubnetLoginMFAOKCode int = 200
SubnetLoginMFAOKCode is the HTTP code returned for type SubnetLoginMFAOK
const SubnetLoginOKCode int = 200
SubnetLoginOKCode is the HTTP code returned for type SubnetLoginOK
const SubnetRegTokenOKCode int = 200
SubnetRegTokenOKCode is the HTTP code returned for type SubnetRegTokenOK
const SubnetRegisterOKCode int = 200
SubnetRegisterOKCode is the HTTP code returned for type SubnetRegisterOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SubnetAPIKey ¶ added in v0.2.3
type SubnetAPIKey struct { Context *middleware.Context Handler SubnetAPIKeyHandler }
SubnetAPIKey swagger:route GET /subnet/apikey Subnet subnetApiKey
Subnet api key
func NewSubnetAPIKey ¶ added in v0.2.3
func NewSubnetAPIKey(ctx *middleware.Context, handler SubnetAPIKeyHandler) *SubnetAPIKey
NewSubnetAPIKey creates a new http.Handler for the subnet Api key operation
func (*SubnetAPIKey) ServeHTTP ¶ added in v0.2.3
func (o *SubnetAPIKey) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SubnetAPIKeyDefault ¶ added in v0.2.3
type SubnetAPIKeyDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
SubnetAPIKeyDefault Generic error response.
swagger:response subnetApiKeyDefault
func NewSubnetAPIKeyDefault ¶ added in v0.2.3
func NewSubnetAPIKeyDefault(code int) *SubnetAPIKeyDefault
NewSubnetAPIKeyDefault creates SubnetAPIKeyDefault with default headers values
func (*SubnetAPIKeyDefault) SetPayload ¶ added in v0.2.3
func (o *SubnetAPIKeyDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the subnet Api key default response
func (*SubnetAPIKeyDefault) SetStatusCode ¶ added in v0.2.3
func (o *SubnetAPIKeyDefault) SetStatusCode(code int)
SetStatusCode sets the status to the subnet Api key default response
func (*SubnetAPIKeyDefault) WithPayload ¶ added in v0.2.3
func (o *SubnetAPIKeyDefault) WithPayload(payload *models.APIError) *SubnetAPIKeyDefault
WithPayload adds the payload to the subnet Api key default response
func (*SubnetAPIKeyDefault) WithStatusCode ¶ added in v0.2.3
func (o *SubnetAPIKeyDefault) WithStatusCode(code int) *SubnetAPIKeyDefault
WithStatusCode adds the status to the subnet Api key default response
func (*SubnetAPIKeyDefault) WriteResponse ¶ added in v0.2.3
func (o *SubnetAPIKeyDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubnetAPIKeyHandler ¶ added in v0.2.3
type SubnetAPIKeyHandler interface {
Handle(SubnetAPIKeyParams, *models.Principal) middleware.Responder
}
SubnetAPIKeyHandler interface for that can handle valid subnet Api key params
type SubnetAPIKeyHandlerFunc ¶ added in v0.2.3
type SubnetAPIKeyHandlerFunc func(SubnetAPIKeyParams, *models.Principal) middleware.Responder
SubnetAPIKeyHandlerFunc turns a function with the right signature into a subnet Api key handler
func (SubnetAPIKeyHandlerFunc) Handle ¶ added in v0.2.3
func (fn SubnetAPIKeyHandlerFunc) Handle(params SubnetAPIKeyParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type SubnetAPIKeyOK ¶ added in v0.2.3
SubnetAPIKeyOK A successful response.
swagger:response subnetApiKeyOK
func NewSubnetAPIKeyOK ¶ added in v0.2.3
func NewSubnetAPIKeyOK() *SubnetAPIKeyOK
NewSubnetAPIKeyOK creates SubnetAPIKeyOK with default headers values
func (*SubnetAPIKeyOK) SetPayload ¶ added in v0.2.3
func (o *SubnetAPIKeyOK) SetPayload(payload *models.APIKey)
SetPayload sets the payload to the subnet Api key o k response
func (*SubnetAPIKeyOK) WithPayload ¶ added in v0.2.3
func (o *SubnetAPIKeyOK) WithPayload(payload *models.APIKey) *SubnetAPIKeyOK
WithPayload adds the payload to the subnet Api key o k response
func (*SubnetAPIKeyOK) WriteResponse ¶ added in v0.2.3
func (o *SubnetAPIKeyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubnetAPIKeyParams ¶ added in v0.2.3
type SubnetAPIKeyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: query */ Token string }
SubnetAPIKeyParams contains all the bound params for the subnet Api key operation typically these are obtained from a http.Request
swagger:parameters SubnetApiKey
func NewSubnetAPIKeyParams ¶ added in v0.2.3
func NewSubnetAPIKeyParams() SubnetAPIKeyParams
NewSubnetAPIKeyParams creates a new SubnetAPIKeyParams object
There are no default values defined in the spec.
func (*SubnetAPIKeyParams) BindRequest ¶ added in v0.2.3
func (o *SubnetAPIKeyParams) 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 NewSubnetAPIKeyParams() beforehand.
type SubnetAPIKeyURL ¶ added in v0.2.3
type SubnetAPIKeyURL struct { Token string // contains filtered or unexported fields }
SubnetAPIKeyURL generates an URL for the subnet Api key operation
func (*SubnetAPIKeyURL) Build ¶ added in v0.2.3
func (o *SubnetAPIKeyURL) Build() (*url.URL, error)
Build a url path and query string
func (*SubnetAPIKeyURL) BuildFull ¶ added in v0.2.3
func (o *SubnetAPIKeyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SubnetAPIKeyURL) Must ¶ added in v0.2.3
Must is a helper function to panic when the url builder returns an error
func (*SubnetAPIKeyURL) SetBasePath ¶ added in v0.2.3
func (o *SubnetAPIKeyURL) 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 (*SubnetAPIKeyURL) String ¶ added in v0.2.3
func (o *SubnetAPIKeyURL) String() string
String returns the string representation of the path with query string
func (*SubnetAPIKeyURL) StringFull ¶ added in v0.2.3
func (o *SubnetAPIKeyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SubnetAPIKeyURL) WithBasePath ¶ added in v0.2.3
func (o *SubnetAPIKeyURL) WithBasePath(bp string) *SubnetAPIKeyURL
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 SubnetInfo ¶
type SubnetInfo struct { Context *middleware.Context Handler SubnetInfoHandler }
SubnetInfo swagger:route GET /subnet/info Subnet subnetInfo
Subnet info
func NewSubnetInfo ¶
func NewSubnetInfo(ctx *middleware.Context, handler SubnetInfoHandler) *SubnetInfo
NewSubnetInfo creates a new http.Handler for the subnet info operation
func (*SubnetInfo) ServeHTTP ¶
func (o *SubnetInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SubnetInfoDefault ¶
type SubnetInfoDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
SubnetInfoDefault Generic error response.
swagger:response subnetInfoDefault
func NewSubnetInfoDefault ¶
func NewSubnetInfoDefault(code int) *SubnetInfoDefault
NewSubnetInfoDefault creates SubnetInfoDefault with default headers values
func (*SubnetInfoDefault) SetPayload ¶
func (o *SubnetInfoDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the subnet info default response
func (*SubnetInfoDefault) SetStatusCode ¶
func (o *SubnetInfoDefault) SetStatusCode(code int)
SetStatusCode sets the status to the subnet info default response
func (*SubnetInfoDefault) WithPayload ¶
func (o *SubnetInfoDefault) WithPayload(payload *models.APIError) *SubnetInfoDefault
WithPayload adds the payload to the subnet info default response
func (*SubnetInfoDefault) WithStatusCode ¶
func (o *SubnetInfoDefault) WithStatusCode(code int) *SubnetInfoDefault
WithStatusCode adds the status to the subnet info default response
func (*SubnetInfoDefault) WriteResponse ¶
func (o *SubnetInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubnetInfoHandler ¶
type SubnetInfoHandler interface {
Handle(SubnetInfoParams, *models.Principal) middleware.Responder
}
SubnetInfoHandler interface for that can handle valid subnet info params
type SubnetInfoHandlerFunc ¶
type SubnetInfoHandlerFunc func(SubnetInfoParams, *models.Principal) middleware.Responder
SubnetInfoHandlerFunc turns a function with the right signature into a subnet info handler
func (SubnetInfoHandlerFunc) Handle ¶
func (fn SubnetInfoHandlerFunc) Handle(params SubnetInfoParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type SubnetInfoOK ¶
SubnetInfoOK A successful response.
swagger:response subnetInfoOK
func NewSubnetInfoOK ¶
func NewSubnetInfoOK() *SubnetInfoOK
NewSubnetInfoOK creates SubnetInfoOK with default headers values
func (*SubnetInfoOK) SetPayload ¶
func (o *SubnetInfoOK) SetPayload(payload *models.License)
SetPayload sets the payload to the subnet info o k response
func (*SubnetInfoOK) WithPayload ¶
func (o *SubnetInfoOK) WithPayload(payload *models.License) *SubnetInfoOK
WithPayload adds the payload to the subnet info o k response
func (*SubnetInfoOK) WriteResponse ¶
func (o *SubnetInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubnetInfoParams ¶
SubnetInfoParams contains all the bound params for the subnet info operation typically these are obtained from a http.Request
swagger:parameters SubnetInfo
func NewSubnetInfoParams ¶
func NewSubnetInfoParams() SubnetInfoParams
NewSubnetInfoParams creates a new SubnetInfoParams object
There are no default values defined in the spec.
func (*SubnetInfoParams) BindRequest ¶
func (o *SubnetInfoParams) 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 NewSubnetInfoParams() beforehand.
type SubnetInfoURL ¶
type SubnetInfoURL struct {
// contains filtered or unexported fields
}
SubnetInfoURL generates an URL for the subnet info operation
func (*SubnetInfoURL) Build ¶
func (o *SubnetInfoURL) Build() (*url.URL, error)
Build a url path and query string
func (*SubnetInfoURL) BuildFull ¶
func (o *SubnetInfoURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SubnetInfoURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SubnetInfoURL) SetBasePath ¶
func (o *SubnetInfoURL) 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 (*SubnetInfoURL) String ¶
func (o *SubnetInfoURL) String() string
String returns the string representation of the path with query string
func (*SubnetInfoURL) StringFull ¶
func (o *SubnetInfoURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SubnetInfoURL) WithBasePath ¶
func (o *SubnetInfoURL) WithBasePath(bp string) *SubnetInfoURL
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 SubnetLogin ¶
type SubnetLogin struct { Context *middleware.Context Handler SubnetLoginHandler }
SubnetLogin swagger:route POST /subnet/login Subnet subnetLogin
Login to SUBNET
func NewSubnetLogin ¶
func NewSubnetLogin(ctx *middleware.Context, handler SubnetLoginHandler) *SubnetLogin
NewSubnetLogin creates a new http.Handler for the subnet login operation
func (*SubnetLogin) ServeHTTP ¶
func (o *SubnetLogin) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SubnetLoginDefault ¶
type SubnetLoginDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
SubnetLoginDefault Generic error response.
swagger:response subnetLoginDefault
func NewSubnetLoginDefault ¶
func NewSubnetLoginDefault(code int) *SubnetLoginDefault
NewSubnetLoginDefault creates SubnetLoginDefault with default headers values
func (*SubnetLoginDefault) SetPayload ¶
func (o *SubnetLoginDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the subnet login default response
func (*SubnetLoginDefault) SetStatusCode ¶
func (o *SubnetLoginDefault) SetStatusCode(code int)
SetStatusCode sets the status to the subnet login default response
func (*SubnetLoginDefault) WithPayload ¶
func (o *SubnetLoginDefault) WithPayload(payload *models.APIError) *SubnetLoginDefault
WithPayload adds the payload to the subnet login default response
func (*SubnetLoginDefault) WithStatusCode ¶
func (o *SubnetLoginDefault) WithStatusCode(code int) *SubnetLoginDefault
WithStatusCode adds the status to the subnet login default response
func (*SubnetLoginDefault) WriteResponse ¶
func (o *SubnetLoginDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubnetLoginHandler ¶
type SubnetLoginHandler interface {
Handle(SubnetLoginParams, *models.Principal) middleware.Responder
}
SubnetLoginHandler interface for that can handle valid subnet login params
type SubnetLoginHandlerFunc ¶
type SubnetLoginHandlerFunc func(SubnetLoginParams, *models.Principal) middleware.Responder
SubnetLoginHandlerFunc turns a function with the right signature into a subnet login handler
func (SubnetLoginHandlerFunc) Handle ¶
func (fn SubnetLoginHandlerFunc) Handle(params SubnetLoginParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type SubnetLoginMFA ¶
type SubnetLoginMFA struct { Context *middleware.Context Handler SubnetLoginMFAHandler }
SubnetLoginMFA swagger:route POST /subnet/login/mfa Subnet subnetLoginMFA
Login to SUBNET using mfa
func NewSubnetLoginMFA ¶
func NewSubnetLoginMFA(ctx *middleware.Context, handler SubnetLoginMFAHandler) *SubnetLoginMFA
NewSubnetLoginMFA creates a new http.Handler for the subnet login m f a operation
func (*SubnetLoginMFA) ServeHTTP ¶
func (o *SubnetLoginMFA) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SubnetLoginMFADefault ¶
type SubnetLoginMFADefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
SubnetLoginMFADefault Generic error response.
swagger:response subnetLoginMFADefault
func NewSubnetLoginMFADefault ¶
func NewSubnetLoginMFADefault(code int) *SubnetLoginMFADefault
NewSubnetLoginMFADefault creates SubnetLoginMFADefault with default headers values
func (*SubnetLoginMFADefault) SetPayload ¶
func (o *SubnetLoginMFADefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the subnet login m f a default response
func (*SubnetLoginMFADefault) SetStatusCode ¶
func (o *SubnetLoginMFADefault) SetStatusCode(code int)
SetStatusCode sets the status to the subnet login m f a default response
func (*SubnetLoginMFADefault) WithPayload ¶
func (o *SubnetLoginMFADefault) WithPayload(payload *models.APIError) *SubnetLoginMFADefault
WithPayload adds the payload to the subnet login m f a default response
func (*SubnetLoginMFADefault) WithStatusCode ¶
func (o *SubnetLoginMFADefault) WithStatusCode(code int) *SubnetLoginMFADefault
WithStatusCode adds the status to the subnet login m f a default response
func (*SubnetLoginMFADefault) WriteResponse ¶
func (o *SubnetLoginMFADefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubnetLoginMFAHandler ¶
type SubnetLoginMFAHandler interface {
Handle(SubnetLoginMFAParams, *models.Principal) middleware.Responder
}
SubnetLoginMFAHandler interface for that can handle valid subnet login m f a params
type SubnetLoginMFAHandlerFunc ¶
type SubnetLoginMFAHandlerFunc func(SubnetLoginMFAParams, *models.Principal) middleware.Responder
SubnetLoginMFAHandlerFunc turns a function with the right signature into a subnet login m f a handler
func (SubnetLoginMFAHandlerFunc) Handle ¶
func (fn SubnetLoginMFAHandlerFunc) Handle(params SubnetLoginMFAParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type SubnetLoginMFAOK ¶
type SubnetLoginMFAOK struct { /* In: Body */ Payload *models.SubnetLoginResponse `json:"body,omitempty"` }
SubnetLoginMFAOK A successful response.
swagger:response subnetLoginMFAOK
func NewSubnetLoginMFAOK ¶
func NewSubnetLoginMFAOK() *SubnetLoginMFAOK
NewSubnetLoginMFAOK creates SubnetLoginMFAOK with default headers values
func (*SubnetLoginMFAOK) SetPayload ¶
func (o *SubnetLoginMFAOK) SetPayload(payload *models.SubnetLoginResponse)
SetPayload sets the payload to the subnet login m f a o k response
func (*SubnetLoginMFAOK) WithPayload ¶
func (o *SubnetLoginMFAOK) WithPayload(payload *models.SubnetLoginResponse) *SubnetLoginMFAOK
WithPayload adds the payload to the subnet login m f a o k response
func (*SubnetLoginMFAOK) WriteResponse ¶
func (o *SubnetLoginMFAOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubnetLoginMFAParams ¶
type SubnetLoginMFAParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.SubnetLoginMFARequest }
SubnetLoginMFAParams contains all the bound params for the subnet login m f a operation typically these are obtained from a http.Request
swagger:parameters SubnetLoginMFA
func NewSubnetLoginMFAParams ¶
func NewSubnetLoginMFAParams() SubnetLoginMFAParams
NewSubnetLoginMFAParams creates a new SubnetLoginMFAParams object
There are no default values defined in the spec.
func (*SubnetLoginMFAParams) BindRequest ¶
func (o *SubnetLoginMFAParams) 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 NewSubnetLoginMFAParams() beforehand.
type SubnetLoginMFAURL ¶
type SubnetLoginMFAURL struct {
// contains filtered or unexported fields
}
SubnetLoginMFAURL generates an URL for the subnet login m f a operation
func (*SubnetLoginMFAURL) Build ¶
func (o *SubnetLoginMFAURL) Build() (*url.URL, error)
Build a url path and query string
func (*SubnetLoginMFAURL) BuildFull ¶
func (o *SubnetLoginMFAURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SubnetLoginMFAURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SubnetLoginMFAURL) SetBasePath ¶
func (o *SubnetLoginMFAURL) 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 (*SubnetLoginMFAURL) String ¶
func (o *SubnetLoginMFAURL) String() string
String returns the string representation of the path with query string
func (*SubnetLoginMFAURL) StringFull ¶
func (o *SubnetLoginMFAURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SubnetLoginMFAURL) WithBasePath ¶
func (o *SubnetLoginMFAURL) WithBasePath(bp string) *SubnetLoginMFAURL
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 SubnetLoginOK ¶
type SubnetLoginOK struct { /* In: Body */ Payload *models.SubnetLoginResponse `json:"body,omitempty"` }
SubnetLoginOK A successful response.
swagger:response subnetLoginOK
func NewSubnetLoginOK ¶
func NewSubnetLoginOK() *SubnetLoginOK
NewSubnetLoginOK creates SubnetLoginOK with default headers values
func (*SubnetLoginOK) SetPayload ¶
func (o *SubnetLoginOK) SetPayload(payload *models.SubnetLoginResponse)
SetPayload sets the payload to the subnet login o k response
func (*SubnetLoginOK) WithPayload ¶
func (o *SubnetLoginOK) WithPayload(payload *models.SubnetLoginResponse) *SubnetLoginOK
WithPayload adds the payload to the subnet login o k response
func (*SubnetLoginOK) WriteResponse ¶
func (o *SubnetLoginOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubnetLoginParams ¶
type SubnetLoginParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.SubnetLoginRequest }
SubnetLoginParams contains all the bound params for the subnet login operation typically these are obtained from a http.Request
swagger:parameters SubnetLogin
func NewSubnetLoginParams ¶
func NewSubnetLoginParams() SubnetLoginParams
NewSubnetLoginParams creates a new SubnetLoginParams object
There are no default values defined in the spec.
func (*SubnetLoginParams) BindRequest ¶
func (o *SubnetLoginParams) 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 NewSubnetLoginParams() beforehand.
type SubnetLoginURL ¶
type SubnetLoginURL struct {
// contains filtered or unexported fields
}
SubnetLoginURL generates an URL for the subnet login operation
func (*SubnetLoginURL) Build ¶
func (o *SubnetLoginURL) Build() (*url.URL, error)
Build a url path and query string
func (*SubnetLoginURL) BuildFull ¶
func (o *SubnetLoginURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SubnetLoginURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SubnetLoginURL) SetBasePath ¶
func (o *SubnetLoginURL) 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 (*SubnetLoginURL) String ¶
func (o *SubnetLoginURL) String() string
String returns the string representation of the path with query string
func (*SubnetLoginURL) StringFull ¶
func (o *SubnetLoginURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SubnetLoginURL) WithBasePath ¶
func (o *SubnetLoginURL) WithBasePath(bp string) *SubnetLoginURL
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 SubnetRegToken ¶
type SubnetRegToken struct { Context *middleware.Context Handler SubnetRegTokenHandler }
SubnetRegToken swagger:route GET /subnet/registration-token Subnet subnetRegToken
SUBNET registraton token
func NewSubnetRegToken ¶
func NewSubnetRegToken(ctx *middleware.Context, handler SubnetRegTokenHandler) *SubnetRegToken
NewSubnetRegToken creates a new http.Handler for the subnet reg token operation
func (*SubnetRegToken) ServeHTTP ¶
func (o *SubnetRegToken) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SubnetRegTokenDefault ¶
type SubnetRegTokenDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
SubnetRegTokenDefault Generic error response.
swagger:response subnetRegTokenDefault
func NewSubnetRegTokenDefault ¶
func NewSubnetRegTokenDefault(code int) *SubnetRegTokenDefault
NewSubnetRegTokenDefault creates SubnetRegTokenDefault with default headers values
func (*SubnetRegTokenDefault) SetPayload ¶
func (o *SubnetRegTokenDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the subnet reg token default response
func (*SubnetRegTokenDefault) SetStatusCode ¶
func (o *SubnetRegTokenDefault) SetStatusCode(code int)
SetStatusCode sets the status to the subnet reg token default response
func (*SubnetRegTokenDefault) WithPayload ¶
func (o *SubnetRegTokenDefault) WithPayload(payload *models.APIError) *SubnetRegTokenDefault
WithPayload adds the payload to the subnet reg token default response
func (*SubnetRegTokenDefault) WithStatusCode ¶
func (o *SubnetRegTokenDefault) WithStatusCode(code int) *SubnetRegTokenDefault
WithStatusCode adds the status to the subnet reg token default response
func (*SubnetRegTokenDefault) WriteResponse ¶
func (o *SubnetRegTokenDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubnetRegTokenHandler ¶
type SubnetRegTokenHandler interface {
Handle(SubnetRegTokenParams, *models.Principal) middleware.Responder
}
SubnetRegTokenHandler interface for that can handle valid subnet reg token params
type SubnetRegTokenHandlerFunc ¶
type SubnetRegTokenHandlerFunc func(SubnetRegTokenParams, *models.Principal) middleware.Responder
SubnetRegTokenHandlerFunc turns a function with the right signature into a subnet reg token handler
func (SubnetRegTokenHandlerFunc) Handle ¶
func (fn SubnetRegTokenHandlerFunc) Handle(params SubnetRegTokenParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type SubnetRegTokenOK ¶
type SubnetRegTokenOK struct { /* In: Body */ Payload *models.SubnetRegTokenResponse `json:"body,omitempty"` }
SubnetRegTokenOK A successful response.
swagger:response subnetRegTokenOK
func NewSubnetRegTokenOK ¶
func NewSubnetRegTokenOK() *SubnetRegTokenOK
NewSubnetRegTokenOK creates SubnetRegTokenOK with default headers values
func (*SubnetRegTokenOK) SetPayload ¶
func (o *SubnetRegTokenOK) SetPayload(payload *models.SubnetRegTokenResponse)
SetPayload sets the payload to the subnet reg token o k response
func (*SubnetRegTokenOK) WithPayload ¶
func (o *SubnetRegTokenOK) WithPayload(payload *models.SubnetRegTokenResponse) *SubnetRegTokenOK
WithPayload adds the payload to the subnet reg token o k response
func (*SubnetRegTokenOK) WriteResponse ¶
func (o *SubnetRegTokenOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubnetRegTokenParams ¶
SubnetRegTokenParams contains all the bound params for the subnet reg token operation typically these are obtained from a http.Request
swagger:parameters SubnetRegToken
func NewSubnetRegTokenParams ¶
func NewSubnetRegTokenParams() SubnetRegTokenParams
NewSubnetRegTokenParams creates a new SubnetRegTokenParams object
There are no default values defined in the spec.
func (*SubnetRegTokenParams) BindRequest ¶
func (o *SubnetRegTokenParams) 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 NewSubnetRegTokenParams() beforehand.
type SubnetRegTokenURL ¶
type SubnetRegTokenURL struct {
// contains filtered or unexported fields
}
SubnetRegTokenURL generates an URL for the subnet reg token operation
func (*SubnetRegTokenURL) Build ¶
func (o *SubnetRegTokenURL) Build() (*url.URL, error)
Build a url path and query string
func (*SubnetRegTokenURL) BuildFull ¶
func (o *SubnetRegTokenURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SubnetRegTokenURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SubnetRegTokenURL) SetBasePath ¶
func (o *SubnetRegTokenURL) 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 (*SubnetRegTokenURL) String ¶
func (o *SubnetRegTokenURL) String() string
String returns the string representation of the path with query string
func (*SubnetRegTokenURL) StringFull ¶
func (o *SubnetRegTokenURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SubnetRegTokenURL) WithBasePath ¶
func (o *SubnetRegTokenURL) WithBasePath(bp string) *SubnetRegTokenURL
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 SubnetRegister ¶
type SubnetRegister struct { Context *middleware.Context Handler SubnetRegisterHandler }
SubnetRegister swagger:route POST /subnet/register Subnet subnetRegister
Register cluster with Subnet
func NewSubnetRegister ¶
func NewSubnetRegister(ctx *middleware.Context, handler SubnetRegisterHandler) *SubnetRegister
NewSubnetRegister creates a new http.Handler for the subnet register operation
func (*SubnetRegister) ServeHTTP ¶
func (o *SubnetRegister) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SubnetRegisterDefault ¶
type SubnetRegisterDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
SubnetRegisterDefault Generic error response.
swagger:response subnetRegisterDefault
func NewSubnetRegisterDefault ¶
func NewSubnetRegisterDefault(code int) *SubnetRegisterDefault
NewSubnetRegisterDefault creates SubnetRegisterDefault with default headers values
func (*SubnetRegisterDefault) SetPayload ¶
func (o *SubnetRegisterDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the subnet register default response
func (*SubnetRegisterDefault) SetStatusCode ¶
func (o *SubnetRegisterDefault) SetStatusCode(code int)
SetStatusCode sets the status to the subnet register default response
func (*SubnetRegisterDefault) WithPayload ¶
func (o *SubnetRegisterDefault) WithPayload(payload *models.APIError) *SubnetRegisterDefault
WithPayload adds the payload to the subnet register default response
func (*SubnetRegisterDefault) WithStatusCode ¶
func (o *SubnetRegisterDefault) WithStatusCode(code int) *SubnetRegisterDefault
WithStatusCode adds the status to the subnet register default response
func (*SubnetRegisterDefault) WriteResponse ¶
func (o *SubnetRegisterDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubnetRegisterHandler ¶
type SubnetRegisterHandler interface {
Handle(SubnetRegisterParams, *models.Principal) middleware.Responder
}
SubnetRegisterHandler interface for that can handle valid subnet register params
type SubnetRegisterHandlerFunc ¶
type SubnetRegisterHandlerFunc func(SubnetRegisterParams, *models.Principal) middleware.Responder
SubnetRegisterHandlerFunc turns a function with the right signature into a subnet register handler
func (SubnetRegisterHandlerFunc) Handle ¶
func (fn SubnetRegisterHandlerFunc) Handle(params SubnetRegisterParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type SubnetRegisterOK ¶
type SubnetRegisterOK struct { }
SubnetRegisterOK A successful response.
swagger:response subnetRegisterOK
func NewSubnetRegisterOK ¶
func NewSubnetRegisterOK() *SubnetRegisterOK
NewSubnetRegisterOK creates SubnetRegisterOK with default headers values
func (*SubnetRegisterOK) WriteResponse ¶
func (o *SubnetRegisterOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubnetRegisterParams ¶
type SubnetRegisterParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.SubnetRegisterRequest }
SubnetRegisterParams contains all the bound params for the subnet register operation typically these are obtained from a http.Request
swagger:parameters SubnetRegister
func NewSubnetRegisterParams ¶
func NewSubnetRegisterParams() SubnetRegisterParams
NewSubnetRegisterParams creates a new SubnetRegisterParams object
There are no default values defined in the spec.
func (*SubnetRegisterParams) BindRequest ¶
func (o *SubnetRegisterParams) 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 NewSubnetRegisterParams() beforehand.
type SubnetRegisterURL ¶
type SubnetRegisterURL struct {
// contains filtered or unexported fields
}
SubnetRegisterURL generates an URL for the subnet register operation
func (*SubnetRegisterURL) Build ¶
func (o *SubnetRegisterURL) Build() (*url.URL, error)
Build a url path and query string
func (*SubnetRegisterURL) BuildFull ¶
func (o *SubnetRegisterURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SubnetRegisterURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SubnetRegisterURL) SetBasePath ¶
func (o *SubnetRegisterURL) 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 (*SubnetRegisterURL) String ¶
func (o *SubnetRegisterURL) String() string
String returns the string representation of the path with query string
func (*SubnetRegisterURL) StringFull ¶
func (o *SubnetRegisterURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SubnetRegisterURL) WithBasePath ¶
func (o *SubnetRegisterURL) WithBasePath(bp string) *SubnetRegisterURL
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
Source Files ¶
- subnet_api_key.go
- subnet_api_key_parameters.go
- subnet_api_key_responses.go
- subnet_api_key_urlbuilder.go
- subnet_info.go
- subnet_info_parameters.go
- subnet_info_responses.go
- subnet_info_urlbuilder.go
- subnet_login.go
- subnet_login_m_f_a.go
- subnet_login_m_f_a_parameters.go
- subnet_login_m_f_a_responses.go
- subnet_login_m_f_a_urlbuilder.go
- subnet_login_parameters.go
- subnet_login_responses.go
- subnet_login_urlbuilder.go
- subnet_reg_token.go
- subnet_reg_token_parameters.go
- subnet_reg_token_responses.go
- subnet_reg_token_urlbuilder.go
- subnet_register.go
- subnet_register_parameters.go
- subnet_register_responses.go
- subnet_register_urlbuilder.go