swiftprobe

package
v5.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 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 AuthV2

type AuthV2 struct {
	AuthURL  string
	Region   string
	Tenant   string
	Username string
	Password string
}

type AuthV3

type AuthV3 struct {
	AuthURL          string
	Region           string
	TenantID         string
	Username         string
	Password         string
	UserDomainName   string
	TenantDomainName string
}

type SwiftProbe

type SwiftProbe struct {
	// contains filtered or unexported fields
}

func NewSwiftProbe

func NewSwiftProbe(name string, opts ...SwiftProbeOpt) SwiftProbe

func (SwiftProbe) Check

func (p SwiftProbe) Check(ctx context.Context) error

func (SwiftProbe) Name

func (p SwiftProbe) Name() string

type SwiftProbeOpt

type SwiftProbeOpt func(p *SwiftProbe)

func WithAuthFromEnv

func WithAuthFromEnv() SwiftProbeOpt

func WithAuthV2

func WithAuthV2(cfg AuthV2) SwiftProbeOpt

func WithAuthV3

func WithAuthV3(cfg AuthV3) SwiftProbeOpt

Jump to

Keyboard shortcuts

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