cluster

package
v1.7.9 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authentication

type Authentication struct {
	Mode              string      `json:"mode"`
	BearerToken       string      `json:"bearerToken"`
	Certificate       Certificate `json:"certificate" storm:"inline"`
	ConfigFileContent []byte      `json:"configFileContent"`
}

type Binding

type Binding struct {
	v1.BaseModel `storm:"inline"`
	v1.Metadata  `storm:"inline"`
	UserRef      string `json:"UserRef" storm:"inline"`
	ClusterRef   string `json:"clusterRef" storm:"index"`
	Certificate  []byte `json:"certificate"`
}

type Certificate

type Certificate struct {
	KeyData  []byte `json:"keyData"`
	CertData []byte `json:"certData"`
}

type Cluster

type Cluster struct {
	v1.BaseModel  `storm:"inline"`
	v1.Metadata   `storm:"inline"`
	CaCertificate Certificate `json:"caCertificate" storm:"inline"`
	Spec          Spec        `json:"spec" storm:"inline"`
	PrivateKey    []byte      `json:"privateKey"`
	Status        Status      `json:"status" storm:"inline"`
	Labels        []string    `json:"labels"`
}

type Connect

type Connect struct {
	Direction string  `json:"direction"`
	Forward   Forward `json:"forward" storm:"inline"`
}

type Forward

type Forward struct {
	ApiServer string `json:"apiServer"`
	Proxy     Proxy  `json:"proxy"   storm:"inline"`
}

type Proxy

type Proxy struct {
	URL      string `json:"url"`
	Username string `json:"username"`
	Password string `json:"password"`
}

type Spec

type Spec struct {
	Connect        Connect        `json:"connect" storm:"inline"`
	Authentication Authentication `json:"authentication" storm:"inline"`
	Local          bool           `json:"local"`
}

type Status

type Status struct {
	Version string `json:"version"`
	Phase   string `json:"phase"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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