controllers

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CsVserverController

type CsVserverController struct {
	// contains filtered or unexported fields
}

func NewCsVserverController

func NewCsVserverController(client *nitro.Client) *CsVserverController

func (*CsVserverController) Add

func (c *CsVserverController) Add(name string, servicetype string, ipaddress string, port int) (*nitro.Response[config.CsVserver], error)

func (*CsVserverController) Count

func (*CsVserverController) Delete

func (*CsVserverController) Disable

func (*CsVserverController) Enable

func (*CsVserverController) Get

func (c *CsVserverController) Get(name string, attributes []string) (*nitro.Response[config.CsVserver], error)

func (*CsVserverController) List

func (c *CsVserverController) List(filter map[string]string, attributes []string) (*nitro.Response[config.CsVserver], error)

func (*CsVserverController) Rename

func (c *CsVserverController) Rename(oldname string, newname string) (*nitro.Response[config.CsVserver], error)

func (*CsVserverController) Stats

func (c *CsVserverController) Stats(name string, attributes []string) (*nitro.Response[stat.CsVserver], error)

type DnsAddRecController

type DnsAddRecController struct {
	// contains filtered or unexported fields
}

func NewDnsAddRecController

func NewDnsAddRecController(client *nitro.Client) *DnsAddRecController

func (*DnsAddRecController) Add

func (c *DnsAddRecController) Add(hostname string, ipaddress string, ttl float64) (*nitro.Response[config.DnsAddRec], error)

func (*DnsAddRecController) Count

func (*DnsAddRecController) Delete

func (c *DnsAddRecController) Delete(hostname string, ipaddress string) (*nitro.Response[config.DnsAddRec], error)

func (*DnsAddRecController) Get

func (c *DnsAddRecController) Get(name string, attributes []string) (*nitro.Response[config.DnsAddRec], error)

func (*DnsAddRecController) List

func (c *DnsAddRecController) List(filter map[string]string, attributes []string) (*nitro.Response[config.DnsAddRec], error)

type DnsTxtRecController

type DnsTxtRecController struct {
	// contains filtered or unexported fields
}

func NewDnsTxtRecController

func NewDnsTxtRecController(client *nitro.Client) *DnsTxtRecController

func (*DnsTxtRecController) Add

func (c *DnsTxtRecController) Add(domain string, data []string, ttl float64) (*nitro.Response[config.DnsTxtRec], error)

func (*DnsTxtRecController) Count

func (*DnsTxtRecController) Delete

func (c *DnsTxtRecController) Delete(domain string, recordId string) (*nitro.Response[config.DnsTxtRec], error)

func (*DnsTxtRecController) Get

func (c *DnsTxtRecController) Get(name string, attributes []string) (*nitro.Response[config.DnsTxtRec], error)

func (*DnsTxtRecController) List

func (c *DnsTxtRecController) List(filter map[string]string, attributes []string) (*nitro.Response[config.DnsTxtRec], error)

type HaNodeController

type HaNodeController struct {
	// contains filtered or unexported fields
}

func NewHaNodeController

func NewHaNodeController(client *nitro.Client) *HaNodeController

func (*HaNodeController) Add

Add TODO HANODE

func (*HaNodeController) Count

func (*HaNodeController) Delete

func (c *HaNodeController) Delete() (*nitro.Response[config.HaNode], error)

Delete TODO HANODE

func (*HaNodeController) Failover

func (c *HaNodeController) Failover(force bool) (*nitro.Response[config.HaFailover], error)

func (*HaNodeController) Get

func (c *HaNodeController) Get(id int, attributes []string) (*nitro.Response[config.HaNode], error)

func (*HaNodeController) List

func (c *HaNodeController) List(attributes []string) (*nitro.Response[config.HaNode], error)

func (*HaNodeController) Stats

func (c *HaNodeController) Stats(attributes []string) (*nitro.Response[stat.HaNode], error)

func (*HaNodeController) Update

func (c *HaNodeController) Update() (*nitro.Response[config.HaNode], error)

Update TODO HANODE

type LbVserverController

type LbVserverController struct {
	// contains filtered or unexported fields
}

func NewLbVserverController

func NewLbVserverController(client *nitro.Client) *LbVserverController

func (*LbVserverController) Add

func (c *LbVserverController) Add(name string, servicetype string, ipaddress string, port int) (*nitro.Response[config.LbVserver], error)

func (*LbVserverController) Count

func (*LbVserverController) Delete

func (*LbVserverController) Disable

