netscaler

package
v0.0.0-...-b990ac8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAndBindService

func AddAndBindService(lbName string, sname string, IpPort string)

func ConfigureContentVServer

func ConfigureContentVServer(namespace string, csvserverName string, domainName string, path string, serviceIp string,
	serviceName string, servicePort int, priority int, svcname_refcount map[string]int) string

func CreateContentVServer

func CreateContentVServer(csvserverName string, vserverIp string, vserverPort int, protocol string) error

func DeleteContentVServer

func DeleteContentVServer(csvserverName string, svcname_refcount map[string]int, lbName_map map[string]int)

func DeleteCsPolicies

func DeleteCsPolicies(csvserverName string, policyNames []string)

func DeleteService

func DeleteService(sname string)

func FindBoundResource

func FindBoundResource(resourceType string, resourceName string, boundResourceType string, boundResourceFilterName string, boundResourceFilterValue string) bool

func FindContentVserver

func FindContentVserver(csvserverName string) bool

func FindResource

func FindResource(resourceType string, resourceName string) bool

func GenerateActionName

func GenerateActionName(namespace string, host string, path string) string

func GenerateCsVserverName

func GenerateCsVserverName(namespace string, ingressName string) string

func GenerateLbName

func GenerateLbName(namespace string, host string) string

func GeneratePolicyName

func GeneratePolicyName(namespace string, host string, path string) string

func ListBoundPolicies

func ListBoundPolicies(csvserverName string) ([]string, []int)

func ListBoundPolicy

func ListBoundPolicy(csvserverName string, policyName string) map[string]int

func ListBoundServicesForLB

func ListBoundServicesForLB(lbName string) ([]string, error)

func ListContentVservers

func ListContentVservers() []string

func ListLbVserverForAction

func ListLbVserverForAction(actionName string) (string, error)

func ListPolicyAction

func ListPolicyAction(policyName string) string

func UnconfigureContentVServer

func UnconfigureContentVServer(namespace string, csvserverName string, domainName string, path string, serviceName string)

Types

type NetscalerCsAction

type NetscalerCsAction struct {
	Name            string `json:"name"`
	TargetLBVserver string `json:"targetLBVserver"`
}

type NetscalerCsPolicy

type NetscalerCsPolicy struct {
	PolicyName string `json:"policyName"`
	Rule       string `json:"rule"`
	Action     string `json:"action"`
}

type NetscalerCsPolicyBinding

type NetscalerCsPolicyBinding struct {
	Name       string `json:"name"`
	PolicyName string `json:"policyName"`
	Priority   int    `json:"priority"`
	Bindpoint  string `json:"bindpoint"`
}

type NetscalerCsVserver

type NetscalerCsVserver struct {
	Name        string `json:"name"`
	ServiceType string `json:"serviceType"`
	Ipv46       string `json:"ipv46"`
	Port        int    `json:"port"`
}

type NetscalerLB

type NetscalerLB struct {
	Name        string `json:"name"`
	Ipv46       string `json:"ipv46"`
	ServiceType string `json:"serviceType"`
	Port        int    `json:"port"`
}

type NetscalerLBServiceBinding

type NetscalerLBServiceBinding struct {
	Name        string `json:"name"`
	ServiceName string `json:"serviceName"`
}

type NetscalerService

type NetscalerService struct {
	Name        string `json:"name"`
	Ip          string `json:"ip"`
	ServiceType string `json:"serviceType"`
	Port        int    `json:"port"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL