project

package
v2.14.13+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: Apache-2.0 Imports: 11 Imported by: 33

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignSSHKeyToClusterCreated

type AssignSSHKeyToClusterCreated struct {
	Payload *models.SSHKey
}

AssignSSHKeyToClusterCreated handles this case with default header values.

SSHKey

func NewAssignSSHKeyToClusterCreated

func NewAssignSSHKeyToClusterCreated() *AssignSSHKeyToClusterCreated

NewAssignSSHKeyToClusterCreated creates a AssignSSHKeyToClusterCreated with default headers values

func (*AssignSSHKeyToClusterCreated) Error

func (*AssignSSHKeyToClusterCreated) GetPayload

func (o *AssignSSHKeyToClusterCreated) GetPayload() *models.SSHKey

type AssignSSHKeyToClusterDefault

type AssignSSHKeyToClusterDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

AssignSSHKeyToClusterDefault handles this case with default header values.

errorResponse

func NewAssignSSHKeyToClusterDefault

func NewAssignSSHKeyToClusterDefault(code int) *AssignSSHKeyToClusterDefault

NewAssignSSHKeyToClusterDefault creates a AssignSSHKeyToClusterDefault with default headers values

func (*AssignSSHKeyToClusterDefault) Code

Code gets the status code for the assign SSH key to cluster default response

func (*AssignSSHKeyToClusterDefault) Error

func (*AssignSSHKeyToClusterDefault) GetPayload

type AssignSSHKeyToClusterForbidden

type AssignSSHKeyToClusterForbidden struct {
}

AssignSSHKeyToClusterForbidden handles this case with default header values.

EmptyResponse is a empty response

func NewAssignSSHKeyToClusterForbidden

func NewAssignSSHKeyToClusterForbidden() *AssignSSHKeyToClusterForbidden

NewAssignSSHKeyToClusterForbidden creates a AssignSSHKeyToClusterForbidden with default headers values

func (*AssignSSHKeyToClusterForbidden) Error

type AssignSSHKeyToClusterParams

