package
0.55.1
Repository: https://github.com/ovh/cds.git
Documentation: pkg.go.dev

# Packages

Package mock_cdsclient is a generated GoMock package.

# Functions

No description provided by the author
FilterByUser allow a provider to perform a request as a user identified by its username.
FilterByWritablePermission allow a provider to filter only writable objects.
No description provided by the author
No description provided by the author
Full allows to get job details on a workflow v3.
No description provided by the author
New returns a client from a config struct.
No description provided by the author
NewHTTPClient returns a new HTTP Client.
NewProviderClient returns an implementation for ProviderClient interface.
NewServiceClient returns client for a service.
No description provided by the author
NewWorker returns client for a worker.
No description provided by the author
No description provided by the author
SetHeader modify headers of http.Request.
No description provided by the author
WithDeepPipelines allows to get pipelines details on a workflow.
WithKeys allow a provider to retrieve a project with its keys.
WithLabels allow a provider to retrieve a workflow with its labels.
WithPermissions allow a provider to retrieve a workflow with its permissions.
WithQueryParameter add query parameters to your http.Request.
WithTemplate allow a provider to retrieve a workflow with template if exists.
WithUsage allow a provider to retrieve an application with its usage.
WithWorkflows allow a provider to retrieve a pipeline with its workflows usage.
No description provided by the author

# Constants

RequestedIfModifiedSinceHeader is used as HTTP header.
ResponseAPINanosecondsTimeHeader is used as HTTP header.
ResponseAPITimeHeader is used as HTTP header.
ResponseEtagHeader is used as HTTP header.
ResponseProcessTimeHeader is used as HTTP header.

# Structs

Config is the configuration data used by the cdsclient interface implementation.
No description provided by the author
No description provided by the author
ProviderConfig is the configuration data used by the cdsclient ProviderClient interface implementation.
ServiceConfig is the configuration data used by the cdsclient interface implementation.
WorkerModelFilter for model's calls.
No description provided by the author

# Interfaces

ActionClient exposes actions related functions.
Admin expose all function to CDS administration.
ApplicationClient exposes application related functions.
ApplicationKeysClient exposes application keys related functions.
ApplicationVariableClient exposes application variables related functions.
AuthClient is the interface for authentication management.
No description provided by the author
DownloadClient exposes download related functions.
EnvironmentClient exposes environment related functions.
EnvironmentKeysClient exposes environment keys related functions.
EnvironmentVariableClient exposes environment variables related functions.
EventsClient listen SSE Events from CDS API.
ExportImportInterface exposes pipeline and application export and import function.
GroupClient exposes groups related functions.
GRPCPluginsClient exposes plugins API.
No description provided by the author
No description provided by the author
No description provided by the author
HookClient exposes functions used for hooks services.
HTTPClient is a interface for HTTPClient mock.
IntegrationClient exposes integration functions.
Interface is the main interface for cdsclient package go:generate mockgen -source=interface.go -destination=mock_cdsclient/interface_mock.go Interface.
MaintenanceClient manage maintenance mode on CDS.
MonitoringClient exposes monitoring functions.
No description provided by the author
PipelineClient exposes pipelines related functions.
ProjectClient exposes project related functions.
ProjectClientV2 exposes project related functions.
ProjectKeysClient exposes project keys related functions.
ProjectVariablesClient exposes project variables related functions.
ProviderClient exposes allowed methods for providers Usage: cfg := ProviderConfig{ Host: "https://my-cds-api:8081", Name: "my-provider-name", Token: "my-very-long-secret-token", } client := NewProviderClient(cfg) //Get the writable projects of a user projects, err := client.ProjectsList(FilterByUser("a-username"), FilterByWritablePermission()) ..
QueueClient exposes queue related functions.
Raw is a low-level interface exposing HTTP functions.
No description provided by the author
No description provided by the author
RepositoriesManagerInterface exposes all repostories manager functions.
ServiceClient exposes functions used for services.
TemplateClient exposes templates functions.
No description provided by the author
UserClient exposes users functions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WorkerClient exposes workers functions.
No description provided by the author
WorkflowAsCodeInterface exposes all workflow as code functions.
WorkflowClient exposes workflows functions.
No description provided by the author

# Type aliases

RequestModifier is used to modify behavior of Request and Steam functions.