cluster_authorization

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 10 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 cluster authorization API

func (*Client) ClusterAuthorizationGetUserAuthorization

ClusterAuthorizationGetUserAuthorization cluster authorization get user authorization API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ClusterAuthorizationGetUserAuthorization(params *ClusterAuthorizationGetUserAuthorizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ClusterAuthorizationGetUserAuthorizationOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new cluster authorization API client.

type ClusterAuthorizationGetUserAuthorizationDefault

type ClusterAuthorizationGetUserAuthorizationDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}
ClusterAuthorizationGetUserAuthorizationDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewClusterAuthorizationGetUserAuthorizationDefault

func NewClusterAuthorizationGetUserAuthorizationDefault(code int) *ClusterAuthorizationGetUserAuthorizationDefault

NewClusterAuthorizationGetUserAuthorizationDefault creates a ClusterAuthorizationGetUserAuthorizationDefault with default headers values

func (*ClusterAuthorizationGetUserAuthorizationDefault) Code

Code gets the status code for the cluster authorization get user authorization default response

func (*ClusterAuthorizationGetUserAuthorizationDefault) Error

func (*ClusterAuthorizationGetUserAuthorizationDefault) GetPayload

type ClusterAuthorizationGetUserAuthorizationForbidden

type ClusterAuthorizationGetUserAuthorizationForbidden struct {
	Payload interface{}
}
ClusterAuthorizationGetUserAuthorizationForbidden describes a response with status code 403, with default header values.

Returned when the user does not have permission to access the resource.

func NewClusterAuthorizationGetUserAuthorizationForbidden

func NewClusterAuthorizationGetUserAuthorizationForbidden() *ClusterAuthorizationGetUserAuthorizationForbidden

NewClusterAuthorizationGetUserAuthorizationForbidden creates a ClusterAuthorizationGetUserAuthorizationForbidden with default headers values

func (*ClusterAuthorizationGetUserAuthorizationForbidden) Error

func (*ClusterAuthorizationGetUserAuthorizationForbidden) GetPayload

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

type ClusterAuthorizationGetUserAuthorizationNotFound

type ClusterAuthorizationGetUserAuthorizationNotFound struct {
	Payload string
}
ClusterAuthorizationGetUserAuthorizationNotFound describes a response with status code 404, with default header values.

Returned when the resource does not exist.

func NewClusterAuthorizationGetUserAuthorizationNotFound

func NewClusterAuthorizationGetUserAuthorizationNotFound() *ClusterAuthorizationGetUserAuthorizationNotFound

NewClusterAuthorizationGetUserAuthorizationNotFound creates a ClusterAuthorizationGetUserAuthorizationNotFound with default headers values

func (*ClusterAuthorizationGetUserAuthorizationNotFound) Error

func (*ClusterAuthorizationGetUserAuthorizationNotFound) GetPayload

type ClusterAuthorizationGetUserAuthorizationOK

type ClusterAuthorizationGetUserAuthorizationOK struct {
	Payload *models.RPCGetUserAuthorizationResponse
}
ClusterAuthorizationGetUserAuthorizationOK describes a response with status code 200, with default header values.

A successful response.

func NewClusterAuthorizationGetUserAuthorizationOK

func NewClusterAuthorizationGetUserAuthorizationOK() *ClusterAuthorizationGetUserAuthorizationOK

NewClusterAuthorizationGetUserAuthorizationOK creates a ClusterAuthorizationGetUserAuthorizationOK with default headers values

func (*ClusterAuthorizationGetUserAuthorizationOK) Error

func (*ClusterAuthorizationGetUserAuthorizationOK) GetPayload

type ClusterAuthorizationGetUserAuthorizationParams

