provider-http

module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0

README

provider-http

provider-http is a Crossplane Provider designed to facilitate sending HTTP requests as resources.

Installation

To install provider-http, you have two options:

  1. Using the Crossplane CLI in a Kubernetes cluster where Crossplane is installed:

    kubectl crossplane install provider xpkg.upbound.io/crossplane-contrib/provider-http:v1.0.0
    
  2. Manually creating a Provider by applying the following YAML:

    apiVersion: pkg.crossplane.io/v1
    kind: Provider
    metadata:
      name: provider-http
    spec:
      package: "xpkg.upbound.io/crossplane-contrib/provider-http:v0.2.0"
    

Supported Resources

provider-http supports the following resources:

Usage

DisposableRequest

Create a DisposableRequest resource to initiate a single-use HTTP interaction:

apiVersion: http.crossplane.io/v1alpha2
kind: DisposableRequest
metadata:
  name: example-disposable-request
spec:
  # Add your DisposableRequest specification here

For more detailed examples and configuration options, refer to the examples directory.

Request

Manage a resource through HTTP requests with a Request resource:

apiVersion: http.crossplane.io/v1alpha2
kind: Request
metadata:
  name: example-request
spec:
  # Add your Request specification here

For more detailed examples and configuration options, refer to the examples directory.

Developing locally

Run controller against the cluster:

make run

Troubleshooting

If you encounter any issues during installation or usage, refer to the troubleshooting guide for common problems and solutions.

Directories

Path Synopsis
Package apis contains Kubernetes API for the Http provider.
Package apis contains Kubernetes API for the Http provider.
disposablerequest
Package disposablerequest contains group request API versions
Package disposablerequest contains group request API versions
disposablerequest/v1alpha1
Package v1alpha1 contains the v1alpha1 group Sample resources of the http provider.
Package v1alpha1 contains the v1alpha1 group Sample resources of the http provider.
disposablerequest/v1alpha2
Package v1alpha2 contains the v1alpha2 group Sample resources of the http provider.
Package v1alpha2 contains the v1alpha2 group Sample resources of the http provider.
request
Package request contains group request API versions
Package request contains group request API versions
request/v1alpha1
Package v1alpha1 contains the v1alpha1 group Sample resources of the http provider.
Package v1alpha1 contains the v1alpha1 group Sample resources of the http provider.
request/v1alpha2
Package v1alpha2 contains the v1alpha2 group Sample resources of the http provider.
Package v1alpha2 contains the v1alpha2 group Sample resources of the http provider.
v1alpha1
Package v1alpha1 contains the core resources of the Http provider.
Package v1alpha1 contains the core resources of the Http provider.
cmd
internal
jq

Jump to

Keyboard shortcuts

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