Documentation ¶
Index ¶
- Constants
- Variables
- func Key(chain string) string
- func KeyPrefix() string
- type ServiceFunctionChain
- func (*ServiceFunctionChain) Descriptor() ([]byte, []int)
- func (m *ServiceFunctionChain) GetChain() []*ServiceFunctionChain_ServiceFunction
- func (m *ServiceFunctionChain) GetName() string
- func (m *ServiceFunctionChain) GetNetwork() string
- func (*ServiceFunctionChain) ProtoMessage()
- func (m *ServiceFunctionChain) Reset()
- func (m *ServiceFunctionChain) String() string
- func (m *ServiceFunctionChain) XXX_DiscardUnknown()
- func (m *ServiceFunctionChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ServiceFunctionChain) XXX_Merge(src proto.Message)
- func (m *ServiceFunctionChain) XXX_Size() int
- func (m *ServiceFunctionChain) XXX_Unmarshal(b []byte) error
- type ServiceFunctionChain_ServiceFunction
- func (*ServiceFunctionChain_ServiceFunction) Descriptor() ([]byte, []int)
- func (m *ServiceFunctionChain_ServiceFunction) GetInputInterface() string
- func (m *ServiceFunctionChain_ServiceFunction) GetName() string
- func (m *ServiceFunctionChain_ServiceFunction) GetOutputInterface() string
- func (m *ServiceFunctionChain_ServiceFunction) GetPodSelector() map[string]string
- func (m *ServiceFunctionChain_ServiceFunction) GetType() ServiceFunctionChain_Type
- func (*ServiceFunctionChain_ServiceFunction) ProtoMessage()
- func (m *ServiceFunctionChain_ServiceFunction) Reset()
- func (m *ServiceFunctionChain_ServiceFunction) String() string
- func (m *ServiceFunctionChain_ServiceFunction) XXX_DiscardUnknown()
- func (m *ServiceFunctionChain_ServiceFunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ServiceFunctionChain_ServiceFunction) XXX_Merge(src proto.Message)
- func (m *ServiceFunctionChain_ServiceFunction) XXX_Size() int
- func (m *ServiceFunctionChain_ServiceFunction) XXX_Unmarshal(b []byte) error
- type ServiceFunctionChain_Type
Constants ¶
View Source
const Keyword = "servicefunctionchain"
Keyword defines the keyword identifying ServiceFunctionChain data.
Variables ¶
View Source
var ServiceFunctionChain_Type_name = map[int32]string{
0: "ServiceFunctionPod",
1: "InterfaceInput",
2: "InterfaceOutput",
3: "PodInput",
4: "PodOutput",
}
View Source
var ServiceFunctionChain_Type_value = map[string]int32{
"ServiceFunctionPod": 0,
"InterfaceInput": 1,
"InterfaceOutput": 2,
"PodInput": 3,
"PodOutput": 4,
}
Functions ¶
Types ¶
type ServiceFunctionChain ¶
type ServiceFunctionChain struct { // name of the custom network Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // type of the custom network Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"` Chain []*ServiceFunctionChain_ServiceFunction `protobuf:"bytes,3,rep,name=chain,proto3" json:"chain,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ServiceFunctionChain is used to store definition of service function chain defined via CRD.
func (*ServiceFunctionChain) Descriptor ¶
func (*ServiceFunctionChain) Descriptor() ([]byte, []int)
func (*ServiceFunctionChain) GetChain ¶
func (m *ServiceFunctionChain) GetChain() []*ServiceFunctionChain_ServiceFunction
func (*ServiceFunctionChain) GetName ¶
func (m *ServiceFunctionChain) GetName() string
func (*ServiceFunctionChain) GetNetwork ¶
func (m *ServiceFunctionChain) GetNetwork() string
func (*ServiceFunctionChain) ProtoMessage ¶
func (*ServiceFunctionChain) ProtoMessage()
func (*ServiceFunctionChain) Reset ¶
func (m *ServiceFunctionChain) Reset()
func (*ServiceFunctionChain) String ¶
func (m *ServiceFunctionChain) String() string
func (*ServiceFunctionChain) XXX_DiscardUnknown ¶
func (m *ServiceFunctionChain) XXX_DiscardUnknown()
func (*ServiceFunctionChain) XXX_Marshal ¶
func (m *ServiceFunctionChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceFunctionChain) XXX_Merge ¶
func (dst *ServiceFunctionChain) XXX_Merge(src proto.Message)
func (*ServiceFunctionChain) XXX_Size ¶
func (m *ServiceFunctionChain) XXX_Size() int
func (*ServiceFunctionChain) XXX_Unmarshal ¶
func (m *ServiceFunctionChain) XXX_Unmarshal(b []byte) error
type ServiceFunctionChain_ServiceFunction ¶
type ServiceFunctionChain_ServiceFunction struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type ServiceFunctionChain_Type `protobuf:"varint,2,opt,name=type,proto3,enum=model.ServiceFunctionChain_Type" json:"type,omitempty"` PodSelector map[string]string `` /* 182-byte string literal not displayed */ InputInterface string `protobuf:"bytes,4,opt,name=input_interface,json=inputInterface,proto3" json:"input_interface,omitempty"` OutputInterface string `protobuf:"bytes,5,opt,name=output_interface,json=outputInterface,proto3" json:"output_interface,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ServiceFunctionChain_ServiceFunction) Descriptor ¶
func (*ServiceFunctionChain_ServiceFunction) Descriptor() ([]byte, []int)
func (*ServiceFunctionChain_ServiceFunction) GetInputInterface ¶
func (m *ServiceFunctionChain_ServiceFunction) GetInputInterface() string
func (*ServiceFunctionChain_ServiceFunction) GetName ¶
func (m *ServiceFunctionChain_ServiceFunction) GetName() string
func (*ServiceFunctionChain_ServiceFunction) GetOutputInterface ¶
func (m *ServiceFunctionChain_ServiceFunction) GetOutputInterface() string
func (*ServiceFunctionChain_ServiceFunction) GetPodSelector ¶
func (m *ServiceFunctionChain_ServiceFunction) GetPodSelector() map[string]string
func (*ServiceFunctionChain_ServiceFunction) GetType ¶
func (m *ServiceFunctionChain_ServiceFunction) GetType() ServiceFunctionChain_Type
func (*ServiceFunctionChain_ServiceFunction) ProtoMessage ¶
func (*ServiceFunctionChain_ServiceFunction) ProtoMessage()
func (*ServiceFunctionChain_ServiceFunction) Reset ¶
func (m *ServiceFunctionChain_ServiceFunction) Reset()
func (*ServiceFunctionChain_ServiceFunction) String ¶
func (m *ServiceFunctionChain_ServiceFunction) String() string
func (*ServiceFunctionChain_ServiceFunction) XXX_DiscardUnknown ¶
func (m *ServiceFunctionChain_ServiceFunction) XXX_DiscardUnknown()
func (*ServiceFunctionChain_ServiceFunction) XXX_Marshal ¶
func (m *ServiceFunctionChain_ServiceFunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceFunctionChain_ServiceFunction) XXX_Merge ¶
func (dst *ServiceFunctionChain_ServiceFunction) XXX_Merge(src proto.Message)
func (*ServiceFunctionChain_ServiceFunction) XXX_Size ¶
func (m *ServiceFunctionChain_ServiceFunction) XXX_Size() int
func (*ServiceFunctionChain_ServiceFunction) XXX_Unmarshal ¶
func (m *ServiceFunctionChain_ServiceFunction) XXX_Unmarshal(b []byte) error
type ServiceFunctionChain_Type ¶
type ServiceFunctionChain_Type int32
const ( ServiceFunctionChain_ServiceFunctionPod ServiceFunctionChain_Type = 0 ServiceFunctionChain_InterfaceInput ServiceFunctionChain_Type = 1 ServiceFunctionChain_InterfaceOutput ServiceFunctionChain_Type = 2 ServiceFunctionChain_PodInput ServiceFunctionChain_Type = 3 ServiceFunctionChain_PodOutput ServiceFunctionChain_Type = 4 )
func (ServiceFunctionChain_Type) EnumDescriptor ¶
func (ServiceFunctionChain_Type) EnumDescriptor() ([]byte, []int)
func (ServiceFunctionChain_Type) String ¶
func (x ServiceFunctionChain_Type) String() string
Click to show internal directories.
Click to hide internal directories.