Documentation
¶
Index ¶
- type ClusterResourceSet
- func (c *ClusterResourceSet) AddAllResources() error
- func (c *ClusterResourceSet) GetAllOutputs(stack cfn.Stack) error
- func (c *ClusterResourceSet) RenderJSON() ([]byte, error)
- func (c *ClusterResourceSet) Template() gfn.Template
- func (c *ClusterResourceSet) WithIAM() bool
- func (c *ClusterResourceSet) WithNamedIAM() bool
- type IAMServiceAccountResourceSet
- func (rs *IAMServiceAccountResourceSet) AddAllResources() error
- func (rs *IAMServiceAccountResourceSet) GetAllOutputs(stack cfn.Stack) error
- func (rs *IAMServiceAccountResourceSet) RenderJSON() ([]byte, error)
- func (*IAMServiceAccountResourceSet) WithIAM() bool
- func (*IAMServiceAccountResourceSet) WithNamedIAM() bool
- type NodeGroupResourceSet
- func (n *NodeGroupResourceSet) AddAllResources() error
- func (n *NodeGroupResourceSet) GetAllOutputs(stack cfn.Stack) error
- func (n *NodeGroupResourceSet) RenderJSON() ([]byte, error)
- func (n *NodeGroupResourceSet) Template() gfn.Template
- func (n *NodeGroupResourceSet) WithIAM() bool
- func (n *NodeGroupResourceSet) WithNamedIAM() bool
- type ResourceSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterResourceSet ¶
type ClusterResourceSet struct {
// contains filtered or unexported fields
}
ClusterResourceSet stores the resource information of the cluster
func NewClusterResourceSet ¶
func NewClusterResourceSet(provider api.ClusterProvider, spec *api.ClusterConfig) *ClusterResourceSet
NewClusterResourceSet returns a resource set for the new cluster
func (*ClusterResourceSet) AddAllResources ¶
func (c *ClusterResourceSet) AddAllResources() error
AddAllResources adds all the information about the cluster to the resource set
func (*ClusterResourceSet) GetAllOutputs ¶
func (c *ClusterResourceSet) GetAllOutputs(stack cfn.Stack) error
GetAllOutputs collects all outputs of the cluster
func (*ClusterResourceSet) RenderJSON ¶
func (c *ClusterResourceSet) RenderJSON() ([]byte, error)
RenderJSON returns the rendered JSON
func (*ClusterResourceSet) Template ¶
func (c *ClusterResourceSet) Template() gfn.Template
Template returns the CloudFormation template
func (*ClusterResourceSet) WithIAM ¶
func (c *ClusterResourceSet) WithIAM() bool
WithIAM states, if IAM roles will be created or not
func (*ClusterResourceSet) WithNamedIAM ¶
func (c *ClusterResourceSet) WithNamedIAM() bool
WithNamedIAM states, if specifically named IAM roles will be created or not
type IAMServiceAccountResourceSet ¶
type IAMServiceAccountResourceSet struct {
// contains filtered or unexported fields
}
IAMServiceAccountResourceSet holds iamserviceaccount stack build-time information
func NewIAMServiceAccountResourceSet ¶
func NewIAMServiceAccountResourceSet(spec *api.ClusterIAMServiceAccount, oidc *iamoidc.OpenIDConnectManager) *IAMServiceAccountResourceSet
NewIAMServiceAccountResourceSet builds iamserviceaccount stack from the give spec
func (*IAMServiceAccountResourceSet) AddAllResources ¶
func (rs *IAMServiceAccountResourceSet) AddAllResources() error
AddAllResources adds all resources for the stack
func (*IAMServiceAccountResourceSet) GetAllOutputs ¶
func (rs *IAMServiceAccountResourceSet) GetAllOutputs(stack cfn.Stack) error
GetAllOutputs will get all outputs from iamserviceaccount stack
func (*IAMServiceAccountResourceSet) RenderJSON ¶
func (rs *IAMServiceAccountResourceSet) RenderJSON() ([]byte, error)
RenderJSON will render iamserviceaccount stack as JSON
func (*IAMServiceAccountResourceSet) WithIAM ¶
func (*IAMServiceAccountResourceSet) WithIAM() bool
WithIAM returns true
func (*IAMServiceAccountResourceSet) WithNamedIAM ¶
func (*IAMServiceAccountResourceSet) WithNamedIAM() bool
WithNamedIAM returns false
type NodeGroupResourceSet ¶
type NodeGroupResourceSet struct {
// contains filtered or unexported fields
}
NodeGroupResourceSet stores the resource information of the nodegroup
func NewNodeGroupResourceSet ¶
func NewNodeGroupResourceSet(provider api.ClusterProvider, spec *api.ClusterConfig, clusterStackName string, ng *api.NodeGroup) *NodeGroupResourceSet
NewNodeGroupResourceSet returns a resource set for a nodegroup embedded in a cluster config
func (*NodeGroupResourceSet) AddAllResources ¶
func (n *NodeGroupResourceSet) AddAllResources() error
AddAllResources adds all the information about the nodegroup to the resource set
func (*NodeGroupResourceSet) GetAllOutputs ¶
func (n *NodeGroupResourceSet) GetAllOutputs(stack cfn.Stack) error
GetAllOutputs collects all outputs of the nodegroup
func (*NodeGroupResourceSet) RenderJSON ¶
func (n *NodeGroupResourceSet) RenderJSON() ([]byte, error)
RenderJSON returns the rendered JSON
func (*NodeGroupResourceSet) Template ¶
func (n *NodeGroupResourceSet) Template() gfn.Template
Template returns the CloudFormation template
func (*NodeGroupResourceSet) WithIAM ¶
func (n *NodeGroupResourceSet) WithIAM() bool
WithIAM states, if IAM roles will be created or not
func (*NodeGroupResourceSet) WithNamedIAM ¶
func (n *NodeGroupResourceSet) WithNamedIAM() bool
WithNamedIAM states, if specifically named IAM roles will be created or not