v1alpha1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "caravan.nibious.com"
View Source
const GroupVersion = "v1alpha1"

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: GroupVersion}

Functions

This section is empty.

Types

type ActivePlugin

type ActivePlugin struct {
	Name   string `json:"name"`
	Config string `json:"config"`
}

func (*ActivePlugin) DeepCopyInto

func (in *ActivePlugin) DeepCopyInto(out *ActivePlugin)

type Client

type Client struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ClientSpec   `json:"spec"`
	Status ClientStatus `json:"status"`
}

func (*Client) DeepCopyInto

func (in *Client) DeepCopyInto(out *Client)

func (*Client) DeepCopyObject

func (in *Client) DeepCopyObject() runtime.Object

type ClientList

type ClientList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Client `json:"items"`
}

func (*ClientList) DeepCopyObject

func (in *ClientList) DeepCopyObject() runtime.Object

type ClientSpec

type ClientSpec struct {
	//type everything out there!
	Hostname      string         `json:"hostname"`
	ClientID      string         `json:"clientID"`
	SecretID      string         `json:"secretID"`
	ForwardPorts  []int          `json:"forwardPorts"`
	Owner         string         `json:"owner"`
	ServiceName   string         `json:"serviceName"`
	ActivePlugins []ActivePlugin `json:"activePlugins"`
}

type ClientStatus

type ClientStatus struct {
	Connected   bool        `json:"connected"`
	LastContact metav1.Time `json:"lastContact"`
}

Jump to

Keyboard shortcuts

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