minioconfig

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 2 Imported by: 0

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 Credential struct {
	// Credential Enabled
	Enabled bool `pkl:"enabled"`

	// Credential access key id
	AccessKeyId string `pkl:"accessKeyId"`

	// Credential secret access key
	SecretAccessKey string `pkl:"secretAccessKey"`

	// Credential secret token
	Token string `pkl:"token"`
}

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

Jump to

Keyboard shortcuts

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