instance

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FallbackHostname

func FallbackHostname() string

FallbackHostname returns the host name of the default Instill Cloud instance.

func GetProtocol

func GetProtocol(hostname string) string

GetProtocol returns the correct protocol based on a hostname

func HostnameValidator

func HostnameValidator(v string) error

HostnameValidator validates a hostname, with an optional port number. TODO move to utils

func IsLocal

func IsLocal(hostname string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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