config

package
v0.0.0-...-2f48117 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	AppIdLabel                 = "onspaceship.com/app-id"
	DeliveryIdAnnotation       = "onspaceship.com/delivery-id"
	DeliveryRevisionAnnotation = "onspaceship.com/delivery-revision"
	AppHandleAnnotation        = "onspaceship.com/app-handle"
	TeamHandleAnnotation       = "onspaceship.com/team-handle"

	KubernetesRevisionAnnotation = "deployment.kubernetes.io/revision"
)
View Source
const (
	DefaultCoreBaseURL = "https://core.onspaceship.com/"
)
View Source
const (
	DefaultGroundControlHost = "wss://ground-control.onspaceship.com/socket/websocket"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientOptions

type ClientOptions struct {
	AgentId     string
	CoreBaseURL *url.URL
}

func NewClientOptions

func NewClientOptions() (*ClientOptions, error)

func (*ClientOptions) Configure

func (options *ClientOptions) Configure() error

type SocketOptions

type SocketOptions struct {
	AgentId string

	Host      string
	Namespace string

	BuildRegistryURL    string
	BuildServiceAccount string
}

func NewSocketOptions

func NewSocketOptions() (*SocketOptions, error)

func (*SocketOptions) Configure

func (options *SocketOptions) Configure() error

Jump to

Keyboard shortcuts

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