templates

package
v0.0.0-...-63319d1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MPL-2.0, Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListResutlt

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

func List

func List(client *golangsdk.ServiceClient, cluster_id string) (r ListResutlt)

func (ListResutlt) Extract

func (r ListResutlt) Extract() ([]Template, error)

type Metadata

type Metadata struct {
	UID               string `json:"uid"`
	Name              string `json:"name"`
	CreationTimestamp string `json:"creationTimestamp"`
	UpdateTimestamp   string `json:"updateTimestamp"`
}

type Spec

type Spec struct {
	Type        string            `json:"type"`
	Labels      []string          `json:"labels"`
	LogoURL     string            `json:"logoURL"`
	Description string            `json:"description"`
	Versions    []addons.Versions `json:"versions"`
}

type Template

type Template struct {
	Kind       string   `json:"kind"`
	ApiVersion string   `json:"apiVersion"`
	Metadata   Metadata `json:"metadata"`
	Spec       Spec     `json:"spec"`
}

Jump to

Keyboard shortcuts

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