auth_config_service

package
v0.94.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthConfigServiceCreateAuthConnectionBody added in v0.68.0

type AuthConfigServiceCreateAuthConnectionBody struct {

	// client_id is the ID of the client for the connection.
	ClientID string `json:"client_id,omitempty"`

	// client_secret is the secret for the client above.
	ClientSecret string `json:"client_secret,omitempty"`

	// default_role is the RBAC role that users signing in to the
	// SSO org will get as the default.
	DefaultRole string `json:"default_role,omitempty"`

	// email_domain associated with the of the connection.
	EmailDomain string `json:"email_domain,omitempty"`

	// issuer is the URL of the identity provider.
	Issuer string `json:"issuer,omitempty"`
}

AuthConfigServiceCreateAuthConnectionBody CreateAuthConnectionRequest creates an AuthConnection. swagger:model AuthConfigServiceCreateAuthConnectionBody

func (*AuthConfigServiceCreateAuthConnectionBody) ContextValidate added in v0.68.0

ContextValidate validates this auth config service create auth connection body based on context it is used

func (*AuthConfigServiceCreateAuthConnectionBody) MarshalBinary added in v0.68.0

func (o *AuthConfigServiceCreateAuthConnectionBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthConfigServiceCreateAuthConnectionBody) UnmarshalBinary added in v0.68.0

func (o *AuthConfigServiceCreateAuthConnectionBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthConfigServiceCreateAuthConnectionBody) Validate added in v0.68.0

Validate validates this auth config service create auth connection body

type AuthConfigServiceCreateAuthConnectionDefault added in v0.64.0

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

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

An unexpected error response.

func NewAuthConfigServiceCreateAuthConnectionDefault added in v0.64.0

func NewAuthConfigServiceCreateAuthConnectionDefault(code int) *AuthConfigServiceCreateAuthConnectionDefault

NewAuthConfigServiceCreateAuthConnectionDefault creates a AuthConfigServiceCreateAuthConnectionDefault with default headers values

func (*AuthConfigServiceCreateAuthConnectionDefault) Code added in v0.64.0

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

func (*AuthConfigServiceCreateAuthConnectionDefault) Error added in v0.64.0

func (*AuthConfigServiceCreateAuthConnectionDefault) GetPayload added in v0.64.0

func (*AuthConfigServiceCreateAuthConnectionDefault) IsClientError added in v0.64.0

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

func (*AuthConfigServiceCreateAuthConnectionDefault) IsCode added in v0.64.0

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

func (*AuthConfigServiceCreateAuthConnectionDefault) IsRedirect added in v0.64.0

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

func (*AuthConfigServiceCreateAuthConnectionDefault) IsServerError added in v0.64.0

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

func (*AuthConfigServiceCreateAuthConnectionDefault) IsSuccess added in v0.64.0

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

func (*AuthConfigServiceCreateAuthConnectionDefault) String added in v0.64.0

type AuthConfigServiceCreateAuthConnectionOK added in v0.64.0

type AuthConfigServiceCreateAuthConnectionOK struct {
	Payload *models.HashicorpCloudIamCreateAuthConnectionResponse
}

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

A successful response.

func NewAuthConfigServiceCreateAuthConnectionOK added in v0.64.0

func NewAuthConfigServiceCreateAuthConnectionOK() *AuthConfigServiceCreateAuthConnectionOK

NewAuthConfigServiceCreateAuthConnectionOK creates a AuthConfigServiceCreateAuthConnectionOK with default headers values

func (*AuthConfigServiceCreateAuthConnectionOK) Code added in v0.68.0

Code gets the status code for the auth config service create auth connection o k response

func (*AuthConfigServiceCreateAuthConnectionOK) Error added in v0.64.0

func (*AuthConfigServiceCreateAuthConnectionOK) GetPayload added in v0.64.0

func (*AuthConfigServiceCreateAuthConnectionOK) IsClientError added in v0.64.0

func (o *AuthConfigServiceCreateAuthConnectionOK) IsClientError() bool

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

