func (c *egressNetworkPolicies) Get(name string, options meta_v1.GetOptions) (result *v1.EgressNetworkPolicy, err error) {
	result = &v1.EgressNetworkPolicy{}
	err = c.client.Get().
		Namespace(c.ns).
		Resource("egressnetworkpolicies").
		Name(name).
		VersionedParams(&options, scheme.ParameterCodec).
		Do().
		Into(result)
	return
}
Get takes name of the egressNetworkPolicy, and returns the corresponding egressNetworkPolicy object, and an error if there is any.
package v1
import (
	v1 "github.com/openshift/api/network/v1"
	scheme "github.com/openshift/client-go/network/clientset/versioned/scheme"
	meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	types "k8s.io/apimachinery/pkg/types"
	watch "k8s.io/apimachinery/pkg/watch"
	rest "k8s.io/client-go/rest"
)
type EgressNetworkPoliciesGetter interface {
	EgressNetworkPolicies(namespace string) EgressNetworkPolicyInterface
}
type EgressNetworkPolicyInterface interface {
	Create(*v1.EgressNetworkPolicy) (*v1.EgressNetworkPolicy, error)
	Update(*v1.EgressNetworkPolicy) (*v1.EgressNetworkPolicy, error)
	Delete(name string, options *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.EgressNetworkPolicy, error)
	List(opts meta_v1.ListOptions) (*v1.EgressNetworkPolicyList, error)
	Watch(opts meta_v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.EgressNetworkPolicy, err error)
	EgressNetworkPolicyExpansion
}
type egressNetworkPolicies struct {
	client rest.Interface
	ns     string
}
func newEgressNetworkPolicies(c *NetworkV1Client, namespace string) *egressNetworkPolicies {
	return &egressNetworkPolicies{
		client: c.RESTClient(),
		ns:     namespace,
	}
}