Documentation ¶
Index ¶
- Variables
- type StaticRouteService
- func (service *StaticRouteService) Cleanup() error
- func (service *StaticRouteService) CreateOrUpdateStaticRoute(namespace string, obj *v1alpha1.StaticRoute) error
- func (service *StaticRouteService) DeleteStaticRoute(namespace string, uid string) error
- func (service *StaticRouteService) DeleteStaticRouteByPath(orgId string, projectId string, vpcId string, uid string) error
- func (service *StaticRouteService) GetUID(staticroute *model.StaticRoutes) *string
- func (service *StaticRouteService) ListStaticRoute() []model.StaticRoutes
- type StaticRouteStore
Constants ¶
This section is empty.
Variables ¶
View Source
var (
String = common.String
)
Functions ¶
This section is empty.
Types ¶
type StaticRouteService ¶
type StaticRouteService struct { common.Service StaticRouteStore *StaticRouteStore }
func InitializeStaticRoute ¶
func InitializeStaticRoute(commonService common.Service) (*StaticRouteService, error)
InitializeStaticRoute sync NSX resources
func (*StaticRouteService) Cleanup ¶
func (service *StaticRouteService) Cleanup() error
func (*StaticRouteService) CreateOrUpdateStaticRoute ¶
func (service *StaticRouteService) CreateOrUpdateStaticRoute(namespace string, obj *v1alpha1.StaticRoute) error
func (*StaticRouteService) DeleteStaticRoute ¶
func (service *StaticRouteService) DeleteStaticRoute(namespace string, uid string) error
func (*StaticRouteService) DeleteStaticRouteByPath ¶
func (*StaticRouteService) GetUID ¶
func (service *StaticRouteService) GetUID(staticroute *model.StaticRoutes) *string
func (*StaticRouteService) ListStaticRoute ¶
func (service *StaticRouteService) ListStaticRoute() []model.StaticRoutes
type StaticRouteStore ¶
type StaticRouteStore struct {
common.ResourceStore
}
StaticRouteStore is a store for static route
func (*StaticRouteStore) Apply ¶ added in v0.0.1
func (StaticRouteStore *StaticRouteStore) Apply(i interface{}) error
func (*StaticRouteStore) GetByKey ¶
func (StaticRouteStore *StaticRouteStore) GetByKey(key string) *model.StaticRoutes
Click to show internal directories.
Click to hide internal directories.