type ClusterAuthorizationGetUserAuthorizationParams struct {

	// CertIssueSeconds.
	//
	// Format: int64
	CertIssueSeconds *string

	// ClusterID.
	ClusterID *string

	// UserCN.
	UserCN *string

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

ClusterAuthorizationGetUserAuthorizationParams contains all the parameters to send to the API endpoint

for the cluster authorization get user authorization operation.

Typically these are written to a http.Request.

func NewClusterAuthorizationGetUserAuthorizationParams

func NewClusterAuthorizationGetUserAuthorizationParams() *ClusterAuthorizationGetUserAuthorizationParams

NewClusterAuthorizationGetUserAuthorizationParams creates a new ClusterAuthorizationGetUserAuthorizationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewClusterAuthorizationGetUserAuthorizationParamsWithContext

func NewClusterAuthorizationGetUserAuthorizationParamsWithContext(ctx context.Context) *ClusterAuthorizationGetUserAuthorizationParams

NewClusterAuthorizationGetUserAuthorizationParamsWithContext creates a new ClusterAuthorizationGetUserAuthorizationParams object with the ability to set a context for a request.

func NewClusterAuthorizationGetUserAuthorizationParamsWithHTTPClient

func NewClusterAuthorizationGetUserAuthorizationParamsWithHTTPClient(client *http.Client) *ClusterAuthorizationGetUserAuthorizationParams

NewClusterAuthorizationGetUserAuthorizationParamsWithHTTPClient creates a new ClusterAuthorizationGetUserAuthorizationParams object with the ability to set a custom HTTPClient for a request.

func NewClusterAuthorizationGetUserAuthorizationParamsWithTimeout

func NewClusterAuthorizationGetUserAuthorizationParamsWithTimeout(timeout time.Duration) *ClusterAuthorizationGetUserAuthorizationParams

NewClusterAuthorizationGetUserAuthorizationParamsWithTimeout creates a new ClusterAuthorizationGetUserAuthorizationParams object with the ability to set a timeout on a request.

func (*ClusterAuthorizationGetUserAuthorizationParams) SetCertIssueSeconds

func (o *ClusterAuthorizationGetUserAuthorizationParams) SetCertIssueSeconds(certIssueSeconds *string)

SetCertIssueSeconds adds the certIssueSeconds to the cluster authorization get user authorization params

func (*ClusterAuthorizationGetUserAuthorizationParams) SetClusterID

func (o *ClusterAuthorizationGetUserAuthorizationParams) SetClusterID(clusterID *string)

SetClusterID adds the clusterId to the cluster authorization get user authorization params

func (*ClusterAuthorizationGetUserAuthorizationParams) SetContext

SetContext adds the context to the cluster authorization get user authorization params

func (*ClusterAuthorizationGetUserAuthorizationParams) SetDefaults

SetDefaults hydrates default values in the cluster authorization get user authorization params (not the query body).

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

func (*ClusterAuthorizationGetUserAuthorizationParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the cluster authorization get user authorization params

func (*ClusterAuthorizationGetUserAuthorizationParams) SetTimeout

SetTimeout adds the timeout to the cluster authorization get user authorization params

func (*ClusterAuthorizationGetUserAuthorizationParams) SetUserCN

SetUserCN adds the userCN to the cluster authorization get user authorization params

func (*ClusterAuthorizationGetUserAuthorizationParams) WithCertIssueSeconds

WithCertIssueSeconds adds the certIssueSeconds to the cluster authorization get user authorization params

func (*ClusterAuthorizationGetUserAuthorizationParams) WithClusterID

WithClusterID adds the clusterID to the cluster authorization get user authorization params

func (*ClusterAuthorizationGetUserAuthorizationParams) WithContext

WithContext adds the context to the cluster authorization get user authorization params

func (*ClusterAuthorizationGetUserAuthorizationParams) WithDefaults

WithDefaults hydrates default values in the cluster authorization get user authorization params (not the query body).

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

func (*ClusterAuthorizationGetUserAuthorizationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cluster authorization get user authorization params

func (*ClusterAuthorizationGetUserAuthorizationParams) WithTimeout

WithTimeout adds the timeout to the cluster authorization get user authorization params

func (*ClusterAuthorizationGetUserAuthorizationParams) WithUserCN

WithUserCN adds the userCN to the cluster authorization get user authorization params

func (*ClusterAuthorizationGetUserAuthorizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ClusterAuthorizationGetUserAuthorizationReader

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

ClusterAuthorizationGetUserAuthorizationReader is a Reader for the ClusterAuthorizationGetUserAuthorization structure.

func (*ClusterAuthorizationGetUserAuthorizationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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