file

package
v0.0.0-...-36c55c0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package file provides node-targeted file deploy API handlers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(
	logger *slog.Logger,
	jobClient client.JobClient,
	signingKey string,
	customRoles map[string][]string,
) []func(e *echo.Echo)

Handler returns node file deploy route registration functions.

Types

type File

type File struct {
	// JobClient provides job-based operations for file deploy operations.
	JobClient client.JobClient
	// contains filtered or unexported fields
}

File implementation of the node file deploy APIs operations.

func New

func New(
	logger *slog.Logger,
	jobClient client.JobClient,
) *File

New factory to create a new instance.

func (*File) PostNodeFileDeploy

PostNodeFileDeploy post the node file deploy API endpoint.

func (*File) PostNodeFileStatus

PostNodeFileStatus post the node file status API endpoint.

func (*File) PostNodeFileUndeploy

PostNodeFileUndeploy post the node file undeploy API endpoint.

Directories

Path Synopsis
Package gen provides primitives to interact with the openapi HTTP API.
Package gen provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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