v1

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

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

Go to latest
Published: Jan 3, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "cloud.cranom.tech"
View Source
const GroupVersion = "v1"

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 Application

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

	Spec ApplicationSpec `json:"spec"`
}

func (*Application) DeepCopyInto

func (in *Application) DeepCopyInto(out *Application)

DeepCopyInto copies all properties of this object into another object of the same type that is provided as a pointer.

func (*Application) DeepCopyObject

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

DeepCopyObject returns a generically typed copy of an object

type ApplicationList

type ApplicationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []Application `json:"items"`
}

func (*ApplicationList) DeepCopyObject

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

DeepCopyObject returns a generically typed copy of an object

type ApplicationPortMap

type ApplicationPortMap struct {
	Name     string `json:"name"`
	Internal int    `json:"internal"`
	External int    `json:"external"`
}

type ApplicationSpec

type ApplicationSpec struct {
	Image   string               `json:"image"`
	Volumes []ApplicationVolume  `json:"volumes"`
	Ports   []ApplicationPortMap `json:"ports"`
	EnvFrom string               `json:"envFrom"`
}

type ApplicationVolume

type ApplicationVolume struct {
	VolumeName string `json:"volume-name"`
	Path       string `json:"path"`
}

Jump to

Keyboard shortcuts

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