auth_config_service

package
v0.59.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MPL-2.0 Imports: 11 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 auth config service API

func (*Client) CreateAuthConnection

func (a *Client) CreateAuthConnection(params *CreateAuthConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAuthConnectionOK, error)

CreateAuthConnection creates auth connection creates an auth connection

func (*Client) DeleteAuthConnectionFromOrganization

func (a *Client) DeleteAuthConnectionFromOrganization(params *DeleteAuthConnectionFromOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAuthConnectionFromOrganizationOK, error)

DeleteAuthConnectionFromOrganization deletes auth connection from organization permanently deletes a persisted auth connection

func (*Client) EditAuthConnection

func (a *Client) EditAuthConnection(params *EditAuthConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditAuthConnectionOK, error)

EditAuthConnection edits auth connection edits an existing auth connection

func (*Client) GetAuthConnections

func (a *Client) GetAuthConnections(params *GetAuthConnectionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAuthConnectionsOK, error)

GetAuthConnections get auth connections API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateAuthConnection(params *CreateAuthConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAuthConnectionOK, error)

	DeleteAuthConnectionFromOrganization(params *DeleteAuthConnectionFromOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAuthConnectionFromOrganizationOK, error)

	EditAuthConnection(params *EditAuthConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditAuthConnectionOK, error)

	GetAuthConnections(params *GetAuthConnectionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAuthConnectionsOK, 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 auth config service API client.

type CreateAuthConnectionDefault

type CreateAuthConnectionDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

CreateAuthConnectionDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewCreateAuthConnectionDefault

func NewCreateAuthConnectionDefault(code int) *CreateAuthConnectionDefault

NewCreateAuthConnectionDefault creates a CreateAuthConnectionDefault with default headers values

func (*CreateAuthConnectionDefault) Code

func (o *CreateAuthConnectionDefault) Code() int

Code gets the status code for the create auth connection default response

func (*CreateAuthConnectionDefault) Error

func (*CreateAuthConnectionDefault) GetPayload

func (*CreateAuthConnectionDefault) IsClientError

func (o *CreateAuthConnectionDefault) IsClientError() bool

IsClientError returns true when this create auth connection default response has a 4xx status code

func (*CreateAuthConnectionDefault) IsCode

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

IsCode returns true when this create auth connection default response a status code equal to that given

func (*CreateAuthConnectionDefault) IsRedirect

func (o *CreateAuthConnectionDefault) IsRedirect() bool

IsRedirect returns true when this create auth connection default response has a 3xx status code

func (*CreateAuthConnectionDefault) IsServerError

func (o *CreateAuthConnectionDefault) IsServerError() bool

IsServerError returns true when this create auth connection default response has a 5xx status code

func (*CreateAuthConnectionDefault) IsSuccess

func (o *CreateAuthConnectionDefault) IsSuccess() bool

IsSuccess returns true when this create auth connection default response has a 2xx status code

func (*CreateAuthConnectionDefault) String

func (o *CreateAuthConnectionDefault) String() string

type CreateAuthConnectionOK

type CreateAuthConnectionOK struct {
	Payload *models.HashicorpCloudIamCreateAuthConnectionResponse
}

CreateAuthConnectionOK describes a response with status code 200, with default header values.

A successful response.

func NewCreateAuthConnectionOK

func NewCreateAuthConnectionOK() *CreateAuthConnectionOK

NewCreateAuthConnectionOK creates a CreateAuthConnectionOK with default headers values

func (*CreateAuthConnectionOK) Error

func (o *CreateAuthConnectionOK) Error() string

func (*CreateAuthConnectionOK) GetPayload

func (*CreateAuthConnectionOK) IsClientError

func (o *CreateAuthConnectionOK) IsClientError() bool

IsClientError returns true when this create auth connection o k response has a 4xx status code

func (*CreateAuthConnectionOK) IsCode

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

IsCode returns true when this create auth connection o k response a status code equal to that given

func (*CreateAuthConnectionOK) IsRedirect

func (o *CreateAuthConnectionOK) IsRedirect() bool

IsRedirect returns true when this create auth connection o k response has a 3xx status code

func (*CreateAuthConnectionOK) IsServerError

func (o *CreateAuthConnectionOK) IsServerError() bool

IsServerError returns true when this create auth connection o k response has a 5xx status code

func (*CreateAuthConnectionOK) IsSuccess

func (o *CreateAuthConnectionOK) IsSuccess() bool

IsSuccess returns true when this create auth connection o k response has a 2xx status code

func (*CreateAuthConnectionOK) String

func (o *CreateAuthConnectionOK) String() string

type CreateAuthConnectionParams

type CreateAuthConnectionParams struct {

	// Body.
	Body *models.HashicorpCloudIamCreateAuthConnectionRequest

	/* OrganizationID.

	   organization_id is the organization that will own the authentication connection.
	*/
	OrganizationID string

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

CreateAuthConnectionParams contains all the parameters to send to the API endpoint

for the create auth connection operation.

Typically these are written to a http.Request.

func NewCreateAuthConnectionParams

func NewCreateAuthConnectionParams() *CreateAuthConnectionParams

NewCreateAuthConnectionParams creates a new CreateAuthConnectionParams 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 NewCreateAuthConnectionParamsWithContext

func NewCreateAuthConnectionParamsWithContext(ctx context.Context) *CreateAuthConnectionParams

NewCreateAuthConnectionParamsWithContext creates a new CreateAuthConnectionParams object with the ability to set a context for a request.

func NewCreateAuthConnectionParamsWithHTTPClient

func NewCreateAuthConnectionParamsWithHTTPClient(client *http.Client) *CreateAuthConnectionParams

NewCreateAuthConnectionParamsWithHTTPClient creates a new CreateAuthConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateAuthConnectionParamsWithTimeout

func NewCreateAuthConnectionParamsWithTimeout(timeout time.Duration) *CreateAuthConnectionParams

NewCreateAuthConnectionParamsWithTimeout creates a new CreateAuthConnectionParams object with the ability to set a timeout on a request.

func (*CreateAuthConnectionParams) SetBody

SetBody adds the body to the create auth connection params

func (*CreateAuthConnectionParams) SetContext

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

SetContext adds the context to the create auth connection params

func (*CreateAuthConnectionParams) SetDefaults

func (o *CreateAuthConnectionParams) SetDefaults()

SetDefaults hydrates default values in the create auth connection params (not the query body).

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

func (*CreateAuthConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create auth connection params

func (*CreateAuthConnectionParams) SetOrganizationID

func (o *CreateAuthConnectionParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the create auth connection params

func (*CreateAuthConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the create auth connection params

func (*CreateAuthConnectionParams) WithBody

WithBody adds the body to the create auth connection params

func (*CreateAuthConnectionParams) WithContext

WithContext adds the context to the create auth connection params

func (*CreateAuthConnectionParams) WithDefaults

WithDefaults hydrates default values in the create auth connection params (not the query body).

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

func (*CreateAuthConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create auth connection params

func (*CreateAuthConnectionParams) WithOrganizationID

func (o *CreateAuthConnectionParams) WithOrganizationID(organizationID string) *CreateAuthConnectionParams

WithOrganizationID adds the organizationID to the create auth connection params

func (*CreateAuthConnectionParams) WithTimeout

WithTimeout adds the timeout to the create auth connection params

func (*CreateAuthConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateAuthConnectionReader

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

CreateAuthConnectionReader is a Reader for the CreateAuthConnection structure.

func (*CreateAuthConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAuthConnectionFromOrganizationDefault

type DeleteAuthConnectionFromOrganizationDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

DeleteAuthConnectionFromOrganizationDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewDeleteAuthConnectionFromOrganizationDefault

func NewDeleteAuthConnectionFromOrganizationDefault(code int) *DeleteAuthConnectionFromOrganizationDefault

NewDeleteAuthConnectionFromOrganizationDefault creates a DeleteAuthConnectionFromOrganizationDefault with default headers values

func (*DeleteAuthConnectionFromOrganizationDefault) Code

Code gets the status code for the delete auth connection from organization default response

func (*DeleteAuthConnectionFromOrganizationDefault) Error

func (*DeleteAuthConnectionFromOrganizationDefault) GetPayload

func (*DeleteAuthConnectionFromOrganizationDefault) IsClientError

IsClientError returns true when this delete auth connection from organization default response has a 4xx status code

func (*DeleteAuthConnectionFromOrganizationDefault) IsCode

IsCode returns true when this delete auth connection from organization default response a status code equal to that given

func (*DeleteAuthConnectionFromOrganizationDefault) IsRedirect

IsRedirect returns true when this delete auth connection from organization default response has a 3xx status code

func (*DeleteAuthConnectionFromOrganizationDefault) IsServerError

IsServerError returns true when this delete auth connection from organization default response has a 5xx status code

func (*DeleteAuthConnectionFromOrganizationDefault) IsSuccess

IsSuccess returns true when this delete auth connection from organization default response has a 2xx status code

func (*DeleteAuthConnectionFromOrganizationDefault) String

type DeleteAuthConnectionFromOrganizationOK

type DeleteAuthConnectionFromOrganizationOK struct {
	Payload interface{}
}

DeleteAuthConnectionFromOrganizationOK describes a response with status code 200, with default header values.

A successful response.

func NewDeleteAuthConnectionFromOrganizationOK

func NewDeleteAuthConnectionFromOrganizationOK() *DeleteAuthConnectionFromOrganizationOK

NewDeleteAuthConnectionFromOrganizationOK creates a DeleteAuthConnectionFromOrganizationOK with default headers values

func (*DeleteAuthConnectionFromOrganizationOK) Error

func (*DeleteAuthConnectionFromOrganizationOK) GetPayload

func (o *DeleteAuthConnectionFromOrganizationOK) GetPayload() interface{}

func (*DeleteAuthConnectionFromOrganizationOK) IsClientError

func (o *DeleteAuthConnectionFromOrganizationOK) IsClientError() bool

IsClientError returns true when this delete auth connection from organization o k response has a 4xx status code

func (*DeleteAuthConnectionFromOrganizationOK) IsCode

IsCode returns true when this delete auth connection from organization o k response a status code equal to that given

func (*DeleteAuthConnectionFromOrganizationOK) IsRedirect

IsRedirect returns true when this delete auth connection from organization o k response has a 3xx status code

func (*DeleteAuthConnectionFromOrganizationOK) IsServerError

func (o *DeleteAuthConnectionFromOrganizationOK) IsServerError() bool

IsServerError returns true when this delete auth connection from organization o k response has a 5xx status code

func (*DeleteAuthConnectionFromOrganizationOK) IsSuccess

IsSuccess returns true when this delete auth connection from organization o k response has a 2xx status code

func (*DeleteAuthConnectionFromOrganizationOK) String

type DeleteAuthConnectionFromOrganizationParams

type DeleteAuthConnectionFromOrganizationParams struct {

	/* OrganizationID.

	   organization_id of the organization that owns the AuthConnection.
	*/
	OrganizationID string

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

DeleteAuthConnectionFromOrganizationParams contains all the parameters to send to the API endpoint

for the delete auth connection from organization operation.

Typically these are written to a http.Request.

func NewDeleteAuthConnectionFromOrganizationParams

func NewDeleteAuthConnectionFromOrganizationParams() *DeleteAuthConnectionFromOrganizationParams

NewDeleteAuthConnectionFromOrganizationParams creates a new DeleteAuthConnectionFromOrganizationParams 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 NewDeleteAuthConnectionFromOrganizationParamsWithContext

func NewDeleteAuthConnectionFromOrganizationParamsWithContext(ctx context.Context) *DeleteAuthConnectionFromOrganizationParams

NewDeleteAuthConnectionFromOrganizationParamsWithContext creates a new DeleteAuthConnectionFromOrganizationParams object with the ability to set a context for a request.

func NewDeleteAuthConnectionFromOrganizationParamsWithHTTPClient

func NewDeleteAuthConnectionFromOrganizationParamsWithHTTPClient(client *http.Client) *DeleteAuthConnectionFromOrganizationParams

NewDeleteAuthConnectionFromOrganizationParamsWithHTTPClient creates a new DeleteAuthConnectionFromOrganizationParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAuthConnectionFromOrganizationParamsWithTimeout

func NewDeleteAuthConnectionFromOrganizationParamsWithTimeout(timeout time.Duration) *DeleteAuthConnectionFromOrganizationParams

NewDeleteAuthConnectionFromOrganizationParamsWithTimeout creates a new DeleteAuthConnectionFromOrganizationParams object with the ability to set a timeout on a request.

func (*DeleteAuthConnectionFromOrganizationParams) SetContext

SetContext adds the context to the delete auth connection from organization params

func (*DeleteAuthConnectionFromOrganizationParams) SetDefaults

SetDefaults hydrates default values in the delete auth connection from organization params (not the query body).

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

func (*DeleteAuthConnectionFromOrganizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete auth connection from organization params

func (*DeleteAuthConnectionFromOrganizationParams) SetOrganizationID

func (o *DeleteAuthConnectionFromOrganizationParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the delete auth connection from organization params

func (*DeleteAuthConnectionFromOrganizationParams) SetTimeout

SetTimeout adds the timeout to the delete auth connection from organization params

func (*DeleteAuthConnectionFromOrganizationParams) WithContext

WithContext adds the context to the delete auth connection from organization params

func (*DeleteAuthConnectionFromOrganizationParams) WithDefaults

WithDefaults hydrates default values in the delete auth connection from organization params (not the query body).

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

func (*DeleteAuthConnectionFromOrganizationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete auth connection from organization params

func (*DeleteAuthConnectionFromOrganizationParams) WithOrganizationID

WithOrganizationID adds the organizationID to the delete auth connection from organization params

func (*DeleteAuthConnectionFromOrganizationParams) WithTimeout

WithTimeout adds the timeout to the delete auth connection from organization params

func (*DeleteAuthConnectionFromOrganizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAuthConnectionFromOrganizationReader

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

DeleteAuthConnectionFromOrganizationReader is a Reader for the DeleteAuthConnectionFromOrganization structure.

func (*DeleteAuthConnectionFromOrganizationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EditAuthConnectionDefault

type EditAuthConnectionDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

EditAuthConnectionDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewEditAuthConnectionDefault

func NewEditAuthConnectionDefault(code int) *EditAuthConnectionDefault

NewEditAuthConnectionDefault creates a EditAuthConnectionDefault with default headers values

func (*EditAuthConnectionDefault) Code

func (o *EditAuthConnectionDefault) Code() int

Code gets the status code for the edit auth connection default response

func (*EditAuthConnectionDefault) Error

func (o *EditAuthConnectionDefault) Error() string

func (*EditAuthConnectionDefault) GetPayload

func (*EditAuthConnectionDefault) IsClientError

func (o *EditAuthConnectionDefault) IsClientError() bool

IsClientError returns true when this edit auth connection default response has a 4xx status code

func (*EditAuthConnectionDefault) IsCode

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

IsCode returns true when this edit auth connection default response a status code equal to that given

func (*EditAuthConnectionDefault) IsRedirect

func (o *EditAuthConnectionDefault) IsRedirect() bool

IsRedirect returns true when this edit auth connection default response has a 3xx status code

func (*EditAuthConnectionDefault) IsServerError

func (o *EditAuthConnectionDefault) IsServerError() bool

IsServerError returns true when this edit auth connection default response has a 5xx status code

func (*EditAuthConnectionDefault) IsSuccess

func (o *EditAuthConnectionDefault) IsSuccess() bool

IsSuccess returns true when this edit auth connection default response has a 2xx status code

func (*EditAuthConnectionDefault) String

func (o *EditAuthConnectionDefault) String() string

type EditAuthConnectionOK

type EditAuthConnectionOK struct {
	Payload interface{}
}

EditAuthConnectionOK describes a response with status code 200, with default header values.

A successful response.

func NewEditAuthConnectionOK

func NewEditAuthConnectionOK() *EditAuthConnectionOK

NewEditAuthConnectionOK creates a EditAuthConnectionOK with default headers values

func (*EditAuthConnectionOK) Error

func (o *EditAuthConnectionOK) Error() string

func (*EditAuthConnectionOK) GetPayload

func (o *EditAuthConnectionOK) GetPayload() interface{}

func (*EditAuthConnectionOK) IsClientError

func (o *EditAuthConnectionOK) IsClientError() bool

IsClientError returns true when this edit auth connection o k response has a 4xx status code

func (*EditAuthConnectionOK) IsCode

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

IsCode returns true when this edit auth connection o k response a status code equal to that given

func (*EditAuthConnectionOK) IsRedirect

func (o *EditAuthConnectionOK) IsRedirect() bool

IsRedirect returns true when this edit auth connection o k response has a 3xx status code

func (*EditAuthConnectionOK) IsServerError

func (o *EditAuthConnectionOK) IsServerError() bool

IsServerError returns true when this edit auth connection o k response has a 5xx status code

func (*EditAuthConnectionOK) IsSuccess

func (o *EditAuthConnectionOK) IsSuccess() bool

IsSuccess returns true when this edit auth connection o k response has a 2xx status code

func (*EditAuthConnectionOK) String

func (o *EditAuthConnectionOK) String() string

type EditAuthConnectionParams

type EditAuthConnectionParams struct {

	// Body.
	Body *models.HashicorpCloudIamEditAuthConnectionRequest

	/* OrganizationID.

	   id of the organization that owns  the connection
	*/
	OrganizationID string

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

EditAuthConnectionParams contains all the parameters to send to the API endpoint

for the edit auth connection operation.

Typically these are written to a http.Request.

func NewEditAuthConnectionParams

func NewEditAuthConnectionParams() *EditAuthConnectionParams

NewEditAuthConnectionParams creates a new EditAuthConnectionParams 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 NewEditAuthConnectionParamsWithContext

func NewEditAuthConnectionParamsWithContext(ctx context.Context) *EditAuthConnectionParams

NewEditAuthConnectionParamsWithContext creates a new EditAuthConnectionParams object with the ability to set a context for a request.

func NewEditAuthConnectionParamsWithHTTPClient

func NewEditAuthConnectionParamsWithHTTPClient(client *http.Client) *EditAuthConnectionParams

NewEditAuthConnectionParamsWithHTTPClient creates a new EditAuthConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewEditAuthConnectionParamsWithTimeout

func NewEditAuthConnectionParamsWithTimeout(timeout time.Duration) *EditAuthConnectionParams

NewEditAuthConnectionParamsWithTimeout creates a new EditAuthConnectionParams object with the ability to set a timeout on a request.

func (*EditAuthConnectionParams) SetBody

SetBody adds the body to the edit auth connection params

func (*EditAuthConnectionParams) SetContext

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

SetContext adds the context to the edit auth connection params

func (*EditAuthConnectionParams) SetDefaults

func (o *EditAuthConnectionParams) SetDefaults()

SetDefaults hydrates default values in the edit auth connection params (not the query body).

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

func (*EditAuthConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the edit auth connection params

func (*EditAuthConnectionParams) SetOrganizationID

func (o *EditAuthConnectionParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the edit auth connection params

func (*EditAuthConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the edit auth connection params

func (*EditAuthConnectionParams) WithBody

WithBody adds the body to the edit auth connection params

func (*EditAuthConnectionParams) WithContext

WithContext adds the context to the edit auth connection params

func (*EditAuthConnectionParams) WithDefaults

WithDefaults hydrates default values in the edit auth connection params (not the query body).

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

func (*EditAuthConnectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the edit auth connection params

func (*EditAuthConnectionParams) WithOrganizationID

func (o *EditAuthConnectionParams) WithOrganizationID(organizationID string) *EditAuthConnectionParams

WithOrganizationID adds the organizationID to the edit auth connection params

func (*EditAuthConnectionParams) WithTimeout

WithTimeout adds the timeout to the edit auth connection params

func (*EditAuthConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EditAuthConnectionReader

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

EditAuthConnectionReader is a Reader for the EditAuthConnection structure.

func (*EditAuthConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAuthConnectionsDefault

type GetAuthConnectionsDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

GetAuthConnectionsDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetAuthConnectionsDefault

func NewGetAuthConnectionsDefault(code int) *GetAuthConnectionsDefault

NewGetAuthConnectionsDefault creates a GetAuthConnectionsDefault with default headers values

func (*GetAuthConnectionsDefault) Code

func (o *GetAuthConnectionsDefault) Code() int

Code gets the status code for the get auth connections default response

func (*GetAuthConnectionsDefault) Error

func (o *GetAuthConnectionsDefault) Error() string

func (*GetAuthConnectionsDefault) GetPayload

func (*GetAuthConnectionsDefault) IsClientError

func (o *GetAuthConnectionsDefault) IsClientError() bool

IsClientError returns true when this get auth connections default response has a 4xx status code

func (*GetAuthConnectionsDefault) IsCode

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

IsCode returns true when this get auth connections default response a status code equal to that given

func (*GetAuthConnectionsDefault) IsRedirect

func (o *GetAuthConnectionsDefault) IsRedirect() bool

IsRedirect returns true when this get auth connections default response has a 3xx status code

func (*GetAuthConnectionsDefault) IsServerError

func (o *GetAuthConnectionsDefault) IsServerError() bool

IsServerError returns true when this get auth connections default response has a 5xx status code

func (*GetAuthConnectionsDefault) IsSuccess

func (o *GetAuthConnectionsDefault) IsSuccess() bool

IsSuccess returns true when this get auth connections default response has a 2xx status code

func (*GetAuthConnectionsDefault) String

func (o *GetAuthConnectionsDefault) String() string

type GetAuthConnectionsOK

type GetAuthConnectionsOK struct {
	Payload *models.HashicorpCloudIamGetAuthConnectionsResponse
}

GetAuthConnectionsOK describes a response with status code 200, with default header values.

A successful response.

func NewGetAuthConnectionsOK

func NewGetAuthConnectionsOK() *GetAuthConnectionsOK

NewGetAuthConnectionsOK creates a GetAuthConnectionsOK with default headers values

func (*GetAuthConnectionsOK) Error

func (o *GetAuthConnectionsOK) Error() string

func (*GetAuthConnectionsOK) GetPayload

func (*GetAuthConnectionsOK) IsClientError

func (o *GetAuthConnectionsOK) IsClientError() bool

IsClientError returns true when this get auth connections o k response has a 4xx status code

func (*GetAuthConnectionsOK) IsCode

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

IsCode returns true when this get auth connections o k response a status code equal to that given

func (*GetAuthConnectionsOK) IsRedirect

func (o *GetAuthConnectionsOK) IsRedirect() bool

IsRedirect returns true when this get auth connections o k response has a 3xx status code

func (*GetAuthConnectionsOK) IsServerError

func (o *GetAuthConnectionsOK) IsServerError() bool

IsServerError returns true when this get auth connections o k response has a 5xx status code

func (*GetAuthConnectionsOK) IsSuccess

func (o *GetAuthConnectionsOK) IsSuccess() bool

IsSuccess returns true when this get auth connections o k response has a 2xx status code

func (*GetAuthConnectionsOK) String

func (o *GetAuthConnectionsOK) String() string

type GetAuthConnectionsParams

type GetAuthConnectionsParams struct {

	// OrganizationID.
	OrganizationID string

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

GetAuthConnectionsParams contains all the parameters to send to the API endpoint

for the get auth connections operation.

Typically these are written to a http.Request.

func NewGetAuthConnectionsParams

func NewGetAuthConnectionsParams() *GetAuthConnectionsParams

NewGetAuthConnectionsParams creates a new GetAuthConnectionsParams 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 NewGetAuthConnectionsParamsWithContext

func NewGetAuthConnectionsParamsWithContext(ctx context.Context) *GetAuthConnectionsParams

NewGetAuthConnectionsParamsWithContext creates a new GetAuthConnectionsParams object with the ability to set a context for a request.

func NewGetAuthConnectionsParamsWithHTTPClient

func NewGetAuthConnectionsParamsWithHTTPClient(client *http.Client) *GetAuthConnectionsParams

NewGetAuthConnectionsParamsWithHTTPClient creates a new GetAuthConnectionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAuthConnectionsParamsWithTimeout

func NewGetAuthConnectionsParamsWithTimeout(timeout time.Duration) *GetAuthConnectionsParams

NewGetAuthConnectionsParamsWithTimeout creates a new GetAuthConnectionsParams object with the ability to set a timeout on a request.

func (*GetAuthConnectionsParams) SetContext

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

SetContext adds the context to the get auth connections params

func (*GetAuthConnectionsParams) SetDefaults

func (o *GetAuthConnectionsParams) SetDefaults()

SetDefaults hydrates default values in the get auth connections params (not the query body).

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

func (*GetAuthConnectionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get auth connections params

func (*GetAuthConnectionsParams) SetOrganizationID

func (o *GetAuthConnectionsParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the get auth connections params

func (*GetAuthConnectionsParams) SetTimeout

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

SetTimeout adds the timeout to the get auth connections params

func (*GetAuthConnectionsParams) WithContext

WithContext adds the context to the get auth connections params

func (*GetAuthConnectionsParams) WithDefaults

WithDefaults hydrates default values in the get auth connections params (not the query body).

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

func (*GetAuthConnectionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get auth connections params

func (*GetAuthConnectionsParams) WithOrganizationID

func (o *GetAuthConnectionsParams) WithOrganizationID(organizationID string) *GetAuthConnectionsParams

WithOrganizationID adds the organizationID to the get auth connections params

func (*GetAuthConnectionsParams) WithTimeout

WithTimeout adds the timeout to the get auth connections params

func (*GetAuthConnectionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAuthConnectionsReader

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

GetAuthConnectionsReader is a Reader for the GetAuthConnections structure.

func (*GetAuthConnectionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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