Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=argoproj.io +k8s:deepcopy-gen=package,register +k8s:openapi-gen=true
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type EventSourceRef
- func (in *EventSourceRef) DeepCopy() *EventSourceRef
- func (in *EventSourceRef) DeepCopyInto(out *EventSourceRef)
- func (*EventSourceRef) Descriptor() ([]byte, []int)
- func (m *EventSourceRef) Marshal() (dAtA []byte, err error)
- func (m *EventSourceRef) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSourceRef) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSourceRef) ProtoMessage()
- func (m *EventSourceRef) Reset()
- func (m *EventSourceRef) Size() (n int)
- func (this *EventSourceRef) String() string
- func (m *EventSourceRef) Unmarshal(dAtA []byte) error
- func (m *EventSourceRef) XXX_DiscardUnknown()
- func (m *EventSourceRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSourceRef) XXX_Merge(src proto.Message)
- func (m *EventSourceRef) XXX_Size() int
- func (m *EventSourceRef) XXX_Unmarshal(b []byte) error
- type Gateway
- func (in *Gateway) DeepCopy() *Gateway
- func (in *Gateway) DeepCopyInto(out *Gateway)
- func (in *Gateway) DeepCopyObject() runtime.Object
- func (*Gateway) Descriptor() ([]byte, []int)
- func (m *Gateway) Marshal() (dAtA []byte, err error)
- func (m *Gateway) MarshalTo(dAtA []byte) (int, error)
- func (m *Gateway) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Gateway) ProtoMessage()
- func (m *Gateway) Reset()
- func (m *Gateway) Size() (n int)
- func (this *Gateway) String() string
- func (m *Gateway) Unmarshal(dAtA []byte) error
- func (m *Gateway) XXX_DiscardUnknown()
- func (m *Gateway) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Gateway) XXX_Merge(src proto.Message)
- func (m *Gateway) XXX_Size() int
- func (m *Gateway) XXX_Unmarshal(b []byte) error
- type GatewayList
- func (in *GatewayList) DeepCopy() *GatewayList
- func (in *GatewayList) DeepCopyInto(out *GatewayList)
- func (in *GatewayList) DeepCopyObject() runtime.Object
- func (*GatewayList) Descriptor() ([]byte, []int)
- func (m *GatewayList) Marshal() (dAtA []byte, err error)
- func (m *GatewayList) MarshalTo(dAtA []byte) (int, error)
- func (m *GatewayList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GatewayList) ProtoMessage()
- func (m *GatewayList) Reset()
- func (m *GatewayList) Size() (n int)
- func (this *GatewayList) String() string
- func (m *GatewayList) Unmarshal(dAtA []byte) error
- func (m *GatewayList) XXX_DiscardUnknown()
- func (m *GatewayList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GatewayList) XXX_Merge(src proto.Message)
- func (m *GatewayList) XXX_Size() int
- func (m *GatewayList) XXX_Unmarshal(b []byte) error
- type GatewayResource
- func (in *GatewayResource) DeepCopy() *GatewayResource
- func (in *GatewayResource) DeepCopyInto(out *GatewayResource)
- func (*GatewayResource) Descriptor() ([]byte, []int)
- func (m *GatewayResource) Marshal() (dAtA []byte, err error)
- func (m *GatewayResource) MarshalTo(dAtA []byte) (int, error)
- func (m *GatewayResource) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GatewayResource) ProtoMessage()
- func (m *GatewayResource) Reset()
- func (m *GatewayResource) Size() (n int)
- func (this *GatewayResource) String() string
- func (m *GatewayResource) Unmarshal(dAtA []byte) error
- func (m *GatewayResource) XXX_DiscardUnknown()
- func (m *GatewayResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GatewayResource) XXX_Merge(src proto.Message)
- func (m *GatewayResource) XXX_Size() int
- func (m *GatewayResource) XXX_Unmarshal(b []byte) error
- type GatewaySpec
- func (in *GatewaySpec) DeepCopy() *GatewaySpec
- func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec)
- func (*GatewaySpec) Descriptor() ([]byte, []int)
- func (m *GatewaySpec) Marshal() (dAtA []byte, err error)
- func (m *GatewaySpec) MarshalTo(dAtA []byte) (int, error)
- func (m *GatewaySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GatewaySpec) ProtoMessage()
- func (m *GatewaySpec) Reset()
- func (m *GatewaySpec) Size() (n int)
- func (this *GatewaySpec) String() string
- func (m *GatewaySpec) Unmarshal(dAtA []byte) error
- func (m *GatewaySpec) XXX_DiscardUnknown()
- func (m *GatewaySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GatewaySpec) XXX_Merge(src proto.Message)
- func (m *GatewaySpec) XXX_Size() int
- func (m *GatewaySpec) XXX_Unmarshal(b []byte) error
- type GatewayStatus
- func (in *GatewayStatus) DeepCopy() *GatewayStatus
- func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus)
- func (*GatewayStatus) Descriptor() ([]byte, []int)
- func (m *GatewayStatus) Marshal() (dAtA []byte, err error)
- func (m *GatewayStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *GatewayStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GatewayStatus) ProtoMessage()
- func (m *GatewayStatus) Reset()
- func (m *GatewayStatus) Size() (n int)
- func (this *GatewayStatus) String() string
- func (m *GatewayStatus) Unmarshal(dAtA []byte) error
- func (m *GatewayStatus) XXX_DiscardUnknown()
- func (m *GatewayStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GatewayStatus) XXX_Merge(src proto.Message)
- func (m *GatewayStatus) XXX_Size() int
- func (m *GatewayStatus) XXX_Unmarshal(b []byte) error
- type Metadata
- func (in *Metadata) DeepCopy() *Metadata
- func (in *Metadata) DeepCopyInto(out *Metadata)
- func (*Metadata) Descriptor() ([]byte, []int)
- func (m *Metadata) Marshal() (dAtA []byte, err error)
- func (m *Metadata) MarshalTo(dAtA []byte) (int, error)
- func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) Size() (n int)
- func (this *Metadata) String() string
- func (m *Metadata) Unmarshal(dAtA []byte) error
- func (m *Metadata) XXX_DiscardUnknown()
- func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metadata) XXX_Merge(src proto.Message)
- func (m *Metadata) XXX_Size() int
- func (m *Metadata) XXX_Unmarshal(b []byte) error
- type NodePhase
- type NodeStatus
- func (in *NodeStatus) DeepCopy() *NodeStatus
- func (in *NodeStatus) DeepCopyInto(out *NodeStatus)
- func (*NodeStatus) Descriptor() ([]byte, []int)
- func (m *NodeStatus) Marshal() (dAtA []byte, err error)
- func (m *NodeStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *NodeStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NodeStatus) ProtoMessage()
- func (m *NodeStatus) Reset()
- func (m *NodeStatus) Size() (n int)
- func (this *NodeStatus) String() string
- func (m *NodeStatus) Unmarshal(dAtA []byte) error
- func (m *NodeStatus) XXX_DiscardUnknown()
- func (m *NodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeStatus) XXX_Merge(src proto.Message)
- func (m *NodeStatus) XXX_Size() int
- func (m *NodeStatus) XXX_Unmarshal(b []byte) error
- type Service
- func (in *Service) DeepCopy() *Service
- func (in *Service) DeepCopyInto(out *Service)
- func (*Service) Descriptor() ([]byte, []int)
- func (m *Service) Marshal() (dAtA []byte, err error)
- func (m *Service) MarshalTo(dAtA []byte) (int, error)
- func (m *Service) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Service) ProtoMessage()
- func (m *Service) Reset()
- func (m *Service) Size() (n int)
- func (this *Service) String() string
- func (m *Service) Unmarshal(dAtA []byte) error
- func (m *Service) XXX_DiscardUnknown()
- func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Service) XXX_Merge(src proto.Message)
- func (m *Service) XXX_Size() int
- func (m *Service) XXX_Unmarshal(b []byte) error
- type Template
- func (in *Template) DeepCopy() *Template
- func (in *Template) DeepCopyInto(out *Template)
- func (*Template) Descriptor() ([]byte, []int)
- func (m *Template) Marshal() (dAtA []byte, err error)
- func (m *Template) MarshalTo(dAtA []byte) (int, error)
- func (m *Template) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Template) ProtoMessage()
- func (m *Template) Reset()
- func (m *Template) Size() (n int)
- func (this *Template) String() string
- func (m *Template) Unmarshal(dAtA []byte) error
- func (m *Template) XXX_DiscardUnknown()
- func (m *Template) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Template) XXX_Merge(src proto.Message)
- func (m *Template) XXX_Size() int
- func (m *Template) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ( // SchemeBuilder is the builder for this scheme SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme adds this AddToScheme = SchemeBuilder.AddToScheme )
var SchemaGroupVersionKind = schema.GroupVersionKind{Group: gateway.Group, Version: "v1alpha1", Kind: gateway.Kind}
SchemaGroupVersionKind is a group version kind used to attach owner references to gateway-controller
var SchemeGroupVersion = schema.GroupVersion{Group: gateway.Group, Version: "v1alpha1"}
SchemeGroupVersion is a group version used to register these objects
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes unqualified resource and returns Group qualified GroupResource
Types ¶
type EventSourceRef ¶ added in v0.13.0
type EventSourceRef struct { // Name of the event source Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // Namespace of the event source // Default value is the namespace where referencing gateway is deployed // +optional Namespace string `json:"namespace,omitempty" protobuf:"bytes,2,opt,name=namespace"` }
EventSourceRef holds information about the EventSourceRef custom resource
func (*EventSourceRef) DeepCopy ¶ added in v0.13.0
func (in *EventSourceRef) DeepCopy() *EventSourceRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSourceRef.
func (*EventSourceRef) DeepCopyInto ¶ added in v0.13.0
func (in *EventSourceRef) DeepCopyInto(out *EventSourceRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventSourceRef) Descriptor ¶ added in v0.17.0
func (*EventSourceRef) Descriptor() ([]byte, []int)
func (*EventSourceRef) Marshal ¶ added in v0.17.0
func (m *EventSourceRef) Marshal() (dAtA []byte, err error)
func (*EventSourceRef) MarshalTo ¶ added in v0.17.0
func (m *EventSourceRef) MarshalTo(dAtA []byte) (int, error)
func (*EventSourceRef) MarshalToSizedBuffer ¶ added in v0.17.0
func (m *EventSourceRef) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSourceRef) ProtoMessage ¶ added in v0.17.0
func (*EventSourceRef) ProtoMessage()
func (*EventSourceRef) Reset ¶ added in v0.17.0
func (m *EventSourceRef) Reset()
func (*EventSourceRef) Size ¶ added in v0.17.0
func (m *EventSourceRef) Size() (n int)
func (*EventSourceRef) String ¶ added in v0.17.0
func (this *EventSourceRef) String() string
func (*EventSourceRef) Unmarshal ¶ added in v0.17.0
func (m *EventSourceRef) Unmarshal(dAtA []byte) error
func (*EventSourceRef) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *EventSourceRef) XXX_DiscardUnknown()
func (*EventSourceRef) XXX_Marshal ¶ added in v0.17.0
func (m *EventSourceRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSourceRef) XXX_Merge ¶ added in v0.17.0
func (m *EventSourceRef) XXX_Merge(src proto.Message)
func (*EventSourceRef) XXX_Size ¶ added in v0.17.0
func (m *EventSourceRef) XXX_Size() int
func (*EventSourceRef) XXX_Unmarshal ¶ added in v0.17.0
func (m *EventSourceRef) XXX_Unmarshal(b []byte) error
type Gateway ¶
type Gateway struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"` Status GatewayStatus `json:"status" protobuf:"bytes,2,opt,name=status"` Spec GatewaySpec `json:"spec" protobuf:"bytes,3,opt,name=spec"` }
Gateway is the definition of a gateway resource +genclient +kubebuilder:resource:shortName=gw +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true
func (*Gateway) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gateway.
func (*Gateway) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Gateway) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Gateway) Descriptor ¶
func (*Gateway) MarshalToSizedBuffer ¶ added in v0.17.0
func (*Gateway) ProtoMessage ¶
func (*Gateway) ProtoMessage()
func (*Gateway) XXX_DiscardUnknown ¶
func (m *Gateway) XXX_DiscardUnknown()
func (*Gateway) XXX_Marshal ¶
func (*Gateway) XXX_Unmarshal ¶
type GatewayList ¶
type GatewayList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"` Items []Gateway `json:"items" protobuf:"bytes,2,rep,name=items"` }
GatewayList is the list of Gateway resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
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.
func (*GatewayList) Descriptor ¶
func (*GatewayList) Descriptor() ([]byte, []int)
func (*GatewayList) Marshal ¶
func (m *GatewayList) Marshal() (dAtA []byte, err error)
func (*GatewayList) MarshalToSizedBuffer ¶ added in v0.17.0
func (m *GatewayList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GatewayList) ProtoMessage ¶
func (*GatewayList) ProtoMessage()
func (*GatewayList) Reset ¶
func (m *GatewayList) Reset()
func (*GatewayList) Size ¶
func (m *GatewayList) Size() (n int)
func (*GatewayList) String ¶
func (this *GatewayList) String() string
func (*GatewayList) Unmarshal ¶
func (m *GatewayList) Unmarshal(dAtA []byte) error
func (*GatewayList) XXX_DiscardUnknown ¶
func (m *GatewayList) XXX_DiscardUnknown()
func (*GatewayList) XXX_Marshal ¶
func (m *GatewayList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GatewayList) XXX_Merge ¶
func (m *GatewayList) XXX_Merge(src proto.Message)
func (*GatewayList) XXX_Size ¶
func (m *GatewayList) XXX_Size() int
func (*GatewayList) XXX_Unmarshal ¶
func (m *GatewayList) XXX_Unmarshal(b []byte) error
type GatewayResource ¶ added in v0.13.0
type GatewayResource struct { // Metadata of the deployment for the gateway Deployment *metav1.ObjectMeta `json:"deployment,omitempty" protobuf:"bytes,1,opt,name=deployment"` // Metadata of the service for the gateway // +optional Service *metav1.ObjectMeta `json:"service,omitempty" protobuf:"bytes,2,opt,name=service"` }
GatewayResource holds the metadata about the gateway resources
func (*GatewayResource) DeepCopy ¶ added in v0.13.0
func (in *GatewayResource) DeepCopy() *GatewayResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayResource.
func (*GatewayResource) DeepCopyInto ¶ added in v0.13.0
func (in *GatewayResource) DeepCopyInto(out *GatewayResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GatewayResource) Descriptor ¶ added in v0.17.0
func (*GatewayResource) Descriptor() ([]byte, []int)
func (*GatewayResource) Marshal ¶ added in v0.17.0
func (m *GatewayResource) Marshal() (dAtA []byte, err error)
func (*GatewayResource) MarshalTo ¶ added in v0.17.0
func (m *GatewayResource) MarshalTo(dAtA []byte) (int, error)
func (*GatewayResource) MarshalToSizedBuffer ¶ added in v0.17.0
func (m *GatewayResource) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GatewayResource) ProtoMessage ¶ added in v0.17.0
func (*GatewayResource) ProtoMessage()
func (*GatewayResource) Reset ¶ added in v0.17.0
func (m *GatewayResource) Reset()
func (*GatewayResource) Size ¶ added in v0.17.0
func (m *GatewayResource) Size() (n int)
func (*GatewayResource) String ¶ added in v0.17.0
func (this *GatewayResource) String() string
func (*GatewayResource) Unmarshal ¶ added in v0.17.0
func (m *GatewayResource) Unmarshal(dAtA []byte) error
func (*GatewayResource) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *GatewayResource) XXX_DiscardUnknown()
func (*GatewayResource) XXX_Marshal ¶ added in v0.17.0
func (m *GatewayResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GatewayResource) XXX_Merge ¶ added in v0.17.0
func (m *GatewayResource) XXX_Merge(src proto.Message)
func (*GatewayResource) XXX_Size ¶ added in v0.17.0
func (m *GatewayResource) XXX_Size() int
func (*GatewayResource) XXX_Unmarshal ¶ added in v0.17.0
func (m *GatewayResource) XXX_Unmarshal(b []byte) error
type GatewaySpec ¶
type GatewaySpec struct { // Template is the pod specification for the gateway // +optional Template Template `json:"template,omitempty" protobuf:"bytes,1,opt,name=template"` // EventSourceRef refers to event-source that stores event source configurations for the gateway EventSourceRef *EventSourceRef `json:"eventSourceRef,omitempty" protobuf:"bytes,2,opt,name=eventSourceRef"` // Type is the type of gateway. Used as metadata. Type apicommon.EventSourceType `json:"type" protobuf:"bytes,3,opt,name=type,casttype=github.com/argoproj/argo-events/pkg/apis/common.EventSourceType"` // Service is the specifications of the service to expose the gateway // +optional Service *Service `json:"service,omitempty" protobuf:"bytes,4,opt,name=service"` // Port on which the gateway event source processor is running on. ProcessorPort string `json:"processorPort" protobuf:"bytes,5,opt,name=processorPort"` // Replica is the gateway deployment replicas Replica int32 `json:"replica,omitempty" protobuf:"varint,6,opt,name=replica"` // EventBusName references to a EventBus name. By default the value is "default" EventBusName string `json:"eventBusName,omitempty" protobuf:"bytes,7,opt,name=eventBusName"` }
GatewaySpec represents gateway specifications
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.
func (*GatewaySpec) Descriptor ¶
func (*GatewaySpec) Descriptor() ([]byte, []int)
func (*GatewaySpec) Marshal ¶
func (m *GatewaySpec) Marshal() (dAtA []byte, err error)
func (*GatewaySpec) MarshalToSizedBuffer ¶ added in v0.17.0
func (m *GatewaySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GatewaySpec) ProtoMessage ¶
func (*GatewaySpec) ProtoMessage()
func (*GatewaySpec) Reset ¶
func (m *GatewaySpec) Reset()
func (*GatewaySpec) Size ¶
func (m *GatewaySpec) Size() (n int)
func (*GatewaySpec) String ¶
func (this *GatewaySpec) String() string
func (*GatewaySpec) Unmarshal ¶
func (m *GatewaySpec) Unmarshal(dAtA []byte) error
func (*GatewaySpec) XXX_DiscardUnknown ¶
func (m *GatewaySpec) XXX_DiscardUnknown()
func (*GatewaySpec) XXX_Marshal ¶
func (m *GatewaySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GatewaySpec) XXX_Merge ¶
func (m *GatewaySpec) XXX_Merge(src proto.Message)
func (*GatewaySpec) XXX_Size ¶
func (m *GatewaySpec) XXX_Size() int
func (*GatewaySpec) XXX_Unmarshal ¶
func (m *GatewaySpec) XXX_Unmarshal(b []byte) error
type GatewayStatus ¶
type GatewayStatus struct { // Phase is the high-level summary of the gateway Phase NodePhase `json:"phase" protobuf:"bytes,1,opt,name=phase,casttype=NodePhase"` // StartedAt is the time at which this gateway was initiated StartedAt metav1.Time `json:"startedAt,omitempty" protobuf:"bytes,2,opt,name=startedAt"` // Message is a human readable string indicating details about a gateway in its phase Message string `json:"message,omitempty" protobuf:"bytes,3,opt,name=message"` // Nodes is a mapping between a node ID and the node's status // it records the states for the configurations of gateway. Nodes map[string]NodeStatus `json:"nodes,omitempty" protobuf:"bytes,4,rep,name=nodes"` // Resources refers to the metadata about the gateway resources Resources *GatewayResource `json:"resources,omitempty" protobuf:"bytes,5,opt,name=resources"` }
GatewayStatus contains information about the status of a 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.
func (*GatewayStatus) Descriptor ¶
func (*GatewayStatus) Descriptor() ([]byte, []int)
func (*GatewayStatus) Marshal ¶
func (m *GatewayStatus) Marshal() (dAtA []byte, err error)
func (*GatewayStatus) MarshalToSizedBuffer ¶ added in v0.17.0
func (m *GatewayStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GatewayStatus) ProtoMessage ¶
func (*GatewayStatus) ProtoMessage()
func (*GatewayStatus) Reset ¶
func (m *GatewayStatus) Reset()
func (*GatewayStatus) Size ¶
func (m *GatewayStatus) Size() (n int)
func (*GatewayStatus) String ¶
func (this *GatewayStatus) String() string
func (*GatewayStatus) Unmarshal ¶
func (m *GatewayStatus) Unmarshal(dAtA []byte) error
func (*GatewayStatus) XXX_DiscardUnknown ¶
func (m *GatewayStatus) XXX_DiscardUnknown()
func (*GatewayStatus) XXX_Marshal ¶
func (m *GatewayStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GatewayStatus) XXX_Merge ¶
func (m *GatewayStatus) XXX_Merge(src proto.Message)
func (*GatewayStatus) XXX_Size ¶
func (m *GatewayStatus) XXX_Size() int
func (*GatewayStatus) XXX_Unmarshal ¶
func (m *GatewayStatus) XXX_Unmarshal(b []byte) error
type Metadata ¶ added in v0.16.0
type Metadata struct { Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,1,rep,name=annotations"` Labels map[string]string `json:"labels,omitempty" protobuf:"bytes,2,rep,name=labels"` }
Metadata holds the annotations and labels of a gateway pod
func (*Metadata) DeepCopy ¶ added in v0.16.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metadata.
func (*Metadata) DeepCopyInto ¶ added in v0.16.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Metadata) Descriptor ¶ added in v0.17.0
func (*Metadata) MarshalToSizedBuffer ¶ added in v0.17.0
func (*Metadata) ProtoMessage ¶ added in v0.17.0
func (*Metadata) ProtoMessage()
func (*Metadata) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *Metadata) XXX_DiscardUnknown()
func (*Metadata) XXX_Marshal ¶ added in v0.17.0
func (*Metadata) XXX_Unmarshal ¶ added in v0.17.0
type NodePhase ¶
type NodePhase string
NodePhase is the label for the condition of a node.
const ( NodePhaseRunning NodePhase = "Running" // the node is running NodePhaseError NodePhase = "Error" // the node has encountered an error in processing NodePhaseNew NodePhase = "" // the node is new NodePhaseCompleted NodePhase = "Completed" // node has completed running NodePhaseRemove NodePhase = "Remove" // stale node )
possible types of node phases
type NodeStatus ¶
type NodeStatus struct { // ID is a unique identifier of a node within a sensor // It is a hash of the node name ID string `json:"id" protobuf:"bytes,1,opt,name=id"` // Name is a unique name in the node tree used to generate the node ID Name string `json:"name" protobuf:"bytes,2,opt,name=name"` // DisplayName is the human readable representation of the node DisplayName string `json:"displayName" protobuf:"bytes,3,opt,name=displayName"` // Phase of the node Phase NodePhase `json:"phase" protobuf:"bytes,4,opt,name=phase,casttype=NodePhase"` // StartedAt is the time at which this node started // +k8s:openapi-gen=false StartedAt metav1.MicroTime `json:"startedAt,omitempty" protobuf:"bytes,5,opt,name=startedAt"` // Message store data or something to save for configuration Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"` // UpdateTime is the time when node(gateway configuration) was updated UpdateTime metav1.MicroTime `json:"updateTime,omitempty" protobuf:"bytes,7,opt,name=updateTime"` }
NodeStatus describes the status for an individual node in the gateway configurations. A single node can represent one configuration.
func (*NodeStatus) DeepCopy ¶
func (in *NodeStatus) DeepCopy() *NodeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus.
func (*NodeStatus) DeepCopyInto ¶
func (in *NodeStatus) DeepCopyInto(out *NodeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeStatus) Descriptor ¶
func (*NodeStatus) Descriptor() ([]byte, []int)
func (*NodeStatus) Marshal ¶
func (m *NodeStatus) Marshal() (dAtA []byte, err error)
func (*NodeStatus) MarshalToSizedBuffer ¶ added in v0.17.0
func (m *NodeStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NodeStatus) ProtoMessage ¶
func (*NodeStatus) ProtoMessage()
func (*NodeStatus) Reset ¶
func (m *NodeStatus) Reset()
func (*NodeStatus) Size ¶
func (m *NodeStatus) Size() (n int)
func (*NodeStatus) String ¶
func (this *NodeStatus) String() string
func (*NodeStatus) Unmarshal ¶
func (m *NodeStatus) Unmarshal(dAtA []byte) error
func (*NodeStatus) XXX_DiscardUnknown ¶
func (m *NodeStatus) XXX_DiscardUnknown()
func (*NodeStatus) XXX_Marshal ¶
func (m *NodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeStatus) XXX_Merge ¶
func (m *NodeStatus) XXX_Merge(src proto.Message)
func (*NodeStatus) XXX_Size ¶
func (m *NodeStatus) XXX_Size() int
func (*NodeStatus) XXX_Unmarshal ¶
func (m *NodeStatus) XXX_Unmarshal(b []byte) error
type Service ¶ added in v0.15.0
type Service struct { // The list of ports that are exposed by this ClusterIP service. // +patchMergeKey=port // +patchStrategy=merge // +listType=map // +listMapKey=port // +listMapKey=protocol Ports []corev1.ServicePort `json:"ports,omitempty" patchStrategy:"merge" patchMergeKey:"port" protobuf:"bytes,1,rep,name=ports"` // clusterIP is the IP address of the service and is usually assigned // randomly by the master. If an address is specified manually and is not in // use by others, it will be allocated to the service; otherwise, creation // of the service will fail. This field can not be changed through updates. // Valid values are "None", empty string (""), or a valid IP address. "None" // can be specified for headless services when proxying is not required. // More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies // +optional ClusterIP string `json:"clusterIP,omitempty" protobuf:"bytes,2,opt,name=clusterIP"` // Spec holds the gateway service spec. // DEPRECATED: Use Ports to declare the ports to be exposed. Spec *corev1.ServiceSpec `json:"spec,omitempty" protobuf:"bytes,3,opt,name=spec"` }
Service holds the service information gateway exposes
func (*Service) DeepCopy ¶ added in v0.15.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
func (*Service) DeepCopyInto ¶ added in v0.15.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Service) Descriptor ¶ added in v0.17.0
func (*Service) MarshalToSizedBuffer ¶ added in v0.17.0
func (*Service) ProtoMessage ¶ added in v0.17.0
func (*Service) ProtoMessage()
func (*Service) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *Service) XXX_DiscardUnknown()
func (*Service) XXX_Marshal ¶ added in v0.17.0
func (*Service) XXX_Unmarshal ¶ added in v0.17.0
type Template ¶ added in v0.15.0
type Template struct { // Metdata sets the pods's metadata, i.e. annotations and labels Metadata Metadata `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // ServiceAccountName is the name of the ServiceAccount to use to run gateway pod. // More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ // +optional ServiceAccountName string `json:"serviceAccountName,omitempty" protobuf:"bytes,2,opt,name=serviceAccountName"` // Container is the main container image to run in the gateway pod // +optional Container *corev1.Container `json:"container,omitempty" protobuf:"bytes,3,opt,name=container"` // Volumes is a list of volumes that can be mounted by containers in a workflow. // +patchStrategy=merge // +patchMergeKey=name // +optional Volumes []corev1.Volume `json:"volumes,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,4,rep,name=volumes"` // SecurityContext holds pod-level security attributes and common container settings. // Optional: Defaults to empty. See type description for default values of each field. // +optional SecurityContext *corev1.PodSecurityContext `json:"securityContext,omitempty" protobuf:"bytes,5,opt,name=securityContext"` // If specified, the pod's scheduling constraints // +optional Affinity *corev1.Affinity `json:"affinity,omitempty" protobuf:"bytes,6,opt,name=affinity"` // If specified, the pod's tolerations. // +optional Tolerations []corev1.Toleration `json:"tolerations,omitempty" protobuf:"bytes,7,rep,name=tolerations"` // Spec holds the gateway deployment spec. // DEPRECATED: Use Container instead. Spec *corev1.PodSpec `json:"spec,omitempty" protobuf:"bytes,8,opt,name=spec"` }
Template holds the information of a Gateway deployment template
func (*Template) DeepCopy ¶ added in v0.15.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
func (*Template) DeepCopyInto ¶ added in v0.15.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Template) Descriptor ¶ added in v0.17.0
func (*Template) MarshalToSizedBuffer ¶ added in v0.17.0
func (*Template) ProtoMessage ¶ added in v0.17.0
func (*Template) ProtoMessage()
func (*Template) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *Template) XXX_DiscardUnknown()