Documentation
¶
Overview ¶
Code generated from Pkl module `MinioConfig`. DO NOT EDIT.
Code generated from Pkl module `MinioConfig`. DO NOT EDIT.
Code generated from Pkl module `MinioConfig`. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type MinioConfig ¶
type MinioConfig struct {
// Minio feature is enabled?
Enabled bool `pkl:"enabled"`
// The endpoint that minio cluster
Endpoint string `pkl:"endpoint"`
// Minio options secure is enabled?
UseSSL bool `pkl:"useSSL"`
// Credential settings for Minio
Credential *Credential `pkl:"credential"`
}
func Load ¶
func Load(ctx context.Context, evaluator pkl.Evaluator, source *pkl.ModuleSource) (*MinioConfig, error)
Load loads the pkl module at the given source and evaluates it with the given evaluator into a MinioConfig
func LoadFromPath ¶
func LoadFromPath(ctx context.Context, path string) (ret *MinioConfig, err error)
LoadFromPath loads the pkl module at the given path and evaluates it into a MinioConfig
Click to show internal directories.
Click to hide internal directories.