types

package
v0.0.0-...-bb2f907 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: Apache-2.0 Imports: 2 Imported by: 12

Documentation

Index

Constants

View Source
const MAX_DESCRIPTION_LEN int = 1024

It implements the interface for managing the ClusterProviders

View Source
const MAX_USERDATA_LEN int = 4096

Variables

This section is empty.

Functions

func IsValidMetadata

func IsValidMetadata(metadata Metadata) error

Check for valid format Metadata

Types

type ClusterSyncObjectSpec

type ClusterSyncObjectSpec struct {
	Kv []map[string]interface{} `json:"kv" encrypted:""`
}

Key value pairs for Sync Objects

type ClusterSyncObjects

type ClusterSyncObjects struct {
	Metadata Metadata              `json:"metadata"`
	Spec     ClusterSyncObjectSpec `json:"spec"`
}

Sync Objects

type GitOpsProps

type GitOpsProps struct {
	// GitOps type - example fluxv2, azureArc, anthos
	GitOpsType string `json:"gitOpsType"`
	// Refrence Sync object for the cloud configuration
	GitOpsReferenceObject string `json:"gitOpsReferenceObject"`
	// Resource Sync Object for resurces
	GitOpsResourceObject string `json:"gitOpsResourceObject"`
}

GitOps Properties for Reference and Resource Objects

type GitOpsSpec

type GitOpsSpec struct {
	Props GitOpsProps `json:"gitOps"`
}

GitOps Spec

type Metadata

type Metadata struct {
	Name        string `json:"name" yaml:"name"`
	Description string `json:"description" yaml:"-"`
	UserData1   string `json:"userData1" yaml:"-"`
	UserData2   string `json:"userData2" yaml:"-"`
}

Jump to

Keyboard shortcuts

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