Documentation ¶
Index ¶
- type PSQLFirewallRuleClient
- func (c *PSQLFirewallRuleClient) CreateFirewallRule(ctx context.Context, resourcegroup string, servername string, ...) (*http.Response, error)
- func (p *PSQLFirewallRuleClient) Delete(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
- func (c *PSQLFirewallRuleClient) DeleteFirewallRule(ctx context.Context, resourcegroup string, servername string, ...) (status string, err error)
- func (p *PSQLFirewallRuleClient) Ensure(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
- func (c *PSQLFirewallRuleClient) GetFirewallRule(ctx context.Context, resourcegroup string, servername string, ...) (firewall psql.FirewallRule, err error)
- func (p *PSQLFirewallRuleClient) GetParents(obj runtime.Object) ([]resourcemanager.KubeParent, error)
- func (p *PSQLFirewallRuleClient) GetStatus(obj runtime.Object) (*v1alpha1.ASOStatus, error)
- type PostgreSQLFirewallRuleManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PSQLFirewallRuleClient ¶
type PSQLFirewallRuleClient struct {
// contains filtered or unexported fields
}
func NewPSQLFirewallRuleClient ¶
func NewPSQLFirewallRuleClient(creds config.Credentials) *PSQLFirewallRuleClient
func (*PSQLFirewallRuleClient) CreateFirewallRule ¶
func (*PSQLFirewallRuleClient) Delete ¶
func (p *PSQLFirewallRuleClient) Delete(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
Delete removes a Postgres firewall rule
func (*PSQLFirewallRuleClient) DeleteFirewallRule ¶
func (*PSQLFirewallRuleClient) Ensure ¶
func (p *PSQLFirewallRuleClient) Ensure(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
Ensure makes sure a Postgres firewall rule exists
func (*PSQLFirewallRuleClient) GetFirewallRule ¶
func (c *PSQLFirewallRuleClient) GetFirewallRule(ctx context.Context, resourcegroup string, servername string, firewallrulename string) (firewall psql.FirewallRule, err error)
func (*PSQLFirewallRuleClient) GetParents ¶
func (p *PSQLFirewallRuleClient) GetParents(obj runtime.Object) ([]resourcemanager.KubeParent, error)
GetParents gets the parents
type PostgreSQLFirewallRuleManager ¶
type PostgreSQLFirewallRuleManager interface { CreateFirewallRule(ctx context.Context, resourcegroup string, servername string, firewallrulename string, startip string, endip string) (*http.Response, error) GetFirewallRule(ctx context.Context, resourcegroup string, servername string, firewallrulename string) (psql.FirewallRule, error) DeleteFirewallRule(ctx context.Context, resourcegroup string, servername string, firewallrulename string) (string, error) // also embed async client methods resourcemanager.ARMClient }
Click to show internal directories.
Click to hide internal directories.