package cluster

import "github.com/oslokommune/okctl/pkg/cfn/components/cluster"

Package cluster knows how to return a consistent cluster name

Index

Types

type Cluster

type Cluster struct {
	StoredName string
}

Cluster provides a type for creating a consistent name

func New

func New(clusterName string) *Cluster

New returns a structure for printing a consistent Cluster name for use in a cloud formation template

func (*Cluster) Name

func (c *Cluster) Name() string

Name returns the name of the cluster

Source Files

cluster.go

Version
v0.0.106 (latest)
Published
Oct 21, 2022
Platform
linux/amd64
Last checked
18 hours ago

Tools for package owners.