config

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

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)

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