Documentation ¶
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Action
- type Backend
- type FireWallRule
- type FireWallRuleList
- type FireWallRuleSpec
- type FireWallRuleStatus
- type LBRules
- type LoadBalancerRule
- type LoadBalancerRuleList
- type LoadBalancerRuleSpec
- type LoadBalancerRuleStatus
- type Match
- type NATRule
- type NATRuleList
- type NATRuleSpec
- type NATRuleStatus
- type Rules
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder initializes a scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{ Group: networkcontroller.GroupName, Version: "v1", }
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Action ¶
type Action struct { SrcIP string `json:"srcIP"` DstIP string `json:"dstIP"` SrcPort int `json:"srcPort"` DstPort int `json:"dstPort"` Policy string `json:"policy"` }
func (*Action) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Action.
func (*Action) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Backend ¶
type Backend struct { BackendIP string `json:"backendIP"` BackendPort int `json:"backendPort"` Weight int `json:"weight"` HealthCheckIP string `json:"healthcheckIP"` HealthCheckPort int `json:"healthcheckPort"` HealthCheckMethod string `json:"healthcheckMethod"` }
func (*Backend) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backend.
func (*Backend) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FireWallRule ¶
type FireWallRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FireWallRuleSpec `json:"spec"` Status FireWallRuleStatus `json:"status"` }
FireWallRule is a specification for a FireWallRule resource
func (*FireWallRule) DeepCopy ¶
func (in *FireWallRule) DeepCopy() *FireWallRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FireWallRule.
func (*FireWallRule) DeepCopyInto ¶
func (in *FireWallRule) DeepCopyInto(out *FireWallRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FireWallRule) DeepCopyObject ¶
func (in *FireWallRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FireWallRuleList ¶
type FireWallRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []FireWallRule `json:"items"` }
FireWallRuleList is a list of FireWallRule resources
func (*FireWallRuleList) DeepCopy ¶
func (in *FireWallRuleList) DeepCopy() *FireWallRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FireWallRuleList.
func (*FireWallRuleList) DeepCopyInto ¶
func (in *FireWallRuleList) DeepCopyInto(out *FireWallRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FireWallRuleList) DeepCopyObject ¶
func (in *FireWallRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FireWallRuleSpec ¶
type FireWallRuleSpec struct {
Rules []Rules `json:"rules"`
}
FireWallRuleSpec is the spec for a FireWallRule resource
func (*FireWallRuleSpec) DeepCopy ¶
func (in *FireWallRuleSpec) DeepCopy() *FireWallRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FireWallRuleSpec.
func (*FireWallRuleSpec) DeepCopyInto ¶
func (in *FireWallRuleSpec) DeepCopyInto(out *FireWallRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FireWallRuleStatus ¶
type FireWallRuleStatus struct {
Deployed string `json:"deployed"`
}
FireWallRuleSpec is the status for a FireWallRule resource
func (*FireWallRuleStatus) DeepCopy ¶
func (in *FireWallRuleStatus) DeepCopy() *FireWallRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FireWallRuleStatus.
func (*FireWallRuleStatus) DeepCopyInto ¶
func (in *FireWallRuleStatus) DeepCopyInto(out *FireWallRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LBRules ¶
type LBRules struct { LoadBalancerIP string `json:"loadBalancerIP"` LoadBalancerPort int `json:"loadBalancerPort"` Backends []Backend `json:"backends"` }
func (*LBRules) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LBRules.
func (*LBRules) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancerRule ¶
type LoadBalancerRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LoadBalancerRuleSpec `json:"spec"` Status LoadBalancerRuleStatus `json:"status"` }
LoadBalancerRule is a specification for a LoadBalancerRule resource
func (*LoadBalancerRule) DeepCopy ¶
func (in *LoadBalancerRule) DeepCopy() *LoadBalancerRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerRule.
func (*LoadBalancerRule) DeepCopyInto ¶
func (in *LoadBalancerRule) DeepCopyInto(out *LoadBalancerRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LoadBalancerRule) DeepCopyObject ¶
func (in *LoadBalancerRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LoadBalancerRuleList ¶
type LoadBalancerRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []LoadBalancerRule `json:"items"` }
LoadBalancerRuleList is a list of LoadBalancerRule resources
func (*LoadBalancerRuleList) DeepCopy ¶
func (in *LoadBalancerRuleList) DeepCopy() *LoadBalancerRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerRuleList.
func (*LoadBalancerRuleList) DeepCopyInto ¶
func (in *LoadBalancerRuleList) DeepCopyInto(out *LoadBalancerRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LoadBalancerRuleList) DeepCopyObject ¶
func (in *LoadBalancerRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LoadBalancerRuleSpec ¶
type LoadBalancerRuleSpec struct {
Rules []LBRules `json:"rules"`
}
LoadBalancerRuleSpec is the spec for a LoadBalancerRule resource
func (*LoadBalancerRuleSpec) DeepCopy ¶
func (in *LoadBalancerRuleSpec) DeepCopy() *LoadBalancerRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerRuleSpec.
func (*LoadBalancerRuleSpec) DeepCopyInto ¶
func (in *LoadBalancerRuleSpec) DeepCopyInto(out *LoadBalancerRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancerRuleStatus ¶
type LoadBalancerRuleStatus struct {
Deployed string `json:"deployed"`
}
LoadBalancerRuleSpec is the spec for a LoadBalancerRule resource
func (*LoadBalancerRuleStatus) DeepCopy ¶
func (in *LoadBalancerRuleStatus) DeepCopy() *LoadBalancerRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerRuleStatus.
func (*LoadBalancerRuleStatus) DeepCopyInto ¶
func (in *LoadBalancerRuleStatus) DeepCopyInto(out *LoadBalancerRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Match ¶
type Match struct { SrcIP string `json:"srcIP"` DstIP string `json:"dstIP"` SrcPort int `json:"srcPort"` DstPort int `json:"dstPort"` Protocol string `json:"protocol"` }
func (*Match) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Match.
func (*Match) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NATRule ¶
type NATRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NATRuleSpec `json:"spec"` Status NATRuleStatus `json:"status"` }
NATRule is a specification for a NATRule resource
func (*NATRule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATRule.
func (*NATRule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NATRule) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NATRuleList ¶
type NATRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []NATRule `json:"items"` }
NATRuleList is a list of NATRule resources
func (*NATRuleList) DeepCopy ¶
func (in *NATRuleList) DeepCopy() *NATRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATRuleList.
func (*NATRuleList) DeepCopyInto ¶
func (in *NATRuleList) DeepCopyInto(out *NATRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NATRuleList) DeepCopyObject ¶
func (in *NATRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NATRuleSpec ¶
type NATRuleSpec struct {
Rules []Rules `json:"rules"`
}
NATRuleSpec is the spec for a NATRule resource
func (*NATRuleSpec) DeepCopy ¶
func (in *NATRuleSpec) DeepCopy() *NATRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATRuleSpec.
func (*NATRuleSpec) DeepCopyInto ¶
func (in *NATRuleSpec) DeepCopyInto(out *NATRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NATRuleStatus ¶
NATRuleStatus is the status for a NATRule resource
func (*NATRuleStatus) DeepCopy ¶
func (in *NATRuleStatus) DeepCopy() *NATRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATRuleStatus.
func (*NATRuleStatus) DeepCopyInto ¶
func (in *NATRuleStatus) DeepCopyInto(out *NATRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.