v1alpha1

package
v0.0.0-...-a54ed49 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the submariner v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=submariner.io

Package v1alpha1 contains API Schema definitions for the submariner v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=submariner.io

Index

Constants

View Source
const (
	ConditionRuleUpdating status.ConditionType = "RuleUpdating"
	ConditionRuleSyncing  status.ConditionType = "RuleSyncing"
)

Variables

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

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

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ExternalService

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

	Spec   ExternalServiceSpec   `json:"spec,omitempty"`
	Status ExternalServiceStatus `json:"status,omitempty"`
}

ExternalService is the Schema for the externalservices API +kubebuilder:subresource:status +kubebuilder:resource:path=externalservices,scope=Namespaced

func (*ExternalService) DeepCopy

func (in *ExternalService) DeepCopy() *ExternalService

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

func (*ExternalService) DeepCopyInto

func (in *ExternalService) DeepCopyInto(out *ExternalService)

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

func (*ExternalService) DeepCopyObject

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

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

type ExternalServiceList

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

ExternalServiceList contains a list of ExternalService

func (*ExternalServiceList) DeepCopy

func (in *ExternalServiceList) DeepCopy() *ExternalServiceList

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

func (*ExternalServiceList) DeepCopyInto

func (in *ExternalServiceList) DeepCopyInto(out *ExternalServiceList)

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

func (*ExternalServiceList) DeepCopyObject

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

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

type ExternalServiceSpec

type ExternalServiceSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	TargetIP string               `json:"targetIP"`
	Sources  []Source             `json:"sources"`
	Ports    []corev1.ServicePort `json:"ports"`
}

ExternalServiceSpec defines the desired state of ExternalService

func (*ExternalServiceSpec) DeepCopy

func (in *ExternalServiceSpec) DeepCopy() *ExternalServiceSpec

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

func (*ExternalServiceSpec) DeepCopyInto

func (in *ExternalServiceSpec) DeepCopyInto(out *ExternalServiceSpec)

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

type ExternalServiceStatus

type ExternalServiceStatus struct {
}

ExternalServiceStatus defines the observed state of ExternalService

func (*ExternalServiceStatus) DeepCopy

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

func (*ExternalServiceStatus) DeepCopyInto

func (in *ExternalServiceStatus) DeepCopyInto(out *ExternalServiceStatus)

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

type Forwarder

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

	Spec   ForwarderSpec   `json:"spec,omitempty"`
	Status ForwarderStatus `json:"status,omitempty"`
}

Forwarder is the Schema for the forwarders API +kubebuilder:subresource:status +kubebuilder:resource:path=forwarders,scope=Namespaced

func (*Forwarder) DeepCopy

func (in *Forwarder) DeepCopy() *Forwarder

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

func (*Forwarder) DeepCopyInto

func (in *Forwarder) DeepCopyInto(out *Forwarder)

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

func (*Forwarder) DeepCopyObject

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

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

type ForwarderList

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

ForwarderList contains a list of Forwarder

func (*ForwarderList) DeepCopy

func (in *ForwarderList) DeepCopy() *ForwarderList

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

func (*ForwarderList) DeepCopyInto

func (in *ForwarderList) DeepCopyInto(out *ForwarderList)

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

func (*ForwarderList) DeepCopyObject

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

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

type ForwarderRef

type ForwarderRef struct {
	Namespace string `json:"namespace,omitempty"`
	Name      string `json:"name,omitempty"`
}

func (*ForwarderRef) DeepCopy

func (in *ForwarderRef) DeepCopy() *ForwarderRef

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

func (*ForwarderRef) DeepCopyInto

func (in *ForwarderRef) DeepCopyInto(out *ForwarderRef)

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

type ForwarderRule

type ForwarderRule struct {
	Protocol        string     `json:"protocol,omitempty"`
	SourceIP        string     `json:"sourceip,omitempty"`
	TargetPort      string     `json:"targetport,omitempty"`
	DestinationIP   string     `json:"destinationip,omitempty"`
	DestinationPort string     `json:"destinationport,omitempty"`
	Gateway         GatewayRef `json:"gateway"`
	GatewayIP       string     `json:"gatewayip,omitempty"`
	RelayPort       string     `json:"relayPort,omitempty"`
}

func (*ForwarderRule) DeepCopy

func (in *ForwarderRule) DeepCopy() *ForwarderRule

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

func (*ForwarderRule) DeepCopyInto

func (in *ForwarderRule) DeepCopyInto(out *ForwarderRule)

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

type ForwarderSpec

type ForwarderSpec struct {
	EgressRules  []ForwarderRule `json:"egressrules"`
	IngressRules []ForwarderRule `json:"ingressrules"`
	ForwarderIP  string          `json:"forwarderip,omitempty"`
}

