omni

package
v0.1.0-alpha.1 Latest Latest
Warning

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

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

Documentation

Overview

Package omni provides Omni-related functionality.

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 is a wrapper around the Omni client.

func BuildClient

func BuildClient(state state.State) *Client

BuildClient creates a new Omni client, wrapping the given Omni API client and state.

func (*Client) EnsureProviderStatus

func (c *Client) EnsureProviderStatus(ctx context.Context, name, description string, rawIcon []byte) error

EnsureProviderStatus makes sure that the infra.ProviderStatus resource exists and is up to date for this provider.

func (*Client) GetSiderolinkAPIURL

func (c *Client) GetSiderolinkAPIURL(ctx context.Context) (string, error)

GetSiderolinkAPIURL returns the SideroLink API URL.

Directories

Path Synopsis
Package tunnel provides the reverse GRPC tunnel to Omni.
Package tunnel provides the reverse GRPC tunnel to Omni.

Jump to

Keyboard shortcuts

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