v1

package
v0.0.0-...-ee70ca2 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the api v1 API group +kubebuilder:object:generate=true +groupName=api.core.appnet.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "api.core.appnet.io", Version: "v1"}

	// 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 AppNetConfig

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

	Spec   AppNetConfigSpec   `json:"spec,omitempty"`
	Status AppNetConfigStatus `json:"status,omitempty"`
}

AppNetConfig is the Schema for the appnetconfigs API

func (*AppNetConfig) DeepCopy

func (in *AppNetConfig) DeepCopy() *AppNetConfig

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

func (*AppNetConfig) DeepCopyInto

func (in *AppNetConfig) DeepCopyInto(out *AppNetConfig)

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

func (*AppNetConfig) DeepCopyObject

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

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

type AppNetConfigList

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

AppNetConfigList contains a list of AppNetConfig

func (*AppNetConfigList) DeepCopy

func (in *AppNetConfigList) DeepCopy() *AppNetConfigList

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

func (*AppNetConfigList) DeepCopyInto

func (in *AppNetConfigList) DeepCopyInto(out *AppNetConfigList)

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

func (*AppNetConfigList) DeepCopyObject

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

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

type AppNetConfigSpec

type AppNetConfigSpec struct {
	Safe             bool           `json:"safe,omitempty" default:"true"`
	Backend          string         `json:"backend"`
	AppName          string         `json:"appName"`
	AppManifestFile  string         `json:"appManifestFile"`
	ClientService    string         `json:"clientService"`
	ServerService    string         `json:"serverService"`
	ClientChain      []ChainElement `json:"clientChain,omitempty"`
	ServerChain      []ChainElement `json:"serverChain,omitempty"`
	AnyChain         []ChainElement `json:"anyChain,omitempty"`
	PairChain        []ChainElement `json:"pairChain,omitempty"`
	Method           string         `json:"method"`
	Proto            string         `json:"proto"`
	ProtoModName     string         `json:"protoModName,omitempty"`
	ProtoModLocation string         `json:"protoModLocation,omitempty"`
}

AppNetConfigSpec defines the desired state of AppNetConfig

func (*AppNetConfigSpec) DeepCopy

func (in *AppNetConfigSpec) DeepCopy() *AppNetConfigSpec

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

func (*AppNetConfigSpec) DeepCopyInto

func (in *AppNetConfigSpec) DeepCopyInto(out *AppNetConfigSpec)

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

type AppNetConfigStatus

type AppNetConfigStatus struct {
}

AppNetConfigStatus defines the observed state of AppNetConfig

func (*AppNetConfigStatus) DeepCopy

func (in *AppNetConfigStatus) DeepCopy() *AppNetConfigStatus

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

func (*AppNetConfigStatus) DeepCopyInto

func (in *AppNetConfigStatus) DeepCopyInto(out *AppNetConfigStatus)

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

type ChainElement

type ChainElement struct {
	Name       string            `json:"name"`
	File       string            `json:"file"`
	Parameters map[string]string `json:"parameters,omitempty"`
}

EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

func (*ChainElement) DeepCopy

func (in *ChainElement) DeepCopy() *ChainElement

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

func (*ChainElement) DeepCopyInto

func (in *ChainElement) DeepCopyInto(out *ChainElement)

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