type AssignSSHKeyToClusterParams struct {

	/*ClusterID*/
	ClusterID string
	/*Dc*/
	DC string
	/*KeyID*/
	KeyID string
	/*ProjectID*/
	ProjectID string

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

AssignSSHKeyToClusterParams contains all the parameters to send to the API endpoint for the assign SSH key to cluster operation typically these are written to a http.Request

func NewAssignSSHKeyToClusterParams

func NewAssignSSHKeyToClusterParams() *AssignSSHKeyToClusterParams

NewAssignSSHKeyToClusterParams creates a new AssignSSHKeyToClusterParams object with the default values initialized.

func NewAssignSSHKeyToClusterParamsWithContext

func NewAssignSSHKeyToClusterParamsWithContext(ctx context.Context) *AssignSSHKeyToClusterParams

NewAssignSSHKeyToClusterParamsWithContext creates a new AssignSSHKeyToClusterParams object with the default values initialized, and the ability to set a context for a request

func NewAssignSSHKeyToClusterParamsWithHTTPClient

func NewAssignSSHKeyToClusterParamsWithHTTPClient(client *http.Client) *AssignSSHKeyToClusterParams

NewAssignSSHKeyToClusterParamsWithHTTPClient creates a new AssignSSHKeyToClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAssignSSHKeyToClusterParamsWithTimeout

func NewAssignSSHKeyToClusterParamsWithTimeout(timeout time.Duration) *AssignSSHKeyToClusterParams

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

func (*AssignSSHKeyToClusterParams) SetClusterID

func (o *AssignSSHKeyToClusterParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the assign SSH key to cluster params

func (*AssignSSHKeyToClusterParams) SetContext

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

SetContext adds the context to the assign SSH key to cluster params

func (*AssignSSHKeyToClusterParams) SetDC

func (o *AssignSSHKeyToClusterParams) SetDC(dc string)

SetDC adds the dc to the assign SSH key to cluster params

func (*AssignSSHKeyToClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the assign SSH key to cluster params

func (*AssignSSHKeyToClusterParams) SetKeyID

func (o *AssignSSHKeyToClusterParams) SetKeyID(keyID string)

SetKeyID adds the keyId to the assign SSH key to cluster params

func (*AssignSSHKeyToClusterParams) SetProjectID

func (o *AssignSSHKeyToClusterParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the assign SSH key to cluster params

func (*AssignSSHKeyToClusterParams) SetTimeout

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

SetTimeout adds the timeout to the assign SSH key to cluster params

func (*AssignSSHKeyToClusterParams) WithClusterID

func (o *AssignSSHKeyToClusterParams) WithClusterID(clusterID string) *AssignSSHKeyToClusterParams

WithClusterID adds the clusterID to the assign SSH key to cluster params

func (*AssignSSHKeyToClusterParams) WithContext

WithContext adds the context to the assign SSH key to cluster params

func (*AssignSSHKeyToClusterParams) WithDC

WithDC adds the dc to the assign SSH key to cluster params

func (*AssignSSHKeyToClusterParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the assign SSH key to cluster params

func (*AssignSSHKeyToClusterParams) WithKeyID

WithKeyID adds the keyID to the assign SSH key to cluster params

func (*AssignSSHKeyToClusterParams) WithProjectID

func (o *AssignSSHKeyToClusterParams) WithProjectID(projectID string) *AssignSSHKeyToClusterParams

WithProjectID adds the projectID to the assign SSH key to cluster params

func (*AssignSSHKeyToClusterParams) WithTimeout

WithTimeout adds the timeout to the assign SSH key to cluster params

func (*AssignSSHKeyToClusterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AssignSSHKeyToClusterReader

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

AssignSSHKeyToClusterReader is a Reader for the AssignSSHKeyToCluster structure.

func (*AssignSSHKeyToClusterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AssignSSHKeyToClusterUnauthorized

type AssignSSHKeyToClusterUnauthorized struct {
}

AssignSSHKeyToClusterUnauthorized handles this case with default header values.

EmptyResponse is a empty response

func NewAssignSSHKeyToClusterUnauthorized

func NewAssignSSHKeyToClusterUnauthorized() *AssignSSHKeyToClusterUnauthorized

NewAssignSSHKeyToClusterUnauthorized creates a AssignSSHKeyToClusterUnauthorized with default headers values

func (*AssignSSHKeyToClusterUnauthorized) Error

type BindUserToClusterRoleDefault

type BindUserToClusterRoleDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

BindUserToClusterRoleDefault handles this case with default header values.

errorResponse

func NewBindUserToClusterRoleDefault

func NewBindUserToClusterRoleDefault(code int) *BindUserToClusterRoleDefault

NewBindUserToClusterRoleDefault creates a BindUserToClusterRoleDefault with default headers values

func (*BindUserToClusterRoleDefault) Code

Code gets the status code for the bind user to cluster role default response

func (*BindUserToClusterRoleDefault) Error

func (*BindUserToClusterRoleDefault) GetPayload

type BindUserToClusterRoleForbidden

type BindUserToClusterRoleForbidden struct {
}

BindUserToClusterRoleForbidden handles this case with default header values.

EmptyResponse is a empty response

func NewBindUserToClusterRoleForbidden

func NewBindUserToClusterRoleForbidden() *BindUserToClusterRoleForbidden

NewBindUserToClusterRoleForbidden creates a BindUserToClusterRoleForbidden with default headers values

func (*BindUserToClusterRoleForbidden) Error

type BindUserToClusterRoleOK

type BindUserToClusterRoleOK struct {
	Payload *models.ClusterRoleBinding
}

BindUserToClusterRoleOK handles this case with default header values.

ClusterRoleBinding

func NewBindUserToClusterRoleOK

func NewBindUserToClusterRoleOK() *BindUserToClusterRoleOK

NewBindUserToClusterRoleOK creates a BindUserToClusterRoleOK with default headers values

func (*BindUserToClusterRoleOK) Error

func (o *BindUserToClusterRoleOK) Error() string

func (*BindUserToClusterRoleOK) GetPayload

type BindUserToClusterRoleParams

type BindUserToClusterRoleParams struct {

	/*Body*/
	Body *models.ClusterRoleUser
	/*ClusterID*/
	ClusterID string
	/*Dc*/
	DC string
	/*ProjectID*/
	ProjectID string
	/*RoleID*/
	RoleID string

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

BindUserToClusterRoleParams contains all the parameters to send to the API endpoint for the bind user to cluster role operation typically these are written to a http.Request

func NewBindUserToClusterRoleParams

func NewBindUserToClusterRoleParams() *BindUserToClusterRoleParams

NewBindUserToClusterRoleParams creates a new BindUserToClusterRoleParams object with the default values initialized.

func NewBindUserToClusterRoleParamsWithContext

func NewBindUserToClusterRoleParamsWithContext(ctx context.Context) *BindUserToClusterRoleParams

NewBindUserToClusterRoleParamsWithContext creates a new BindUserToClusterRoleParams object with the default values initialized, and the ability to set a context for a request

func NewBindUserToClusterRoleParamsWithHTTPClient

func NewBindUserToClusterRoleParamsWithHTTPClient(client *http.Client) *BindUserToClusterRoleParams

NewBindUserToClusterRoleParamsWithHTTPClient creates a new BindUserToClusterRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewBindUserToClusterRoleParamsWithTimeout

func NewBindUserToClusterRoleParamsWithTimeout(timeout time.Duration) *BindUserToClusterRoleParams

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

func (*BindUserToClusterRoleParams) SetBody

SetBody adds the body to the bind user to cluster role params

func (*BindUserToClusterRoleParams) SetClusterID

func (o *BindUserToClusterRoleParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the bind user to cluster role params

func (*BindUserToClusterRoleParams) SetContext

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

SetContext adds the context to the bind user to cluster role params