Documentation ¶
Index ¶
- type AppSegmentInspection
- type AppServerGroups
- type AppsConfig
- type CommonAppsDto
- type InspectionAppDto
- type Service
- func (service *Service) Create(appSegmentInspection AppSegmentInspection) (*AppSegmentInspection, *http.Response, error)
- func (service *Service) Delete(id string) (*http.Response, error)
- func (service *Service) Get(id string) (*AppSegmentInspection, *http.Response, error)
- func (service *Service) GetAll() ([]AppSegmentInspection, *http.Response, error)
- func (service *Service) GetByName(appSegmentName string) (*AppSegmentInspection, *http.Response, error)
- func (service *Service) Update(id string, appSegmentInspection *AppSegmentInspection) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppSegmentInspection ¶
type AppSegmentInspection struct { ID string `json:"id,omitempty"` SegmentGroupID string `json:"segmentGroupId,omitempty"` SegmentGroupName string `json:"segmentGroupName,omitempty"` BypassType string `json:"bypassType,omitempty"` ConfigSpace string `json:"configSpace,omitempty"` DomainNames []string `json:"domainNames,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Enabled bool `json:"enabled"` ICMPAccessType string `json:"icmpAccessType,omitempty"` PassiveHealthEnabled bool `json:"passiveHealthEnabled"` SelectConnectorCloseToApp bool `json:"selectConnectorCloseToApp"` DoubleEncrypt bool `json:"doubleEncrypt"` HealthCheckType string `json:"healthCheckType,omitempty"` IsCnameEnabled bool `json:"isCnameEnabled"` IPAnchored bool `json:"ipAnchored"` HealthReporting string `json:"healthReporting,omitempty"` CreationTime string `json:"creationTime,omitempty"` ModifiedBy string `json:"modifiedBy,omitempty"` ModifiedTime string `json:"modifiedTime,omitempty"` TCPKeepAlive string `json:"tcpKeepAlive,omitempty"` IsIncompleteDRConfig bool `json:"isIncompleteDRConfig"` UseInDrMode bool `json:"useInDrMode"` TCPPortRanges []string `json:"tcpPortRanges,omitempty"` UDPPortRanges []string `json:"udpPortRanges,omitempty"` TCPAppPortRange []common.NetworkPorts `json:"tcpPortRange,omitempty"` UDPAppPortRange []common.NetworkPorts `json:"udpPortRange,omitempty"` InspectionAppDto []InspectionAppDto `json:"inspectionApps,omitempty"` CommonAppsDto CommonAppsDto `json:"commonAppsDto,omitempty"` AppServerGroups []AppServerGroups `json:"serverGroups,omitempty"` }
type AppServerGroups ¶
type AppServerGroups struct {
ID string `json:"id"`
}
type AppsConfig ¶
type AppsConfig struct { Name string `json:"name,omitempty"` AllowOptions bool `json:"allowOptions"` ID string `json:"id,omitempty"` AppID string `json:"appId,omitempty"` AppTypes []string `json:"appTypes,omitempty"` ApplicationPort string `json:"applicationPort,omitempty"` ApplicationProtocol string `json:"applicationProtocol,omitempty"` InspectAppID string `json:"inspectAppId,omitempty"` CertificateID string `json:"certificateId,omitempty"` CertificateName string `json:"certificateName,omitempty"` Cname string `json:"cname,omitempty"` Description string `json:"description,omitempty"` Domain string `json:"domain,omitempty"` Enabled bool `json:"enabled"` Hidden bool `json:"hidden"` LocalDomain string `json:"localDomain,omitempty"` Portal bool `json:"portal"` }
type CommonAppsDto ¶
type CommonAppsDto struct { AppsConfig []AppsConfig `json:"appsConfig,omitempty"` DeletedInspectApps []string `json:"deletedInspectApps,omitempty"` }
type InspectionAppDto ¶
type InspectionAppDto struct { AppID string `json:"appId,omitempty"` ApplicationPort string `json:"applicationPort,omitempty"` ApplicationProtocol string `json:"applicationProtocol,omitempty"` CertificateID string `json:"certificateId,omitempty"` CertificateName string `json:"certificateName,omitempty"` Description string `json:"description,omitempty"` Domain string `json:"domain,omitempty"` Enabled bool `json:"enabled"` ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Hidden bool `json:"hidden"` Portal bool `json:"portal"` }
type Service ¶
func (*Service) Create ¶
func (service *Service) Create(appSegmentInspection AppSegmentInspection) (*AppSegmentInspection, *http.Response, error)
func (*Service) GetAll ¶ added in v0.0.4
func (service *Service) GetAll() ([]AppSegmentInspection, *http.Response, error)
Click to show internal directories.
Click to hide internal directories.