Documentation ¶
Index ¶
- type AccessEntryConfig
- type AccessEntryConfigBuilder
- func (b *AccessEntryConfigBuilder) Build() (*AccessEntryConfig, error)
- func (b *AccessEntryConfigBuilder) SetClusterName(expr string) *AccessEntryConfigBuilder
- func (b *AccessEntryConfigBuilder) SetKubernetesGroups(groups []string) *AccessEntryConfigBuilder
- func (b *AccessEntryConfigBuilder) SetKubernetesGroupsExpression(expr string) *AccessEntryConfigBuilder
- func (b *AccessEntryConfigBuilder) SetPrincipalARN(expr string) *AccessEntryConfigBuilder
- func (b *AccessEntryConfigBuilder) SetType(entryType string) *AccessEntryConfigBuilder
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 (b *AccessEntryConfigBuilder) Build() (*AccessEntryConfig, error)
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 ¶
func (b *AccessEntryConfigBuilder) SetType(entryType string) *AccessEntryConfigBuilder
Click to show internal directories.
Click to hide internal directories.