Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseRequestName ¶
func ParseRequestName(name string) (Origin, RequestName, error)
Types ¶
type ControllerKey ¶
type ControllerKey = keyType[controllerKey]
func NewControllerKey ¶
func NewControllerKey(hostname string, port string) ControllerKey
func NewLocalControllerKey ¶ added in v0.148.0
func NewLocalControllerKey(suffix int) ControllerKey
func ParseControllerKey ¶
func ParseControllerKey(key string) (ControllerKey, error)
type Deployment ¶
type Deployment struct { Module string Language string Key DeploymentKey Schema *schema.Module Artefacts []*Artefact }
func (*Deployment) Close ¶
func (d *Deployment) Close() error
Close is a convenience function to close all artefacts.
type DeploymentKey ¶ added in v0.151.0
type DeploymentKey struct {
// contains filtered or unexported fields
}
func NewDeploymentKey ¶ added in v0.151.0
func NewDeploymentKey(module string) DeploymentKey
func ParseDeploymentKey ¶ added in v0.151.0
func ParseDeploymentKey(input string) (DeploymentKey, error)
func (*DeploymentKey) MarshalText ¶ added in v0.151.0
func (d *DeploymentKey) MarshalText() ([]byte, error)
func (*DeploymentKey) Scan ¶ added in v0.151.0
func (d *DeploymentKey) Scan(value any) error
func (DeploymentKey) String ¶ added in v0.151.0
func (d DeploymentKey) String() string
func (*DeploymentKey) UnmarshalText ¶ added in v0.151.0
func (d *DeploymentKey) UnmarshalText(bytes []byte) error
type MaybeRequestName ¶
type MaybeRequestName optional.Option[RequestName]
type RequestName ¶
type RequestName string
A RequestName represents an inbound request into the cluster.
func NewRequestName ¶
func NewRequestName(origin Origin, key string) RequestName
func (*RequestName) MarshalText ¶
func (d *RequestName) MarshalText() ([]byte, error)
func (*RequestName) Scan ¶
func (d *RequestName) Scan(value any) error
func (*RequestName) String ¶
func (d *RequestName) String() string
func (*RequestName) UnmarshalText ¶
func (d *RequestName) UnmarshalText(bytes []byte) error
Click to show internal directories.
Click to hide internal directories.