sdk

package
v0.0.1-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 5 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(bf BlueprintFunc)

Types

type Blueprint

type Blueprint struct {
	// contains filtered or unexported fields
}

func (Blueprint) WithBuild

func (b Blueprint) WithBuild(alias string, repo Source, translator Translator, runtimeConfig any, config ...any) Blueprint

func (Blueprint) WithResource

func (b Blueprint) WithResource(exists any, provider Provider, resource Resource) Blueprint

type BlueprintFunc

type BlueprintFunc func(args ...any) (Blueprint, error)

type File

type File struct {
	Path string
}

type Get

type Get struct {
	Name   string
	Object any
}

func GetResource

func GetResource(alias string) Get

func (Get) Get

func (g Get) Get(name string) Get

type Provider

type Provider struct {
	Name   string
	Source Source
}

type Resource

type Resource struct {
	Identifier any
	Config     any
}

type ResourceIdentifier

type ResourceIdentifier struct {
	Alias        string
	ResourceType string
	Value        any
}

type RuntimeConfig

type RuntimeConfig struct{}

type Source

type Source interface {
	// contains filtered or unexported methods
}

type SourceFilePath

type SourceFilePath struct {
	Source

	Path string
}

type SourceGitHubRelease

type SourceGitHubRelease struct {
	Source

	RepoOwner string
	RepoName  string
	Name      string
}

type Translator

type Translator struct {
	Source Source
	Name   string
}

Jump to

Keyboard shortcuts

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