scim

package
v0.0.0-...-f923362 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ApiKey        string
	SecretKeyFile string
	Endpoint      string
}

func GetDefaultConfig

func GetDefaultConfig() Config

func (*Config) SendDeleteRequest

func (s *Config) SendDeleteRequest(url string) ([]byte, error)

func (*Config) SendGetRequest

func (s *Config) SendGetRequest(url string, data []byte) ([]byte, error)

SendGetRequest sends Get request to appliance with or without payload

func (*Config) SendPostRequest

func (s *Config) SendPostRequest(url string, data []byte) ([]byte, error)

func (*Config) SendRequest

func (s *Config) SendRequest(url string, data []byte) ([]byte, error)

SendRequest accepts url and payload json. Sends a POST request.

func (*Config) SendUpdateRequest

func (s *Config) SendUpdateRequest(url string, data []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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