repository_service

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 11 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 repository service API

func (*Client) RepositoryServiceCreateRepository

func (a *Client) RepositoryServiceCreateRepository(params *RepositoryServiceCreateRepositoryParams, opts ...ClientOption) (*RepositoryServiceCreateRepositoryOK, error)

RepositoryServiceCreateRepository creates repository creates a new repository configuration

func (*Client) RepositoryServiceDeleteRepository

func (a *Client) RepositoryServiceDeleteRepository(params *RepositoryServiceDeleteRepositoryParams, opts ...ClientOption) (*RepositoryServiceDeleteRepositoryOK, error)

RepositoryServiceDeleteRepository deletes repository deletes a repository from the configuration

func (*Client) RepositoryServiceGet

func (a *Client) RepositoryServiceGet(params *RepositoryServiceGetParams, opts ...ClientOption) (*RepositoryServiceGetOK, error)

RepositoryServiceGet gets returns a repository or its credentials

func (*Client) RepositoryServiceGetAppDetails

func (a *Client) RepositoryServiceGetAppDetails(params *RepositoryServiceGetAppDetailsParams, opts ...ClientOption) (*RepositoryServiceGetAppDetailsOK, error)

RepositoryServiceGetAppDetails gets app details returns application details by given path

func (*Client) RepositoryServiceGetHelmCharts

func (a *Client) RepositoryServiceGetHelmCharts(params *RepositoryServiceGetHelmChartsParams, opts ...ClientOption) (*RepositoryServiceGetHelmChartsOK, error)

RepositoryServiceGetHelmCharts gets helm charts returns list of helm charts in the specified repository

func (*Client) RepositoryServiceListApps

func (a *Client) RepositoryServiceListApps(params *RepositoryServiceListAppsParams, opts ...ClientOption) (*RepositoryServiceListAppsOK, error)

RepositoryServiceListApps lists apps returns list of apps in the repo

func (*Client) RepositoryServiceListRefs

func (a *Client) RepositoryServiceListRefs(params *RepositoryServiceListRefsParams, opts ...ClientOption) (*RepositoryServiceListRefsOK, error)

RepositoryServiceListRefs repository service list refs API

func (*Client) RepositoryServiceListRepositories

func (a *Client) RepositoryServiceListRepositories(params *RepositoryServiceListRepositoriesParams, opts ...ClientOption) (*RepositoryServiceListRepositoriesOK, error)

RepositoryServiceListRepositories lists repositories gets a list of all configured repositories

func (*Client) RepositoryServiceUpdateRepository

func (a *Client) RepositoryServiceUpdateRepository(params *RepositoryServiceUpdateRepositoryParams, opts ...ClientOption) (*RepositoryServiceUpdateRepositoryOK, error)

RepositoryServiceUpdateRepository updates repository updates a repository configuration

func (*Client) RepositoryServiceValidateAccess

func (a *Client) RepositoryServiceValidateAccess(params *RepositoryServiceValidateAccessParams, opts ...ClientOption) (*RepositoryServiceValidateAccessOK, error)

