Documentation ¶
Index ¶
- type Controller
- func (cc *Controller) CreateKubernetesProvider(c *gin.Context)
- func (cc *Controller) CreateOrReplaceKubernetesProvider(c *gin.Context)
- func (cc *Controller) DeleteKubernetesProvider(c *gin.Context)
- func (cc *Controller) DeleteKubernetesResources(c *gin.Context)
- func (cc *Controller) GetKubernetesProvider(c *gin.Context)
- func (cc *Controller) ListKubernetesProvider(c *gin.Context)
- func (cc *Controller) LoadKubernetesResources(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
*internal.Controller
}
Controller holds all non request-scoped objects.
func (*Controller) CreateKubernetesProvider ¶
func (cc *Controller) CreateKubernetesProvider(c *gin.Context)
CreateKubernetesProvider creates the kubernetes account (provider).
func (*Controller) CreateOrReplaceKubernetesProvider ¶
func (cc *Controller) CreateOrReplaceKubernetesProvider(c *gin.Context)
CreateOrReplaceKubernetesProvider creates the kubernetes account (provider), or if existing account, replaces it.
func (*Controller) DeleteKubernetesProvider ¶
func (cc *Controller) DeleteKubernetesProvider(c *gin.Context)
DeleteKubernetesProvider deletes the kubernetes account (provider).
func (*Controller) DeleteKubernetesResources ¶ added in v0.20.0
func (cc *Controller) DeleteKubernetesResources(c *gin.Context)
DeleteKubernetesResources deletes the resources from the database for the given provider (account).
func (*Controller) GetKubernetesProvider ¶
func (cc *Controller) GetKubernetesProvider(c *gin.Context)
GetKubernetesProvider retrieves the kubernetes account (provider).
func (*Controller) ListKubernetesProvider ¶
func (cc *Controller) ListKubernetesProvider(c *gin.Context)
ListKubernetesProvider retrieves all the kubernetes accounts (providers).
func (*Controller) LoadKubernetesResources ¶ added in v0.20.0
func (cc *Controller) LoadKubernetesResources(c *gin.Context)
LoadKubernetesResources populates the Kubernetes resources table by querying the cluster for resources deployed by Spinnaker.
The only resources populated are Kubernetes kinds that show in the infrastructure pages (clusters, load balancers, firewalls).
- daemonSets
- deployments
- ingresses
- replicaSets
- statefulSets
- services