Documentation ¶
Index ¶
- type CustomVisionReferenceProvider
- func (m *CustomVisionReferenceProvider) Get(id string, namespace string, group string, kind string, version string, ...) (interface{}, error)
- func (m *CustomVisionReferenceProvider) ID() string
- func (m *CustomVisionReferenceProvider) Init(config providers.IProviderConfig) error
- func (i *CustomVisionReferenceProvider) InitWithMap(properties map[string]string) error
- func (m *CustomVisionReferenceProvider) List(labelSelector string, fieldSelector string, namespace string, group string, ...) (interface{}, error)
- func (m *CustomVisionReferenceProvider) Reconfigure(config providers.IProviderConfig) error
- func (m *CustomVisionReferenceProvider) ReferenceType() string
- func (a *CustomVisionReferenceProvider) SetContext(context *contexts.ManagerContext)
- func (m *CustomVisionReferenceProvider) TargetID() string
- type CustomVisionReferenceProviderConfig
- type Export
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) ID ¶
func (m *CustomVisionReferenceProvider) ID() string
func (*CustomVisionReferenceProvider) Init ¶
func (m *CustomVisionReferenceProvider) Init(config providers.IProviderConfig) error
func (*CustomVisionReferenceProvider) InitWithMap ¶
func (i *CustomVisionReferenceProvider) InitWithMap(properties map[string]string) error
func (*CustomVisionReferenceProvider) Reconfigure ¶
func (m *CustomVisionReferenceProvider) Reconfigure(config providers.IProviderConfig) error
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)
Click to show internal directories.
Click to hide internal directories.