RepositoryServiceValidateAccess validates access validates access to a repository with given parameters

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 {
	RepositoryServiceCreateRepository(params *RepositoryServiceCreateRepositoryParams, opts ...ClientOption) (*RepositoryServiceCreateRepositoryOK, error)

	RepositoryServiceDeleteRepository(params *RepositoryServiceDeleteRepositoryParams, opts ...ClientOption) (*RepositoryServiceDeleteRepositoryOK, error)

	RepositoryServiceGet(params *RepositoryServiceGetParams, opts ...ClientOption) (*RepositoryServiceGetOK, error)

	RepositoryServiceGetAppDetails(params *RepositoryServiceGetAppDetailsParams, opts ...ClientOption) (*RepositoryServiceGetAppDetailsOK, error)

	RepositoryServiceGetHelmCharts(params *RepositoryServiceGetHelmChartsParams, opts ...ClientOption) (*RepositoryServiceGetHelmChartsOK, error)

	RepositoryServiceListApps(params *RepositoryServiceListAppsParams, opts ...ClientOption) (*RepositoryServiceListAppsOK, error)

	RepositoryServiceListRefs(params *RepositoryServiceListRefsParams, opts ...ClientOption) (*RepositoryServiceListRefsOK, error)

	RepositoryServiceListRepositories(params *RepositoryServiceListRepositoriesParams, opts ...ClientOption) (*RepositoryServiceListRepositoriesOK, error)

	RepositoryServiceUpdateRepository(params *RepositoryServiceUpdateRepositoryParams, opts ...ClientOption) (*RepositoryServiceUpdateRepositoryOK, error)

	RepositoryServiceValidateAccess(params *RepositoryServiceValidateAccessParams, opts ...ClientOption) (*RepositoryServiceValidateAccessOK, 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 repository service API client.

type RepositoryServiceCreateRepositoryDefault

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

An unexpected error response.

func NewRepositoryServiceCreateRepositoryDefault

func NewRepositoryServiceCreateRepositoryDefault(code int) *RepositoryServiceCreateRepositoryDefault

NewRepositoryServiceCreateRepositoryDefault creates a RepositoryServiceCreateRepositoryDefault with default headers values

func (*RepositoryServiceCreateRepositoryDefault) Code

Code gets the status code for the repository service create repository default response

func (*RepositoryServiceCreateRepositoryDefault) Error

func (*RepositoryServiceCreateRepositoryDefault) GetPayload

type RepositoryServiceCreateRepositoryOK

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

A successful response.

func NewRepositoryServiceCreateRepositoryOK

func NewRepositoryServiceCreateRepositoryOK() *RepositoryServiceCreateRepositoryOK

NewRepositoryServiceCreateRepositoryOK creates a RepositoryServiceCreateRepositoryOK with default headers values

func (*RepositoryServiceCreateRepositoryOK) Error

func (*RepositoryServiceCreateRepositoryOK) GetPayload

type RepositoryServiceCreateRepositoryParams

type RepositoryServiceCreateRepositoryParams struct {

	/* Body.

	   Repository definition
	*/
	Body *models.V1alpha1Repository

	/* CredsOnly.

	   Whether to operate on credential set instead of repository.
	*/
	CredsOnly *bool

	/* Upsert.

	   Whether to create in upsert mode.
	*/
	Upsert *bool

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

RepositoryServiceCreateRepositoryParams contains all the parameters to send to the API endpoint

for the repository service create repository operation.

Typically these are written to a http.Request.

func NewRepositoryServiceCreateRepositoryParams

func NewRepositoryServiceCreateRepositoryParams() *RepositoryServiceCreateRepositoryParams

NewRepositoryServiceCreateRepositoryParams creates a new RepositoryServiceCreateRepositoryParams 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 NewRepositoryServiceCreateRepositoryParamsWithContext

func NewRepositoryServiceCreateRepositoryParamsWithContext(ctx context.Context) *RepositoryServiceCreateRepositoryParams

NewRepositoryServiceCreateRepositoryParamsWithContext creates a new RepositoryServiceCreateRepositoryParams object with the ability to set a context for a request.

func NewRepositoryServiceCreateRepositoryParamsWithHTTPClient

func NewRepositoryServiceCreateRepositoryParamsWithHTTPClient(client *http.Client) *RepositoryServiceCreateRepositoryParams

NewRepositoryServiceCreateRepositoryParamsWithHTTPClient creates a new RepositoryServiceCreateRepositoryParams object with the ability to set a custom HTTPClient for a request.

func NewRepositoryServiceCreateRepositoryParamsWithTimeout

func NewRepositoryServiceCreateRepositoryParamsWithTimeout(timeout time.Duration) *RepositoryServiceCreateRepositoryParams

NewRepositoryServiceCreateRepositoryParamsWithTimeout creates a new RepositoryServiceCreateRepositoryParams object with the ability to set a timeout on a request.

func (*RepositoryServiceCreateRepositoryParams) SetBody

SetBody adds the body to the repository service create repository params

func (*RepositoryServiceCreateRepositoryParams) SetContext

SetContext adds the context to the repository service create repository params

func (*RepositoryServiceCreateRepositoryParams) SetCredsOnly

func (o *RepositoryServiceCreateRepositoryParams) SetCredsOnly(credsOnly *bool)

SetCredsOnly adds the credsOnly to the repository service create repository params

func (*RepositoryServiceCreateRepositoryParams) SetDefaults

func (o *RepositoryServiceCreateRepositoryParams) SetDefaults()

SetDefaults hydrates default values in the repository service create repository params (not the query body).

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

func (*RepositoryServiceCreateRepositoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the repository service create repository params

func (*RepositoryServiceCreateRepositoryParams) SetTimeout

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

SetTimeout adds the timeout to the repository service create repository params

func (*RepositoryServiceCreateRepositoryParams) SetUpsert

func (o *RepositoryServiceCreateRepositoryParams) SetUpsert(upsert *bool)

SetUpsert adds the upsert to the repository service create repository params

func (*RepositoryServiceCreateRepositoryParams) WithBody

WithBody adds the body to the repository service create repository params

func (*RepositoryServiceCreateRepositoryParams) WithContext

WithContext adds the context to the repository service create repository params

func (*RepositoryServiceCreateRepositoryParams) WithCredsOnly

WithCredsOnly adds the credsOnly to the repository service create repository params

func (*RepositoryServiceCreateRepositoryParams) WithDefaults

WithDefaults hydrates default values in the repository service create repository params (not the query body).

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

func (*RepositoryServiceCreateRepositoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the repository service create repository params

func (*RepositoryServiceCreateRepositoryParams) WithTimeout

WithTimeout adds the timeout to the repository service create repository params

func (*RepositoryServiceCreateRepositoryParams) WithUpsert

WithUpsert adds the upsert to the repository service create repository params

func (*RepositoryServiceCreateRepositoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RepositoryServiceCreateRepositoryReader

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

RepositoryServiceCreateRepositoryReader is a Reader for the RepositoryServiceCreateRepository structure.

func (*RepositoryServiceCreateRepositoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RepositoryServiceDeleteRepositoryDefault

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

An unexpected error response.

func NewRepositoryServiceDeleteRepositoryDefault

func NewRepositoryServiceDeleteRepositoryDefault(code int) *RepositoryServiceDeleteRepositoryDefault

NewRepositoryServiceDeleteRepositoryDefault creates a RepositoryServiceDeleteRepositoryDefault with default headers values

func (*RepositoryServiceDeleteRepositoryDefault) Code

Code gets the status code for the repository service delete repository default response

func (*RepositoryServiceDeleteRepositoryDefault) Error

func (*RepositoryServiceDeleteRepositoryDefault) GetPayload

type RepositoryServiceDeleteRepositoryOK

type RepositoryServiceDeleteRepositoryOK struct {
	Payload models.RepositoryRepoResponse
}
RepositoryServiceDeleteRepositoryOK describes a response with status code 200, with default header values.

A successful response.

func NewRepositoryServiceDeleteRepositoryOK

func NewRepositoryServiceDeleteRepositoryOK() *RepositoryServiceDeleteRepositoryOK

NewRepositoryServiceDeleteRepositoryOK creates a RepositoryServiceDeleteRepositoryOK with default headers values

func (*RepositoryServiceDeleteRepositoryOK) Error

func (*RepositoryServiceDeleteRepositoryOK) GetPayload

type RepositoryServiceDeleteRepositoryParams

type RepositoryServiceDeleteRepositoryParams struct {

	/* ForceRefresh.

	   Whether to force a cache refresh on repo's connection state.
	*/
	ForceRefresh *bool

	/* Repo.

	   Repo URL for query
	*/
	Repo string

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

RepositoryServiceDeleteRepositoryParams contains all the parameters to send to the API endpoint

for the repository service delete repository operation.

Typically these are written to a http.Request.

func NewRepositoryServiceDeleteRepositoryParams

func NewRepositoryServiceDeleteRepositoryParams() *RepositoryServiceDeleteRepositoryParams

NewRepositoryServiceDeleteRepositoryParams creates a new RepositoryServiceDeleteRepositoryParams 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 NewRepositoryServiceDeleteRepositoryParamsWithContext

func NewRepositoryServiceDeleteRepositoryParamsWithContext(ctx context.Context) *RepositoryServiceDeleteRepositoryParams

NewRepositoryServiceDeleteRepositoryParamsWithContext creates a new RepositoryServiceDeleteRepositoryParams object with the ability to set a context for a request.

func NewRepositoryServiceDeleteRepositoryParamsWithHTTPClient

func NewRepositoryServiceDeleteRepositoryParamsWithHTTPClient(client *http.Client) *RepositoryServiceDeleteRepositoryParams

NewRepositoryServiceDeleteRepositoryParamsWithHTTPClient creates a new RepositoryServiceDeleteRepositoryParams object with the ability to set a custom HTTPClient for a request.

func NewRepositoryServiceDeleteRepositoryParamsWithTimeout

func NewRepositoryServiceDeleteRepositoryParamsWithTimeout(timeout time.Duration) *RepositoryServiceDeleteRepositoryParams

NewRepositoryServiceDeleteRepositoryParamsWithTimeout creates a new RepositoryServiceDeleteRepositoryParams object with the ability to set a timeout on a request.

func (*RepositoryServiceDeleteRepositoryParams) SetContext

SetContext adds the context to the repository service delete repository params

func (*RepositoryServiceDeleteRepositoryParams) SetDefaults

func (o *RepositoryServiceDeleteRepositoryParams) SetDefaults()

SetDefaults hydrates default values in the repository service delete repository params (not the query body).

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

func (*RepositoryServiceDeleteRepositoryParams) SetForceRefresh

func (o *RepositoryServiceDeleteRepositoryParams) SetForceRefresh(forceRefresh *bool)

SetForceRefresh adds the forceRefresh to the repository service delete repository params

func (*RepositoryServiceDeleteRepositoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the repository service delete repository params

func (*RepositoryServiceDeleteRepositoryParams) SetRepo

SetRepo adds the repo to the repository service delete repository params

func (*RepositoryServiceDeleteRepositoryParams) SetTimeout

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

SetTimeout adds the timeout to the repository service delete repository params

func (*RepositoryServiceDeleteRepositoryParams) WithContext

WithContext adds the context to the repository service delete repository params

func (*RepositoryServiceDeleteRepositoryParams) WithDefaults

WithDefaults hydrates default values in the repository service delete repository params (not the query body).

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

func (*RepositoryServiceDeleteRepositoryParams) WithForceRefresh

WithForceRefresh adds the forceRefresh to the repository service delete repository params

func (*RepositoryServiceDeleteRepositoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the repository service delete repository params

func (*RepositoryServiceDeleteRepositoryParams) WithRepo

WithRepo adds the repo to the repository service delete repository params

func (*RepositoryServiceDeleteRepositoryParams) WithTimeout

WithTimeout adds the timeout to the repository service delete repository params

func (*RepositoryServiceDeleteRepositoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RepositoryServiceDeleteRepositoryReader

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

RepositoryServiceDeleteRepositoryReader is a Reader for the RepositoryServiceDeleteRepository structure.

func (*RepositoryServiceDeleteRepositoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RepositoryServiceGetAppDetailsDefault

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

An unexpected error response.

func NewRepositoryServiceGetAppDetailsDefault

func NewRepositoryServiceGetAppDetailsDefault(code int) *RepositoryServiceGetAppDetailsDefault

NewRepositoryServiceGetAppDetailsDefault creates a RepositoryServiceGetAppDetailsDefault with default headers values

func (*RepositoryServiceGetAppDetailsDefault) Code

Code gets the status code for the repository service get app details default response

func (*RepositoryServiceGetAppDetailsDefault) Error

func (*RepositoryServiceGetAppDetailsDefault) GetPayload

type RepositoryServiceGetAppDetailsOK

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

A successful response.

func NewRepositoryServiceGetAppDetailsOK

func NewRepositoryServiceGetAppDetailsOK() *RepositoryServiceGetAppDetailsOK

NewRepositoryServiceGetAppDetailsOK creates a RepositoryServiceGetAppDetailsOK with default headers values

func (*RepositoryServiceGetAppDetailsOK) Error

func (*RepositoryServiceGetAppDetailsOK) GetPayload

type RepositoryServiceGetAppDetailsParams

type RepositoryServiceGetAppDetailsParams struct {

	// Body.
	Body *models.RepositoryRepoAppDetailsQuery

	/* SourceRepoURL.

	   RepoURL is the URL to the repository (Git or Helm) that contains the application manifests
	*/
	SourceRepoURL string

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

RepositoryServiceGetAppDetailsParams contains all the parameters to send to the API endpoint

for the repository service get app details operation.

Typically these are written to a http.Request.

func NewRepositoryServiceGetAppDetailsParams

func NewRepositoryServiceGetAppDetailsParams() *RepositoryServiceGetAppDetailsParams

NewRepositoryServiceGetAppDetailsParams creates a new RepositoryServiceGetAppDetailsParams 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 NewRepositoryServiceGetAppDetailsParamsWithContext

func NewRepositoryServiceGetAppDetailsParamsWithContext(ctx context.Context) *RepositoryServiceGetAppDetailsParams

NewRepositoryServiceGetAppDetailsParamsWithContext creates a new RepositoryServiceGetAppDetailsParams object with the ability to set a context for a request.

func NewRepositoryServiceGetAppDetailsParamsWithHTTPClient

func NewRepositoryServiceGetAppDetailsParamsWithHTTPClient(client *http.Client) *RepositoryServiceGetAppDetailsParams

NewRepositoryServiceGetAppDetailsParamsWithHTTPClient creates a new RepositoryServiceGetAppDetailsParams object with the ability to set a custom HTTPClient for a request.

func NewRepositoryServiceGetAppDetailsParamsWithTimeout

func NewRepositoryServiceGetAppDetailsParamsWithTimeout(timeout time.Duration) *RepositoryServiceGetAppDetailsParams

NewRepositoryServiceGetAppDetailsParamsWithTimeout creates a new RepositoryServiceGetAppDetailsParams object with the ability to set a timeout on a request.

func (*RepositoryServiceGetAppDetailsParams) SetBody

SetBody adds the body to the repository service get app details params

func (*RepositoryServiceGetAppDetailsParams) SetContext

SetContext adds the context to the repository service get app details params

func (*RepositoryServiceGetAppDetailsParams) SetDefaults

func (o *RepositoryServiceGetAppDetailsParams) SetDefaults()

SetDefaults hydrates default values in the repository service get app details params (not the query body).

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

func (*RepositoryServiceGetAppDetailsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the repository service get app details params

func (*RepositoryServiceGetAppDetailsParams) SetSourceRepoURL

func (o *RepositoryServiceGetAppDetailsParams) SetSourceRepoURL(sourceRepoURL string)

SetSourceRepoURL adds the sourceRepoUrl to the repository service get app details params

func (*RepositoryServiceGetAppDetailsParams) SetTimeout

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

SetTimeout adds the timeout to the repository service get app details params

func (*RepositoryServiceGetAppDetailsParams) WithBody

WithBody adds the body to the repository service get app details params

func (*RepositoryServiceGetAppDetailsParams) WithContext

WithContext adds the context to the repository service get app details params

func (*RepositoryServiceGetAppDetailsParams) WithDefaults

WithDefaults hydrates default values in the repository service get app details params (not the query body).

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

func (*RepositoryServiceGetAppDetailsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the repository service get app details params

func (*RepositoryServiceGetAppDetailsParams) WithSourceRepoURL

WithSourceRepoURL adds the sourceRepoURL to the repository service get app details params

func (*RepositoryServiceGetAppDetailsParams) WithTimeout

WithTimeout adds the timeout to the repository service get app details params

func (*RepositoryServiceGetAppDetailsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RepositoryServiceGetAppDetailsReader

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

RepositoryServiceGetAppDetailsReader is a Reader for the RepositoryServiceGetAppDetails structure.

func (*RepositoryServiceGetAppDetailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RepositoryServiceGetDefault

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

An unexpected error response.

func NewRepositoryServiceGetDefault

func NewRepositoryServiceGetDefault(code int) *RepositoryServiceGetDefault

NewRepositoryServiceGetDefault creates a RepositoryServiceGetDefault with default headers values

func (*RepositoryServiceGetDefault) Code

func (o *RepositoryServiceGetDefault) Code() int

Code gets the status code for the repository service get default response

func (*RepositoryServiceGetDefault) Error

func (*RepositoryServiceGetDefault) GetPayload

type RepositoryServiceGetHelmChartsDefault

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

An unexpected error response.

func NewRepositoryServiceGetHelmChartsDefault

func NewRepositoryServiceGetHelmChartsDefault(code int) *RepositoryServiceGetHelmChartsDefault

NewRepositoryServiceGetHelmChartsDefault creates a RepositoryServiceGetHelmChartsDefault with default headers values

func (*RepositoryServiceGetHelmChartsDefault) Code

Code gets the status code for the repository service get helm charts default response

func (*RepositoryServiceGetHelmChartsDefault) Error

func (*RepositoryServiceGetHelmChartsDefault) GetPayload

type RepositoryServiceGetHelmChartsOK

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

A successful response.

func NewRepositoryServiceGetHelmChartsOK

func NewRepositoryServiceGetHelmChartsOK() *RepositoryServiceGetHelmChartsOK

NewRepositoryServiceGetHelmChartsOK creates a RepositoryServiceGetHelmChartsOK with default headers values

func (*RepositoryServiceGetHelmChartsOK) Error

func (*RepositoryServiceGetHelmChartsOK) GetPayload

type RepositoryServiceGetHelmChartsParams

type RepositoryServiceGetHelmChartsParams struct {

	/* ForceRefresh.

	   Whether to force a cache refresh on repo's connection state.
	*/
	ForceRefresh *bool

	/* Repo.

	   Repo URL for query
	*/
	Repo string

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

RepositoryServiceGetHelmChartsParams contains all the parameters to send to the API endpoint

for the repository service get helm charts operation.

Typically these are written to a http.Request.

func NewRepositoryServiceGetHelmChartsParams

func NewRepositoryServiceGetHelmChartsParams() *RepositoryServiceGetHelmChartsParams

NewRepositoryServiceGetHelmChartsParams creates a new RepositoryServiceGetHelmChartsParams 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 NewRepositoryServiceGetHelmChartsParamsWithContext

func NewRepositoryServiceGetHelmChartsParamsWithContext(ctx context.Context) *RepositoryServiceGetHelmChartsParams

NewRepositoryServiceGetHelmChartsParamsWithContext creates a new RepositoryServiceGetHelmChartsParams object with the ability to set a context for a request.

func NewRepositoryServiceGetHelmChartsParamsWithHTTPClient

func NewRepositoryServiceGetHelmChartsParamsWithHTTPClient(client *http.Client) *RepositoryServiceGetHelmChartsParams

NewRepositoryServiceGetHelmChartsParamsWithHTTPClient creates a new RepositoryServiceGetHelmChartsParams object with the ability to set a custom HTTPClient for a request.

func NewRepositoryServiceGetHelmChartsParamsWithTimeout

func NewRepositoryServiceGetHelmChartsParamsWithTimeout(timeout time.Duration) *RepositoryServiceGetHelmChartsParams

NewRepositoryServiceGetHelmChartsParamsWithTimeout creates a new RepositoryServiceGetHelmChartsParams object with the ability to set a timeout on a request.

func (*RepositoryServiceGetHelmChartsParams) SetContext

SetContext adds the context to the repository service get helm charts params

func (*RepositoryServiceGetHelmChartsParams) SetDefaults

func (o *RepositoryServiceGetHelmChartsParams) SetDefaults()

SetDefaults hydrates default values in the repository service get helm charts params (not the query body).

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

func (*RepositoryServiceGetHelmChartsParams) SetForceRefresh

func (o *RepositoryServiceGetHelmChartsParams) SetForceRefresh(forceRefresh *bool)

SetForceRefresh adds the forceRefresh to the repository service get helm charts params

func (*RepositoryServiceGetHelmChartsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the repository service get helm charts params

func (*RepositoryServiceGetHelmChartsParams) SetRepo

SetRepo adds the repo to the repository service get helm charts params

func (*RepositoryServiceGetHelmChartsParams) SetTimeout

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

SetTimeout adds the timeout to the repository service get helm charts params

func (*RepositoryServiceGetHelmChartsParams) WithContext

WithContext adds the context to the repository service get helm charts params

func (*RepositoryServiceGetHelmChartsParams) WithDefaults

WithDefaults hydrates default values in the repository service get helm charts params (not the query body).

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

func (*RepositoryServiceGetHelmChartsParams) WithForceRefresh

WithForceRefresh adds the forceRefresh to the repository service get helm charts params

func (*RepositoryServiceGetHelmChartsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the repository service get helm charts params

func (*RepositoryServiceGetHelmChartsParams) WithRepo

WithRepo adds the repo to the repository service get helm charts params

func (*RepositoryServiceGetHelmChartsParams) WithTimeout

WithTimeout adds the timeout to the repository service get helm charts params

func (*RepositoryServiceGetHelmChartsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RepositoryServiceGetHelmChartsReader

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

RepositoryServiceGetHelmChartsReader is a Reader for the RepositoryServiceGetHelmCharts structure.

func (*RepositoryServiceGetHelmChartsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RepositoryServiceGetOK

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

A successful response.

func NewRepositoryServiceGetOK

func NewRepositoryServiceGetOK() *RepositoryServiceGetOK

NewRepositoryServiceGetOK creates a RepositoryServiceGetOK with default headers values

func (*RepositoryServiceGetOK) Error

func (o *RepositoryServiceGetOK) Error() string

func (*RepositoryServiceGetOK) GetPayload

type RepositoryServiceGetParams

type RepositoryServiceGetParams struct {

	/* ForceRefresh.

	   Whether to force a cache refresh on repo's connection state.
	*/
	ForceRefresh *bool

	/* Repo.

	   Repo URL for query
	*/
	Repo string

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

RepositoryServiceGetParams contains all the parameters to send to the API endpoint

for the repository service get operation.

Typically these are written to a http.Request.

func NewRepositoryServiceGetParams

func NewRepositoryServiceGetParams() *RepositoryServiceGetParams

NewRepositoryServiceGetParams creates a new RepositoryServiceGetParams 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 NewRepositoryServiceGetParamsWithContext

func NewRepositoryServiceGetParamsWithContext(ctx context.Context) *RepositoryServiceGetParams

NewRepositoryServiceGetParamsWithContext creates a new RepositoryServiceGetParams object with the ability to set a context for a request.

func NewRepositoryServiceGetParamsWithHTTPClient

func NewRepositoryServiceGetParamsWithHTTPClient(client *http.Client) *RepositoryServiceGetParams

NewRepositoryServiceGetParamsWithHTTPClient creates a new RepositoryServiceGetParams object with the ability to set a custom HTTPClient for a request.

func NewRepositoryServiceGetParamsWithTimeout

func NewRepositoryServiceGetParamsWithTimeout(timeout time.Duration) *RepositoryServiceGetParams

NewRepositoryServiceGetParamsWithTimeout creates a new RepositoryServiceGetParams object with the ability to set a timeout on a request.

func (*RepositoryServiceGetParams) SetContext

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

SetContext adds the context to the repository service get params

func (*RepositoryServiceGetParams) SetDefaults

func (o *RepositoryServiceGetParams) SetDefaults()

SetDefaults hydrates default values in the repository service get params (not the query body).

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

func (*RepositoryServiceGetParams) SetForceRefresh

func (o *RepositoryServiceGetParams) SetForceRefresh(forceRefresh *bool)

SetForceRefresh adds the forceRefresh to the repository service get params

func (*RepositoryServiceGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the repository service get params

func (*RepositoryServiceGetParams) SetRepo

func (o *RepositoryServiceGetParams) SetRepo(repo string)

SetRepo adds the repo to the repository service get params

func (*RepositoryServiceGetParams) SetTimeout

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

SetTimeout adds the timeout to the repository service get params

func (*RepositoryServiceGetParams) WithContext

WithContext adds the context to the repository service get params

func (*RepositoryServiceGetParams) WithDefaults

WithDefaults hydrates default values in the repository service get params (not the query body).

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

func (*RepositoryServiceGetParams) WithForceRefresh

func (o *RepositoryServiceGetParams) WithForceRefresh(forceRefresh *bool) *RepositoryServiceGetParams

WithForceRefresh adds the forceRefresh to the repository service get params

func (*RepositoryServiceGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the repository service get params

func (*RepositoryServiceGetParams) WithRepo

WithRepo adds the repo to the repository service get params

func (*RepositoryServiceGetParams) WithTimeout

WithTimeout adds the timeout to the repository service get params

func (*RepositoryServiceGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RepositoryServiceGetReader

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

RepositoryServiceGetReader is a Reader for the RepositoryServiceGet structure.

func (*RepositoryServiceGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RepositoryServiceListAppsDefault

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

An unexpected error response.

func NewRepositoryServiceListAppsDefault

func NewRepositoryServiceListAppsDefault(code int) *RepositoryServiceListAppsDefault

NewRepositoryServiceListAppsDefault creates a RepositoryServiceListAppsDefault with default headers values

func (*RepositoryServiceListAppsDefault) Code

Code gets the status code for the repository service list apps default response

func (*RepositoryServiceListAppsDefault) Error

func (*RepositoryServiceListAppsDefault) GetPayload

type RepositoryServiceListAppsOK

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

A successful response.

func NewRepositoryServiceListAppsOK

func NewRepositoryServiceListAppsOK() *RepositoryServiceListAppsOK

NewRepositoryServiceListAppsOK creates a RepositoryServiceListAppsOK with default headers values

func (*RepositoryServiceListAppsOK) Error

func (*RepositoryServiceListAppsOK) GetPayload

type RepositoryServiceListAppsParams

type RepositoryServiceListAppsParams struct {

	// AppName.
	AppName *string

	// AppProject.
	AppProject *string

	// Repo.
	Repo string

	// Revision.
	Revision *string

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

RepositoryServiceListAppsParams contains all the parameters to send to the API endpoint

for the repository service list apps operation.

Typically these are written to a http.Request.

func NewRepositoryServiceListAppsParams

func NewRepositoryServiceListAppsParams() *RepositoryServiceListAppsParams

NewRepositoryServiceListAppsParams creates a new RepositoryServiceListAppsParams 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 NewRepositoryServiceListAppsParamsWithContext

func NewRepositoryServiceListAppsParamsWithContext(ctx context.Context) *RepositoryServiceListAppsParams

NewRepositoryServiceListAppsParamsWithContext creates a new RepositoryServiceListAppsParams object with the ability to set a context for a request.

func NewRepositoryServiceListAppsParamsWithHTTPClient

func NewRepositoryServiceListAppsParamsWithHTTPClient(client *http.Client) *RepositoryServiceListAppsParams

NewRepositoryServiceListAppsParamsWithHTTPClient creates a new RepositoryServiceListAppsParams object with the ability to set a custom HTTPClient for a request.

func NewRepositoryServiceListAppsParamsWithTimeout

func NewRepositoryServiceListAppsParamsWithTimeout(timeout time.Duration) *RepositoryServiceListAppsParams

NewRepositoryServiceListAppsParamsWithTimeout creates a new RepositoryServiceListAppsParams object with the ability to set a timeout on a request.

func (*RepositoryServiceListAppsParams) SetAppName

func (o *RepositoryServiceListAppsParams) SetAppName(appName *string)

SetAppName adds the appName to the repository service list apps params

func (*RepositoryServiceListAppsParams) SetAppProject

func (o *RepositoryServiceListAppsParams) SetAppProject(appProject *string)

SetAppProject adds the appProject to the repository service list apps params

func (*RepositoryServiceListAppsParams) SetContext

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

SetContext adds the context to the repository service list apps params

func (*RepositoryServiceListAppsParams) SetDefaults

func (o *RepositoryServiceListAppsParams) SetDefaults()

SetDefaults hydrates default values in the repository service list apps params (not the query body).

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

func (*RepositoryServiceListAppsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the repository service list apps params

func (*RepositoryServiceListAppsParams) SetRepo

func (o *RepositoryServiceListAppsParams) SetRepo(repo string)

SetRepo adds the repo to the repository service list apps params

func (*RepositoryServiceListAppsParams) SetRevision

func (o *RepositoryServiceListAppsParams) SetRevision(revision *string)

SetRevision adds the revision to the repository service list apps params

func (*RepositoryServiceListAppsParams) SetTimeout

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

SetTimeout adds the timeout to the repository service list apps params

func (*RepositoryServiceListAppsParams) WithAppName

WithAppName adds the appName to the repository service list apps params

func (*RepositoryServiceListAppsParams) WithAppProject

WithAppProject adds the appProject to the repository service list apps params

func (*RepositoryServiceListAppsParams) WithContext

WithContext adds the context to the repository service list apps params

func (*RepositoryServiceListAppsParams) WithDefaults

WithDefaults hydrates default values in the repository service list apps params (not the query body).

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

func (*RepositoryServiceListAppsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the repository service list apps params

func (*RepositoryServiceListAppsParams) WithRepo

WithRepo adds the repo to the repository service list apps params

func (*RepositoryServiceListAppsParams) WithRevision

WithRevision adds the revision to the repository service list apps params

func (*RepositoryServiceListAppsParams) WithTimeout

WithTimeout adds the timeout to the repository service list apps params

func (*RepositoryServiceListAppsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RepositoryServiceListAppsReader

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

RepositoryServiceListAppsReader is a Reader for the RepositoryServiceListApps structure.

func (*RepositoryServiceListAppsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RepositoryServiceListRefsDefault

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

An unexpected error response.

func NewRepositoryServiceListRefsDefault

func NewRepositoryServiceListRefsDefault(code int) *RepositoryServiceListRefsDefault

NewRepositoryServiceListRefsDefault creates a RepositoryServiceListRefsDefault with default headers values

func (*RepositoryServiceListRefsDefault) Code

Code gets the status code for the repository service list refs default response

func (*RepositoryServiceListRefsDefault) Error

func (*RepositoryServiceListRefsDefault) GetPayload

type RepositoryServiceListRefsOK

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

A successful response.

func NewRepositoryServiceListRefsOK

func NewRepositoryServiceListRefsOK() *RepositoryServiceListRefsOK

NewRepositoryServiceListRefsOK creates a RepositoryServiceListRefsOK with default headers values

func (*RepositoryServiceListRefsOK) Error

func (*RepositoryServiceListRefsOK) GetPayload

type RepositoryServiceListRefsParams

type RepositoryServiceListRefsParams struct {

	/* ForceRefresh.

	   Whether to force a cache refresh on repo's connection state.
	*/
	ForceRefresh *bool

	/* Repo.

	   Repo URL for query
	*/
	Repo string

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

RepositoryServiceListRefsParams contains all the parameters to send to the API endpoint

for the repository service list refs operation.

Typically these are written to a http.Request.

func NewRepositoryServiceListRefsParams

func NewRepositoryServiceListRefsParams() *RepositoryServiceListRefsParams

NewRepositoryServiceListRefsParams creates a new RepositoryServiceListRefsParams 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 NewRepositoryServiceListRefsParamsWithContext

func NewRepositoryServiceListRefsParamsWithContext(ctx context.Context) *RepositoryServiceListRefsParams

NewRepositoryServiceListRefsParamsWithContext creates a new RepositoryServiceListRefsParams object with the ability to set a context for a request.

func NewRepositoryServiceListRefsParamsWithHTTPClient

func NewRepositoryServiceListRefsParamsWithHTTPClient(client *http.Client) *RepositoryServiceListRefsParams

NewRepositoryServiceListRefsParamsWithHTTPClient creates a new RepositoryServiceListRefsParams object with the ability to set a custom HTTPClient for a request.

func NewRepositoryServiceListRefsParamsWithTimeout

func NewRepositoryServiceListRefsParamsWithTimeout(timeout time.Duration) *RepositoryServiceListRefsParams

NewRepositoryServiceListRefsParamsWithTimeout creates a new RepositoryServiceListRefsParams object with the ability to set a timeout on a request.

func (*RepositoryServiceListRefsParams) SetContext

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

SetContext adds the context to the repository service list refs params

func (*RepositoryServiceListRefsParams) SetDefaults

func (o *RepositoryServiceListRefsParams) SetDefaults()

SetDefaults hydrates default values in the repository service list refs params (not the query body).

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

func (*RepositoryServiceListRefsParams) SetForceRefresh

func (o *RepositoryServiceListRefsParams) SetForceRefresh(forceRefresh *bool)

SetForceRefresh adds the forceRefresh to the repository service list refs params

func (*RepositoryServiceListRefsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the repository service list refs params

func (*RepositoryServiceListRefsParams) SetRepo

func (o *RepositoryServiceListRefsParams) SetRepo(repo string)

SetRepo adds the repo to the repository service list refs params

func (*RepositoryServiceListRefsParams) SetTimeout

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

SetTimeout adds the timeout to the repository service list refs params

func (*RepositoryServiceListRefsParams) WithContext

WithContext adds the context to the repository service list refs params

func (*RepositoryServiceListRefsParams) WithDefaults

WithDefaults hydrates default values in the repository service list refs params (not the query body).

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

func (*RepositoryServiceListRefsParams) WithForceRefresh

func (o *RepositoryServiceListRefsParams) WithForceRefresh(forceRefresh *bool) *RepositoryServiceListRefsParams

WithForceRefresh adds the forceRefresh to the repository service list refs params

func (*RepositoryServiceListRefsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the repository service list refs params

func (*RepositoryServiceListRefsParams) WithRepo

WithRepo adds the repo to the repository service list refs params

func (*RepositoryServiceListRefsParams) WithTimeout

WithTimeout adds the timeout to the repository service list refs params

func (*RepositoryServiceListRefsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RepositoryServiceListRefsReader

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

RepositoryServiceListRefsReader is a Reader for the RepositoryServiceListRefs structure.

func (*RepositoryServiceListRefsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RepositoryServiceListRepositoriesDefault

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

An unexpected error response.

func NewRepositoryServiceListRepositoriesDefault

func NewRepositoryServiceListRepositoriesDefault(code int) *RepositoryServiceListRepositoriesDefault

NewRepositoryServiceListRepositoriesDefault creates a RepositoryServiceListRepositoriesDefault with default headers values

func (*RepositoryServiceListRepositoriesDefault) Code

Code gets the status code for the repository service list repositories default response

func (*RepositoryServiceListRepositoriesDefault) Error

func (*RepositoryServiceListRepositoriesDefault) GetPayload

type RepositoryServiceListRepositoriesOK

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

A successful response.

func NewRepositoryServiceListRepositoriesOK

func NewRepositoryServiceListRepositoriesOK() *RepositoryServiceListRepositoriesOK

NewRepositoryServiceListRepositoriesOK creates a RepositoryServiceListRepositoriesOK with default headers values

func (*RepositoryServiceListRepositoriesOK) Error

func (*RepositoryServiceListRepositoriesOK) GetPayload

type RepositoryServiceListRepositoriesParams

type RepositoryServiceListRepositoriesParams struct {

	/* ForceRefresh.

	   Whether to force a cache refresh on repo's connection state.
	*/
	ForceRefresh *bool

	/* Repo.

	   Repo URL for query.
	*/
	Repo *string

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

RepositoryServiceListRepositoriesParams contains all the parameters to send to the API endpoint

for the repository service list repositories operation.

Typically these are written to a http.Request.

func NewRepositoryServiceListRepositoriesParams

func NewRepositoryServiceListRepositoriesParams() *RepositoryServiceListRepositoriesParams

NewRepositoryServiceListRepositoriesParams creates a new RepositoryServiceListRepositoriesParams 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 NewRepositoryServiceListRepositoriesParamsWithContext

func NewRepositoryServiceListRepositoriesParamsWithContext(ctx context.Context) *RepositoryServiceListRepositoriesParams

NewRepositoryServiceListRepositoriesParamsWithContext creates a new RepositoryServiceListRepositoriesParams object with the ability to set a context for a request.

func NewRepositoryServiceListRepositoriesParamsWithHTTPClient

func NewRepositoryServiceListRepositoriesParamsWithHTTPClient(client *http.Client) *RepositoryServiceListRepositoriesParams

NewRepositoryServiceListRepositoriesParamsWithHTTPClient creates a new RepositoryServiceListRepositoriesParams object with the ability to set a custom HTTPClient for a request.

func NewRepositoryServiceListRepositoriesParamsWithTimeout

func NewRepositoryServiceListRepositoriesParamsWithTimeout(timeout time.Duration) *RepositoryServiceListRepositoriesParams

NewRepositoryServiceListRepositoriesParamsWithTimeout creates a new RepositoryServiceListRepositoriesParams object with the ability to set a timeout on a request.

func (*RepositoryServiceListRepositoriesParams) SetContext

SetContext adds the context to the repository service list repositories params

func (*RepositoryServiceListRepositoriesParams) SetDefaults

func (o *RepositoryServiceListRepositoriesParams) SetDefaults()

SetDefaults hydrates default values in the repository service list repositories params (not the query body).

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

func (*RepositoryServiceListRepositoriesParams) SetForceRefresh

func (o *RepositoryServiceListRepositoriesParams) SetForceRefresh(forceRefresh *bool)

SetForceRefresh adds the forceRefresh to the repository service list repositories params

func (*RepositoryServiceListRepositoriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the repository service list repositories params

func (*RepositoryServiceListRepositoriesParams) SetRepo

SetRepo adds the repo to the repository service list repositories params

func (*RepositoryServiceListRepositoriesParams) SetTimeout

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

SetTimeout adds the timeout to the repository service list repositories params

func (*RepositoryServiceListRepositoriesParams) WithContext

WithContext adds the context to the repository service list repositories params

func (*RepositoryServiceListRepositoriesParams) WithDefaults

WithDefaults hydrates default values in the repository service list repositories params (not the query body).

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

func (*RepositoryServiceListRepositoriesParams) WithForceRefresh

WithForceRefresh adds the forceRefresh to the repository service list repositories params

func (*RepositoryServiceListRepositoriesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the repository service list repositories params

func (*RepositoryServiceListRepositoriesParams) WithRepo

WithRepo adds the repo to the repository service list repositories params

func (*RepositoryServiceListRepositoriesParams) WithTimeout

WithTimeout adds the timeout to the repository service list repositories params

func (*RepositoryServiceListRepositoriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RepositoryServiceListRepositoriesReader

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

RepositoryServiceListRepositoriesReader is a Reader for the RepositoryServiceListRepositories structure.

func (*RepositoryServiceListRepositoriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RepositoryServiceUpdateRepositoryDefault

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

An unexpected error response.

func NewRepositoryServiceUpdateRepositoryDefault

func NewRepositoryServiceUpdateRepositoryDefault(code int) *RepositoryServiceUpdateRepositoryDefault

NewRepositoryServiceUpdateRepositoryDefault creates a RepositoryServiceUpdateRepositoryDefault with default headers values

func (*RepositoryServiceUpdateRepositoryDefault) Code

Code gets the status code for the repository service update repository default response

func (*RepositoryServiceUpdateRepositoryDefault) Error

func (*RepositoryServiceUpdateRepositoryDefault) GetPayload

type RepositoryServiceUpdateRepositoryOK

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

A successful response.

func NewRepositoryServiceUpdateRepositoryOK

func NewRepositoryServiceUpdateRepositoryOK() *RepositoryServiceUpdateRepositoryOK

NewRepositoryServiceUpdateRepositoryOK creates a RepositoryServiceUpdateRepositoryOK with default headers values

func (*RepositoryServiceUpdateRepositoryOK) Error

func (*RepositoryServiceUpdateRepositoryOK) GetPayload

type RepositoryServiceUpdateRepositoryParams

type RepositoryServiceUpdateRepositoryParams struct {

	// Body.
	Body *models.V1alpha1Repository

	/* RepoRepo.

	   Repo contains the URL to the remote repository
	*/
	RepoRepo string

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

RepositoryServiceUpdateRepositoryParams contains all the parameters to send to the API endpoint

for the repository service update repository operation.

Typically these are written to a http.Request.

func NewRepositoryServiceUpdateRepositoryParams

func NewRepositoryServiceUpdateRepositoryParams() *RepositoryServiceUpdateRepositoryParams

NewRepositoryServiceUpdateRepositoryParams creates a new RepositoryServiceUpdateRepositoryParams 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 NewRepositoryServiceUpdateRepositoryParamsWithContext

func NewRepositoryServiceUpdateRepositoryParamsWithContext(ctx context.Context) *RepositoryServiceUpdateRepositoryParams

NewRepositoryServiceUpdateRepositoryParamsWithContext creates a new RepositoryServiceUpdateRepositoryParams object with the ability to set a context for a request.

func NewRepositoryServiceUpdateRepositoryParamsWithHTTPClient

func NewRepositoryServiceUpdateRepositoryParamsWithHTTPClient(client *http.Client) *RepositoryServiceUpdateRepositoryParams

NewRepositoryServiceUpdateRepositoryParamsWithHTTPClient creates a new RepositoryServiceUpdateRepositoryParams object with the ability to set a custom HTTPClient for a request.

func NewRepositoryServiceUpdateRepositoryParamsWithTimeout

func NewRepositoryServiceUpdateRepositoryParamsWithTimeout(timeout time.Duration) *RepositoryServiceUpdateRepositoryParams

NewRepositoryServiceUpdateRepositoryParamsWithTimeout creates a new RepositoryServiceUpdateRepositoryParams object with the ability to set a timeout on a request.

func (*RepositoryServiceUpdateRepositoryParams) SetBody

SetBody adds the body to the repository service update repository params

func (*RepositoryServiceUpdateRepositoryParams) SetContext

SetContext adds the context to the repository service update repository params

func (*RepositoryServiceUpdateRepositoryParams) SetDefaults

func (o *RepositoryServiceUpdateRepositoryParams) SetDefaults()

SetDefaults hydrates default values in the repository service update repository params (not the query body).

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

func (*RepositoryServiceUpdateRepositoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the repository service update repository params

func (*RepositoryServiceUpdateRepositoryParams) SetRepoRepo

func (o *RepositoryServiceUpdateRepositoryParams) SetRepoRepo(repoRepo string)

SetRepoRepo adds the repoRepo to the repository service update repository params

func (*RepositoryServiceUpdateRepositoryParams) SetTimeout

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

SetTimeout adds the timeout to the repository service update repository params

func (*RepositoryServiceUpdateRepositoryParams) WithBody

WithBody adds the body to the repository service update repository params

func (*RepositoryServiceUpdateRepositoryParams) WithContext

WithContext adds the context to the repository service update repository params

func (*RepositoryServiceUpdateRepositoryParams) WithDefaults

WithDefaults hydrates default values in the repository service update repository params (not the query body).

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

func (*RepositoryServiceUpdateRepositoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the repository service update repository params

func (*RepositoryServiceUpdateRepositoryParams) WithRepoRepo

WithRepoRepo adds the repoRepo to the repository service update repository params

func (*RepositoryServiceUpdateRepositoryParams) WithTimeout

WithTimeout adds the timeout to the repository service update repository params

func (*RepositoryServiceUpdateRepositoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RepositoryServiceUpdateRepositoryReader

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

RepositoryServiceUpdateRepositoryReader is a Reader for the RepositoryServiceUpdateRepository structure.

func (*RepositoryServiceUpdateRepositoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RepositoryServiceValidateAccessDefault

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

An unexpected error response.

func NewRepositoryServiceValidateAccessDefault

func NewRepositoryServiceValidateAccessDefault(code int) *RepositoryServiceValidateAccessDefault

NewRepositoryServiceValidateAccessDefault creates a RepositoryServiceValidateAccessDefault with default headers values

func (*RepositoryServiceValidateAccessDefault) Code

Code gets the status code for the repository service validate access default response

func (*RepositoryServiceValidateAccessDefault) Error

func (*RepositoryServiceValidateAccessDefault) GetPayload

type RepositoryServiceValidateAccessOK

type RepositoryServiceValidateAccessOK struct {
	Payload models.RepositoryRepoResponse
}
RepositoryServiceValidateAccessOK describes a response with status code 200, with default header values.

A successful response.

func NewRepositoryServiceValidateAccessOK

func NewRepositoryServiceValidateAccessOK() *RepositoryServiceValidateAccessOK

NewRepositoryServiceValidateAccessOK creates a RepositoryServiceValidateAccessOK with default headers values

func (*RepositoryServiceValidateAccessOK) Error

func (*RepositoryServiceValidateAccessOK) GetPayload

type RepositoryServiceValidateAccessParams

type RepositoryServiceValidateAccessParams struct {

	/* Body.

	   The URL to the repo
	*/
	Body string

	/* EnableOci.

	   Whether helm-oci support should be enabled for this repo.
	*/
	EnableOci *bool

	/* GithubAppEnterpriseBaseURL.

	   Github App Enterprise base url if empty will default to https://api.github.com.
	*/
	GithubAppEnterpriseBaseURL *string

	/* GithubAppID.

	   Github App ID of the app used to access the repo.

	   Format: int64
	*/
	GithubAppID *int64

	/* GithubAppInstallationID.

	   Github App Installation ID of the installed GitHub App.

	   Format: int64
	*/
	GithubAppInstallationID *int64

	/* GithubAppPrivateKey.

	   Github App Private Key PEM data.
	*/
	GithubAppPrivateKey *string

	/* Insecure.

	   Whether to skip certificate or host key validation.
	*/
	Insecure *bool

	/* Name.

	   The name of the repo.
	*/
	Name *string

	/* Password.

	   Password for accessing repo.
	*/
	Password *string

	/* Project.

	   Reference between project and repository that allow you automatically to be added as item inside SourceRepos project entity.
	*/
	Project *string

	/* Proxy.

	   HTTP/HTTPS proxy to access the repository.
	*/
	Proxy *string

	/* Repo.

	   The URL to the repo
	*/
	Repo string

	/* SSHPrivateKey.

	   Private key data for accessing SSH repository.
	*/
	SSHPrivateKey *string

	/* TLSClientCertData.

	   TLS client cert data for accessing HTTPS repository.
	*/
	TLSClientCertData *string

	/* TLSClientCertKey.

	   TLS client cert key for accessing HTTPS repository.
	*/
	TLSClientCertKey *string

	/* Type.

	   The type of the repo.
	*/
	Type *string

	/* Username.

	   Username for accessing repo.
	*/
	Username *string

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

RepositoryServiceValidateAccessParams contains all the parameters to send to the API endpoint

for the repository service validate access operation.

Typically these are written to a http.Request.

func NewRepositoryServiceValidateAccessParams

func NewRepositoryServiceValidateAccessParams() *RepositoryServiceValidateAccessParams

NewRepositoryServiceValidateAccessParams creates a new RepositoryServiceValidateAccessParams 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 NewRepositoryServiceValidateAccessParamsWithContext

func NewRepositoryServiceValidateAccessParamsWithContext(ctx context.Context) *RepositoryServiceValidateAccessParams

NewRepositoryServiceValidateAccessParamsWithContext creates a new RepositoryServiceValidateAccessParams object with the ability to set a context for a request.

func NewRepositoryServiceValidateAccessParamsWithHTTPClient

func NewRepositoryServiceValidateAccessParamsWithHTTPClient(client *http.Client) *RepositoryServiceValidateAccessParams

NewRepositoryServiceValidateAccessParamsWithHTTPClient creates a new RepositoryServiceValidateAccessParams object with the ability to set a custom HTTPClient for a request.

func NewRepositoryServiceValidateAccessParamsWithTimeout

func NewRepositoryServiceValidateAccessParamsWithTimeout(timeout time.Duration) *RepositoryServiceValidateAccessParams

NewRepositoryServiceValidateAccessParamsWithTimeout creates a new RepositoryServiceValidateAccessParams object with the ability to set a timeout on a request.

func (*RepositoryServiceValidateAccessParams) SetBody

SetBody adds the body to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) SetContext

SetContext adds the context to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) SetDefaults

func (o *RepositoryServiceValidateAccessParams) SetDefaults()

SetDefaults hydrates default values in the repository service validate access params (not the query body).

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

func (*RepositoryServiceValidateAccessParams) SetEnableOci

func (o *RepositoryServiceValidateAccessParams) SetEnableOci(enableOci *bool)

SetEnableOci adds the enableOci to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) SetGithubAppEnterpriseBaseURL

func (o *RepositoryServiceValidateAccessParams) SetGithubAppEnterpriseBaseURL(githubAppEnterpriseBaseURL *string)

SetGithubAppEnterpriseBaseURL adds the githubAppEnterpriseBaseUrl to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) SetGithubAppID

func (o *RepositoryServiceValidateAccessParams) SetGithubAppID(githubAppID *int64)

SetGithubAppID adds the githubAppId to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) SetGithubAppInstallationID

func (o *RepositoryServiceValidateAccessParams) SetGithubAppInstallationID(githubAppInstallationID *int64)

SetGithubAppInstallationID adds the githubAppInstallationId to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) SetGithubAppPrivateKey

func (o *RepositoryServiceValidateAccessParams) SetGithubAppPrivateKey(githubAppPrivateKey *string)

SetGithubAppPrivateKey adds the githubAppPrivateKey to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) SetInsecure

func (o *RepositoryServiceValidateAccessParams) SetInsecure(insecure *bool)

SetInsecure adds the insecure to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) SetName

SetName adds the name to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) SetPassword

func (o *RepositoryServiceValidateAccessParams) SetPassword(password *string)

SetPassword adds the password to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) SetProject

func (o *RepositoryServiceValidateAccessParams) SetProject(project *string)

SetProject adds the project to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) SetProxy

func (o *RepositoryServiceValidateAccessParams) SetProxy(proxy *string)

SetProxy adds the proxy to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) SetRepo

SetRepo adds the repo to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) SetSSHPrivateKey

func (o *RepositoryServiceValidateAccessParams) SetSSHPrivateKey(sSHPrivateKey *string)

SetSSHPrivateKey adds the sshPrivateKey to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) SetTLSClientCertData

func (o *RepositoryServiceValidateAccessParams) SetTLSClientCertData(tLSClientCertData *string)

SetTLSClientCertData adds the tlsClientCertData to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) SetTLSClientCertKey

func (o *RepositoryServiceValidateAccessParams) SetTLSClientCertKey(tLSClientCertKey *string)

SetTLSClientCertKey adds the tlsClientCertKey to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) SetTimeout

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

SetTimeout adds the timeout to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) SetType

func (o *RepositoryServiceValidateAccessParams) SetType(typeVar *string)

SetType adds the type to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) SetUsername

func (o *RepositoryServiceValidateAccessParams) SetUsername(username *string)

SetUsername adds the username to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WithBody

WithBody adds the body to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WithContext

WithContext adds the context to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WithDefaults

WithDefaults hydrates default values in the repository service validate access params (not the query body).

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

func (*RepositoryServiceValidateAccessParams) WithEnableOci

WithEnableOci adds the enableOci to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WithGithubAppEnterpriseBaseURL

func (o *RepositoryServiceValidateAccessParams) WithGithubAppEnterpriseBaseURL(githubAppEnterpriseBaseURL *string) *RepositoryServiceValidateAccessParams

WithGithubAppEnterpriseBaseURL adds the githubAppEnterpriseBaseURL to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WithGithubAppID

WithGithubAppID adds the githubAppID to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WithGithubAppInstallationID

func (o *RepositoryServiceValidateAccessParams) WithGithubAppInstallationID(githubAppInstallationID *int64) *RepositoryServiceValidateAccessParams

WithGithubAppInstallationID adds the githubAppInstallationID to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WithGithubAppPrivateKey

func (o *RepositoryServiceValidateAccessParams) WithGithubAppPrivateKey(githubAppPrivateKey *string) *RepositoryServiceValidateAccessParams

WithGithubAppPrivateKey adds the githubAppPrivateKey to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WithInsecure

WithInsecure adds the insecure to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WithName

WithName adds the name to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WithPassword

WithPassword adds the password to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WithProject

WithProject adds the project to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WithProxy

WithProxy adds the proxy to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WithRepo

WithRepo adds the repo to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WithSSHPrivateKey

WithSSHPrivateKey adds the sSHPrivateKey to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WithTLSClientCertData

func (o *RepositoryServiceValidateAccessParams) WithTLSClientCertData(tLSClientCertData *string) *RepositoryServiceValidateAccessParams

WithTLSClientCertData adds the tLSClientCertData to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WithTLSClientCertKey

func (o *RepositoryServiceValidateAccessParams) WithTLSClientCertKey(tLSClientCertKey *string) *RepositoryServiceValidateAccessParams

WithTLSClientCertKey adds the tLSClientCertKey to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WithTimeout

WithTimeout adds the timeout to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WithType

WithType adds the typeVar to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WithUsername

WithUsername adds the username to the repository service validate access params

func (*RepositoryServiceValidateAccessParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RepositoryServiceValidateAccessReader

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

RepositoryServiceValidateAccessReader is a Reader for the RepositoryServiceValidateAccess structure.

func (*RepositoryServiceValidateAccessReader) ReadResponse

func (o *RepositoryServiceValidateAccessReader) 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