imagefactory

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package imagefactory implements factory clients used in the infra providers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client goes directly to the image factory using the provided endpoint (or default one).

func NewClient

func NewClient(options ClientOptions) (*Client, error)

NewClient creates new Omni based image factory client.

func (Client) EnsureSchematic

func (se Client) EnsureSchematic(ctx context.Context, schematic schematic.Schematic) (string, error)

EnsureSchematic creates the schematic in the image factory.

type ClientOptions

type ClientOptions struct {
	FactoryEndpoint string
}

ClientOptions configures the direct image factory client.

Jump to

Keyboard shortcuts

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