Documentation
¶
Index ¶
- type Client
- func (a *Client) ListAnexiaVlans(params *ListAnexiaVlansParams, authInfo runtime.ClientAuthInfoWriter) (*ListAnexiaVlansOK, error)
- func (a *Client) ListAnexiaVlansNoCredentialsV2(params *ListAnexiaVlansNoCredentialsV2Params, ...) (*ListAnexiaVlansNoCredentialsV2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type ListAnexiaVlansDefault
- type ListAnexiaVlansNoCredentialsV2Default
- type ListAnexiaVlansNoCredentialsV2OK
- type ListAnexiaVlansNoCredentialsV2Params
- func NewListAnexiaVlansNoCredentialsV2Params() *ListAnexiaVlansNoCredentialsV2Params
- func NewListAnexiaVlansNoCredentialsV2ParamsWithContext(ctx context.Context) *ListAnexiaVlansNoCredentialsV2Params
- func NewListAnexiaVlansNoCredentialsV2ParamsWithHTTPClient(client *http.Client) *ListAnexiaVlansNoCredentialsV2Params
- func NewListAnexiaVlansNoCredentialsV2ParamsWithTimeout(timeout time.Duration) *ListAnexiaVlansNoCredentialsV2Params
- func (o *ListAnexiaVlansNoCredentialsV2Params) SetClusterID(clusterID string)
- func (o *ListAnexiaVlansNoCredentialsV2Params) SetContext(ctx context.Context)
- func (o *ListAnexiaVlansNoCredentialsV2Params) SetHTTPClient(client *http.Client)
- func (o *ListAnexiaVlansNoCredentialsV2Params) SetProjectID(projectID string)
- func (o *ListAnexiaVlansNoCredentialsV2Params) SetTimeout(timeout time.Duration)
- func (o *ListAnexiaVlansNoCredentialsV2Params) WithClusterID(clusterID string) *ListAnexiaVlansNoCredentialsV2Params
- func (o *ListAnexiaVlansNoCredentialsV2Params) WithContext(ctx context.Context) *ListAnexiaVlansNoCredentialsV2Params
- func (o *ListAnexiaVlansNoCredentialsV2Params) WithHTTPClient(client *http.Client) *ListAnexiaVlansNoCredentialsV2Params
- func (o *ListAnexiaVlansNoCredentialsV2Params) WithProjectID(projectID string) *ListAnexiaVlansNoCredentialsV2Params
- func (o *ListAnexiaVlansNoCredentialsV2Params) WithTimeout(timeout time.Duration) *ListAnexiaVlansNoCredentialsV2Params
- func (o *ListAnexiaVlansNoCredentialsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAnexiaVlansNoCredentialsV2Reader
- type ListAnexiaVlansOK
- type ListAnexiaVlansParams
- func NewListAnexiaVlansParams() *ListAnexiaVlansParams
- func NewListAnexiaVlansParamsWithContext(ctx context.Context) *ListAnexiaVlansParams
- func NewListAnexiaVlansParamsWithHTTPClient(client *http.Client) *ListAnexiaVlansParams
- func NewListAnexiaVlansParamsWithTimeout(timeout time.Duration) *ListAnexiaVlansParams
- func (o *ListAnexiaVlansParams) SetContext(ctx context.Context)
- func (o *ListAnexiaVlansParams) SetCredential(credential *string)
- func (o *ListAnexiaVlansParams) SetHTTPClient(client *http.Client)
- func (o *ListAnexiaVlansParams) SetTimeout(timeout time.Duration)
- func (o *ListAnexiaVlansParams) SetToken(token *string)
- func (o *ListAnexiaVlansParams) WithContext(ctx context.Context) *ListAnexiaVlansParams
- func (o *ListAnexiaVlansParams) WithCredential(credential *string) *ListAnexiaVlansParams
- func (o *ListAnexiaVlansParams) WithHTTPClient(client *http.Client) *ListAnexiaVlansParams
- func (o *ListAnexiaVlansParams) WithTimeout(timeout time.Duration) *ListAnexiaVlansParams
- func (o *ListAnexiaVlansParams) WithToken(token *string) *ListAnexiaVlansParams
- func (o *ListAnexiaVlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAnexiaVlansReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for anexia API
func (*Client) ListAnexiaVlans ¶
func (a *Client) ListAnexiaVlans(params *ListAnexiaVlansParams, authInfo runtime.ClientAuthInfoWriter) (*ListAnexiaVlansOK, error)
ListAnexiaVlans Lists vlans from anexia
func (*Client) ListAnexiaVlansNoCredentialsV2 ¶
func (a *Client) ListAnexiaVlansNoCredentialsV2(params *ListAnexiaVlansNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter) (*ListAnexiaVlansNoCredentialsV2OK, error)
ListAnexiaVlansNoCredentialsV2 Lists vlans from Anexia
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { ListAnexiaVlans(params *ListAnexiaVlansParams, authInfo runtime.ClientAuthInfoWriter) (*ListAnexiaVlansOK, error) ListAnexiaVlansNoCredentialsV2(params *ListAnexiaVlansNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter) (*ListAnexiaVlansNoCredentialsV2OK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new anexia API client.
type ListAnexiaVlansDefault ¶
type ListAnexiaVlansDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListAnexiaVlansDefault handles this case with default header values.
errorResponse
func NewListAnexiaVlansDefault ¶
func NewListAnexiaVlansDefault(code int) *ListAnexiaVlansDefault
NewListAnexiaVlansDefault creates a ListAnexiaVlansDefault with default headers values
func (*ListAnexiaVlansDefault) Code ¶
func (o *ListAnexiaVlansDefault) Code() int
Code gets the status code for the list anexia vlans default response
func (*ListAnexiaVlansDefault) Error ¶
func (o *ListAnexiaVlansDefault) Error() string
func (*ListAnexiaVlansDefault) GetPayload ¶
func (o *ListAnexiaVlansDefault) GetPayload() *models.ErrorResponse
type ListAnexiaVlansNoCredentialsV2Default ¶
type ListAnexiaVlansNoCredentialsV2Default struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListAnexiaVlansNoCredentialsV2Default handles this case with default header values.
errorResponse
func NewListAnexiaVlansNoCredentialsV2Default ¶
func NewListAnexiaVlansNoCredentialsV2Default(code int) *ListAnexiaVlansNoCredentialsV2Default
NewListAnexiaVlansNoCredentialsV2Default creates a ListAnexiaVlansNoCredentialsV2Default with default headers values
func (*ListAnexiaVlansNoCredentialsV2Default) Code ¶
func (o *ListAnexiaVlansNoCredentialsV2Default) Code() int
Code gets the status code for the list anexia vlans no credentials v2 default response
func (*ListAnexiaVlansNoCredentialsV2Default) Error ¶
func (o *ListAnexiaVlansNoCredentialsV2Default) Error() string
func (*ListAnexiaVlansNoCredentialsV2Default) GetPayload ¶
func (o *ListAnexiaVlansNoCredentialsV2Default) GetPayload() *models.ErrorResponse
type ListAnexiaVlansNoCredentialsV2OK ¶
type ListAnexiaVlansNoCredentialsV2OK struct {
Payload models.AnexiaVlanList
}
ListAnexiaVlansNoCredentialsV2OK handles this case with default header values.
AnexiaVlanList
func NewListAnexiaVlansNoCredentialsV2OK ¶
func NewListAnexiaVlansNoCredentialsV2OK() *ListAnexiaVlansNoCredentialsV2OK
NewListAnexiaVlansNoCredentialsV2OK creates a ListAnexiaVlansNoCredentialsV2OK with default headers values
func (*ListAnexiaVlansNoCredentialsV2OK) Error ¶
func (o *ListAnexiaVlansNoCredentialsV2OK) Error() string
func (*ListAnexiaVlansNoCredentialsV2OK) GetPayload ¶
func (o *ListAnexiaVlansNoCredentialsV2OK) GetPayload() models.AnexiaVlanList
type ListAnexiaVlansNoCredentialsV2Params ¶
type ListAnexiaVlansNoCredentialsV2Params struct { /*ClusterID*/ ClusterID string /*ProjectID*/ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAnexiaVlansNoCredentialsV2Params contains all the parameters to send to the API endpoint for the list anexia vlans no credentials v2 operation typically these are written to a http.Request
func NewListAnexiaVlansNoCredentialsV2Params ¶
func NewListAnexiaVlansNoCredentialsV2Params() *ListAnexiaVlansNoCredentialsV2Params
NewListAnexiaVlansNoCredentialsV2Params creates a new ListAnexiaVlansNoCredentialsV2Params object with the default values initialized.
func NewListAnexiaVlansNoCredentialsV2ParamsWithContext ¶
func NewListAnexiaVlansNoCredentialsV2ParamsWithContext(ctx context.Context) *ListAnexiaVlansNoCredentialsV2Params
NewListAnexiaVlansNoCredentialsV2ParamsWithContext creates a new ListAnexiaVlansNoCredentialsV2Params object with the default values initialized, and the ability to set a context for a request
func NewListAnexiaVlansNoCredentialsV2ParamsWithHTTPClient ¶
func NewListAnexiaVlansNoCredentialsV2ParamsWithHTTPClient(client *http.Client) *ListAnexiaVlansNoCredentialsV2Params
NewListAnexiaVlansNoCredentialsV2ParamsWithHTTPClient creates a new ListAnexiaVlansNoCredentialsV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListAnexiaVlansNoCredentialsV2ParamsWithTimeout ¶
func NewListAnexiaVlansNoCredentialsV2ParamsWithTimeout(timeout time.Duration) *ListAnexiaVlansNoCredentialsV2Params
NewListAnexiaVlansNoCredentialsV2ParamsWithTimeout creates a new ListAnexiaVlansNoCredentialsV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*ListAnexiaVlansNoCredentialsV2Params) SetClusterID ¶
func (o *ListAnexiaVlansNoCredentialsV2Params) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the list anexia vlans no credentials v2 params
func (*ListAnexiaVlansNoCredentialsV2Params) SetContext ¶
func (o *ListAnexiaVlansNoCredentialsV2Params) SetContext(ctx context.Context)
SetContext adds the context to the list anexia vlans no credentials v2 params
func (*ListAnexiaVlansNoCredentialsV2Params) SetHTTPClient ¶
func (o *ListAnexiaVlansNoCredentialsV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list anexia vlans no credentials v2 params
func (*ListAnexiaVlansNoCredentialsV2Params) SetProjectID ¶
func (o *ListAnexiaVlansNoCredentialsV2Params) SetProjectID(projectID string)
SetProjectID adds the projectId to the list anexia vlans no credentials v2 params
func (*ListAnexiaVlansNoCredentialsV2Params) SetTimeout ¶
func (o *ListAnexiaVlansNoCredentialsV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list anexia vlans no credentials v2 params
func (*ListAnexiaVlansNoCredentialsV2Params) WithClusterID ¶
func (o *ListAnexiaVlansNoCredentialsV2Params) WithClusterID(clusterID string) *ListAnexiaVlansNoCredentialsV2Params
WithClusterID adds the clusterID to the list anexia vlans no credentials v2 params
func (*ListAnexiaVlansNoCredentialsV2Params) WithContext ¶
func (o *ListAnexiaVlansNoCredentialsV2Params) WithContext(ctx context.Context) *ListAnexiaVlansNoCredentialsV2Params
WithContext adds the context to the list anexia vlans no credentials v2 params
func (*ListAnexiaVlansNoCredentialsV2Params) WithHTTPClient ¶
func (o *ListAnexiaVlansNoCredentialsV2Params) WithHTTPClient(client *http.Client) *ListAnexiaVlansNoCredentialsV2Params
WithHTTPClient adds the HTTPClient to the list anexia vlans no credentials v2 params
func (*ListAnexiaVlansNoCredentialsV2Params) WithProjectID ¶
func (o *ListAnexiaVlansNoCredentialsV2Params) WithProjectID(projectID string) *ListAnexiaVlansNoCredentialsV2Params
WithProjectID adds the projectID to the list anexia vlans no credentials v2 params
func (*ListAnexiaVlansNoCredentialsV2Params) WithTimeout ¶
func (o *ListAnexiaVlansNoCredentialsV2Params) WithTimeout(timeout time.Duration) *ListAnexiaVlansNoCredentialsV2Params
WithTimeout adds the timeout to the list anexia vlans no credentials v2 params
func (*ListAnexiaVlansNoCredentialsV2Params) WriteToRequest ¶
func (o *ListAnexiaVlansNoCredentialsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAnexiaVlansNoCredentialsV2Reader ¶
type ListAnexiaVlansNoCredentialsV2Reader struct {
// contains filtered or unexported fields
}
ListAnexiaVlansNoCredentialsV2Reader is a Reader for the ListAnexiaVlansNoCredentialsV2 structure.
func (*ListAnexiaVlansNoCredentialsV2Reader) ReadResponse ¶
func (o *ListAnexiaVlansNoCredentialsV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAnexiaVlansOK ¶
type ListAnexiaVlansOK struct {
Payload models.AnexiaVlanList
}
ListAnexiaVlansOK handles this case with default header values.
AnexiaVlanList
func NewListAnexiaVlansOK ¶
func NewListAnexiaVlansOK() *ListAnexiaVlansOK
NewListAnexiaVlansOK creates a ListAnexiaVlansOK with default headers values
func (*ListAnexiaVlansOK) Error ¶
func (o *ListAnexiaVlansOK) Error() string
func (*ListAnexiaVlansOK) GetPayload ¶
func (o *ListAnexiaVlansOK) GetPayload() models.AnexiaVlanList
type ListAnexiaVlansParams ¶
type ListAnexiaVlansParams struct { /*Credential*/ Credential *string /*Token*/ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAnexiaVlansParams contains all the parameters to send to the API endpoint for the list anexia vlans operation typically these are written to a http.Request
func NewListAnexiaVlansParams ¶
func NewListAnexiaVlansParams() *ListAnexiaVlansParams
NewListAnexiaVlansParams creates a new ListAnexiaVlansParams object with the default values initialized.
func NewListAnexiaVlansParamsWithContext ¶
func NewListAnexiaVlansParamsWithContext(ctx context.Context) *ListAnexiaVlansParams
NewListAnexiaVlansParamsWithContext creates a new ListAnexiaVlansParams object with the default values initialized, and the ability to set a context for a request
func NewListAnexiaVlansParamsWithHTTPClient ¶
func NewListAnexiaVlansParamsWithHTTPClient(client *http.Client) *ListAnexiaVlansParams
NewListAnexiaVlansParamsWithHTTPClient creates a new ListAnexiaVlansParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListAnexiaVlansParamsWithTimeout ¶
func NewListAnexiaVlansParamsWithTimeout(timeout time.Duration) *ListAnexiaVlansParams
NewListAnexiaVlansParamsWithTimeout creates a new ListAnexiaVlansParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListAnexiaVlansParams) SetContext ¶
func (o *ListAnexiaVlansParams) SetContext(ctx context.Context)
SetContext adds the context to the list anexia vlans params
func (*ListAnexiaVlansParams) SetCredential ¶
func (o *ListAnexiaVlansParams) SetCredential(credential *string)
SetCredential adds the credential to the list anexia vlans params
func (*ListAnexiaVlansParams) SetHTTPClient ¶
func (o *ListAnexiaVlansParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list anexia vlans params
func (*ListAnexiaVlansParams) SetTimeout ¶
func (o *ListAnexiaVlansParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list anexia vlans params
func (*ListAnexiaVlansParams) SetToken ¶
func (o *ListAnexiaVlansParams) SetToken(token *string)
SetToken adds the token to the list anexia vlans params
func (*ListAnexiaVlansParams) WithContext ¶
func (o *ListAnexiaVlansParams) WithContext(ctx context.Context) *ListAnexiaVlansParams
WithContext adds the context to the list anexia vlans params
func (*ListAnexiaVlansParams) WithCredential ¶
func (o *ListAnexiaVlansParams) WithCredential(credential *string) *ListAnexiaVlansParams
WithCredential adds the credential to the list anexia vlans params
func (*ListAnexiaVlansParams) WithHTTPClient ¶
func (o *ListAnexiaVlansParams) WithHTTPClient(client *http.Client) *ListAnexiaVlansParams
WithHTTPClient adds the HTTPClient to the list anexia vlans params
func (*ListAnexiaVlansParams) WithTimeout ¶
func (o *ListAnexiaVlansParams) WithTimeout(timeout time.Duration) *ListAnexiaVlansParams
WithTimeout adds the timeout to the list anexia vlans params
func (*ListAnexiaVlansParams) WithToken ¶
func (o *ListAnexiaVlansParams) WithToken(token *string) *ListAnexiaVlansParams
WithToken adds the token to the list anexia vlans params
func (*ListAnexiaVlansParams) WriteToRequest ¶
func (o *ListAnexiaVlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAnexiaVlansReader ¶
type ListAnexiaVlansReader struct {
// contains filtered or unexported fields
}
ListAnexiaVlansReader is a Reader for the ListAnexiaVlans structure.
func (*ListAnexiaVlansReader) ReadResponse ¶
func (o *ListAnexiaVlansReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.