Documentation
¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Index ¶
Constants ¶
const GroupName = "staticegressips.nirmata.io"
GroupName is the group name for egress IP API
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Rule ¶
type Rule struct { ServiceName string `json:"service-name"` EgressIP string `json:"egressip"` Cidr string `json:"cidr"` }
func (*Rule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.
func (*Rule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StaticEgressIP ¶
type StaticEgressIP struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec StaticEgressIPSpec `json:"spec"` Status StaticEgressIPStatus `json:"status"` }
StaticEgressIP is a specification for a StaticEgressIP resource
func (*StaticEgressIP) DeepCopy ¶
func (in *StaticEgressIP) DeepCopy() *StaticEgressIP
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StaticEgressIP.
func (*StaticEgressIP) DeepCopyInto ¶
func (in *StaticEgressIP) DeepCopyInto(out *StaticEgressIP)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StaticEgressIP) DeepCopyObject ¶
func (in *StaticEgressIP) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StaticEgressIPList ¶
type StaticEgressIPList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []StaticEgressIP `json:"items"` }
StaticEgressIPList is a list of StaticEgressIP resources
func (*StaticEgressIPList) DeepCopy ¶
func (in *StaticEgressIPList) DeepCopy() *StaticEgressIPList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StaticEgressIPList.
func (*StaticEgressIPList) DeepCopyInto ¶
func (in *StaticEgressIPList) DeepCopyInto(out *StaticEgressIPList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StaticEgressIPList) DeepCopyObject ¶
func (in *StaticEgressIPList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StaticEgressIPSpec ¶
type StaticEgressIPSpec struct {
Rules []Rule `json:"rules"`
}
StaticEgressIPSpec is the spec for a StaticEgressIP resource
func (*StaticEgressIPSpec) DeepCopy ¶
func (in *StaticEgressIPSpec) DeepCopy() *StaticEgressIPSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StaticEgressIPSpec.
func (*StaticEgressIPSpec) DeepCopyInto ¶
func (in *StaticEgressIPSpec) DeepCopyInto(out *StaticEgressIPSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StaticEgressIPStatus ¶
type StaticEgressIPStatus struct { GatewayNode string `json:"gateway-node"` GatewayIP string `json:"gateway-ip"` }
StaticEgressIPStatus is the status for a StaticEgressIP resource
func (*StaticEgressIPStatus) DeepCopy ¶
func (in *StaticEgressIPStatus) DeepCopy() *StaticEgressIPStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StaticEgressIPStatus.
func (*StaticEgressIPStatus) DeepCopyInto ¶
func (in *StaticEgressIPStatus) DeepCopyInto(out *StaticEgressIPStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.