Documentation
¶
Overview ¶
Package sqlconfig, defines the metadata for representing a sqlconfig file. It includes structs for representing an endpoint, context, user, and the overall sqlconfig file itself. Each struct has fields for storing the various pieces of information that make up an SQL configuration, such as endpoint address and port, context name and endpoint, and user authentication type and details. These structs are used to manage and manipulate the sqlconfig.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetDetails ¶
type AssetDetails struct {
*ContainerDetails `mapstructure:"container,omitempty" yaml:"container,omitempty"`
}
type BasicAuthDetails ¶
type ContainerDetails ¶
type Context ¶
type Context struct { ContextDetails `mapstructure:"context" yaml:"context"` Name string `mapstructure:"name"` }
type ContextDetails ¶
type Endpoint ¶
type Endpoint struct { *AssetDetails `mapstructure:"asset,omitempty" yaml:"asset,omitempty"` EndpointDetails `mapstructure:"endpoint" yaml:"endpoint"` Name string `mapstructure:"name"` }
type EndpointDetails ¶
type User ¶
type User struct { Name string `mapstructure:"name"` AuthenticationType string `mapstructure:"authentication-type" yaml:"authentication-type"` BasicAuth *BasicAuthDetails `mapstructure:"basic-auth,omitempty" yaml:"basic-auth,omitempty"` }
Click to show internal directories.
Click to hide internal directories.