provider

package
v1.7.7 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// ProviderName is provider name
	ProviderName = "config"
)

Variables

View Source
var ErrRequestInvalid = errors.New("the request is in valid")

ErrRequestInvalid means the request is invalid

Functions

func Install

func Install(p types.Providers, cli client.Client, apply config.Dispatcher)

Install register handlers to provider discover.

Types

type CreateConfigProperties

type CreateConfigProperties struct {
	Name      string                 `json:"name"`
	Namespace string                 `json:"namespace"`
	Template  string                 `json:"template,omitempty"`
	Config    map[string]interface{} `json:"config"`
}

CreateConfigProperties the request body for creating a config

type Response

type Response struct {
	Status  string `json:"status"`
	Message string `json:"message"`
}

Response the response body

Jump to

Keyboard shortcuts

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