func (*LbVserverController) Enable

func (*LbVserverController) Get

func (c *LbVserverController) Get(name string, attributes []string) (*nitro.Response[config.LbVserver], error)

func (*LbVserverController) List

func (c *LbVserverController) List(filter map[string]string, attributes []string) (*nitro.Response[config.LbVserver], error)

func (*LbVserverController) Rename

func (c *LbVserverController) Rename(oldname string, newname string) (*nitro.Response[config.LbVserver], error)

func (*LbVserverController) Stats

func (c *LbVserverController) Stats(name string, attributes []string) (*nitro.Response[stat.LbVserver], error)

func (*LbVserverController) Unset

Unset TODO LbVserver

type NsConfigController

type NsConfigController struct {
	// contains filtered or unexported fields
}

func NewNsConfigController

func NewNsConfigController(client *nitro.Client) *NsConfigController

func (*NsConfigController) Save

type NsVersionController added in v0.3.4

type NsVersionController struct {
	// contains filtered or unexported fields
}

func NewNsVersionController added in v0.3.4

func NewNsVersionController(client *nitro.Client) *NsVersionController

func (*NsVersionController) Get added in v0.3.4

func (c *NsVersionController) Get(attributes []string) (*nitro.Response[config.NsVersion], error)

func (*NsVersionController) GetVersion added in v0.3.4

func (c *NsVersionController) GetVersion() (string, error)

type PolicyStringmapController

type PolicyStringmapController struct {
	// contains filtered or unexported fields
}

func NewPolicyStringmapController

func NewPolicyStringmapController(client *nitro.Client) *PolicyStringmapController

func (*PolicyStringmapController) Add

func (*PolicyStringmapController) Bind

func (*PolicyStringmapController) Count

func (*PolicyStringmapController) Delete

func (*PolicyStringmapController) Get

func (*PolicyStringmapController) GetBindings

GetBindings TODO

func (*PolicyStringmapController) List

func (*PolicyStringmapController) Unbind

type ResponderActionController

type ResponderActionController struct {
	// contains filtered or unexported fields
}

func NewResponderActionController

func NewResponderActionController(client *nitro.Client) *ResponderActionController

func (*ResponderActionController) Add

func (c *ResponderActionController) Add(name string, respondertype string, target string) (*nitro.Response[config.ResponderAction], error)

func (*ResponderActionController) AddRequest

func (*ResponderActionController) Count

func (*ResponderActionController) Delete

func (*ResponderActionController) Get

func (*ResponderActionController) List

func (c *ResponderActionController) List(filter map[string]string, attributes []string) (*nitro.Response[config.ResponderAction], error)

func (*ResponderActionController) Rename

type ResponderGlobalResponderPolicyBindingController

type ResponderGlobalResponderPolicyBindingController struct {
	// contains filtered or unexported fields
}

func NewResponderGlobalResponderPolicyBindingController

func NewResponderGlobalResponderPolicyBindingController(client *nitro.Client) *ResponderGlobalResponderPolicyBindingController

func (*ResponderGlobalResponderPolicyBindingController) Add

func (*ResponderGlobalResponderPolicyBindingController) Count

func (*ResponderGlobalResponderPolicyBindingController) Delete

func (*ResponderGlobalResponderPolicyBindingController) Get

func (*ResponderGlobalResponderPolicyBindingController) List

type ResponderPolicyController

type ResponderPolicyController struct {
	// contains filtered or unexported fields
}

func NewResponderPolicyController

func NewResponderPolicyController(client *nitro.Client) *ResponderPolicyController

func (*ResponderPolicyController) Add

func (c *ResponderPolicyController) Add(name string, rule string, action string, undefinedAction string) (*nitro.Response[config.ResponderPolicy], error)

func (*ResponderPolicyController) AddRequest

func (*ResponderPolicyController) Count

func (*ResponderPolicyController) Delete

func (*ResponderPolicyController) Get

func (*ResponderPolicyController) List

func (c *ResponderPolicyController) List(filter map[string]string, attributes []string) (*nitro.Response[config.ResponderPolicy], error)

func (*ResponderPolicyController) Rename

type ServerController

type ServerController struct {
	// contains filtered or unexported fields
}

func NewServerController

func NewServerController(client *nitro.Client) *ServerController

func (*ServerController) AddByDomain

func (c *ServerController) AddByDomain(name string, domain string) (*nitro.Response[config.Server], error)

func (*ServerController) AddByIpv4Address

