Help us shape the future of Go! Take the 2026 Go Developer Survey

authoring

package
v0.4.26 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Descriptor

type Descriptor struct {
	ID               string   `json:"id" yaml:"id"`
	Version          string   `json:"version" yaml:"version"`
	ProviderProtocol string   `json:"providerProtocol" yaml:"providerProtocol"`
	ServiceKinds     []string `json:"serviceKinds" yaml:"serviceKinds"`
	ServiceContracts []string `json:"serviceContracts" yaml:"serviceContracts"`
	Capabilities     []string `json:"capabilities,omitempty" yaml:"capabilities,omitempty"`
	SupportedScopes  []string `json:"supportedScopes" yaml:"supportedScopes"`
}

func Load

func Load(root string) (Descriptor, error)

func (Descriptor) IntegrationDescriptor

func (d Descriptor) IntegrationDescriptor() (capability.IntegrationDescriptor, error)

func (Descriptor) Validate

func (d Descriptor) Validate() error

type InitResult

type InitResult struct {
	Root  string   `json:"root"`
	Files []string `json:"files"`
}

func Init

func Init(root, id string) (InitResult, error)

Jump to

Keyboard shortcuts

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