models

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resource

type Resource struct {
	ID          string
	Description interface{}

	Name                string
	Type                string
	ResourceGroup       string
	Location            string
	IntegrationMetadata interface{}
}

func (Resource) UniqueID

func (r Resource) UniqueID() string

type ResourceDescriber

any types are used to load your provider configuration.

type ResourceType

type ResourceType struct {
	IntegrationType integration.Type
	ResourceName    string

	ListDescriber ResourceDescriber
	GetDescriber  SingleResourceDescriber

	Annotations map[string]string
	Labels      map[string]string
	Tags        map[string][]string
}

func (ResourceType) GetIntegrationType

func (r ResourceType) GetIntegrationType() integration.Type

func (ResourceType) GetResourceName

func (r ResourceType) GetResourceName() string

func (ResourceType) GetTags

func (r ResourceType) GetTags() map[string][]string

type StreamSender

type StreamSender func(Resource) error

Jump to

Keyboard shortcuts

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