Documentation ¶
Index ¶
- type AppServerGroup
- type Application
- type SegmentGroup
- type Service
- func (service *Service) Create(segmentGroup *SegmentGroup) (*SegmentGroup, *http.Response, error)
- func (service *Service) Delete(segmentGroupId string) (*http.Response, error)
- func (service *Service) Get(segmentGroupID string) (*SegmentGroup, *http.Response, error)
- func (service *Service) GetAll() ([]SegmentGroup, *http.Response, error)
- func (service *Service) GetByName(segmentName string) (*SegmentGroup, *http.Response, error)
- func (service *Service) Update(segmentGroupId string, segmentGroupRequest *SegmentGroup) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppServerGroup ¶
type AppServerGroup struct { ConfigSpace string `json:"configSpace,omitempty"` CreationTime string `json:"creationTime,omitempty"` Description string `json:"description,omitempty"` Enabled bool `json:"enabled"` ID string `json:"id,omitempty"` DynamicDiscovery bool `json:"dynamicDiscovery"` ModifiedBy string `json:"modifiedBy,omitempty"` ModifiedTime string `json:"modifiedTime,omitempty"` Name string `json:"name"` }
type Application ¶
type Application struct { BypassType string `json:"bypassType,omitempty"` ConfigSpace string `json:"configSpace,omitempty"` CreationTime string `json:"creationTime,omitempty"` DefaultIdleTimeout string `json:"defaultIdleTimeout,omitempty"` DefaultMaxAge string `json:"defaultMaxAge,omitempty"` Description string `json:"description,omitempty"` DomainName string `json:"domainName,omitempty"` DomainNames []string `json:"domainNames,omitempty"` DoubleEncrypt bool `json:"doubleEncrypt"` Enabled bool `json:"enabled"` HealthCheckType string `json:"healthCheckType,omitempty"` ID string `json:"id,omitempty"` IPAnchored bool `json:"ipAnchored"` LogFeatures []string `json:"logFeatures,omitempty"` ModifiedBy string `json:"modifiedBy,omitempty"` ModifiedTime string `json:"modifiedTime,omitempty"` Name string `json:"name"` PassiveHealthEnabled bool `json:"passiveHealthEnabled"` ServerGroup []AppServerGroup `json:"serverGroups,omitempty"` TCPPortRanges interface{} `json:"tcpPortRanges,omitempty"` TCPPortsIn interface{} `json:"tcpPortsIn,omitempty"` TCPPortsOut interface{} `json:"tcpPortsOut,omitempty"` UDPPortRanges interface{} `json:"udpPortRangesg,omitempty"` }
type SegmentGroup ¶
type SegmentGroup struct { Applications []Application `json:"applications"` ConfigSpace string `json:"configSpace,omitempty"` CreationTime string `json:"creationTime,omitempty"` Description string `json:"description,omitempty"` Enabled bool `json:"enabled"` ID string `json:"id,omitempty"` ModifiedBy string `json:"modifiedBy,omitempty"` ModifiedTime string `json:"modifiedTime,omitempty"` Name string `json:"name"` PolicyMigrated bool `json:"policyMigrated"` TcpKeepAliveEnabled string `json:"tcpKeepAliveEnabled,omitempty"` }
type Service ¶
func (*Service) Create ¶
func (service *Service) Create(segmentGroup *SegmentGroup) (*SegmentGroup, *http.Response, error)
func (*Service) GetAll ¶ added in v0.0.4
func (service *Service) GetAll() ([]SegmentGroup, *http.Response, error)
Click to show internal directories.
Click to hide internal directories.