types

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: UPL-1.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Type   OCIPrincipalType
	Config AuthConfig
}

type AuthConfig

type AuthConfig struct {
	Region      string `yaml:"region"`
	TenancyID   string `yaml:"tenancy"`
	UserID      string `yaml:"user"`
	PrivateKey  string `yaml:"privateKey"`
	Fingerprint string `yaml:"fingerprint"`
	Passphrase  string `yaml:"passphrase"`
}

func (*AuthConfig) Validate

func (config *AuthConfig) Validate() error

type AuthConfigYaml

type AuthConfigYaml struct {
	Auth map[string]string `yaml:"auth,omitempty"`
}

type IngressOpts

type IngressOpts struct {
	KubeConfig         string
	LeaseLockName      string
	LeaseLockNamespace string
	LeaseID            string
	CompartmentId      string
	SubnetId           string
	ClusterId          string
	ControllerClass    string
	AuthType           string
	AuthSecretName     string
	MetricsBackend     string
	MetricsPort        int
}

type OCIPrincipalType

type OCIPrincipalType string
const (
	Instance         OCIPrincipalType = "instance"
	User             OCIPrincipalType = "user"
	WorkloadIdentity OCIPrincipalType = "workloadIdentity"
)

func MapToPrincipalType

func MapToPrincipalType(authType string) (OCIPrincipalType, error)

Jump to

Keyboard shortcuts

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