auth

package
v0.0.0-...-df8e853 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2016 License: MIT Imports: 7 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 API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new auth API client.

func (*Client) CreateSamlTestConfig

func (a *Client) CreateSamlTestConfig(params *CreateSamlTestConfigParams) (*CreateSamlTestConfigOK, error)

CreateSamlTestConfig creates saml test configuration

### Create a SAML test configuration.

func (*Client) DeleteSamlTestConfig

func (a *Client) DeleteSamlTestConfig(params *DeleteSamlTestConfigParams) (*DeleteSamlTestConfigNoContent, error)

DeleteSamlTestConfig deletes saml test configuration

### Delete a SAML test configuration.

func (*Client) FetchAndParseSamlIdpMetadata

func (a *Client) FetchAndParseSamlIdpMetadata(params *FetchAndParseSamlIdpMetadataParams) (*FetchAndParseSamlIdpMetadataOK, error)

FetchAndParseSamlIdpMetadata fetches and parse saml idp metadata xml

### Fetch the given url and parse it as a Saml IdP metadata document and return the result. Note that this requires that the url be public or at least at a location where the Looker instance can fetch it without requiring any special authentication.

func (*Client) LdapConfig

func (a *Client) LdapConfig(params *LdapConfigParams) (*LdapConfigOK, error)

LdapConfig gets ldap configuration

### Get the LDAP configuration.

Looker can be optionally configured to authenticate users against an Active Directory or other LDAP directory server. LDAP setup requires coordination with an administrator of that directory server.

Only Looker administrators can read and update the LDAP configuration.

Configuring LDAP impacts authentication for all users. This configuration should be done carefully.

Looker maintains a single LDAP configuation. It can be read and updated. Updates only succeed if the new state will be valid (in the sense that all required fields are populated); it is up to you to ensure that the configuration is appropriate and correct).

LDAP is enabled or disabled for Looker using the **enabled** field.

Looker will never return an **auth_password** field. That value can be set, but never retreived.

See the [Looker LDAP docs]( http://www.looker.com/docs/admin/security/ldap-setup) for additional information.

func (*Client) ParseSamlIdpMetadata

func (a *Client) ParseSamlIdpMetadata(params *ParseSamlIdpMetadataParams) (*ParseSamlIdpMetadataOK, error)

ParseSamlIdpMetadata parses saml idp metadata xml

### Parse the given xml as a Saml IdP metadata document and return the result.

func (*Client) SamlConfig

func (a *Client) SamlConfig(params *SamlConfigParams) (*SamlConfigOK, error)

SamlConfig gets saml configuration

### Get the SAML configuration.

Looker can be optionally configured to authenticate users against a SAML authentication server. SAML setup requires coordination with an administrator of that server.

Only Looker administrators can read and update the SAML configuration.

Configuring SAML impacts authentication for all users. This configuration should be done carefully.

Looker maintains a single SAML configuation. It can be read and updated. Updates only succeed if the new state will be valid (in the sense that all required fields are populated); it is up to you to ensure that the configuration is appropriate and correct).

SAML is enabled or disabled for Looker using the **enabled** field.

func (*Client) SamlTestConfig

func (a *Client) SamlTestConfig(params *SamlTestConfigParams) (*SamlTestConfigOK, error)

SamlTestConfig gets saml test configuration

### Get a SAML test configuration by test_slug.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TestLdapConfigAuth

func (a *Client) TestLdapConfigAuth(params *TestLdapConfigAuthParams) (*TestLdapConfigAuthOK, error)

TestLdapConfigAuth tests ldap auth config

### Test the connection authentication settings for an LDAP configuration.

This tests that the connection is possible and that a 'server' account to be used by Looker can authenticate to the LDAP server given connection and authentication information.

**connection_host**, **connection_port**, and **auth_username**, are required. **connection_tls** and **auth_password** are optional.

Example: ```json

{
  "connection_host": "ldap.example.com",
  "connection_port": "636",
  "connection_tls": true,
  "auth_username": "cn=looker,dc=example,dc=com",
  "auth_password": "secret"
}

```

Looker will never return an **auth_password**. If this request omits the **auth_password** field, then the **auth_password** value from the active config (if present) will be used for the test.

The active LDAP settings are not modified.

func (*Client) TestLdapConfigConnection

func (a *Client) TestLdapConfigConnection(params *TestLdapConfigConnectionParams) (*TestLdapConfigConnectionOK, error)

TestLdapConfigConnection tests ldap connection config

### Test the connection settings for an LDAP configuration.

This tests that the connection is possible given a connection_host and connection_port.

**connection_host** and **connection_port** are required. **connection_tls** is optional.

Example: ```json

{
  "connection_host": "ldap.example.com",
  "connection_port": "636",
  "connection_tls": true
}

```

No authentication to the LDAP server is attempted.

The active LDAP settings are not modified.

func (*Client) TestLdapConfigUserAuth

func (a *Client) TestLdapConfigUserAuth(params *TestLdapConfigUserAuthParams) (*TestLdapConfigUserAuthOK, error)

