group

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceHaproxyGroup

func DataSourceHaproxyGroup() *schema.Resource

func ResourceHaproxyGroup

func ResourceHaproxyGroup() *schema.Resource

Types

type ConfigGroup

type ConfigGroup struct {
	Username string
	Password string
	BaseURL  string
	SSL      bool
}

Config defines variable for haproxy configuration

func (*ConfigGroup) AddGroupsConfiguration

func (c *ConfigGroup) AddGroupsConfiguration(payload []byte, TransactionID string, UserList string) (*http.Response, []byte, error)

AddGroupsConfiguration adds a Groups configuration.

func (*ConfigGroup) DeleteGroupsConfiguration

func (c *ConfigGroup) DeleteGroupsConfiguration(GroupName string, TransactionID string, UserList string) (*http.Response, []byte, error)

DeleteGroupsConfiguration deletes a Groups configuration.

func (*ConfigGroup) GetAGroupsConfiguration

func (c *ConfigGroup) GetAGroupsConfiguration(GroupName string, TransactionID string, UserList string) (*http.Response, []byte, error)

GetAGroupsConfiguration returns the configuration of a Groups.

func (*ConfigGroup) UpdateGroupsConfiguration

func (c *ConfigGroup) UpdateGroupsConfiguration(GroupName string, payload []byte, TransactionID string, UserList string) (*http.Response, []byte, error)

UpdateGroupsConfiguration updates a Groups configuration.

type GroupPayload

type GroupPayload struct {
	Name  string `json:"name"`
	Users string `json:"users"`
}

Jump to

Keyboard shortcuts

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