types

package
v0.0.0-...-66c9f5b Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrComposeFileNotFound = errors.New("no compose.yaml file found")

Functions

This section is empty.

Types

type ETag

type ETag = string

func NewEtag

func NewEtag() ETag

func ParseEtag

func ParseEtag(s string) (ETag, error)

type TenantLabel

type TenantLabel string

TenantLabel is the tenant's DNS label

type TenantNameOrID

type TenantNameOrID string

TenantNameOrID is the user-visible tenant identifier. It can be either a tenant name or a tenant ID; the backend resolves it using userinfo.

const (
	// TenantUnset means no tenant was provided; use the personal tenant (token subject).
	TenantUnset TenantNameOrID = ""
)

func (TenantNameOrID) IsSet

func (t TenantNameOrID) IsSet() bool

IsSet reports whether a tenant was explicitly provided.

func (*TenantNameOrID) Set

func (t *TenantNameOrID) Set(s string) error

Set is called by Cobra to parse the string argument

func (TenantNameOrID) String

func (t TenantNameOrID) String() string

String returns a human-readable representation of the tenant. Should never be used in logic.

func (TenantNameOrID) Type

func (TenantNameOrID) Type() string

Type returns the string shown in Cobra help

Jump to

Keyboard shortcuts

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