shared

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceInstanceStatusTypeRunning = "RUNNING"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Asset

type Asset struct {
	Name      string                 `json:"name"`
	Namespace string                 `json:"namespace"`
	Metadata  map[string]interface{} `json:"metadata"`
	Type      string                 `json:"type"`
	Files     []File                 `json:"files"`
	Status    AssetStatus            `json:"status"`
}

type AssetPhaseType

type AssetPhaseType string
const (
	AssetPhaseTypeReady AssetPhaseType = "READY"
)

type AssetStatus

type AssetStatus struct {
	Phase   AssetPhaseType `json:"phase"`
	Reason  string         `json:"reason"`
	Message string         `json:"message"`
}

type ClusterAsset

type ClusterAsset struct {
	Name     string                 `json:"name"`
	Metadata map[string]interface{} `json:"metadata"`
	Type     string                 `json:"type"`
	Files    []File                 `json:"files"`
	Status   AssetStatus            `json:"status"`
}

type ClusterDocsTopic

type ClusterDocsTopic struct {
	Name        string          `json:"name"`
	GroupName   string          `json:"groupName"`
	DisplayName string          `json:"displayName"`
	Description string          `json:"description"`
	Assets      []ClusterAsset  `json:"assets"`
	Status      DocsTopicStatus `json:"status"`
}

type ClusterServiceClass

type ClusterServiceClass struct {
	Name                string
	ExternalName        string
	DisplayName         string
	CreationTimestamp   int
	Description         string
	LongDescription     string
	ImageUrl            string
	DocumentationUrl    string
	SupportUrl          string
	ProviderDisplayName string
	Tags                []string
	Activated           bool
	Plans               []ClusterServicePlan

	ClusterDocsTopic ClusterDocsTopic
	// contains filtered or unexported fields
}

type ClusterServicePlan

type ClusterServicePlan struct {
	Name                           string
	DisplayName                    string
	ExternalName                   string
	Description                    string
	RelatedClusterServiceClassName string
	InstanceCreateParameterSchema  map[string]interface{}
}

type DocsTopic

type DocsTopic struct {
	Name        string          `json:"name"`
	Namespace   string          `json:"namespace"`
	GroupName   string          `json:"groupName"`
	DisplayName string          `json:"displayName"`
	Description string          `json:"description"`
	Assets      []Asset         `json:"assets"`
	Status      DocsTopicStatus `json:"status"`
}

type DocsTopicPhaseType

type DocsTopicPhaseType string
const (
	DocsTopicPhaseTypeReady DocsTopicPhaseType = "READY"
)

type DocsTopicStatus

type DocsTopicStatus struct {
	Phase   DocsTopicPhaseType `json:"phase"`
	Reason  string             `json:"reason"`
	Message string             `json:"message"`
}

type File

type File struct {
	URL      string
	Metadata map[string]interface{}
}

type LocalObjectReference

type LocalObjectReference struct {
	Kind string
	Name string
}

type Secret

type Secret struct {
	Name      string
	Namespace string
	Data      map[string]interface{}
}

type ServiceBinding

type ServiceBinding struct {
	Name                string
	ServiceInstanceName string
	Namespace           string
	Secret              Secret
	Status              ServiceBindingStatus
}

type ServiceBindingStats

type ServiceBindingStats struct {
	Ready   int
	Failed  int
	Pending int
	Unknown int
}

type ServiceBindingStatus

type ServiceBindingStatus struct {
	Type ServiceBindingStatusType
}

type ServiceBindingStatusType

type ServiceBindingStatusType string
const (
	ServiceBindingStatusTypeReady ServiceBindingStatusType = "READY"
)

type ServiceBindingUsage

type ServiceBindingUsage struct {
	Name           string
	Namespace      string
	ServiceBinding ServiceBinding
	UsedBy         LocalObjectReference
	Status         ServiceBindingUsageStatus
}

type ServiceBindingUsageStatus

type ServiceBindingUsageStatus struct {
	Type ServiceBindingUsageStatusType
}

type ServiceBindingUsageStatusType

type ServiceBindingUsageStatusType string
const (
	ServiceBindingUsageStatusTypeUnknown ServiceBindingUsageStatusType = "UNKNOWN"
)

type ServiceBindings

type ServiceBindings struct {
	Items []ServiceBinding
	Stats ServiceBindingStats
}

type ServiceClass

type ServiceClass struct {
	Name                string
	Namespace           string
	ExternalName        string
	DisplayName         string
	CreationTimestamp   int
	Description         string
	LongDescription     string
	ImageUrl            string
	DocumentationUrl    string
	SupportUrl          string
	ProviderDisplayName string
	Tags                []string
	Activated           bool
	Plans               []ServicePlan

	DocsTopic DocsTopic
	// contains filtered or unexported fields
}

type ServiceInstance

type ServiceInstance struct {
	Name                 string
	Namespace            string
	ClassReference       ServiceInstanceResourceRef
	PlanReference        ServiceInstanceResourceRef
	PlanSpec             map[string]interface{}
	ClusterServicePlan   ClusterServicePlan
	ClusterServiceClass  ClusterServiceClass
	ServicePlan          ServicePlan
	ServiceClass         ServiceClass
	CreationTimestamp    int
	Labels               []string
	Status               ServiceInstanceStatus
	ServiceBindings      ServiceBindings
	ServiceBindingUsages []ServiceBindingUsage
	Bindable             bool
}

type ServiceInstanceResourceRef

type ServiceInstanceResourceRef struct {
	Name        string
	DisplayName string
	ClusterWide bool
}

type ServiceInstanceStatus

type ServiceInstanceStatus struct {
	Type    string
	Reason  string
	Message string
}

type ServicePlan

type ServicePlan struct {
	Name                          string
	DisplayName                   string
	ExternalName                  string
	Description                   string
	RelatedServiceClassName       string
	InstanceCreateParameterSchema map[string]interface{}
	BindingCreateParameterSchema  map[string]interface{}
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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