func (*AuthConfigServiceCreateAuthConnectionOK) IsCode added in v0.64.0

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

func (*AuthConfigServiceCreateAuthConnectionOK) IsRedirect added in v0.64.0

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

func (*AuthConfigServiceCreateAuthConnectionOK) IsServerError added in v0.64.0

func (o *AuthConfigServiceCreateAuthConnectionOK) IsServerError() bool

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

func (*AuthConfigServiceCreateAuthConnectionOK) IsSuccess added in v0.64.0

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

func (*AuthConfigServiceCreateAuthConnectionOK) String added in v0.64.0

type AuthConfigServiceCreateAuthConnectionParams added in v0.64.0

type AuthConfigServiceCreateAuthConnectionParams struct {

	// Body.
	Body AuthConfigServiceCreateAuthConnectionBody

	/* 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
}

AuthConfigServiceCreateAuthConnectionParams contains all the parameters to send to the API endpoint

for the auth config service create auth connection operation.

Typically these are written to a http.Request.

func NewAuthConfigServiceCreateAuthConnectionParams added in v0.64.0

func NewAuthConfigServiceCreateAuthConnectionParams() *AuthConfigServiceCreateAuthConnectionParams

NewAuthConfigServiceCreateAuthConnectionParams creates a new AuthConfigServiceCreateAuthConnectionParams 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 NewAuthConfigServiceCreateAuthConnectionParamsWithContext added in v0.64.0

func NewAuthConfigServiceCreateAuthConnectionParamsWithContext(ctx context.Context) *AuthConfigServiceCreateAuthConnectionParams

NewAuthConfigServiceCreateAuthConnectionParamsWithContext creates a new AuthConfigServiceCreateAuthConnectionParams object with the ability to set a context for a request.

func NewAuthConfigServiceCreateAuthConnectionParamsWithHTTPClient added in v0.64.0

func NewAuthConfigServiceCreateAuthConnectionParamsWithHTTPClient(client *http.Client) *AuthConfigServiceCreateAuthConnectionParams

NewAuthConfigServiceCreateAuthConnectionParamsWithHTTPClient creates a new AuthConfigServiceCreateAuthConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewAuthConfigServiceCreateAuthConnectionParamsWithTimeout added in v0.64.0

func NewAuthConfigServiceCreateAuthConnectionParamsWithTimeout(timeout time.Duration) *AuthConfigServiceCreateAuthConnectionParams

NewAuthConfigServiceCreateAuthConnectionParamsWithTimeout creates a new AuthConfigServiceCreateAuthConnectionParams object with the ability to set a timeout on a request.

func (*AuthConfigServiceCreateAuthConnectionParams) SetBody added in v0.64.0

SetBody adds the body to the auth config service create auth connection params

func (*AuthConfigServiceCreateAuthConnectionParams) SetContext added in v0.64.0

SetContext adds the context to the auth config service create auth connection params

func (*AuthConfigServiceCreateAuthConnectionParams) SetDefaults added in v0.64.0

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

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

func (*AuthConfigServiceCreateAuthConnectionParams) SetHTTPClient added in v0.64.0

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

SetHTTPClient adds the HTTPClient to the auth config service create auth connection params

func (*AuthConfigServiceCreateAuthConnectionParams) SetOrganizationID added in v0.64.0

func (o *AuthConfigServiceCreateAuthConnectionParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the auth config service create auth connection params

func (*AuthConfigServiceCreateAuthConnectionParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the auth config service create auth connection params

func (*AuthConfigServiceCreateAuthConnectionParams) WithBody added in v0.64.0

WithBody adds the body to the auth config service create auth connection params

func (*AuthConfigServiceCreateAuthConnectionParams) WithContext added in v0.64.0

WithContext adds the context to the auth config service create auth connection params

func (*AuthConfigServiceCreateAuthConnectionParams) WithDefaults added in v0.64.0

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

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

func (*AuthConfigServiceCreateAuthConnectionParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the auth config service create auth connection params

func (*AuthConfigServiceCreateAuthConnectionParams) WithOrganizationID added in v0.64.0

WithOrganizationID adds the organizationID to the auth config service create auth connection params

func (*AuthConfigServiceCreateAuthConnectionParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the auth config service create auth connection params

func (*AuthConfigServiceCreateAuthConnectionParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type AuthConfigServiceCreateAuthConnectionReader added in v0.64.0

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

AuthConfigServiceCreateAuthConnectionReader is a Reader for the AuthConfigServiceCreateAuthConnection structure.

func (*AuthConfigServiceCreateAuthConnectionReader) ReadResponse added in v0.64.0

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

ReadResponse reads a server response into the received o.

type AuthConfigServiceDeleteAuthConnectionFromOrganizationDefault added in v0.64.0

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

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

An unexpected error response.

func NewAuthConfigServiceDeleteAuthConnectionFromOrganizationDefault added in v0.64.0

func NewAuthConfigServiceDeleteAuthConnectionFromOrganizationDefault(code int) *AuthConfigServiceDeleteAuthConnectionFromOrganizationDefault

NewAuthConfigServiceDeleteAuthConnectionFromOrganizationDefault creates a AuthConfigServiceDeleteAuthConnectionFromOrganizationDefault with default headers values

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationDefault) Code added in v0.64.0

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationDefault) Error added in v0.64.0

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationDefault) GetPayload added in v0.64.0

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationDefault) IsClientError added in v0.64.0

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationDefault) IsCode added in v0.64.0

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationDefault) IsRedirect added in v0.64.0

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationDefault) IsServerError added in v0.64.0

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationDefault) IsSuccess added in v0.64.0

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationDefault) String added in v0.64.0

type AuthConfigServiceDeleteAuthConnectionFromOrganizationOK added in v0.64.0

type AuthConfigServiceDeleteAuthConnectionFromOrganizationOK struct {
	Payload interface{}
}

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

A successful response.

func NewAuthConfigServiceDeleteAuthConnectionFromOrganizationOK added in v0.64.0

func NewAuthConfigServiceDeleteAuthConnectionFromOrganizationOK() *AuthConfigServiceDeleteAuthConnectionFromOrganizationOK

NewAuthConfigServiceDeleteAuthConnectionFromOrganizationOK creates a AuthConfigServiceDeleteAuthConnectionFromOrganizationOK with default headers values

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationOK) Code added in v0.68.0

Code gets the status code for the auth config service delete auth connection from organization o k response

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationOK) Error added in v0.64.0

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationOK) GetPayload added in v0.64.0

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationOK) IsClientError added in v0.64.0

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationOK) IsCode added in v0.64.0

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationOK) IsRedirect added in v0.64.0

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationOK) IsServerError added in v0.64.0

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationOK) IsSuccess added in v0.64.0

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationOK) String added in v0.64.0

type AuthConfigServiceDeleteAuthConnectionFromOrganizationParams added in v0.64.0

type AuthConfigServiceDeleteAuthConnectionFromOrganizationParams struct {

	/* OrganizationID.

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

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

AuthConfigServiceDeleteAuthConnectionFromOrganizationParams contains all the parameters to send to the API endpoint

for the auth config service delete auth connection from organization operation.

Typically these are written to a http.Request.

func NewAuthConfigServiceDeleteAuthConnectionFromOrganizationParams added in v0.64.0

func NewAuthConfigServiceDeleteAuthConnectionFromOrganizationParams() *AuthConfigServiceDeleteAuthConnectionFromOrganizationParams

NewAuthConfigServiceDeleteAuthConnectionFromOrganizationParams creates a new AuthConfigServiceDeleteAuthConnectionFromOrganizationParams 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 NewAuthConfigServiceDeleteAuthConnectionFromOrganizationParamsWithContext added in v0.64.0

func NewAuthConfigServiceDeleteAuthConnectionFromOrganizationParamsWithContext(ctx context.Context) *AuthConfigServiceDeleteAuthConnectionFromOrganizationParams

NewAuthConfigServiceDeleteAuthConnectionFromOrganizationParamsWithContext creates a new AuthConfigServiceDeleteAuthConnectionFromOrganizationParams object with the ability to set a context for a request.

func NewAuthConfigServiceDeleteAuthConnectionFromOrganizationParamsWithHTTPClient added in v0.64.0

func NewAuthConfigServiceDeleteAuthConnectionFromOrganizationParamsWithHTTPClient(client *http.Client) *AuthConfigServiceDeleteAuthConnectionFromOrganizationParams

NewAuthConfigServiceDeleteAuthConnectionFromOrganizationParamsWithHTTPClient creates a new AuthConfigServiceDeleteAuthConnectionFromOrganizationParams object with the ability to set a custom HTTPClient for a request.

func NewAuthConfigServiceDeleteAuthConnectionFromOrganizationParamsWithTimeout added in v0.64.0

func NewAuthConfigServiceDeleteAuthConnectionFromOrganizationParamsWithTimeout(timeout time.Duration) *AuthConfigServiceDeleteAuthConnectionFromOrganizationParams

NewAuthConfigServiceDeleteAuthConnectionFromOrganizationParamsWithTimeout creates a new AuthConfigServiceDeleteAuthConnectionFromOrganizationParams object with the ability to set a timeout on a request.

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationParams) SetContext added in v0.64.0

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationParams) SetDefaults added in v0.64.0

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

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationParams) SetHTTPClient added in v0.64.0

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationParams) SetOrganizationID added in v0.64.0

func (o *AuthConfigServiceDeleteAuthConnectionFromOrganizationParams) SetOrganizationID(organizationID string)

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationParams) SetTimeout added in v0.64.0

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationParams) WithContext added in v0.64.0

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationParams) WithDefaults added in v0.64.0

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

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationParams) WithHTTPClient added in v0.64.0

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationParams) WithOrganizationID added in v0.64.0

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationParams) WithTimeout added in v0.64.0

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

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type AuthConfigServiceDeleteAuthConnectionFromOrganizationReader added in v0.64.0

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

AuthConfigServiceDeleteAuthConnectionFromOrganizationReader is a Reader for the AuthConfigServiceDeleteAuthConnectionFromOrganization structure.

func (*AuthConfigServiceDeleteAuthConnectionFromOrganizationReader) ReadResponse added in v0.64.0

ReadResponse reads a server response into the received o.

type AuthConfigServiceEditAuthConnectionBody added in v0.68.0

type AuthConfigServiceEditAuthConnectionBody struct {

	// client_id is the ID of the client for the connection.
	ClientID string `json:"client_id,omitempty"`

	// client_secret is the secret for the client above.
	ClientSecret string `json:"client_secret,omitempty"`

	// default_role is the RBAC role that users signing in to the
	// SSO org will get as the default.
	DefaultRole string `json:"default_role,omitempty"`

	// email_domain associated with the connection.
	EmailDomain string `json:"email_domain,omitempty"`

	// issuer is the URL of the identity provider.
	Issuer string `json:"issuer,omitempty"`

	// update mask
	UpdateMask string `json:"update_mask,omitempty"`
}

AuthConfigServiceEditAuthConnectionBody auth config service edit auth connection body swagger:model AuthConfigServiceEditAuthConnectionBody

func (*AuthConfigServiceEditAuthConnectionBody) ContextValidate added in v0.68.0

ContextValidate validates this auth config service edit auth connection body based on context it is used

func (*AuthConfigServiceEditAuthConnectionBody) MarshalBinary added in v0.68.0

func (o *AuthConfigServiceEditAuthConnectionBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthConfigServiceEditAuthConnectionBody) UnmarshalBinary added in v0.68.0

func (o *AuthConfigServiceEditAuthConnectionBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthConfigServiceEditAuthConnectionBody) Validate added in v0.68.0

Validate validates this auth config service edit auth connection body

type AuthConfigServiceEditAuthConnectionDefault added in v0.64.0

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

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

An unexpected error response.

func NewAuthConfigServiceEditAuthConnectionDefault added in v0.64.0

func NewAuthConfigServiceEditAuthConnectionDefault(code int) *AuthConfigServiceEditAuthConnectionDefault

NewAuthConfigServiceEditAuthConnectionDefault creates a AuthConfigServiceEditAuthConnectionDefault with default headers values

func (*AuthConfigServiceEditAuthConnectionDefault) Code added in v0.64.0

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

func (*AuthConfigServiceEditAuthConnectionDefault) Error added in v0.64.0

func (*AuthConfigServiceEditAuthConnectionDefault) GetPayload added in v0.64.0

func (*AuthConfigServiceEditAuthConnectionDefault) IsClientError added in v0.64.0

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

func (*AuthConfigServiceEditAuthConnectionDefault) IsCode added in v0.64.0

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

func (*AuthConfigServiceEditAuthConnectionDefault) IsRedirect added in v0.64.0

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

func (*AuthConfigServiceEditAuthConnectionDefault) IsServerError added in v0.64.0

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

func (*AuthConfigServiceEditAuthConnectionDefault) IsSuccess added in v0.64.0

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

func (*AuthConfigServiceEditAuthConnectionDefault) String added in v0.64.0

type AuthConfigServiceEditAuthConnectionOK added in v0.64.0

type AuthConfigServiceEditAuthConnectionOK struct {
	Payload interface{}
}

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

A successful response.

func NewAuthConfigServiceEditAuthConnectionOK added in v0.64.0

func NewAuthConfigServiceEditAuthConnectionOK() *AuthConfigServiceEditAuthConnectionOK

NewAuthConfigServiceEditAuthConnectionOK creates a AuthConfigServiceEditAuthConnectionOK with default headers values

func (*AuthConfigServiceEditAuthConnectionOK) Code added in v0.68.0

Code gets the status code for the auth config service edit auth connection o k response

func (*AuthConfigServiceEditAuthConnectionOK) Error added in v0.64.0

func (*AuthConfigServiceEditAuthConnectionOK) GetPayload added in v0.64.0

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

func (*AuthConfigServiceEditAuthConnectionOK) IsClientError added in v0.64.0

func (o *AuthConfigServiceEditAuthConnectionOK) IsClientError() bool

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

func (*AuthConfigServiceEditAuthConnectionOK) IsCode added in v0.64.0

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

func (*AuthConfigServiceEditAuthConnectionOK) IsRedirect added in v0.64.0

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

func (*AuthConfigServiceEditAuthConnectionOK) IsServerError added in v0.64.0

func (o *AuthConfigServiceEditAuthConnectionOK) IsServerError() bool

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

func (*AuthConfigServiceEditAuthConnectionOK) IsSuccess added in v0.64.0

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

func (*AuthConfigServiceEditAuthConnectionOK) String added in v0.64.0

type AuthConfigServiceEditAuthConnectionParams added in v0.64.0

type AuthConfigServiceEditAuthConnectionParams struct {

	// Body.
	Body AuthConfigServiceEditAuthConnectionBody

	/* OrganizationID.

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

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

AuthConfigServiceEditAuthConnectionParams contains all the parameters to send to the API endpoint

for the auth config service edit auth connection operation.

Typically these are written to a http.Request.

func NewAuthConfigServiceEditAuthConnectionParams added in v0.64.0

func NewAuthConfigServiceEditAuthConnectionParams() *AuthConfigServiceEditAuthConnectionParams

NewAuthConfigServiceEditAuthConnectionParams creates a new AuthConfigServiceEditAuthConnectionParams 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 NewAuthConfigServiceEditAuthConnectionParamsWithContext added in v0.64.0

func NewAuthConfigServiceEditAuthConnectionParamsWithContext(ctx context.Context) *AuthConfigServiceEditAuthConnectionParams

NewAuthConfigServiceEditAuthConnectionParamsWithContext creates a new AuthConfigServiceEditAuthConnectionParams object with the ability to set a context for a request.

func NewAuthConfigServiceEditAuthConnectionParamsWithHTTPClient added in v0.64.0

func NewAuthConfigServiceEditAuthConnectionParamsWithHTTPClient(client *http.Client) *AuthConfigServiceEditAuthConnectionParams

NewAuthConfigServiceEditAuthConnectionParamsWithHTTPClient creates a new AuthConfigServiceEditAuthConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewAuthConfigServiceEditAuthConnectionParamsWithTimeout added in v0.64.0

func NewAuthConfigServiceEditAuthConnectionParamsWithTimeout(timeout time.Duration) *AuthConfigServiceEditAuthConnectionParams

NewAuthConfigServiceEditAuthConnectionParamsWithTimeout creates a new AuthConfigServiceEditAuthConnectionParams object with the ability to set a timeout on a request.

func (*AuthConfigServiceEditAuthConnectionParams) SetBody added in v0.64.0

SetBody adds the body to the auth config service edit auth connection params

func (*AuthConfigServiceEditAuthConnectionParams) SetContext added in v0.64.0

SetContext adds the context to the auth config service edit auth connection params

func (*AuthConfigServiceEditAuthConnectionParams) SetDefaults added in v0.64.0

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

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

func (*AuthConfigServiceEditAuthConnectionParams) SetHTTPClient added in v0.64.0

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

SetHTTPClient adds the HTTPClient to the auth config service edit auth connection params

func (*AuthConfigServiceEditAuthConnectionParams) SetOrganizationID added in v0.64.0

func (o *AuthConfigServiceEditAuthConnectionParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the auth config service edit auth connection params

func (*AuthConfigServiceEditAuthConnectionParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the auth config service edit auth connection params

func (*AuthConfigServiceEditAuthConnectionParams) WithBody added in v0.64.0

WithBody adds the body to the auth config service edit auth connection params

func (*AuthConfigServiceEditAuthConnectionParams) WithContext added in v0.64.0

WithContext adds the context to the auth config service edit auth connection params

func (*AuthConfigServiceEditAuthConnectionParams) WithDefaults added in v0.64.0

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

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

func (*AuthConfigServiceEditAuthConnectionParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the auth config service edit auth connection params

func (*AuthConfigServiceEditAuthConnectionParams) WithOrganizationID added in v0.64.0

WithOrganizationID adds the organizationID to the auth config service edit auth connection params

func (*AuthConfigServiceEditAuthConnectionParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the auth config service edit auth connection params

func (*AuthConfigServiceEditAuthConnectionParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type AuthConfigServiceEditAuthConnectionReader added in v0.64.0

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

AuthConfigServiceEditAuthConnectionReader is a Reader for the AuthConfigServiceEditAuthConnection structure.

func (*AuthConfigServiceEditAuthConnectionReader) ReadResponse added in v0.64.0

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

ReadResponse reads a server response into the received o.

type AuthConfigServiceGetAuthConnectionsDefault added in v0.64.0

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

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

An unexpected error response.

func NewAuthConfigServiceGetAuthConnectionsDefault added in v0.64.0

func NewAuthConfigServiceGetAuthConnectionsDefault(code int) *AuthConfigServiceGetAuthConnectionsDefault

NewAuthConfigServiceGetAuthConnectionsDefault creates a AuthConfigServiceGetAuthConnectionsDefault with default headers values

func (*AuthConfigServiceGetAuthConnectionsDefault) Code added in v0.64.0

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

func (*AuthConfigServiceGetAuthConnectionsDefault) Error added in v0.64.0

func (*AuthConfigServiceGetAuthConnectionsDefault) GetPayload added in v0.64.0

func (*AuthConfigServiceGetAuthConnectionsDefault) IsClientError added in v0.64.0

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

func (*AuthConfigServiceGetAuthConnectionsDefault) IsCode added in v0.64.0

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

func (*AuthConfigServiceGetAuthConnectionsDefault) IsRedirect added in v0.64.0

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

func (*AuthConfigServiceGetAuthConnectionsDefault) IsServerError added in v0.64.0

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

func (*AuthConfigServiceGetAuthConnectionsDefault) IsSuccess added in v0.64.0

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

func (*AuthConfigServiceGetAuthConnectionsDefault) String added in v0.64.0

type AuthConfigServiceGetAuthConnectionsOK added in v0.64.0

type AuthConfigServiceGetAuthConnectionsOK struct {
	Payload *models.HashicorpCloudIamGetAuthConnectionsResponse
}

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

A successful response.

func NewAuthConfigServiceGetAuthConnectionsOK added in v0.64.0

func NewAuthConfigServiceGetAuthConnectionsOK() *AuthConfigServiceGetAuthConnectionsOK

NewAuthConfigServiceGetAuthConnectionsOK creates a AuthConfigServiceGetAuthConnectionsOK with default headers values

func (*AuthConfigServiceGetAuthConnectionsOK) Code added in v0.68.0

Code gets the status code for the auth config service get auth connections o k response

func (*AuthConfigServiceGetAuthConnectionsOK) Error added in v0.64.0

func (*AuthConfigServiceGetAuthConnectionsOK) GetPayload added in v0.64.0

func (*AuthConfigServiceGetAuthConnectionsOK) IsClientError added in v0.64.0

func (o *AuthConfigServiceGetAuthConnectionsOK) IsClientError() bool

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

func (*AuthConfigServiceGetAuthConnectionsOK) IsCode added in v0.64.0

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

func (*AuthConfigServiceGetAuthConnectionsOK) IsRedirect added in v0.64.0

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

func (*AuthConfigServiceGetAuthConnectionsOK) IsServerError added in v0.64.0

func (o *AuthConfigServiceGetAuthConnectionsOK) IsServerError() bool

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

func (*AuthConfigServiceGetAuthConnectionsOK) IsSuccess added in v0.64.0

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

func (*AuthConfigServiceGetAuthConnectionsOK) String added in v0.64.0

type AuthConfigServiceGetAuthConnectionsParams added in v0.64.0

type AuthConfigServiceGetAuthConnectionsParams struct {

	// OrganizationID.
	OrganizationID string

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

AuthConfigServiceGetAuthConnectionsParams contains all the parameters to send to the API endpoint

for the auth config service get auth connections operation.

Typically these are written to a http.Request.

func NewAuthConfigServiceGetAuthConnectionsParams added in v0.64.0

func NewAuthConfigServiceGetAuthConnectionsParams() *AuthConfigServiceGetAuthConnectionsParams

NewAuthConfigServiceGetAuthConnectionsParams creates a new AuthConfigServiceGetAuthConnectionsParams 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 NewAuthConfigServiceGetAuthConnectionsParamsWithContext added in v0.64.0

func NewAuthConfigServiceGetAuthConnectionsParamsWithContext(ctx context.Context) *AuthConfigServiceGetAuthConnectionsParams

NewAuthConfigServiceGetAuthConnectionsParamsWithContext creates a new AuthConfigServiceGetAuthConnectionsParams object with the ability to set a context for a request.

func NewAuthConfigServiceGetAuthConnectionsParamsWithHTTPClient added in v0.64.0

func NewAuthConfigServiceGetAuthConnectionsParamsWithHTTPClient(client *http.Client) *AuthConfigServiceGetAuthConnectionsParams

NewAuthConfigServiceGetAuthConnectionsParamsWithHTTPClient creates a new AuthConfigServiceGetAuthConnectionsParams object with the ability to set a custom HTTPClient for a request.

func NewAuthConfigServiceGetAuthConnectionsParamsWithTimeout added in v0.64.0

func NewAuthConfigServiceGetAuthConnectionsParamsWithTimeout(timeout time.Duration) *AuthConfigServiceGetAuthConnectionsParams

NewAuthConfigServiceGetAuthConnectionsParamsWithTimeout creates a new AuthConfigServiceGetAuthConnectionsParams object with the ability to set a timeout on a request.

func (*AuthConfigServiceGetAuthConnectionsParams) SetContext added in v0.64.0

SetContext adds the context to the auth config service get auth connections params

func (*AuthConfigServiceGetAuthConnectionsParams) SetDefaults added in v0.64.0

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

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

func (*AuthConfigServiceGetAuthConnectionsParams) SetHTTPClient added in v0.64.0

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

SetHTTPClient adds the HTTPClient to the auth config service get auth connections params

func (*AuthConfigServiceGetAuthConnectionsParams) SetOrganizationID added in v0.64.0

func (o *AuthConfigServiceGetAuthConnectionsParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the auth config service get auth connections params

func (*AuthConfigServiceGetAuthConnectionsParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the auth config service get auth connections params

func (*AuthConfigServiceGetAuthConnectionsParams) WithContext added in v0.64.0

WithContext adds the context to the auth config service get auth connections params

func (*AuthConfigServiceGetAuthConnectionsParams) WithDefaults added in v0.64.0

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

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

func (*AuthConfigServiceGetAuthConnectionsParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the auth config service get auth connections params

func (*AuthConfigServiceGetAuthConnectionsParams) WithOrganizationID added in v0.64.0

WithOrganizationID adds the organizationID to the auth config service get auth connections params

func (*AuthConfigServiceGetAuthConnectionsParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the auth config service get auth connections params

func (*AuthConfigServiceGetAuthConnectionsParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type AuthConfigServiceGetAuthConnectionsReader added in v0.64.0

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

AuthConfigServiceGetAuthConnectionsReader is a Reader for the AuthConfigServiceGetAuthConnections structure.

func (*AuthConfigServiceGetAuthConnectionsReader) ReadResponse added in v0.64.0

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

ReadResponse reads a server response into the received o.

type Client

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

Client for auth config service API

func (*Client) AuthConfigServiceCreateAuthConnection added in v0.64.0

func (a *Client) AuthConfigServiceCreateAuthConnection(params *AuthConfigServiceCreateAuthConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthConfigServiceCreateAuthConnectionOK, error)

AuthConfigServiceCreateAuthConnection creates auth connection creates an auth connection

func (*Client) AuthConfigServiceDeleteAuthConnectionFromOrganization added in v0.64.0

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

func (*Client) AuthConfigServiceEditAuthConnection added in v0.64.0

func (a *Client) AuthConfigServiceEditAuthConnection(params *AuthConfigServiceEditAuthConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthConfigServiceEditAuthConnectionOK, error)

AuthConfigServiceEditAuthConnection edits auth connection edits an existing auth connection

func (*Client) AuthConfigServiceGetAuthConnections added in v0.64.0

func (a *Client) AuthConfigServiceGetAuthConnections(params *AuthConfigServiceGetAuthConnectionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthConfigServiceGetAuthConnectionsOK, error)

AuthConfigServiceGetAuthConnections auth config service 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 {
	AuthConfigServiceCreateAuthConnection(params *AuthConfigServiceCreateAuthConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthConfigServiceCreateAuthConnectionOK, error)

	AuthConfigServiceDeleteAuthConnectionFromOrganization(params *AuthConfigServiceDeleteAuthConnectionFromOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthConfigServiceDeleteAuthConnectionFromOrganizationOK, error)

	AuthConfigServiceEditAuthConnection(params *AuthConfigServiceEditAuthConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthConfigServiceEditAuthConnectionOK, error)

	AuthConfigServiceGetAuthConnections(params *AuthConfigServiceGetAuthConnectionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthConfigServiceGetAuthConnectionsOK, 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.

Jump to

Keyboard shortcuts

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