config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credential

type Credential struct {
	Namespace string `yaml:"namespace,omitempty"`
	Type      string `yaml:"type,omitempty"`
	Name      string `yaml:"name,omitempty"`
	FileName  string `yaml:"fileName,omitempty"`
	Mode      *int32 `yaml:"mode,omitempty"`
}

type Parameters

type Parameters struct {
	Permission  int32
	Credentials []Credential
}

func ParseParameters

func ParseParameters(attributes, permission string) (Parameters, error)

type ServiceKey

type ServiceKey struct {
	URL         string `json:"url"`
	Certificate string `json:"certificate"`
	Key         string `json:"key"`
	Encryption  struct {
		ClientPrivateKey string `json:"client_private_key"`
	} `json:"encryption"`
}

func ParseServiceKey

func ParseServiceKey(jsonBytes []byte) (ServiceKey, error)

Jump to

Keyboard shortcuts

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