v1alpha1

package
v0.0.0-...-642254b Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the go-remote v1alpha1 API group +kubebuilder:object:generate=true +groupName=go-remote.fennecproject.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "go-remote.fennecproject.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type GoRemote

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

	Spec   GoRemoteSpec   `json:"spec,omitempty"`
	Status GoRemoteStatus `json:"status,omitempty"`
}

GoRemote is the Schema for the goremotes API

func (*GoRemote) DeepCopy

func (in *GoRemote) DeepCopy() *GoRemote

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoRemote.

func (*GoRemote) DeepCopyInto

func (in *GoRemote) DeepCopyInto(out *GoRemote)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GoRemote) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GoRemoteList

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

GoRemoteList contains a list of GoRemote

func (*GoRemoteList) DeepCopy

func (in *GoRemoteList) DeepCopy() *GoRemoteList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoRemoteList.

func (*GoRemoteList) DeepCopyInto

func (in *GoRemoteList) DeepCopyInto(out *GoRemoteList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GoRemoteList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GoRemoteSpec

type GoRemoteSpec struct {

	// GoRemoteImage is the base image to run the environment
	GoRemoteImage string `json:"goRemoteImage,omitempty"`

	// GitRepo is the project under development URL in github, gitlab or any git based server
	GitRepo string `json:"gitRepo,omitempty"`
	// ContainerPorts are the ports that should be exposed by the go-remote container
	// for the servive being developed
	ContainerPorts []corev1.ContainerPort `json:"containerPorts,omitempty"`

	NodeSelector map[string]string `json:"nodeSelector,omitempty"`

	ServicePorts []corev1.ServicePort `json:"servicePorts,omitempty"`

	Volumes      []corev1.Volume      `json:"Volumes,omitempty"`
	VolumeMounts []corev1.VolumeMount `json:"VolumeMounts,omitempty"`

	ServiceAccount string `json:"serviceAccount,omitempty"`

	GoRemoteNamespace string `json:"goRemoteNamespace,omitempty"`
}

GoRemoteSpec defines the desired state of GoRemote

func (*GoRemoteSpec) DeepCopy

func (in *GoRemoteSpec) DeepCopy() *GoRemoteSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoRemoteSpec.

func (*GoRemoteSpec) DeepCopyInto

func (in *GoRemoteSpec) DeepCopyInto(out *GoRemoteSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GoRemoteStatus

type GoRemoteStatus struct {
}

GoRemoteStatus defines the observed state of GoRemote

func (*GoRemoteStatus) DeepCopy

func (in *GoRemoteStatus) DeepCopy() *GoRemoteStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoRemoteStatus.

func (*GoRemoteStatus) DeepCopyInto

func (in *GoRemoteStatus) DeepCopyInto(out *GoRemoteStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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