plugins

package
v0.0.0-...-0474ac8 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: MIT Imports: 12 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 plugins API

func (*Client) GetAPIV1PluginsAwsCredentialsStatus

func (a *Client) GetAPIV1PluginsAwsCredentialsStatus(params *GetAPIV1PluginsAwsCredentialsStatusParams, opts ...ClientOption) (*GetAPIV1PluginsAwsCredentialsStatusOK, error)

GetAPIV1PluginsAwsCredentialsStatus gets a w s credential detection status

Detects if AWS credentials are available from environment or config files

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 may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	GetAPIV1PluginsAwsCredentialsStatus(params *GetAPIV1PluginsAwsCredentialsStatusParams, opts ...ClientOption) (*GetAPIV1PluginsAwsCredentialsStatusOK, 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 plugins API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new plugins API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new plugins API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type GetAPIV1PluginsAwsCredentialsStatusOK

type GetAPIV1PluginsAwsCredentialsStatusOK struct {
	Payload *models.PluginAWSCredentialStatus
}

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

OK

func NewGetAPIV1PluginsAwsCredentialsStatusOK

func NewGetAPIV1PluginsAwsCredentialsStatusOK() *GetAPIV1PluginsAwsCredentialsStatusOK

NewGetAPIV1PluginsAwsCredentialsStatusOK creates a GetAPIV1PluginsAwsCredentialsStatusOK with default headers values

func (*GetAPIV1PluginsAwsCredentialsStatusOK) Code

Code gets the status code for the get Api v1 plugins aws credentials status o k response

func (*GetAPIV1PluginsAwsCredentialsStatusOK) Error

func (*GetAPIV1PluginsAwsCredentialsStatusOK) GetPayload

func (*GetAPIV1PluginsAwsCredentialsStatusOK) IsClientError

func (o *GetAPIV1PluginsAwsCredentialsStatusOK) IsClientError() bool

IsClientError returns true when this get Api v1 plugins aws credentials status o k response has a 4xx status code

func (*GetAPIV1PluginsAwsCredentialsStatusOK) IsCode

IsCode returns true when this get Api v1 plugins aws credentials status o k response a status code equal to that given

func (*GetAPIV1PluginsAwsCredentialsStatusOK) IsRedirect

IsRedirect returns true when this get Api v1 plugins aws credentials status o k response has a 3xx status code

func (*GetAPIV1PluginsAwsCredentialsStatusOK) IsServerError

func (o *GetAPIV1PluginsAwsCredentialsStatusOK) IsServerError() bool

IsServerError returns true when this get Api v1 plugins aws credentials status o k response has a 5xx status code

func (*GetAPIV1PluginsAwsCredentialsStatusOK) IsSuccess

IsSuccess returns true when this get Api v1 plugins aws credentials status o k response has a 2xx status code

func (*GetAPIV1PluginsAwsCredentialsStatusOK) String

type GetAPIV1PluginsAwsCredentialsStatusParams

type GetAPIV1PluginsAwsCredentialsStatusParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAPIV1PluginsAwsCredentialsStatusParams contains all the parameters to send to the API endpoint

for the get API v1 plugins aws credentials status operation.

Typically these are written to a http.Request.

func NewGetAPIV1PluginsAwsCredentialsStatusParams

func NewGetAPIV1PluginsAwsCredentialsStatusParams() *GetAPIV1PluginsAwsCredentialsStatusParams

NewGetAPIV1PluginsAwsCredentialsStatusParams creates a new GetAPIV1PluginsAwsCredentialsStatusParams 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 NewGetAPIV1PluginsAwsCredentialsStatusParamsWithContext

func NewGetAPIV1PluginsAwsCredentialsStatusParamsWithContext(ctx context.Context) *GetAPIV1PluginsAwsCredentialsStatusParams

NewGetAPIV1PluginsAwsCredentialsStatusParamsWithContext creates a new GetAPIV1PluginsAwsCredentialsStatusParams object with the ability to set a context for a request.

func NewGetAPIV1PluginsAwsCredentialsStatusParamsWithHTTPClient

func NewGetAPIV1PluginsAwsCredentialsStatusParamsWithHTTPClient(client *http.Client) *GetAPIV1PluginsAwsCredentialsStatusParams

NewGetAPIV1PluginsAwsCredentialsStatusParamsWithHTTPClient creates a new GetAPIV1PluginsAwsCredentialsStatusParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIV1PluginsAwsCredentialsStatusParamsWithTimeout

func NewGetAPIV1PluginsAwsCredentialsStatusParamsWithTimeout(timeout time.Duration) *GetAPIV1PluginsAwsCredentialsStatusParams

NewGetAPIV1PluginsAwsCredentialsStatusParamsWithTimeout creates a new GetAPIV1PluginsAwsCredentialsStatusParams object with the ability to set a timeout on a request.

func (*GetAPIV1PluginsAwsCredentialsStatusParams) SetContext

SetContext adds the context to the get API v1 plugins aws credentials status params

func (*GetAPIV1PluginsAwsCredentialsStatusParams) SetDefaults

SetDefaults hydrates default values in the get API v1 plugins aws credentials status params (not the query body).

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

func (*GetAPIV1PluginsAwsCredentialsStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API v1 plugins aws credentials status params

func (*GetAPIV1PluginsAwsCredentialsStatusParams) SetTimeout

SetTimeout adds the timeout to the get API v1 plugins aws credentials status params

func (*GetAPIV1PluginsAwsCredentialsStatusParams) WithContext

WithContext adds the context to the get API v1 plugins aws credentials status params

func (*GetAPIV1PluginsAwsCredentialsStatusParams) WithDefaults

WithDefaults hydrates default values in the get API v1 plugins aws credentials status params (not the query body).

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

func (*GetAPIV1PluginsAwsCredentialsStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API v1 plugins aws credentials status params

func (*GetAPIV1PluginsAwsCredentialsStatusParams) WithTimeout

WithTimeout adds the timeout to the get API v1 plugins aws credentials status params

func (*GetAPIV1PluginsAwsCredentialsStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIV1PluginsAwsCredentialsStatusReader

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

GetAPIV1PluginsAwsCredentialsStatusReader is a Reader for the GetAPIV1PluginsAwsCredentialsStatus structure.

func (*GetAPIV1PluginsAwsCredentialsStatusReader) ReadResponse

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