TestLdapConfigUserAuth tests ldap user auth config

### Test the user authentication settings for an LDAP configuration.

This test accepts a full LDAP configuration along with a username/password pair and attempts to authenticate the user with the LDAP server. The configuration is validated before attempting the authentication.

Looker will never return an **auth_password**. If this request omits the **auth_password** field, then the **auth_password** value from the active config (if present) will be used for the test.

**test_ldap_user** and **test_ldap_password** are required.

The active LDAP settings are not modified.

func (*Client) TestLdapConfigUserInfo

func (a *Client) TestLdapConfigUserInfo(params *TestLdapConfigUserInfoParams) (*TestLdapConfigUserInfoOK, error)

TestLdapConfigUserInfo tests ldap user info config

### Test the user authentication settings for an LDAP configuration without authenticating the user.

This test will let you easily test the mapping for user properties and roles for any user without needing to authenticate as that user.

This test accepts a full LDAP configuration along with a username and attempts to find the full info for the user from the LDAP server without actually authenticating the user. So, user password is not required.The configuration is validated before attempting to contact the server.

**test_ldap_user** is required.

The active LDAP settings are not modified.

func (*Client) UpdateLdapConfig

func (a *Client) UpdateLdapConfig(params *UpdateLdapConfigParams) (*UpdateLdapConfigOK, error)

UpdateLdapConfig updates ldap configuration

### Update the LDAP configuration.

Configuring LDAP impacts authentication for all users. This configuration should be done carefully.

Only Looker administrators can read and update the LDAP configuration.

LDAP is enabled or disabled for Looker using the **enabled** field.

It is **highly** recommended that any LDAP setting changes be tested using the APIs below before being set globally.

See the [Looker LDAP docs]( http://www.looker.com/docs/admin/security/ldap-setup) for additional information.

func (*Client) UpdateSamlConfig

func (a *Client) UpdateSamlConfig(params *UpdateSamlConfigParams) (*UpdateSamlConfigOK, error)

UpdateSamlConfig updates saml configuration

### Update the SAML configuration.

Configuring SAML impacts authentication for all users. This configuration should be done carefully.

Only Looker administrators can read and update the SAML configuration.

SAML is enabled or disabled for Looker using the **enabled** field.

It is **highly** recommended that any SAML setting changes be tested using the APIs below before being set globally.

type CreateSamlTestConfigBadRequest

type CreateSamlTestConfigBadRequest struct {
	Payload
}

CreateSamlTestConfigBadRequest handles this case with default header values.

Bad Request

func NewCreateSamlTestConfigBadRequest

func NewCreateSamlTestConfigBadRequest() *CreateSamlTestConfigBadRequest

NewCreateSamlTestConfigBadRequest creates a CreateSamlTestConfigBadRequest with default headers values

func (*CreateSamlTestConfigBadRequest) Error

type CreateSamlTestConfigNotFound

type CreateSamlTestConfigNotFound struct {
	Payload
}

CreateSamlTestConfigNotFound handles this case with default header values.

Not Found

func NewCreateSamlTestConfigNotFound

func NewCreateSamlTestConfigNotFound() *CreateSamlTestConfigNotFound

NewCreateSamlTestConfigNotFound creates a CreateSamlTestConfigNotFound with default headers values

func (*CreateSamlTestConfigNotFound) Error

type CreateSamlTestConfigOK

type CreateSamlTestConfigOK struct {
	Payload
}

CreateSamlTestConfigOK handles this case with default header values.

SAML test config

func NewCreateSamlTestConfigOK

func NewCreateSamlTestConfigOK() *CreateSamlTestConfigOK

NewCreateSamlTestConfigOK creates a CreateSamlTestConfigOK with default headers values

func (*CreateSamlTestConfigOK) Error

func (o *CreateSamlTestConfigOK) Error() string

type CreateSamlTestConfigParams

type CreateSamlTestConfigParams struct {

	/*Body
	  SAML test config

	*/
	Body
	// contains filtered or unexported fields
}

CreateSamlTestConfigParams contains all the parameters to send to the API endpoint for the create saml test config operation typically these are written to a http.Request

func NewCreateSamlTestConfigParams

func NewCreateSamlTestConfigParams() *CreateSamlTestConfigParams

NewCreateSamlTestConfigParams creates a new CreateSamlTestConfigParams object with the default values initialized.

func NewCreateSamlTestConfigParamsWithTimeout

func NewCreateSamlTestConfigParamsWithTimeout(timeout time.Duration) *CreateSamlTestConfigParams

NewCreateSamlTestConfigParamsWithTimeout creates a new CreateSamlTestConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateSamlTestConfigParams) WithBody

WithBody adds the body to the create saml test config params