func (c *ServerController) AddByIpv4Address(name string, ip string) (*nitro.Response[config.Server], error)

func (*ServerController) AddByIpv6Address

func (c *ServerController) AddByIpv6Address(name string, ip string) (*nitro.Response[config.Server], error)

func (*ServerController) Count

func (*ServerController) Delete

func (c *ServerController) Delete(name string) (*nitro.Response[config.Server], error)

func (*ServerController) Disable

func (c *ServerController) Disable(name string, delay float64, graceful bool) (*nitro.Response[config.Server], error)

func (*ServerController) Enable

func (c *ServerController) Enable(name string) (*nitro.Response[config.Server], error)

func (*ServerController) Get

func (c *ServerController) Get(name string, attributes []string) (*nitro.Response[config.Server], error)

func (*ServerController) List

func (c *ServerController) List(filter map[string]string, attributes []string) (*nitro.Response[config.Server], error)

func (*ServerController) Rename

func (c *ServerController) Rename(oldName string, newName string) (*nitro.Response[config.Server], error)

func (*ServerController) Unset

Unset TODO SERVER

func (*ServerController) Update

func (c *ServerController) Update() (*nitro.Response[config.Server], error)

Update TODO SERVER

type SslCertKeyController

type SslCertKeyController struct {
	// contains filtered or unexported fields
}

func NewSslCertKeyController

func NewSslCertKeyController(client *nitro.Client) *SslCertKeyController

func (*SslCertKeyController) Add

func (*SslCertKeyController) AddBundle

func (c *SslCertKeyController) AddBundle(name string, cer string, key string) (*nitro.Response[config.SslCertKey], error)

func (*SslCertKeyController) BindSslService

func (c *SslCertKeyController) BindSslService(service string, certkey string, sni bool) (*nitro.Response[config.SslServiceSslCertKeyBinding], error)

func (*SslCertKeyController) BindSslVserver

func (c *SslCertKeyController) BindSslVserver(vserver string, certkey string, sni bool) (*nitro.Response[config.SslVserverSslCertKeyBinding], error)

func (*SslCertKeyController) ClearOcspStaplingCache

func (c *SslCertKeyController) ClearOcspStaplingCache(name string) (*nitro.Response[config.SslCertKey], error)

func (*SslCertKeyController) Count

func (*SslCertKeyController) CountServiceBindings

func (*SslCertKeyController) CountSslVserverBindings

func (c *SslCertKeyController) CountSslVserverBindings() (*nitro.Response[config.SslCertKeySslVserverBinding], error)

func (*SslCertKeyController) Delete

func (*SslCertKeyController) Get

func (c *SslCertKeyController) Get(name string, attributes []string) (*nitro.Response[config.SslCertKey], error)

func (*SslCertKeyController) GetServiceBinding

func (c *SslCertKeyController) GetServiceBinding(name string, attributes []string, filter map[string]string) (*nitro.Response[config.SslCertKeyServiceBinding], error)

func (*SslCertKeyController) GetSslVserverBinding

func (c *SslCertKeyController) GetSslVserverBinding(name string, attributes []string, filter map[string]string) (*nitro.Response[config.SslCertKeySslVserverBinding], error)

func (*SslCertKeyController) List

func (c *SslCertKeyController) List(filter map[string]string, attributes []string) (*nitro.Response[config.SslCertKey], error)

func (*SslCertKeyController) Reload

func (c *SslCertKeyController) Reload(name string, monitor bool, period string) (*nitro.Response[config.SslCertKey], error)

func (*SslCertKeyController) UnbindSslService

func (c *SslCertKeyController) UnbindSslService(service string, certkey string, sni bool) (*nitro.Response[config.SslServiceSslCertKeyBinding], error)

func (*SslCertKeyController) UnbindSslVserver

func (c *SslCertKeyController) UnbindSslVserver(vserver string, certkey string, sni bool) (*nitro.Response[config.SslVserverSslCertKeyBinding], error)

func (*SslCertKeyController) Update

func (c *SslCertKeyController) Update(name string, cer string, key string, noDomainCheck bool) (*nitro.Response[config.SslCertKey], error)

type SslVserverController

type SslVserverController struct {
	// contains filtered or unexported fields
}

func NewSslVserverController

func NewSslVserverController(client *nitro.Client) *SslVserverController

func (*SslVserverController) Count

func (*SslVserverController) Get

func (c *SslVserverController) Get(name string, attributes []string) (*nitro.Response[config.SslVserver], error)

func (*SslVserverController) List

