...

Source file src/github.com/redhat-developer/odo/pkg/preference/preference.go

Documentation: github.com/redhat-developer/odo/pkg/preference

     1  package preference
     2  
     3  import (
     4  	"time"
     5  
     6  	"github.com/redhat-developer/odo/pkg/api"
     7  )
     8  
     9  type Client interface {
    10  	IsSet(parameter string) bool
    11  	SetConfiguration(parameter string, value string) error
    12  	DeleteConfiguration(parameter string) error
    13  
    14  	GetUpdateNotification() bool
    15  	GetTimeout() time.Duration
    16  	GetPushTimeout() time.Duration
    17  	GetEphemeralSourceVolume() bool
    18  	GetConsentTelemetry() bool
    19  	GetRegistryCacheTime() time.Duration
    20  	GetImageRegistry() string
    21  	RegistryHandler(operation string, registryName string, registryURL string, forceFlag bool, isSecure bool) error
    22  
    23  	UpdateNotification() *bool
    24  	Timeout() *time.Duration
    25  	PushTimeout() *time.Duration
    26  	RegistryCacheTime() *time.Duration
    27  	EphemeralSourceVolume() *bool
    28  	ConsentTelemetry() *bool
    29  	RegistryList() []api.Registry
    30  	RegistryNameExists(name string) bool
    31  
    32  	NewPreferenceList() api.PreferenceList
    33  }
    34  

View as plain text