aws_eks_access_entry

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessEntryConfig

type AccessEntryConfig struct {
	ClusterName      *hcl.HclField `hcl:"cluster_name"`
	PrincipalARN     *hcl.HclField `hcl:"principal_arn"`
	KubernetesGroups *hcl.HclField `hcl:"kubernetes_groups"`
	Type             *hcl.HclField `hcl:"type"`
	Lifecycle        *hcl.HclField `hcl:"lifecycle,block"`
}

AccessEntryConfig represents the configuration for an AWS EKS access entry

func (*AccessEntryConfig) GenerateHCL

func (c *AccessEntryConfig) GenerateHCL() (string, error)

func (*AccessEntryConfig) Validate

func (c *AccessEntryConfig) Validate() error

type AccessEntryConfigBuilder

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

AccessEntryConfigBuilder is a builder for AccessEntryConfig

func NewAccessEntryConfig

func NewAccessEntryConfig() *AccessEntryConfigBuilder

NewAccessEntryConfig creates a new AccessEntryConfigBuilder with default values

func (*AccessEntryConfigBuilder) Build

func (*AccessEntryConfigBuilder) SetClusterName

func (b *AccessEntryConfigBuilder) SetClusterName(expr string) *AccessEntryConfigBuilder

func (*AccessEntryConfigBuilder) SetKubernetesGroups

func (b *AccessEntryConfigBuilder) SetKubernetesGroups(groups []string) *AccessEntryConfigBuilder

func (*AccessEntryConfigBuilder) SetKubernetesGroupsExpression

func (b *AccessEntryConfigBuilder) SetKubernetesGroupsExpression(expr string) *AccessEntryConfigBuilder

func (*AccessEntryConfigBuilder) SetPrincipalARN

func (b *AccessEntryConfigBuilder) SetPrincipalARN(expr string) *AccessEntryConfigBuilder

func (*AccessEntryConfigBuilder) SetType

Jump to

Keyboard shortcuts

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