customvision

package
v0.0.0-...-36aec5d Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomVisionReferenceProvider

type CustomVisionReferenceProvider struct {
	Config  CustomVisionReferenceProviderConfig
	Context *contexts.ManagerContext
}

func (*CustomVisionReferenceProvider) Get

func (m *CustomVisionReferenceProvider) Get(id string, namespace string, group string, kind string, version string, ref string) (interface{}, error)

func (*CustomVisionReferenceProvider) ID

func (*CustomVisionReferenceProvider) Init

func (*CustomVisionReferenceProvider) InitWithMap

func (i *CustomVisionReferenceProvider) InitWithMap(properties map[string]string) error

func (*CustomVisionReferenceProvider) List

func (m *CustomVisionReferenceProvider) List(labelSelector string, fieldSelector string, namespace string, group string, kind string, version string, ref string) (interface{}, error)

func (*CustomVisionReferenceProvider) Reconfigure

func (*CustomVisionReferenceProvider) ReferenceType

func (m *CustomVisionReferenceProvider) ReferenceType() string

func (*CustomVisionReferenceProvider) SetContext

func (a *CustomVisionReferenceProvider) SetContext(context *contexts.ManagerContext)

func (*CustomVisionReferenceProvider) TargetID

func (m *CustomVisionReferenceProvider) TargetID() string

type CustomVisionReferenceProviderConfig

type CustomVisionReferenceProviderConfig struct {
	Name          string `json:"name"`
	APIKey        string `json:"key"`
	Retries       int    `json:"retries,omitempty"`
	RetryInterval int    `json:"retryInterval,omitempty"`
	TargetID      string `json:"target"`
}

func CustomVisionReferenceProviderConfigFromMap

func CustomVisionReferenceProviderConfigFromMap(properties map[string]string) (CustomVisionReferenceProviderConfig, error)

type Export

type Export struct {
	Platform            string `json:"platform"`
	Status              string `json:"status"`
	DownloadUri         string `json:"downloadUri"`
	Flavor              string `json:"flavor"`
	NewVersionAvailable bool   `json:"newerVersionAvailable"`
}

Jump to

Keyboard shortcuts

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