azure_blob_store

package
v0.0.0-...-f4869d1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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 azure blob store API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) VerifyConnection1

func (a *Client) VerifyConnection1(params *VerifyConnection1Params, opts ...ClientOption) (*VerifyConnection1NoContent, error)

VerifyConnection1 verifies connection using supplied azure blob store settings

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	VerifyConnection1(params *VerifyConnection1Params, opts ...ClientOption) (*VerifyConnection1NoContent, 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 azure blob store API client.

type VerifyConnection1BadRequest

type VerifyConnection1BadRequest struct {
}

VerifyConnection1BadRequest describes a response with status code 400, with default header values.

Azure Blob Store connection failed

func NewVerifyConnection1BadRequest

func NewVerifyConnection1BadRequest() *VerifyConnection1BadRequest

NewVerifyConnection1BadRequest creates a VerifyConnection1BadRequest with default headers values

func (*VerifyConnection1BadRequest) Code

func (o *VerifyConnection1BadRequest) Code() int

Code gets the status code for the verify connection1 bad request response

func (*VerifyConnection1BadRequest) Error

func (*VerifyConnection1BadRequest) IsClientError

func (o *VerifyConnection1BadRequest) IsClientError() bool

IsClientError returns true when this verify connection1 bad request response has a 4xx status code

func (*VerifyConnection1BadRequest) IsCode

func (o *VerifyConnection1BadRequest) IsCode(code int) bool

IsCode returns true when this verify connection1 bad request response a status code equal to that given

func (*VerifyConnection1BadRequest) IsRedirect

func (o *VerifyConnection1BadRequest) IsRedirect() bool

IsRedirect returns true when this verify connection1 bad request response has a 3xx status code

func (*VerifyConnection1BadRequest) IsServerError

func (o *VerifyConnection1BadRequest) IsServerError() bool

IsServerError returns true when this verify connection1 bad request response has a 5xx status code

func (*VerifyConnection1BadRequest) IsSuccess

func (o *VerifyConnection1BadRequest) IsSuccess() bool

IsSuccess returns true when this verify connection1 bad request response has a 2xx status code

func (*VerifyConnection1BadRequest) String

func (o *VerifyConnection1BadRequest) String() string

type VerifyConnection1Forbidden

type VerifyConnection1Forbidden struct {
}

VerifyConnection1Forbidden describes a response with status code 403, with default header values.

Insufficient permissions

func NewVerifyConnection1Forbidden

func NewVerifyConnection1Forbidden() *VerifyConnection1Forbidden

NewVerifyConnection1Forbidden creates a VerifyConnection1Forbidden with default headers values

func (*VerifyConnection1Forbidden) Code

func (o *VerifyConnection1Forbidden) Code() int

Code gets the status code for the verify connection1 forbidden response

func (*VerifyConnection1Forbidden) Error

func (*VerifyConnection1Forbidden) IsClientError

func (o *VerifyConnection1Forbidden) IsClientError() bool

IsClientError returns true when this verify connection1 forbidden response has a 4xx status code

func (*VerifyConnection1Forbidden) IsCode

func (o *VerifyConnection1Forbidden) IsCode(code int) bool

IsCode returns true when this verify connection1 forbidden response a status code equal to that given

func (*VerifyConnection1Forbidden) IsRedirect

func (o *VerifyConnection1Forbidden) IsRedirect() bool

IsRedirect returns true when this verify connection1 forbidden response has a 3xx status code

func (*VerifyConnection1Forbidden) IsServerError

func (o *VerifyConnection1Forbidden) IsServerError() bool

IsServerError returns true when this verify connection1 forbidden response has a 5xx status code

func (*VerifyConnection1Forbidden) IsSuccess

func (o *VerifyConnection1Forbidden) IsSuccess() bool

IsSuccess returns true when this verify connection1 forbidden response has a 2xx status code

func (*VerifyConnection1Forbidden) String

func (o *VerifyConnection1Forbidden) String() string

type VerifyConnection1NoContent

type VerifyConnection1NoContent struct {
}

VerifyConnection1NoContent describes a response with status code 204, with default header values.

Azure Blob Store connection was successful

func NewVerifyConnection1NoContent

func NewVerifyConnection1NoContent() *VerifyConnection1NoContent

NewVerifyConnection1NoContent creates a VerifyConnection1NoContent with default headers values

func (*VerifyConnection1NoContent) Code

func (o *VerifyConnection1NoContent) Code() int

Code gets the status code for the verify connection1 no content response

func (*VerifyConnection1NoContent) Error

func (*VerifyConnection1NoContent) IsClientError

func (o *VerifyConnection1NoContent) IsClientError() bool

IsClientError returns true when this verify connection1 no content response has a 4xx status code

func (*VerifyConnection1NoContent) IsCode

func (o *VerifyConnection1NoContent) IsCode(code int) bool

IsCode returns true when this verify connection1 no content response a status code equal to that given

func (*VerifyConnection1NoContent) IsRedirect

func (o *VerifyConnection1NoContent) IsRedirect() bool

IsRedirect returns true when this verify connection1 no content response has a 3xx status code

func (*VerifyConnection1NoContent) IsServerError

func (o *VerifyConnection1NoContent) IsServerError() bool

IsServerError returns true when this verify connection1 no content response has a 5xx status code

func (*VerifyConnection1NoContent) IsSuccess

func (o *VerifyConnection1NoContent) IsSuccess() bool

IsSuccess returns true when this verify connection1 no content response has a 2xx status code

func (*VerifyConnection1NoContent) String

func (o *VerifyConnection1NoContent) String() string

type VerifyConnection1Params

type VerifyConnection1Params struct {

	// Body.
	Body *models.AzureConnectionXO

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

VerifyConnection1Params contains all the parameters to send to the API endpoint

for the verify connection 1 operation.

Typically these are written to a http.Request.

func NewVerifyConnection1Params

func NewVerifyConnection1Params() *VerifyConnection1Params

NewVerifyConnection1Params creates a new VerifyConnection1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewVerifyConnection1ParamsWithContext

func NewVerifyConnection1ParamsWithContext(ctx context.Context) *VerifyConnection1Params

NewVerifyConnection1ParamsWithContext creates a new VerifyConnection1Params object with the ability to set a context for a request.

func NewVerifyConnection1ParamsWithHTTPClient

func NewVerifyConnection1ParamsWithHTTPClient(client *http.Client) *VerifyConnection1Params

NewVerifyConnection1ParamsWithHTTPClient creates a new VerifyConnection1Params object with the ability to set a custom HTTPClient for a request.

func NewVerifyConnection1ParamsWithTimeout

func NewVerifyConnection1ParamsWithTimeout(timeout time.Duration) *VerifyConnection1Params

NewVerifyConnection1ParamsWithTimeout creates a new VerifyConnection1Params object with the ability to set a timeout on a request.

func (*VerifyConnection1Params) SetBody

SetBody adds the body to the verify connection 1 params

func (*VerifyConnection1Params) SetContext

func (o *VerifyConnection1Params) SetContext(ctx context.Context)

SetContext adds the context to the verify connection 1 params

func (*VerifyConnection1Params) SetDefaults

func (o *VerifyConnection1Params) SetDefaults()

SetDefaults hydrates default values in the verify connection 1 params (not the query body).

All values with no default are reset to their zero value.

func (*VerifyConnection1Params) SetHTTPClient

func (o *VerifyConnection1Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the verify connection 1 params

func (*VerifyConnection1Params) SetTimeout

func (o *VerifyConnection1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the verify connection 1 params

func (*VerifyConnection1Params) WithBody

WithBody adds the body to the verify connection 1 params

func (*VerifyConnection1Params) WithContext

WithContext adds the context to the verify connection 1 params

func (*VerifyConnection1Params) WithDefaults

WithDefaults hydrates default values in the verify connection 1 params (not the query body).

All values with no default are reset to their zero value.

func (*VerifyConnection1Params) WithHTTPClient

func (o *VerifyConnection1Params) WithHTTPClient(client *http.Client) *VerifyConnection1Params

WithHTTPClient adds the HTTPClient to the verify connection 1 params

func (*VerifyConnection1Params) WithTimeout

WithTimeout adds the timeout to the verify connection 1 params

func (*VerifyConnection1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type VerifyConnection1Reader

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

VerifyConnection1Reader is a Reader for the VerifyConnection1 structure.

func (*VerifyConnection1Reader) ReadResponse

func (o *VerifyConnection1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type VerifyConnection1Unauthorized

type VerifyConnection1Unauthorized struct {
}

VerifyConnection1Unauthorized describes a response with status code 401, with default header values.

Authentication required

func NewVerifyConnection1Unauthorized

func NewVerifyConnection1Unauthorized() *VerifyConnection1Unauthorized

NewVerifyConnection1Unauthorized creates a VerifyConnection1Unauthorized with default headers values

func (*VerifyConnection1Unauthorized) Code

Code gets the status code for the verify connection1 unauthorized response

func (*VerifyConnection1Unauthorized) Error

func (*VerifyConnection1Unauthorized) IsClientError

func (o *VerifyConnection1Unauthorized) IsClientError() bool

IsClientError returns true when this verify connection1 unauthorized response has a 4xx status code

func (*VerifyConnection1Unauthorized) IsCode

func (o *VerifyConnection1Unauthorized) IsCode(code int) bool

IsCode returns true when this verify connection1 unauthorized response a status code equal to that given

func (*VerifyConnection1Unauthorized) IsRedirect

func (o *VerifyConnection1Unauthorized) IsRedirect() bool

IsRedirect returns true when this verify connection1 unauthorized response has a 3xx status code

func (*VerifyConnection1Unauthorized) IsServerError

func (o *VerifyConnection1Unauthorized) IsServerError() bool

IsServerError returns true when this verify connection1 unauthorized response has a 5xx status code

func (*VerifyConnection1Unauthorized) IsSuccess

func (o *VerifyConnection1Unauthorized) IsSuccess() bool

IsSuccess returns true when this verify connection1 unauthorized response has a 2xx status code

func (*VerifyConnection1Unauthorized) String

Jump to

Keyboard shortcuts

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