Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateLdapConfigV1(params *CreateLdapConfigV1Params) (*CreateLdapConfigV1OK, error)
- func (a *Client) DeleteLdapConfigV1(params *DeleteLdapConfigV1Params) error
- func (a *Client) GetLdapConfigForClusterV1(params *GetLdapConfigForClusterV1Params) (*GetLdapConfigForClusterV1OK, error)
- func (a *Client) GetLdapConfigV1(params *GetLdapConfigV1Params) (*GetLdapConfigV1OK, error)
- func (a *Client) GetLdapRequestByNameV1(params *GetLdapRequestByNameV1Params) (*GetLdapRequestByNameV1OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TestLdapConfigV1(params *TestLdapConfigV1Params) (*TestLdapConfigV1OK, error)
- type CreateLdapConfigV1OK
- type CreateLdapConfigV1Params
- func NewCreateLdapConfigV1Params() *CreateLdapConfigV1Params
- func NewCreateLdapConfigV1ParamsWithContext(ctx context.Context) *CreateLdapConfigV1Params
- func NewCreateLdapConfigV1ParamsWithHTTPClient(client *http.Client) *CreateLdapConfigV1Params
- func NewCreateLdapConfigV1ParamsWithTimeout(timeout time.Duration) *CreateLdapConfigV1Params
- func (o *CreateLdapConfigV1Params) SetBody(body *model.CreateLdapConfigV1Request)
- func (o *CreateLdapConfigV1Params) SetContext(ctx context.Context)
- func (o *CreateLdapConfigV1Params) SetHTTPClient(client *http.Client)
- func (o *CreateLdapConfigV1Params) SetTimeout(timeout time.Duration)
- func (o *CreateLdapConfigV1Params) WithBody(body *model.CreateLdapConfigV1Request) *CreateLdapConfigV1Params
- func (o *CreateLdapConfigV1Params) WithContext(ctx context.Context) *CreateLdapConfigV1Params
- func (o *CreateLdapConfigV1Params) WithHTTPClient(client *http.Client) *CreateLdapConfigV1Params
- func (o *CreateLdapConfigV1Params) WithTimeout(timeout time.Duration) *CreateLdapConfigV1Params
- func (o *CreateLdapConfigV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateLdapConfigV1Reader
- type DeleteLdapConfigV1Default
- type DeleteLdapConfigV1Params
- func NewDeleteLdapConfigV1Params() *DeleteLdapConfigV1Params
- func NewDeleteLdapConfigV1ParamsWithContext(ctx context.Context) *DeleteLdapConfigV1Params
- func NewDeleteLdapConfigV1ParamsWithHTTPClient(client *http.Client) *DeleteLdapConfigV1Params
- func NewDeleteLdapConfigV1ParamsWithTimeout(timeout time.Duration) *DeleteLdapConfigV1Params
- func (o *DeleteLdapConfigV1Params) SetContext(ctx context.Context)
- func (o *DeleteLdapConfigV1Params) SetEnvironmentCrn(environmentCrn *string)
- func (o *DeleteLdapConfigV1Params) SetHTTPClient(client *http.Client)
- func (o *DeleteLdapConfigV1Params) SetTimeout(timeout time.Duration)
- func (o *DeleteLdapConfigV1Params) WithContext(ctx context.Context) *DeleteLdapConfigV1Params
- func (o *DeleteLdapConfigV1Params) WithEnvironmentCrn(environmentCrn *string) *DeleteLdapConfigV1Params
- func (o *DeleteLdapConfigV1Params) WithHTTPClient(client *http.Client) *DeleteLdapConfigV1Params
- func (o *DeleteLdapConfigV1Params) WithTimeout(timeout time.Duration) *DeleteLdapConfigV1Params
- func (o *DeleteLdapConfigV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteLdapConfigV1Reader
- type GetLdapConfigForClusterV1OK
- type GetLdapConfigForClusterV1Params
- func NewGetLdapConfigForClusterV1Params() *GetLdapConfigForClusterV1Params
- func NewGetLdapConfigForClusterV1ParamsWithContext(ctx context.Context) *GetLdapConfigForClusterV1Params
- func NewGetLdapConfigForClusterV1ParamsWithHTTPClient(client *http.Client) *GetLdapConfigForClusterV1Params
- func NewGetLdapConfigForClusterV1ParamsWithTimeout(timeout time.Duration) *GetLdapConfigForClusterV1Params
- func (o *GetLdapConfigForClusterV1Params) SetClusterName(clusterName *string)
- func (o *GetLdapConfigForClusterV1Params) SetContext(ctx context.Context)
- func (o *GetLdapConfigForClusterV1Params) SetEnvironmentCrn(environmentCrn *string)
- func (o *GetLdapConfigForClusterV1Params) SetHTTPClient(client *http.Client)
- func (o *GetLdapConfigForClusterV1Params) SetTimeout(timeout time.Duration)
- func (o *GetLdapConfigForClusterV1Params) WithClusterName(clusterName *string) *GetLdapConfigForClusterV1Params
- func (o *GetLdapConfigForClusterV1Params) WithContext(ctx context.Context) *GetLdapConfigForClusterV1Params
- func (o *GetLdapConfigForClusterV1Params) WithEnvironmentCrn(environmentCrn *string) *GetLdapConfigForClusterV1Params
- func (o *GetLdapConfigForClusterV1Params) WithHTTPClient(client *http.Client) *GetLdapConfigForClusterV1Params
- func (o *GetLdapConfigForClusterV1Params) WithTimeout(timeout time.Duration) *GetLdapConfigForClusterV1Params
- func (o *GetLdapConfigForClusterV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLdapConfigForClusterV1Reader
- type GetLdapConfigV1OK
- type GetLdapConfigV1Params
- func NewGetLdapConfigV1Params() *GetLdapConfigV1Params
- func NewGetLdapConfigV1ParamsWithContext(ctx context.Context) *GetLdapConfigV1Params
- func NewGetLdapConfigV1ParamsWithHTTPClient(client *http.Client) *GetLdapConfigV1Params
- func NewGetLdapConfigV1ParamsWithTimeout(timeout time.Duration) *GetLdapConfigV1Params
- func (o *GetLdapConfigV1Params) SetContext(ctx context.Context)
- func (o *GetLdapConfigV1Params) SetEnvironmentCrn(environmentCrn *string)
- func (o *GetLdapConfigV1Params) SetHTTPClient(client *http.Client)
- func (o *GetLdapConfigV1Params) SetTimeout(timeout time.Duration)
- func (o *GetLdapConfigV1Params) WithContext(ctx context.Context) *GetLdapConfigV1Params
- func (o *GetLdapConfigV1Params) WithEnvironmentCrn(environmentCrn *string) *GetLdapConfigV1Params
- func (o *GetLdapConfigV1Params) WithHTTPClient(client *http.Client) *GetLdapConfigV1Params
- func (o *GetLdapConfigV1Params) WithTimeout(timeout time.Duration) *GetLdapConfigV1Params
- func (o *GetLdapConfigV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLdapConfigV1Reader
- type GetLdapRequestByNameV1OK
- type GetLdapRequestByNameV1Params
- func NewGetLdapRequestByNameV1Params() *GetLdapRequestByNameV1Params
- func NewGetLdapRequestByNameV1ParamsWithContext(ctx context.Context) *GetLdapRequestByNameV1Params
- func NewGetLdapRequestByNameV1ParamsWithHTTPClient(client *http.Client) *GetLdapRequestByNameV1Params
- func NewGetLdapRequestByNameV1ParamsWithTimeout(timeout time.Duration) *GetLdapRequestByNameV1Params
- func (o *GetLdapRequestByNameV1Params) SetContext(ctx context.Context)
- func (o *GetLdapRequestByNameV1Params) SetEnvironmentCrn(environmentCrn *string)
- func (o *GetLdapRequestByNameV1Params) SetHTTPClient(client *http.Client)
- func (o *GetLdapRequestByNameV1Params) SetTimeout(timeout time.Duration)
- func (o *GetLdapRequestByNameV1Params) WithContext(ctx context.Context) *GetLdapRequestByNameV1Params
- func (o *GetLdapRequestByNameV1Params) WithEnvironmentCrn(environmentCrn *string) *GetLdapRequestByNameV1Params
- func (o *GetLdapRequestByNameV1Params) WithHTTPClient(client *http.Client) *GetLdapRequestByNameV1Params
- func (o *GetLdapRequestByNameV1Params) WithTimeout(timeout time.Duration) *GetLdapRequestByNameV1Params
- func (o *GetLdapRequestByNameV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLdapRequestByNameV1Reader
- type TestLdapConfigV1OK
- type TestLdapConfigV1Params
- func NewTestLdapConfigV1Params() *TestLdapConfigV1Params
- func NewTestLdapConfigV1ParamsWithContext(ctx context.Context) *TestLdapConfigV1Params
- func NewTestLdapConfigV1ParamsWithHTTPClient(client *http.Client) *TestLdapConfigV1Params
- func NewTestLdapConfigV1ParamsWithTimeout(timeout time.Duration) *TestLdapConfigV1Params
- func (o *TestLdapConfigV1Params) SetBody(body *model.TestLdapConfigV1Request)
- func (o *TestLdapConfigV1Params) SetContext(ctx context.Context)
- func (o *TestLdapConfigV1Params) SetHTTPClient(client *http.Client)
- func (o *TestLdapConfigV1Params) SetTimeout(timeout time.Duration)
- func (o *TestLdapConfigV1Params) WithBody(body *model.TestLdapConfigV1Request) *TestLdapConfigV1Params
- func (o *TestLdapConfigV1Params) WithContext(ctx context.Context) *TestLdapConfigV1Params
- func (o *TestLdapConfigV1Params) WithHTTPClient(client *http.Client) *TestLdapConfigV1Params
- func (o *TestLdapConfigV1Params) WithTimeout(timeout time.Duration) *TestLdapConfigV1Params
- func (o *TestLdapConfigV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TestLdapConfigV1Reader
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 v1ldaps API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v1ldaps API client.
func (*Client) CreateLdapConfigV1 ¶
func (a *Client) CreateLdapConfigV1(params *CreateLdapConfigV1Params) (*CreateLdapConfigV1OK, error)
CreateLdapConfigV1 creates l d a p config
LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.
func (*Client) DeleteLdapConfigV1 ¶
func (a *Client) DeleteLdapConfigV1(params *DeleteLdapConfigV1Params) error
DeleteLdapConfigV1 deletes l d a p config by environment crn
LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.
func (*Client) GetLdapConfigForClusterV1 ¶
func (a *Client) GetLdapConfigForClusterV1(params *GetLdapConfigForClusterV1Params) (*GetLdapConfigForClusterV1OK, error)
GetLdapConfigForClusterV1 gets or create if not exists l d a p config with separate user for cluster
LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.
func (*Client) GetLdapConfigV1 ¶
func (a *Client) GetLdapConfigV1(params *GetLdapConfigV1Params) (*GetLdapConfigV1OK, error)
GetLdapConfigV1 gets l d a p config by environment crn
LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.
func (*Client) GetLdapRequestByNameV1 ¶
func (a *Client) GetLdapRequestByNameV1(params *GetLdapRequestByNameV1Params) (*GetLdapRequestByNameV1OK, error)
GetLdapRequestByNameV1 gets request
LDAP server integration enables the user to provide a central place to store usernames and passwords for the users of his/her clusters.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TestLdapConfigV1 ¶
func (a *Client) TestLdapConfigV1(params *TestLdapConfigV1Params) (*TestLdapConfigV1OK, error)
TestLdapConfigV1 tests that the connection could be established of an existing or new l d a p config
type CreateLdapConfigV1OK ¶
type CreateLdapConfigV1OK struct {
Payload *model.DescribeLdapConfigV1Response
}
CreateLdapConfigV1OK handles this case with default header values.
successful operation
func NewCreateLdapConfigV1OK ¶
func NewCreateLdapConfigV1OK() *CreateLdapConfigV1OK
NewCreateLdapConfigV1OK creates a CreateLdapConfigV1OK with default headers values
func (*CreateLdapConfigV1OK) Error ¶
func (o *CreateLdapConfigV1OK) Error() string
type CreateLdapConfigV1Params ¶
type CreateLdapConfigV1Params struct { /*Body*/ Body *model.CreateLdapConfigV1Request Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateLdapConfigV1Params contains all the parameters to send to the API endpoint for the create ldap config v1 operation typically these are written to a http.Request
func NewCreateLdapConfigV1Params ¶
func NewCreateLdapConfigV1Params() *CreateLdapConfigV1Params
NewCreateLdapConfigV1Params creates a new CreateLdapConfigV1Params object with the default values initialized.
func NewCreateLdapConfigV1ParamsWithContext ¶
func NewCreateLdapConfigV1ParamsWithContext(ctx context.Context) *CreateLdapConfigV1Params
NewCreateLdapConfigV1ParamsWithContext creates a new CreateLdapConfigV1Params object with the default values initialized, and the ability to set a context for a request
func NewCreateLdapConfigV1ParamsWithHTTPClient ¶
func NewCreateLdapConfigV1ParamsWithHTTPClient(client *http.Client) *CreateLdapConfigV1Params
NewCreateLdapConfigV1ParamsWithHTTPClient creates a new CreateLdapConfigV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateLdapConfigV1ParamsWithTimeout ¶
func NewCreateLdapConfigV1ParamsWithTimeout(timeout time.Duration) *CreateLdapConfigV1Params
NewCreateLdapConfigV1ParamsWithTimeout creates a new CreateLdapConfigV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*CreateLdapConfigV1Params) SetBody ¶
func (o *CreateLdapConfigV1Params) SetBody(body *model.CreateLdapConfigV1Request)
SetBody adds the body to the create ldap config v1 params
func (*CreateLdapConfigV1Params) SetContext ¶
func (o *CreateLdapConfigV1Params) SetContext(ctx context.Context)
SetContext adds the context to the create ldap config v1 params
func (*CreateLdapConfigV1Params) SetHTTPClient ¶
func (o *CreateLdapConfigV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create ldap config v1 params
func (*CreateLdapConfigV1Params) SetTimeout ¶
func (o *CreateLdapConfigV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create ldap config v1 params
func (*CreateLdapConfigV1Params) WithBody ¶
func (o *CreateLdapConfigV1Params) WithBody(body *model.CreateLdapConfigV1Request) *CreateLdapConfigV1Params
WithBody adds the body to the create ldap config v1 params
func (*CreateLdapConfigV1Params) WithContext ¶
func (o *CreateLdapConfigV1Params) WithContext(ctx context.Context) *CreateLdapConfigV1Params
WithContext adds the context to the create ldap config v1 params
func (*CreateLdapConfigV1Params) WithHTTPClient ¶
func (o *CreateLdapConfigV1Params) WithHTTPClient(client *http.Client) *CreateLdapConfigV1Params
WithHTTPClient adds the HTTPClient to the create ldap config v1 params
func (*CreateLdapConfigV1Params) WithTimeout ¶
func (o *CreateLdapConfigV1Params) WithTimeout(timeout time.Duration) *CreateLdapConfigV1Params
WithTimeout adds the timeout to the create ldap config v1 params
func (*CreateLdapConfigV1Params) WriteToRequest ¶
func (o *CreateLdapConfigV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateLdapConfigV1Reader ¶
type CreateLdapConfigV1Reader struct {
// contains filtered or unexported fields
}
CreateLdapConfigV1Reader is a Reader for the CreateLdapConfigV1 structure.
func (*CreateLdapConfigV1Reader) ReadResponse ¶
func (o *CreateLdapConfigV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteLdapConfigV1Default ¶
type DeleteLdapConfigV1Default struct {
// contains filtered or unexported fields
}
DeleteLdapConfigV1Default handles this case with default header values.
successful operation
func NewDeleteLdapConfigV1Default ¶
func NewDeleteLdapConfigV1Default(code int) *DeleteLdapConfigV1Default
NewDeleteLdapConfigV1Default creates a DeleteLdapConfigV1Default with default headers values
func (*DeleteLdapConfigV1Default) Code ¶
func (o *DeleteLdapConfigV1Default) Code() int
Code gets the status code for the delete ldap config v1 default response
func (*DeleteLdapConfigV1Default) Error ¶
func (o *DeleteLdapConfigV1Default) Error() string
type DeleteLdapConfigV1Params ¶
type DeleteLdapConfigV1Params struct { /*EnvironmentCrn*/ EnvironmentCrn *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteLdapConfigV1Params contains all the parameters to send to the API endpoint for the delete ldap config v1 operation typically these are written to a http.Request
func NewDeleteLdapConfigV1Params ¶
func NewDeleteLdapConfigV1Params() *DeleteLdapConfigV1Params
NewDeleteLdapConfigV1Params creates a new DeleteLdapConfigV1Params object with the default values initialized.
func NewDeleteLdapConfigV1ParamsWithContext ¶
func NewDeleteLdapConfigV1ParamsWithContext(ctx context.Context) *DeleteLdapConfigV1Params
NewDeleteLdapConfigV1ParamsWithContext creates a new DeleteLdapConfigV1Params object with the default values initialized, and the ability to set a context for a request
func NewDeleteLdapConfigV1ParamsWithHTTPClient ¶
func NewDeleteLdapConfigV1ParamsWithHTTPClient(client *http.Client) *DeleteLdapConfigV1Params
NewDeleteLdapConfigV1ParamsWithHTTPClient creates a new DeleteLdapConfigV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteLdapConfigV1ParamsWithTimeout ¶
func NewDeleteLdapConfigV1ParamsWithTimeout(timeout time.Duration) *DeleteLdapConfigV1Params
NewDeleteLdapConfigV1ParamsWithTimeout creates a new DeleteLdapConfigV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteLdapConfigV1Params) SetContext ¶
func (o *DeleteLdapConfigV1Params) SetContext(ctx context.Context)
SetContext adds the context to the delete ldap config v1 params
func (*DeleteLdapConfigV1Params) SetEnvironmentCrn ¶
func (o *DeleteLdapConfigV1Params) SetEnvironmentCrn(environmentCrn *string)
SetEnvironmentCrn adds the environmentCrn to the delete ldap config v1 params
func (*DeleteLdapConfigV1Params) SetHTTPClient ¶
func (o *DeleteLdapConfigV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete ldap config v1 params
func (*DeleteLdapConfigV1Params) SetTimeout ¶
func (o *DeleteLdapConfigV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete ldap config v1 params
func (*DeleteLdapConfigV1Params) WithContext ¶
func (o *DeleteLdapConfigV1Params) WithContext(ctx context.Context) *DeleteLdapConfigV1Params
WithContext adds the context to the delete ldap config v1 params
func (*DeleteLdapConfigV1Params) WithEnvironmentCrn ¶
func (o *DeleteLdapConfigV1Params) WithEnvironmentCrn(environmentCrn *string) *DeleteLdapConfigV1Params
WithEnvironmentCrn adds the environmentCrn to the delete ldap config v1 params
func (*DeleteLdapConfigV1Params) WithHTTPClient ¶
func (o *DeleteLdapConfigV1Params) WithHTTPClient(client *http.Client) *DeleteLdapConfigV1Params
WithHTTPClient adds the HTTPClient to the delete ldap config v1 params
func (*DeleteLdapConfigV1Params) WithTimeout ¶
func (o *DeleteLdapConfigV1Params) WithTimeout(timeout time.Duration) *DeleteLdapConfigV1Params
WithTimeout adds the timeout to the delete ldap config v1 params
func (*DeleteLdapConfigV1Params) WriteToRequest ¶
func (o *DeleteLdapConfigV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteLdapConfigV1Reader ¶
type DeleteLdapConfigV1Reader struct {
// contains filtered or unexported fields
}
DeleteLdapConfigV1Reader is a Reader for the DeleteLdapConfigV1 structure.
func (*DeleteLdapConfigV1Reader) ReadResponse ¶
func (o *DeleteLdapConfigV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLdapConfigForClusterV1OK ¶
type GetLdapConfigForClusterV1OK struct {
Payload *model.DescribeLdapConfigV1Response
}
GetLdapConfigForClusterV1OK handles this case with default header values.
successful operation
func NewGetLdapConfigForClusterV1OK ¶
func NewGetLdapConfigForClusterV1OK() *GetLdapConfigForClusterV1OK
NewGetLdapConfigForClusterV1OK creates a GetLdapConfigForClusterV1OK with default headers values
func (*GetLdapConfigForClusterV1OK) Error ¶
func (o *GetLdapConfigForClusterV1OK) Error() string
type GetLdapConfigForClusterV1Params ¶
type GetLdapConfigForClusterV1Params struct { /*ClusterName*/ ClusterName *string /*EnvironmentCrn*/ EnvironmentCrn *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLdapConfigForClusterV1Params contains all the parameters to send to the API endpoint for the get ldap config for cluster v1 operation typically these are written to a http.Request
func NewGetLdapConfigForClusterV1Params ¶
func NewGetLdapConfigForClusterV1Params() *GetLdapConfigForClusterV1Params
NewGetLdapConfigForClusterV1Params creates a new GetLdapConfigForClusterV1Params object with the default values initialized.
func NewGetLdapConfigForClusterV1ParamsWithContext ¶
func NewGetLdapConfigForClusterV1ParamsWithContext(ctx context.Context) *GetLdapConfigForClusterV1Params
NewGetLdapConfigForClusterV1ParamsWithContext creates a new GetLdapConfigForClusterV1Params object with the default values initialized, and the ability to set a context for a request
func NewGetLdapConfigForClusterV1ParamsWithHTTPClient ¶
func NewGetLdapConfigForClusterV1ParamsWithHTTPClient(client *http.Client) *GetLdapConfigForClusterV1Params
NewGetLdapConfigForClusterV1ParamsWithHTTPClient creates a new GetLdapConfigForClusterV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetLdapConfigForClusterV1ParamsWithTimeout ¶
func NewGetLdapConfigForClusterV1ParamsWithTimeout(timeout time.Duration) *GetLdapConfigForClusterV1Params
NewGetLdapConfigForClusterV1ParamsWithTimeout creates a new GetLdapConfigForClusterV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetLdapConfigForClusterV1Params) SetClusterName ¶
func (o *GetLdapConfigForClusterV1Params) SetClusterName(clusterName *string)
SetClusterName adds the clusterName to the get ldap config for cluster v1 params
func (*GetLdapConfigForClusterV1Params) SetContext ¶
func (o *GetLdapConfigForClusterV1Params) SetContext(ctx context.Context)
SetContext adds the context to the get ldap config for cluster v1 params
func (*GetLdapConfigForClusterV1Params) SetEnvironmentCrn ¶
func (o *GetLdapConfigForClusterV1Params) SetEnvironmentCrn(environmentCrn *string)
SetEnvironmentCrn adds the environmentCrn to the get ldap config for cluster v1 params
func (*GetLdapConfigForClusterV1Params) SetHTTPClient ¶
func (o *GetLdapConfigForClusterV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get ldap config for cluster v1 params
func (*GetLdapConfigForClusterV1Params) SetTimeout ¶
func (o *GetLdapConfigForClusterV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get ldap config for cluster v1 params
func (*GetLdapConfigForClusterV1Params) WithClusterName ¶
func (o *GetLdapConfigForClusterV1Params) WithClusterName(clusterName *string) *GetLdapConfigForClusterV1Params
WithClusterName adds the clusterName to the get ldap config for cluster v1 params
func (*GetLdapConfigForClusterV1Params) WithContext ¶
func (o *GetLdapConfigForClusterV1Params) WithContext(ctx context.Context) *GetLdapConfigForClusterV1Params
WithContext adds the context to the get ldap config for cluster v1 params
func (*GetLdapConfigForClusterV1Params) WithEnvironmentCrn ¶
func (o *GetLdapConfigForClusterV1Params) WithEnvironmentCrn(environmentCrn *string) *GetLdapConfigForClusterV1Params
WithEnvironmentCrn adds the environmentCrn to the get ldap config for cluster v1 params
func (*GetLdapConfigForClusterV1Params) WithHTTPClient ¶
func (o *GetLdapConfigForClusterV1Params) WithHTTPClient(client *http.Client) *GetLdapConfigForClusterV1Params
WithHTTPClient adds the HTTPClient to the get ldap config for cluster v1 params
func (*GetLdapConfigForClusterV1Params) WithTimeout ¶
func (o *GetLdapConfigForClusterV1Params) WithTimeout(timeout time.Duration) *GetLdapConfigForClusterV1Params
WithTimeout adds the timeout to the get ldap config for cluster v1 params
func (*GetLdapConfigForClusterV1Params) WriteToRequest ¶
func (o *GetLdapConfigForClusterV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLdapConfigForClusterV1Reader ¶
type GetLdapConfigForClusterV1Reader struct {
// contains filtered or unexported fields
}
GetLdapConfigForClusterV1Reader is a Reader for the GetLdapConfigForClusterV1 structure.
func (*GetLdapConfigForClusterV1Reader) ReadResponse ¶
func (o *GetLdapConfigForClusterV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLdapConfigV1OK ¶
type GetLdapConfigV1OK struct {
Payload *model.DescribeLdapConfigV1Response
}
GetLdapConfigV1OK handles this case with default header values.
successful operation
func NewGetLdapConfigV1OK ¶
func NewGetLdapConfigV1OK() *GetLdapConfigV1OK
NewGetLdapConfigV1OK creates a GetLdapConfigV1OK with default headers values
func (*GetLdapConfigV1OK) Error ¶
func (o *GetLdapConfigV1OK) Error() string
type GetLdapConfigV1Params ¶
type GetLdapConfigV1Params struct { /*EnvironmentCrn*/ EnvironmentCrn *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLdapConfigV1Params contains all the parameters to send to the API endpoint for the get ldap config v1 operation typically these are written to a http.Request
func NewGetLdapConfigV1Params ¶
func NewGetLdapConfigV1Params() *GetLdapConfigV1Params
NewGetLdapConfigV1Params creates a new GetLdapConfigV1Params object with the default values initialized.
func NewGetLdapConfigV1ParamsWithContext ¶
func NewGetLdapConfigV1ParamsWithContext(ctx context.Context) *GetLdapConfigV1Params
NewGetLdapConfigV1ParamsWithContext creates a new GetLdapConfigV1Params object with the default values initialized, and the ability to set a context for a request
func NewGetLdapConfigV1ParamsWithHTTPClient ¶
func NewGetLdapConfigV1ParamsWithHTTPClient(client *http.Client) *GetLdapConfigV1Params
NewGetLdapConfigV1ParamsWithHTTPClient creates a new GetLdapConfigV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetLdapConfigV1ParamsWithTimeout ¶
func NewGetLdapConfigV1ParamsWithTimeout(timeout time.Duration) *GetLdapConfigV1Params
NewGetLdapConfigV1ParamsWithTimeout creates a new GetLdapConfigV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetLdapConfigV1Params) SetContext ¶
func (o *GetLdapConfigV1Params) SetContext(ctx context.Context)
SetContext adds the context to the get ldap config v1 params
func (*GetLdapConfigV1Params) SetEnvironmentCrn ¶
func (o *GetLdapConfigV1Params) SetEnvironmentCrn(environmentCrn *string)
SetEnvironmentCrn adds the environmentCrn to the get ldap config v1 params
func (*GetLdapConfigV1Params) SetHTTPClient ¶
func (o *GetLdapConfigV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get ldap config v1 params
func (*GetLdapConfigV1Params) SetTimeout ¶
func (o *GetLdapConfigV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get ldap config v1 params
func (*GetLdapConfigV1Params) WithContext ¶
func (o *GetLdapConfigV1Params) WithContext(ctx context.Context) *GetLdapConfigV1Params
WithContext adds the context to the get ldap config v1 params
func (*GetLdapConfigV1Params) WithEnvironmentCrn ¶
func (o *GetLdapConfigV1Params) WithEnvironmentCrn(environmentCrn *string) *GetLdapConfigV1Params
WithEnvironmentCrn adds the environmentCrn to the get ldap config v1 params
func (*GetLdapConfigV1Params) WithHTTPClient ¶
func (o *GetLdapConfigV1Params) WithHTTPClient(client *http.Client) *GetLdapConfigV1Params
WithHTTPClient adds the HTTPClient to the get ldap config v1 params
func (*GetLdapConfigV1Params) WithTimeout ¶
func (o *GetLdapConfigV1Params) WithTimeout(timeout time.Duration) *GetLdapConfigV1Params
WithTimeout adds the timeout to the get ldap config v1 params
func (*GetLdapConfigV1Params) WriteToRequest ¶
func (o *GetLdapConfigV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLdapConfigV1Reader ¶
type GetLdapConfigV1Reader struct {
// contains filtered or unexported fields
}
GetLdapConfigV1Reader is a Reader for the GetLdapConfigV1 structure.
func (*GetLdapConfigV1Reader) ReadResponse ¶
func (o *GetLdapConfigV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLdapRequestByNameV1OK ¶
type GetLdapRequestByNameV1OK struct {
Payload *model.CreateLdapConfigV1Request
}
GetLdapRequestByNameV1OK handles this case with default header values.
successful operation
func NewGetLdapRequestByNameV1OK ¶
func NewGetLdapRequestByNameV1OK() *GetLdapRequestByNameV1OK
NewGetLdapRequestByNameV1OK creates a GetLdapRequestByNameV1OK with default headers values
func (*GetLdapRequestByNameV1OK) Error ¶
func (o *GetLdapRequestByNameV1OK) Error() string
type GetLdapRequestByNameV1Params ¶
type GetLdapRequestByNameV1Params struct { /*EnvironmentCrn*/ EnvironmentCrn *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLdapRequestByNameV1Params contains all the parameters to send to the API endpoint for the get ldap request by name v1 operation typically these are written to a http.Request
func NewGetLdapRequestByNameV1Params ¶
func NewGetLdapRequestByNameV1Params() *GetLdapRequestByNameV1Params
NewGetLdapRequestByNameV1Params creates a new GetLdapRequestByNameV1Params object with the default values initialized.
func NewGetLdapRequestByNameV1ParamsWithContext ¶
func NewGetLdapRequestByNameV1ParamsWithContext(ctx context.Context) *GetLdapRequestByNameV1Params
NewGetLdapRequestByNameV1ParamsWithContext creates a new GetLdapRequestByNameV1Params object with the default values initialized, and the ability to set a context for a request
func NewGetLdapRequestByNameV1ParamsWithHTTPClient ¶
func NewGetLdapRequestByNameV1ParamsWithHTTPClient(client *http.Client) *GetLdapRequestByNameV1Params
NewGetLdapRequestByNameV1ParamsWithHTTPClient creates a new GetLdapRequestByNameV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetLdapRequestByNameV1ParamsWithTimeout ¶
func NewGetLdapRequestByNameV1ParamsWithTimeout(timeout time.Duration) *GetLdapRequestByNameV1Params
NewGetLdapRequestByNameV1ParamsWithTimeout creates a new GetLdapRequestByNameV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetLdapRequestByNameV1Params) SetContext ¶
func (o *GetLdapRequestByNameV1Params) SetContext(ctx context.Context)
SetContext adds the context to the get ldap request by name v1 params
func (*GetLdapRequestByNameV1Params) SetEnvironmentCrn ¶
func (o *GetLdapRequestByNameV1Params) SetEnvironmentCrn(environmentCrn *string)
SetEnvironmentCrn adds the environmentCrn to the get ldap request by name v1 params
func (*GetLdapRequestByNameV1Params) SetHTTPClient ¶
func (o *GetLdapRequestByNameV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get ldap request by name v1 params
func (*GetLdapRequestByNameV1Params) SetTimeout ¶
func (o *GetLdapRequestByNameV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get ldap request by name v1 params
func (*GetLdapRequestByNameV1Params) WithContext ¶
func (o *GetLdapRequestByNameV1Params) WithContext(ctx context.Context) *GetLdapRequestByNameV1Params
WithContext adds the context to the get ldap request by name v1 params
func (*GetLdapRequestByNameV1Params) WithEnvironmentCrn ¶
func (o *GetLdapRequestByNameV1Params) WithEnvironmentCrn(environmentCrn *string) *GetLdapRequestByNameV1Params
WithEnvironmentCrn adds the environmentCrn to the get ldap request by name v1 params
func (*GetLdapRequestByNameV1Params) WithHTTPClient ¶
func (o *GetLdapRequestByNameV1Params) WithHTTPClient(client *http.Client) *GetLdapRequestByNameV1Params
WithHTTPClient adds the HTTPClient to the get ldap request by name v1 params
func (*GetLdapRequestByNameV1Params) WithTimeout ¶
func (o *GetLdapRequestByNameV1Params) WithTimeout(timeout time.Duration) *GetLdapRequestByNameV1Params
WithTimeout adds the timeout to the get ldap request by name v1 params
func (*GetLdapRequestByNameV1Params) WriteToRequest ¶
func (o *GetLdapRequestByNameV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLdapRequestByNameV1Reader ¶
type GetLdapRequestByNameV1Reader struct {
// contains filtered or unexported fields
}
GetLdapRequestByNameV1Reader is a Reader for the GetLdapRequestByNameV1 structure.
func (*GetLdapRequestByNameV1Reader) ReadResponse ¶
func (o *GetLdapRequestByNameV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TestLdapConfigV1OK ¶
type TestLdapConfigV1OK struct {
Payload *model.TestLdapConfigV1Response
}
TestLdapConfigV1OK handles this case with default header values.
successful operation
func NewTestLdapConfigV1OK ¶
func NewTestLdapConfigV1OK() *TestLdapConfigV1OK
NewTestLdapConfigV1OK creates a TestLdapConfigV1OK with default headers values
func (*TestLdapConfigV1OK) Error ¶
func (o *TestLdapConfigV1OK) Error() string
type TestLdapConfigV1Params ¶
type TestLdapConfigV1Params struct { /*Body*/ Body *model.TestLdapConfigV1Request Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TestLdapConfigV1Params contains all the parameters to send to the API endpoint for the test ldap config v1 operation typically these are written to a http.Request
func NewTestLdapConfigV1Params ¶
func NewTestLdapConfigV1Params() *TestLdapConfigV1Params
NewTestLdapConfigV1Params creates a new TestLdapConfigV1Params object with the default values initialized.
func NewTestLdapConfigV1ParamsWithContext ¶
func NewTestLdapConfigV1ParamsWithContext(ctx context.Context) *TestLdapConfigV1Params
NewTestLdapConfigV1ParamsWithContext creates a new TestLdapConfigV1Params object with the default values initialized, and the ability to set a context for a request
func NewTestLdapConfigV1ParamsWithHTTPClient ¶
func NewTestLdapConfigV1ParamsWithHTTPClient(client *http.Client) *TestLdapConfigV1Params
NewTestLdapConfigV1ParamsWithHTTPClient creates a new TestLdapConfigV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTestLdapConfigV1ParamsWithTimeout ¶
func NewTestLdapConfigV1ParamsWithTimeout(timeout time.Duration) *TestLdapConfigV1Params
NewTestLdapConfigV1ParamsWithTimeout creates a new TestLdapConfigV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*TestLdapConfigV1Params) SetBody ¶
func (o *TestLdapConfigV1Params) SetBody(body *model.TestLdapConfigV1Request)
SetBody adds the body to the test ldap config v1 params
func (*TestLdapConfigV1Params) SetContext ¶
func (o *TestLdapConfigV1Params) SetContext(ctx context.Context)
SetContext adds the context to the test ldap config v1 params
func (*TestLdapConfigV1Params) SetHTTPClient ¶
func (o *TestLdapConfigV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the test ldap config v1 params
func (*TestLdapConfigV1Params) SetTimeout ¶
func (o *TestLdapConfigV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the test ldap config v1 params
func (*TestLdapConfigV1Params) WithBody ¶
func (o *TestLdapConfigV1Params) WithBody(body *model.TestLdapConfigV1Request) *TestLdapConfigV1Params
WithBody adds the body to the test ldap config v1 params
func (*TestLdapConfigV1Params) WithContext ¶
func (o *TestLdapConfigV1Params) WithContext(ctx context.Context) *TestLdapConfigV1Params
WithContext adds the context to the test ldap config v1 params
func (*TestLdapConfigV1Params) WithHTTPClient ¶
func (o *TestLdapConfigV1Params) WithHTTPClient(client *http.Client) *TestLdapConfigV1Params
WithHTTPClient adds the HTTPClient to the test ldap config v1 params
func (*TestLdapConfigV1Params) WithTimeout ¶
func (o *TestLdapConfigV1Params) WithTimeout(timeout time.Duration) *TestLdapConfigV1Params
WithTimeout adds the timeout to the test ldap config v1 params
func (*TestLdapConfigV1Params) WriteToRequest ¶
func (o *TestLdapConfigV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TestLdapConfigV1Reader ¶
type TestLdapConfigV1Reader struct {
// contains filtered or unexported fields
}
TestLdapConfigV1Reader is a Reader for the TestLdapConfigV1 structure.
func (*TestLdapConfigV1Reader) ReadResponse ¶
func (o *TestLdapConfigV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_ldap_config_v1_parameters.go
- create_ldap_config_v1_responses.go
- delete_ldap_config_v1_parameters.go
- delete_ldap_config_v1_responses.go
- get_ldap_config_for_cluster_v1_parameters.go
- get_ldap_config_for_cluster_v1_responses.go
- get_ldap_config_v1_parameters.go
- get_ldap_config_v1_responses.go
- get_ldap_request_by_name_v1_parameters.go
- get_ldap_request_by_name_v1_responses.go
- test_ldap_config_v1_parameters.go
- test_ldap_config_v1_responses.go
- v1ldaps_client.go