ForwarderSpec defines the desired state of Forwarder

func (*ForwarderSpec) DeepCopy

func (in *ForwarderSpec) DeepCopy() *ForwarderSpec

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

func (*ForwarderSpec) DeepCopyInto

func (in *ForwarderSpec) DeepCopyInto(out *ForwarderSpec)

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

type ForwarderStatus

type ForwarderStatus struct {
	Conditions     status.Conditions `json:"conditions"`
	RuleGeneration int               `json:"rulegeneration,omitempty"`
	SyncGeneration int               `json:"syncgeneration,omitempty"`
}

ForwarderStatus defines the observed state of Forwarder

func (*ForwarderStatus) DeepCopy

func (in *ForwarderStatus) DeepCopy() *ForwarderStatus

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

func (*ForwarderStatus) DeepCopyInto

func (in *ForwarderStatus) DeepCopyInto(out *ForwarderStatus)

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

type Gateway

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

	Spec   GatewaySpec   `json:"spec,omitempty"`
	Status GatewayStatus `json:"status,omitempty"`
}

Gateway is the Schema for the gateways API +kubebuilder:subresource:status +kubebuilder:resource:path=gateways,scope=Namespaced

func (*Gateway) DeepCopy

func (in *Gateway) DeepCopy() *Gateway

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

func (*Gateway) DeepCopyInto

func (in *Gateway) DeepCopyInto(out *Gateway)

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

func (*Gateway) DeepCopyObject

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

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

type GatewayList

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

GatewayList contains a list of Gateway

func (*GatewayList) DeepCopy

func (in *GatewayList) DeepCopy() *GatewayList

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

func (*GatewayList) DeepCopyInto

func (in *GatewayList) DeepCopyInto(out *GatewayList)

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

func (*GatewayList) DeepCopyObject

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

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

type GatewayRef

type GatewayRef struct {
	Namespace string `json:"namespace,omitempty"`
	Name      string `json:"name,omitempty"`
}

func (*GatewayRef) DeepCopy

func (in *GatewayRef) DeepCopy() *GatewayRef

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

func (*GatewayRef) DeepCopyInto

func (in *GatewayRef) DeepCopyInto(out *GatewayRef)

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

type GatewayRule

type GatewayRule struct {
	Protocol        string       `json:"protocol,omitempty"`
	SourceIP        string       `json:"sourceip,omitempty"`
	TargetPort      string       `json:"targetport,omitempty"`
	DestinationPort string       `json:"destinationport,omitempty"`
	DestinationIP   string       `json:"destinationip,omitempty"`
	Forwarder       ForwarderRef `json:"forwarder"`
	ForwarderIP     string       `json:"forwarderip,omitempty"`
	RelayPort       string       `json:"relayport,omitempty"`
}

func (*GatewayRule) DeepCopy

func (in *GatewayRule) DeepCopy() *GatewayRule

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

func (*GatewayRule) DeepCopyInto

func (in *GatewayRule) DeepCopyInto(out *GatewayRule)

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

type GatewaySpec

type GatewaySpec struct {
	EgressRules  []GatewayRule `json:"egressrules"`
	IngressRules []GatewayRule `json:"ingressrules"`
	GatewayIP    string        `json:"gatewayip,omitempty"`
}

GatewaySpec defines the desired state of Gateway

func (*GatewaySpec) DeepCopy

func (in *GatewaySpec) DeepCopy() *GatewaySpec

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

func (*GatewaySpec) DeepCopyInto

func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec)

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

type GatewayStatus

type GatewayStatus struct {
	Conditions     status.Conditions `json:"conditions"`
	RuleGeneration int               `json:"rulegeneration,omitempty"`
	SyncGeneration int               `json:"syncgeneration,omitempty"`
}

GatewayStatus defines the observed state of Gateway

func (*GatewayStatus) DeepCopy

func (in *GatewayStatus) DeepCopy() *GatewayStatus

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

func (*GatewayStatus) DeepCopyInto

func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus)

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

type ServiceRef

type ServiceRef struct {
	Namespace string `json:"namespace,omitempty"`
	Name      string `json:"name,omitempty"`
}

func (*ServiceRef) DeepCopy

func (in *ServiceRef) DeepCopy() *ServiceRef

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

func (*ServiceRef) DeepCopyInto

func (in *ServiceRef) DeepCopyInto(out *ServiceRef)

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

type Source

type Source struct {
	Service  ServiceRef `json:"service"`
	SourceIP string     `json:"sourceIP"`
}

func (*Source) DeepCopy

func (in *Source) DeepCopy() *Source

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

func (*Source) DeepCopyInto

func (in *Source) DeepCopyInto(out *Source)

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