config

package
v1.23.4 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aws

type Aws struct {
	// Profile defines the AWS profile to load when calling aws services
	Profile string
	// Region defines the AWS region
	Region string
	// Region defines the AWS access key
	AccessKey string
	// Region defines the AWS secret key
	SecretKey string
	// AssumeRole defines the AWS IAM role to be assumed
	AssumeRole *AwsAssumeRole
	// S3Endpoint defines S3 compatible endpoint
	S3Endpoint string
	// S3Region defines S3 compatible endpoint region
	S3Region string
	// S3AccessKey defines S3 compatible endpoint access key
	S3AccessKey string
	// S3SecretKey defines S3 compatible endpoint secret key
	S3SecretKey string
	// SkipRegionCheck skips validating region check
	SkipRegionCheck bool
}

type AwsAssumeRole

type AwsAssumeRole struct {
	// RoleArn defines the arn of the AWS IAM role to assume
	RoleArn string
}

type Klog

type Klog struct {
	// Verbosity defines the verbosity of klog
	Verbosity *int
}

type Openstack

type Openstack struct {
	TenantId                    string
	TenantName                  string
	ProjectId                   string
	ProjectName                 string
	ProjectDomainId             string
	ProjectDomainName           string
	DomainId                    string
	DomainName                  string
	Username                    string
	Password                    string
	AuthUrl                     string
	RegionName                  string
	ApplicationCredentialId     string
	ApplicationCredentialSecret string
}

type Provider

type Provider struct {
	// StateStore defines the state store used by kops
	StateStore string
	// Aws contains the aws configuration options
	Aws *Aws
	// OpenStack contains the openstack configuration options
	Openstack *Openstack
	// Klog contains the klog configuration options
	Klog *Klog
	// Mock sets up a cloud mock for integration tests
	Mock bool
	// FeatureFlags contains feature flags to enable or disable
	FeatureFlags []string
}

Jump to

Keyboard shortcuts

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