func (*CreateSamlTestConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSamlTestConfigReader

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

CreateSamlTestConfigReader is a Reader for the CreateSamlTestConfig structure.

func (*CreateSamlTestConfigReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type DeleteSamlTestConfigBadRequest

type DeleteSamlTestConfigBadRequest struct {
	Payload
}

DeleteSamlTestConfigBadRequest handles this case with default header values.

Bad Request

func NewDeleteSamlTestConfigBadRequest

func NewDeleteSamlTestConfigBadRequest() *DeleteSamlTestConfigBadRequest

NewDeleteSamlTestConfigBadRequest creates a DeleteSamlTestConfigBadRequest with default headers values

func (*DeleteSamlTestConfigBadRequest) Error

type DeleteSamlTestConfigNoContent

type DeleteSamlTestConfigNoContent struct {
	Payload string
}

DeleteSamlTestConfigNoContent handles this case with default header values.

Test config succssfully deleted.

func NewDeleteSamlTestConfigNoContent

func NewDeleteSamlTestConfigNoContent() *DeleteSamlTestConfigNoContent

NewDeleteSamlTestConfigNoContent creates a DeleteSamlTestConfigNoContent with default headers values

func (*DeleteSamlTestConfigNoContent) Error

type DeleteSamlTestConfigNotFound

type DeleteSamlTestConfigNotFound struct {
	Payload
}

DeleteSamlTestConfigNotFound handles this case with default header values.

Not Found

func NewDeleteSamlTestConfigNotFound

func NewDeleteSamlTestConfigNotFound() *DeleteSamlTestConfigNotFound

NewDeleteSamlTestConfigNotFound creates a DeleteSamlTestConfigNotFound with default headers values

func (*DeleteSamlTestConfigNotFound) Error

type DeleteSamlTestConfigParams

type DeleteSamlTestConfigParams struct {

	/*TestSlug
	  Slug of test config

	*/
	TestSlug string
	// contains filtered or unexported fields
}

DeleteSamlTestConfigParams contains all the parameters to send to the API endpoint for the delete saml test config operation typically these are written to a http.Request

func NewDeleteSamlTestConfigParams

func NewDeleteSamlTestConfigParams() *DeleteSamlTestConfigParams

NewDeleteSamlTestConfigParams creates a new DeleteSamlTestConfigParams object with the default values initialized.

func NewDeleteSamlTestConfigParamsWithTimeout

func NewDeleteSamlTestConfigParamsWithTimeout(timeout time.Duration) *DeleteSamlTestConfigParams

NewDeleteSamlTestConfigParamsWithTimeout creates a new DeleteSamlTestConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteSamlTestConfigParams) WithTestSlug

WithTestSlug adds the testSlug to the delete saml test config params

func (*DeleteSamlTestConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSamlTestConfigReader

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

DeleteSamlTestConfigReader is a Reader for the DeleteSamlTestConfig structure.

func (*DeleteSamlTestConfigReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type FetchAndParseSamlIdpMetadataBadRequest

type FetchAndParseSamlIdpMetadataBadRequest struct {
	Payload
}

FetchAndParseSamlIdpMetadataBadRequest handles this case with default header values.

Bad Request

func NewFetchAndParseSamlIdpMetadataBadRequest

func NewFetchAndParseSamlIdpMetadataBadRequest() *FetchAndParseSamlIdpMetadataBadRequest

NewFetchAndParseSamlIdpMetadataBadRequest creates a FetchAndParseSamlIdpMetadataBadRequest with default headers values

func (*FetchAndParseSamlIdpMetadataBadRequest) Error

type FetchAndParseSamlIdpMetadataNotFound

type FetchAndParseSamlIdpMetadataNotFound struct {
	Payload
}

FetchAndParseSamlIdpMetadataNotFound handles this case with default header values.

Not Found

func NewFetchAndParseSamlIdpMetadataNotFound

func NewFetchAndParseSamlIdpMetadataNotFound() *FetchAndParseSamlIdpMetadataNotFound

NewFetchAndParseSamlIdpMetadataNotFound creates a FetchAndParseSamlIdpMetadataNotFound with default headers values

func (*FetchAndParseSamlIdpMetadataNotFound) Error

type FetchAndParseSamlIdpMetadataOK

type FetchAndParseSamlIdpMetadataOK struct {
	Payload
}

FetchAndParseSamlIdpMetadataOK handles this case with default header values.

Parse result

func NewFetchAndParseSamlIdpMetadataOK

func NewFetchAndParseSamlIdpMetadataOK() *FetchAndParseSamlIdpMetadataOK

NewFetchAndParseSamlIdpMetadataOK creates a FetchAndParseSamlIdpMetadataOK with default headers values

func (*FetchAndParseSamlIdpMetadataOK) Error

type FetchAndParseSamlIdpMetadataParams

type FetchAndParseSamlIdpMetadataParams struct {

	/*Body
	  SAML IdP metadata public url

	*/
	Body *string
	// contains filtered or unexported fields
}

FetchAndParseSamlIdpMetadataParams contains all the parameters to send to the API endpoint for the fetch and parse saml idp metadata operation typically these are written to a http.Request

func NewFetchAndParseSamlIdpMetadataParams

func NewFetchAndParseSamlIdpMetadataParams() *FetchAndParseSamlIdpMetadataParams

NewFetchAndParseSamlIdpMetadataParams creates a new FetchAndParseSamlIdpMetadataParams object with the default values initialized.

func NewFetchAndParseSamlIdpMetadataParamsWithTimeout

func NewFetchAndParseSamlIdpMetadataParamsWithTimeout(timeout time.Duration) *FetchAndParseSamlIdpMetadataParams

NewFetchAndParseSamlIdpMetadataParamsWithTimeout creates a new FetchAndParseSamlIdpMetadataParams object with the default values initialized, and the ability to set a timeout on a request

func (*FetchAndParseSamlIdpMetadataParams) WithBody

WithBody adds the body to the fetch and parse saml idp metadata params

func (*FetchAndParseSamlIdpMetadataParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FetchAndParseSamlIdpMetadataReader

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

FetchAndParseSamlIdpMetadataReader is a Reader for the FetchAndParseSamlIdpMetadata structure.

func (*FetchAndParseSamlIdpMetadataReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type LdapConfigNotFound

type LdapConfigNotFound struct {
	Payload
}

LdapConfigNotFound handles this case with default header values.

Not Found

func NewLdapConfigNotFound

func NewLdapConfigNotFound() *LdapConfigNotFound

NewLdapConfigNotFound creates a LdapConfigNotFound with default headers values

func (*LdapConfigNotFound) Error

func (o *LdapConfigNotFound) Error() string

type LdapConfigOK

type LdapConfigOK struct {
	Payload
}

LdapConfigOK handles this case with default header values.

LDAP Configuration.

func NewLdapConfigOK

func NewLdapConfigOK() *LdapConfigOK

NewLdapConfigOK creates a LdapConfigOK with default headers values

func (*LdapConfigOK) Error

func (o *LdapConfigOK) Error() string

type LdapConfigParams

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

LdapConfigParams contains all the parameters to send to the API endpoint for the ldap config operation typically these are written to a http.Request

func NewLdapConfigParams

func NewLdapConfigParams() *LdapConfigParams

NewLdapConfigParams creates a new LdapConfigParams object with the default values initialized.

func NewLdapConfigParamsWithTimeout

func NewLdapConfigParamsWithTimeout(timeout time.Duration) *LdapConfigParams

NewLdapConfigParamsWithTimeout creates a new LdapConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*LdapConfigParams) WriteToRequest

func (o *LdapConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type LdapConfigReader

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

LdapConfigReader is a Reader for the LdapConfig structure.

func (*LdapConfigReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type ParseSamlIdpMetadataBadRequest

type ParseSamlIdpMetadataBadRequest struct {
	Payload
}

ParseSamlIdpMetadataBadRequest handles this case with default header values.

Bad Request

func NewParseSamlIdpMetadataBadRequest

func NewParseSamlIdpMetadataBadRequest() *ParseSamlIdpMetadataBadRequest

NewParseSamlIdpMetadataBadRequest creates a ParseSamlIdpMetadataBadRequest with default headers values

func (*ParseSamlIdpMetadataBadRequest) Error

type ParseSamlIdpMetadataNotFound

type ParseSamlIdpMetadataNotFound struct {
	Payload
}

ParseSamlIdpMetadataNotFound handles this case with default header values.

Not Found

func NewParseSamlIdpMetadataNotFound

func NewParseSamlIdpMetadataNotFound() *ParseSamlIdpMetadataNotFound

NewParseSamlIdpMetadataNotFound creates a ParseSamlIdpMetadataNotFound with default headers values

func (*ParseSamlIdpMetadataNotFound) Error

type ParseSamlIdpMetadataOK

type ParseSamlIdpMetadataOK struct {
	Payload
}

ParseSamlIdpMetadataOK handles this case with default header values.

Parse result

func NewParseSamlIdpMetadataOK

func NewParseSamlIdpMetadataOK() *ParseSamlIdpMetadataOK

NewParseSamlIdpMetadataOK creates a ParseSamlIdpMetadataOK with default headers values

func (*ParseSamlIdpMetadataOK) Error

func (o *ParseSamlIdpMetadataOK) Error() string

type ParseSamlIdpMetadataParams

type ParseSamlIdpMetadataParams struct {

	/*Body
	  SAML IdP metadata xml

	*/
	Body *string
	// contains filtered or unexported fields
}

ParseSamlIdpMetadataParams contains all the parameters to send to the API endpoint for the parse saml idp metadata operation typically these are written to a http.Request

func NewParseSamlIdpMetadataParams

func NewParseSamlIdpMetadataParams() *ParseSamlIdpMetadataParams

NewParseSamlIdpMetadataParams creates a new ParseSamlIdpMetadataParams object with the default values initialized.

func NewParseSamlIdpMetadataParamsWithTimeout

func NewParseSamlIdpMetadataParamsWithTimeout(timeout time.Duration) *ParseSamlIdpMetadataParams

NewParseSamlIdpMetadataParamsWithTimeout creates a new ParseSamlIdpMetadataParams object with the default values initialized, and the ability to set a timeout on a request

func (*ParseSamlIdpMetadataParams) WithBody

WithBody adds the body to the parse saml idp metadata params

func (*ParseSamlIdpMetadataParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ParseSamlIdpMetadataReader

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

ParseSamlIdpMetadataReader is a Reader for the ParseSamlIdpMetadata structure.

func (*ParseSamlIdpMetadataReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type SamlConfigNotFound

type SamlConfigNotFound struct {
	Payload
}

SamlConfigNotFound handles this case with default header values.

Not Found

func NewSamlConfigNotFound

func NewSamlConfigNotFound() *SamlConfigNotFound

NewSamlConfigNotFound creates a SamlConfigNotFound with default headers values

func (*SamlConfigNotFound) Error

func (o *SamlConfigNotFound) Error() string

type SamlConfigOK

type SamlConfigOK struct {
	Payload
}

SamlConfigOK handles this case with default header values.

SAML Configuration.

func NewSamlConfigOK

func NewSamlConfigOK() *SamlConfigOK

NewSamlConfigOK creates a SamlConfigOK with default headers values

func (*SamlConfigOK) Error

func (o *SamlConfigOK) Error() string

type SamlConfigParams

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

SamlConfigParams contains all the parameters to send to the API endpoint for the saml config operation typically these are written to a http.Request

func NewSamlConfigParams

func NewSamlConfigParams() *SamlConfigParams

NewSamlConfigParams creates a new SamlConfigParams object with the default values initialized.

func NewSamlConfigParamsWithTimeout

func NewSamlConfigParamsWithTimeout(timeout time.Duration) *SamlConfigParams

NewSamlConfigParamsWithTimeout creates a new SamlConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*SamlConfigParams) WriteToRequest

func (o *SamlConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SamlConfigReader

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

SamlConfigReader is a Reader for the SamlConfig structure.

func (*SamlConfigReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type SamlTestConfigNotFound

type SamlTestConfigNotFound struct {
	Payload
}

SamlTestConfigNotFound handles this case with default header values.

Not Found

func NewSamlTestConfigNotFound

func NewSamlTestConfigNotFound() *SamlTestConfigNotFound

NewSamlTestConfigNotFound creates a SamlTestConfigNotFound with default headers values

func (*SamlTestConfigNotFound) Error

func (o *SamlTestConfigNotFound) Error() string

type SamlTestConfigOK

type SamlTestConfigOK struct {
	Payload
}

SamlTestConfigOK handles this case with default header values.

SAML test config.

func NewSamlTestConfigOK

func NewSamlTestConfigOK() *SamlTestConfigOK

NewSamlTestConfigOK creates a SamlTestConfigOK with default headers values

func (*SamlTestConfigOK) Error

func (o *SamlTestConfigOK) Error() string

type SamlTestConfigParams

type SamlTestConfigParams struct {

	/*TestSlug
	  Slug of test config

	*/
	TestSlug string
	// contains filtered or unexported fields
}

SamlTestConfigParams contains all the parameters to send to the API endpoint for the saml test config operation typically these are written to a http.Request

func NewSamlTestConfigParams

func NewSamlTestConfigParams() *SamlTestConfigParams

NewSamlTestConfigParams creates a new SamlTestConfigParams object with the default values initialized.

func NewSamlTestConfigParamsWithTimeout

func NewSamlTestConfigParamsWithTimeout(timeout time.Duration) *SamlTestConfigParams

NewSamlTestConfigParamsWithTimeout creates a new SamlTestConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*SamlTestConfigParams) WithTestSlug

func (o *SamlTestConfigParams) WithTestSlug(TestSlug string) *SamlTestConfigParams

WithTestSlug adds the testSlug to the saml test config params

func (*SamlTestConfigParams) WriteToRequest

func (o *SamlTestConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SamlTestConfigReader

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

SamlTestConfigReader is a Reader for the SamlTestConfig structure.

func (*SamlTestConfigReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type TestLdapConfigAuthBadRequest

type TestLdapConfigAuthBadRequest struct {
	Payload
}

TestLdapConfigAuthBadRequest handles this case with default header values.

Bad Request

func NewTestLdapConfigAuthBadRequest

func NewTestLdapConfigAuthBadRequest() *TestLdapConfigAuthBadRequest

NewTestLdapConfigAuthBadRequest creates a TestLdapConfigAuthBadRequest with default headers values

func (*TestLdapConfigAuthBadRequest) Error

type TestLdapConfigAuthNotFound

type TestLdapConfigAuthNotFound struct {
	Payload
}

TestLdapConfigAuthNotFound handles this case with default header values.

Not Found

func NewTestLdapConfigAuthNotFound

func NewTestLdapConfigAuthNotFound() *TestLdapConfigAuthNotFound

NewTestLdapConfigAuthNotFound creates a TestLdapConfigAuthNotFound with default headers values

func (*TestLdapConfigAuthNotFound) Error

type TestLdapConfigAuthOK

type TestLdapConfigAuthOK struct {
	Payload
}

TestLdapConfigAuthOK handles this case with default header values.

Result info.

func NewTestLdapConfigAuthOK

func NewTestLdapConfigAuthOK() *TestLdapConfigAuthOK

NewTestLdapConfigAuthOK creates a TestLdapConfigAuthOK with default headers values

func (*TestLdapConfigAuthOK) Error

func (o *TestLdapConfigAuthOK) Error() string

type TestLdapConfigAuthParams

type TestLdapConfigAuthParams struct {

	/*Body
	  LDAP Config

	*/
	Body
	// contains filtered or unexported fields
}

TestLdapConfigAuthParams contains all the parameters to send to the API endpoint for the test ldap config auth operation typically these are written to a http.Request

func NewTestLdapConfigAuthParams

func NewTestLdapConfigAuthParams() *TestLdapConfigAuthParams

NewTestLdapConfigAuthParams creates a new TestLdapConfigAuthParams object with the default values initialized.

func NewTestLdapConfigAuthParamsWithTimeout

func NewTestLdapConfigAuthParamsWithTimeout(timeout time.Duration) *TestLdapConfigAuthParams

NewTestLdapConfigAuthParamsWithTimeout creates a new TestLdapConfigAuthParams object with the default values initialized, and the ability to set a timeout on a request

func (*TestLdapConfigAuthParams) WithBody

WithBody adds the body to the test ldap config auth params

func (*TestLdapConfigAuthParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TestLdapConfigAuthReader

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

TestLdapConfigAuthReader is a Reader for the TestLdapConfigAuth structure.

func (*TestLdapConfigAuthReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type TestLdapConfigConnectionBadRequest

type TestLdapConfigConnectionBadRequest struct {
	Payload
}

TestLdapConfigConnectionBadRequest handles this case with default header values.

Bad Request

func NewTestLdapConfigConnectionBadRequest

func NewTestLdapConfigConnectionBadRequest() *TestLdapConfigConnectionBadRequest

NewTestLdapConfigConnectionBadRequest creates a TestLdapConfigConnectionBadRequest with default headers values

func (*TestLdapConfigConnectionBadRequest) Error

type TestLdapConfigConnectionNotFound

type TestLdapConfigConnectionNotFound struct {
	Payload
}

TestLdapConfigConnectionNotFound handles this case with default header values.

Not Found

func NewTestLdapConfigConnectionNotFound

func NewTestLdapConfigConnectionNotFound() *TestLdapConfigConnectionNotFound

NewTestLdapConfigConnectionNotFound creates a TestLdapConfigConnectionNotFound with default headers values

func (*TestLdapConfigConnectionNotFound) Error

type TestLdapConfigConnectionOK

type TestLdapConfigConnectionOK struct {
	Payload
}

TestLdapConfigConnectionOK handles this case with default header values.

Result info.

func NewTestLdapConfigConnectionOK

func NewTestLdapConfigConnectionOK() *TestLdapConfigConnectionOK

NewTestLdapConfigConnectionOK creates a TestLdapConfigConnectionOK with default headers values

func (*TestLdapConfigConnectionOK) Error

type TestLdapConfigConnectionParams

type TestLdapConfigConnectionParams struct {

	/*Body
	  LDAP Config

	*/
	Body
	// contains filtered or unexported fields
}

TestLdapConfigConnectionParams contains all the parameters to send to the API endpoint for the test ldap config connection operation typically these are written to a http.Request

func NewTestLdapConfigConnectionParams

func NewTestLdapConfigConnectionParams() *TestLdapConfigConnectionParams

NewTestLdapConfigConnectionParams creates a new TestLdapConfigConnectionParams object with the default values initialized.

func NewTestLdapConfigConnectionParamsWithTimeout

func NewTestLdapConfigConnectionParamsWithTimeout(timeout time.Duration) *TestLdapConfigConnectionParams

NewTestLdapConfigConnectionParamsWithTimeout creates a new TestLdapConfigConnectionParams object with the default values initialized, and the ability to set a timeout on a request

func (*TestLdapConfigConnectionParams) WithBody

WithBody adds the body to the test ldap config connection params

func (*TestLdapConfigConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TestLdapConfigConnectionReader

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

TestLdapConfigConnectionReader is a Reader for the TestLdapConfigConnection structure.

func (*TestLdapConfigConnectionReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type TestLdapConfigUserAuthBadRequest

type TestLdapConfigUserAuthBadRequest struct {
	Payload
}

TestLdapConfigUserAuthBadRequest handles this case with default header values.

Bad Request

func NewTestLdapConfigUserAuthBadRequest

func NewTestLdapConfigUserAuthBadRequest() *TestLdapConfigUserAuthBadRequest

NewTestLdapConfigUserAuthBadRequest creates a TestLdapConfigUserAuthBadRequest with default headers values

func (*TestLdapConfigUserAuthBadRequest) Error

type TestLdapConfigUserAuthNotFound

type TestLdapConfigUserAuthNotFound struct {
	Payload
}

TestLdapConfigUserAuthNotFound handles this case with default header values.

Not Found

func NewTestLdapConfigUserAuthNotFound

func NewTestLdapConfigUserAuthNotFound() *TestLdapConfigUserAuthNotFound

NewTestLdapConfigUserAuthNotFound creates a TestLdapConfigUserAuthNotFound with default headers values

func (*TestLdapConfigUserAuthNotFound) Error

type TestLdapConfigUserAuthOK

type TestLdapConfigUserAuthOK struct {
	Payload
}

TestLdapConfigUserAuthOK handles this case with default header values.

Result info.

func NewTestLdapConfigUserAuthOK

func NewTestLdapConfigUserAuthOK() *TestLdapConfigUserAuthOK

NewTestLdapConfigUserAuthOK creates a TestLdapConfigUserAuthOK with default headers values

func (*TestLdapConfigUserAuthOK) Error

func (o *TestLdapConfigUserAuthOK) Error() string

type TestLdapConfigUserAuthParams

type TestLdapConfigUserAuthParams struct {

	/*Body
	  LDAP Config

	*/
	Body
	// contains filtered or unexported fields
}

TestLdapConfigUserAuthParams contains all the parameters to send to the API endpoint for the test ldap config user auth operation typically these are written to a http.Request

func NewTestLdapConfigUserAuthParams

func NewTestLdapConfigUserAuthParams() *TestLdapConfigUserAuthParams

NewTestLdapConfigUserAuthParams creates a new TestLdapConfigUserAuthParams object with the default values initialized.

func NewTestLdapConfigUserAuthParamsWithTimeout

func NewTestLdapConfigUserAuthParamsWithTimeout(timeout time.Duration) *TestLdapConfigUserAuthParams

NewTestLdapConfigUserAuthParamsWithTimeout creates a new TestLdapConfigUserAuthParams object with the default values initialized, and the ability to set a timeout on a request

func (*TestLdapConfigUserAuthParams) WithBody

WithBody adds the body to the test ldap config user auth params

func (*TestLdapConfigUserAuthParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TestLdapConfigUserAuthReader

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

TestLdapConfigUserAuthReader is a Reader for the TestLdapConfigUserAuth structure.

func (*TestLdapConfigUserAuthReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type TestLdapConfigUserInfoBadRequest

type TestLdapConfigUserInfoBadRequest struct {
	Payload
}

TestLdapConfigUserInfoBadRequest handles this case with default header values.

Bad Request

func NewTestLdapConfigUserInfoBadRequest

func NewTestLdapConfigUserInfoBadRequest() *TestLdapConfigUserInfoBadRequest

NewTestLdapConfigUserInfoBadRequest creates a TestLdapConfigUserInfoBadRequest with default headers values

func (*TestLdapConfigUserInfoBadRequest) Error

type TestLdapConfigUserInfoNotFound

type TestLdapConfigUserInfoNotFound struct {
	Payload
}

TestLdapConfigUserInfoNotFound handles this case with default header values.

Not Found

func NewTestLdapConfigUserInfoNotFound

func NewTestLdapConfigUserInfoNotFound() *TestLdapConfigUserInfoNotFound

NewTestLdapConfigUserInfoNotFound creates a TestLdapConfigUserInfoNotFound with default headers values

func (*TestLdapConfigUserInfoNotFound) Error

type TestLdapConfigUserInfoOK

type TestLdapConfigUserInfoOK struct {
	Payload
}

TestLdapConfigUserInfoOK handles this case with default header values.

Result info.

func NewTestLdapConfigUserInfoOK

func NewTestLdapConfigUserInfoOK() *TestLdapConfigUserInfoOK

NewTestLdapConfigUserInfoOK creates a TestLdapConfigUserInfoOK with default headers values

func (*TestLdapConfigUserInfoOK) Error

func (o *TestLdapConfigUserInfoOK) Error() string

type TestLdapConfigUserInfoParams

type TestLdapConfigUserInfoParams struct {

	/*Body
	  LDAP Config

	*/
	Body
	// contains filtered or unexported fields
}

TestLdapConfigUserInfoParams contains all the parameters to send to the API endpoint for the test ldap config user info operation typically these are written to a http.Request

func NewTestLdapConfigUserInfoParams

func NewTestLdapConfigUserInfoParams() *TestLdapConfigUserInfoParams

NewTestLdapConfigUserInfoParams creates a new TestLdapConfigUserInfoParams object with the default values initialized.

func NewTestLdapConfigUserInfoParamsWithTimeout

func NewTestLdapConfigUserInfoParamsWithTimeout(timeout time.Duration) *TestLdapConfigUserInfoParams

NewTestLdapConfigUserInfoParamsWithTimeout creates a new TestLdapConfigUserInfoParams object with the default values initialized, and the ability to set a timeout on a request

func (*TestLdapConfigUserInfoParams) WithBody

WithBody adds the body to the test ldap config user info params

func (*TestLdapConfigUserInfoParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TestLdapConfigUserInfoReader

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

TestLdapConfigUserInfoReader is a Reader for the TestLdapConfigUserInfo structure.

func (*TestLdapConfigUserInfoReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type UpdateLdapConfigBadRequest

type UpdateLdapConfigBadRequest struct {
	Payload
}

UpdateLdapConfigBadRequest handles this case with default header values.

Bad Request

func NewUpdateLdapConfigBadRequest

func NewUpdateLdapConfigBadRequest() *UpdateLdapConfigBadRequest

NewUpdateLdapConfigBadRequest creates a UpdateLdapConfigBadRequest with default headers values

func (*UpdateLdapConfigBadRequest) Error

type UpdateLdapConfigNotFound

type UpdateLdapConfigNotFound struct {
	Payload
}

UpdateLdapConfigNotFound handles this case with default header values.

Not Found

func NewUpdateLdapConfigNotFound

func NewUpdateLdapConfigNotFound() *UpdateLdapConfigNotFound

NewUpdateLdapConfigNotFound creates a UpdateLdapConfigNotFound with default headers values

func (*UpdateLdapConfigNotFound) Error

func (o *UpdateLdapConfigNotFound) Error() string

type UpdateLdapConfigOK

type UpdateLdapConfigOK struct {
	Payload
}

UpdateLdapConfigOK handles this case with default header values.

New state for LDAP Configuration.

func NewUpdateLdapConfigOK

func NewUpdateLdapConfigOK() *UpdateLdapConfigOK

NewUpdateLdapConfigOK creates a UpdateLdapConfigOK with default headers values

func (*UpdateLdapConfigOK) Error

func (o *UpdateLdapConfigOK) Error() string

type UpdateLdapConfigParams

type UpdateLdapConfigParams struct {

	/*Body
	  LDAP Config

	*/
	Body
	// contains filtered or unexported fields
}

UpdateLdapConfigParams contains all the parameters to send to the API endpoint for the update ldap config operation typically these are written to a http.Request

func NewUpdateLdapConfigParams

func NewUpdateLdapConfigParams() *UpdateLdapConfigParams

NewUpdateLdapConfigParams creates a new UpdateLdapConfigParams object with the default values initialized.

func NewUpdateLdapConfigParamsWithTimeout

func NewUpdateLdapConfigParamsWithTimeout(timeout time.Duration) *UpdateLdapConfigParams

NewUpdateLdapConfigParamsWithTimeout creates a new UpdateLdapConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateLdapConfigParams) WithBody

WithBody adds the body to the update ldap config params

func (*UpdateLdapConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateLdapConfigReader

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

UpdateLdapConfigReader is a Reader for the UpdateLdapConfig structure.

func (*UpdateLdapConfigReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type UpdateSamlConfigBadRequest

type UpdateSamlConfigBadRequest struct {
	Payload
}

UpdateSamlConfigBadRequest handles this case with default header values.

Bad Request

func NewUpdateSamlConfigBadRequest

func NewUpdateSamlConfigBadRequest() *UpdateSamlConfigBadRequest

NewUpdateSamlConfigBadRequest creates a UpdateSamlConfigBadRequest with default headers values

func (*UpdateSamlConfigBadRequest) Error

type UpdateSamlConfigNotFound

type UpdateSamlConfigNotFound struct {
	Payload
}

UpdateSamlConfigNotFound handles this case with default header values.

Not Found

func NewUpdateSamlConfigNotFound

func NewUpdateSamlConfigNotFound() *UpdateSamlConfigNotFound

NewUpdateSamlConfigNotFound creates a UpdateSamlConfigNotFound with default headers values

func (*UpdateSamlConfigNotFound) Error

func (o *UpdateSamlConfigNotFound) Error() string

type UpdateSamlConfigOK

type UpdateSamlConfigOK struct {
	Payload
}

UpdateSamlConfigOK handles this case with default header values.

New state for SAML Configuration.

func NewUpdateSamlConfigOK

func NewUpdateSamlConfigOK() *UpdateSamlConfigOK

NewUpdateSamlConfigOK creates a UpdateSamlConfigOK with default headers values

func (*UpdateSamlConfigOK) Error

func (o *UpdateSamlConfigOK) Error() string

type UpdateSamlConfigParams

type UpdateSamlConfigParams struct {

	/*Body
	  SAML Config

	*/
	Body
	// contains filtered or unexported fields
}

UpdateSamlConfigParams contains all the parameters to send to the API endpoint for the update saml config operation typically these are written to a http.Request

func NewUpdateSamlConfigParams

func NewUpdateSamlConfigParams() *UpdateSamlConfigParams

NewUpdateSamlConfigParams creates a new UpdateSamlConfigParams object with the default values initialized.

func NewUpdateSamlConfigParamsWithTimeout

func NewUpdateSamlConfigParamsWithTimeout(timeout time.Duration) *UpdateSamlConfigParams

NewUpdateSamlConfigParamsWithTimeout creates a new UpdateSamlConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateSamlConfigParams) WithBody

WithBody adds the body to the update saml config params

func (*UpdateSamlConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateSamlConfigReader

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

UpdateSamlConfigReader is a Reader for the UpdateSamlConfig structure.

func (*UpdateSamlConfigReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

Jump to

Keyboard shortcuts

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