awsconfig

package
v0.0.0-...-17b5b8b Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2018 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsInvalidVersion

func IsInvalidVersion(err error) bool

IsInvalidVersion asserts invalidVersionError.

func NewClusterFramework

func NewClusterFramework(config ClusterFrameworkConfig) (*framework.Framework, error)

func NewDrainerFramework

func NewDrainerFramework(config DrainerFrameworkConfig) (*framework.Framework, error)

Types

type ClusterFrameworkConfig

type ClusterFrameworkConfig struct {
	G8sClient    versioned.Interface
	K8sClient    kubernetes.Interface
	K8sExtClient apiextensionsclient.Interface
	Logger       micrologger.Logger

	GuestAWSConfig     FrameworkConfigAWSConfig
	GuestUpdateEnabled bool
	HostAWSConfig      FrameworkConfigAWSConfig
	InstallationName   string
	OIDC               FrameworkConfigOIDCConfig
	ProjectName        string
	PubKeyFile         string
}

type DrainerFrameworkConfig

type DrainerFrameworkConfig struct {
	G8sClient    versioned.Interface
	K8sClient    kubernetes.Interface
	K8sExtClient apiextensionsclient.Interface
	Logger       micrologger.Logger

	AWS                DrainerFrameworkConfigAWS
	GuestUpdateEnabled bool
	ProjectName        string
}

type DrainerFrameworkConfigAWS

type DrainerFrameworkConfigAWS struct {
	AccessKeyID     string
	AccessKeySecret string
	Region          string
	SessionToken    string
}

type FrameworkConfigAWSConfig

type FrameworkConfigAWSConfig struct {
	AccessKeyID     string
	AccessKeySecret string
	Region          string
	SessionToken    string
}

type FrameworkConfigOIDCConfig

type FrameworkConfigOIDCConfig struct {
	ClientID      string
	IssuerURL     string
	UsernameClaim string
	GroupsClaim   string
}

OIDC represents the configuration of the OIDC authorization provider

Directories

Path Synopsis
v1
v2
key
resource/cloudformation/adapter
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
v3
key
resource/cloudformation/adapter
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
v4
key
resource/cloudformation/adapter
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
v5
key
resource/cloudformation/adapter
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
v6
key
resource/cloudformation/adapter
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
v7
adapter
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
key
v8
adapter
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
key
v9
adapter
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
key

Jump to

Keyboard shortcuts

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