func (c *SslVserverController) List(filter map[string]string, attributes []string) (*nitro.Response[config.SslVserver], error)

func (*SslVserverController) Stats

func (c *SslVserverController) Stats(name string, attributes []string) (*nitro.Response[stat.SslVserver], error)

type SystemBackupController

type SystemBackupController struct {
	// contains filtered or unexported fields
}

func NewBackupController

func NewBackupController(client *nitro.Client) *SystemBackupController

func (*SystemBackupController) Add

Add TODO SYSTEMBACKUP

func (*SystemBackupController) Count

func (*SystemBackupController) Create

Create sends a request to the configured Client to create a backup with the configured name and level

func (*SystemBackupController) Delete

func (*SystemBackupController) Download

func (c *SystemBackupController) Download(name string) (*io.Reader, error)

func (*SystemBackupController) Get

func (c *SystemBackupController) Get(name string, attributes []string) (*nitro.Response[config.SystemBackup], error)

func (*SystemBackupController) List

func (c *SystemBackupController) List(arguments map[string]string, filter map[string]string, attributes []string) (*nitro.Response[config.SystemBackup], error)

func (*SystemBackupController) Restore

func (c *SystemBackupController) Restore(filename string, skipBackup bool) (*nitro.Response[config.SystemBackup], error)

type SystemCmdPolicyController

type SystemCmdPolicyController struct {
	// contains filtered or unexported fields
}

func NewSystemCmdPolicyController

func NewSystemCmdPolicyController(client *nitro.Client) *SystemCmdPolicyController

func (*SystemCmdPolicyController) Add

func (*SystemCmdPolicyController) Count

func (*SystemCmdPolicyController) Delete

func (*SystemCmdPolicyController) Get

func (*SystemCmdPolicyController) List

func (c *SystemCmdPolicyController) List(filter map[string]string, attributes []string) (*nitro.Response[config.SystemCmdPolicy], error)

func (*SystemCmdPolicyController) Update

Update TODO SystemCmdPolicy

type SystemFileController

type SystemFileController struct {
	// contains filtered or unexported fields
}

func NewSystemFileController

func NewSystemFileController(client *nitro.Client) *SystemFileController

func (*SystemFileController) Add

func (c *SystemFileController) Add(fileName string, location string, fileContent []byte) (*nitro.Response[config.SystemFile], error)

func (*SystemFileController) Count

Count TODO Check functionality, probably needs location

func (*SystemFileController) Delete

func (c *SystemFileController) Delete(filename string, location string) (*nitro.Response[config.SystemFile], error)

func (*SystemFileController) Download

func (c *SystemFileController) Download(filename string, location string) (*io.Reader, error)

func (*SystemFileController) Get

func (c *SystemFileController) Get(filename string, location string, attributes []string) (*nitro.Response[config.SystemFile], error)

func (*SystemFileController) List

func (c *SystemFileController) List(location string, filter map[string]string, attributes []string) (*nitro.Response[config.SystemFile], error)

type SystemUserController

type SystemUserController struct {
	// contains filtered or unexported fields
}

func NewSystemUserController

func NewSystemUserController(client *nitro.Client) *SystemUserController

func (*SystemUserController) Add

func (c *SystemUserController) Add(username string, password string) (*nitro.Response[config.SystemUser], error)

func (*SystemUserController) Count

func (*SystemUserController) Delete

func (*SystemUserController) Get

func (c *SystemUserController) Get(name string, attributes []string) (*nitro.Response[config.SystemUser], error)

func (*SystemUserController) List

func (c *SystemUserController) List(filter map[string]string, attributes []string) (*nitro.Response[config.SystemUser], error)

func (*SystemUserController) Unset

Unset TODO SystemUser

func (*SystemUserController) Update

Update TODO SystemUser

type SystemUserSystemCmdPolicyBindingController

type SystemUserSystemCmdPolicyBindingController struct {
	// contains filtered or unexported fields
}

func NewSystemUserSystemCmdPolicyBindingController

func NewSystemUserSystemCmdPolicyBindingController(client *nitro.Client) *SystemUserSystemCmdPolicyBindingController

func (*SystemUserSystemCmdPolicyBindingController) Add

func (*SystemUserSystemCmdPolicyBindingController) Count

func (*SystemUserSystemCmdPolicyBindingController) Delete

func (*SystemUserSystemCmdPolicyBindingController) Get

func (*SystemUserSystemCmdPolicyBindingController) List

Jump to

Keyboard shortcuts

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