server

package
v0.0.0-...-d6384ac Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySQLFirewallRuleClient

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

func NewMySQLFirewallRuleClient

func NewMySQLFirewallRuleClient(creds config.Credentials) *MySQLFirewallRuleClient

func (*MySQLFirewallRuleClient) CreateFirewallRule

func (m *MySQLFirewallRuleClient) CreateFirewallRule(ctx context.Context, resourcegroup string, servername string, firewallrulename string, startip string, endip string) (future mysql.FirewallRulesCreateOrUpdateFuture, err error)

func (*MySQLFirewallRuleClient) Delete

func (*MySQLFirewallRuleClient) DeleteFirewallRule

func (m *MySQLFirewallRuleClient) DeleteFirewallRule(ctx context.Context, resourcegroup string, servername string, firewallrulename string) (status string, err error)

func (*MySQLFirewallRuleClient) Ensure

func (*MySQLFirewallRuleClient) GetFirewallRule

func (m *MySQLFirewallRuleClient) GetFirewallRule(ctx context.Context, resourcegroup string, servername string, firewallrulename string) (firewall mysql.FirewallRule, err error)

func (*MySQLFirewallRuleClient) GetParents

func (*MySQLFirewallRuleClient) GetStatus

type MySQLFirewallRuleManager

type MySQLFirewallRuleManager interface {
	CreateFirewallRule(ctx context.Context, resourcegroup string, servername string, firewallrulename string, startip string, endip string) (mysql.FirewallRulesCreateOrUpdateFuture, error)
	DeleteFirewallRule(ctx context.Context, resourcegroup string, servername string, firewallrulename string) (string, error)
	GetFirewallRule(ctx context.Context, resourcegroup string, servername string, firewallrulename string) (mysql.FirewallRule, error)
	// also embed async client methods
	resourcemanager.ARMClient
}

Jump to

Keyboard shortcuts

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