Documentation ¶
Index ¶
- Constants
- func ExecuteManagementModeFromString(in string) (executeManagementMode, error)
- type BaseProfileOptions
- type CreateLaunchdServiceOpts
- type CreateONCProfileOptions
- type CreateProfileOptions
- type CreateTunnelblickProfileOpts
- type ExecuteOptions
- type Service
- func (s Service) BaseProfile(opts BaseProfileOptions) (string, error)
- func (s Service) CreateLaunchdService(opts CreateLaunchdServiceOpts) (string, string, error)
- func (s Service) CreateONCProfile(opts CreateONCProfileOptions) (*onc.ONC, error)
- func (s Service) CreateProfile(opts CreateProfileOptions) (profile.Profile, error)
- func (s Service) CreateTunnelblickProfile(opts CreateTunnelblickProfileOpts) (string, error)
- func (s Service) Execute(opts ExecuteOptions) error
- func (s Service) GetClient(skipAuthRetry bool) (svchttpclient.Client, error)
- func (s Service) Name() string
- type ServiceFactory
Constants ¶
View Source
const ExecuteManagementModeAuto executeManagementMode = "auto"
View Source
const ExecuteManagementModeDisabled executeManagementMode = "disabled"
View Source
const ExecuteManagementModeEnabled executeManagementMode = "enabled"
Variables ¶
This section is empty.
Functions ¶
func ExecuteManagementModeFromString ¶ added in v0.18.0
Types ¶
type BaseProfileOptions ¶ added in v0.7.0
type BaseProfileOptions struct {
SkipAuthRetry bool
}
type CreateLaunchdServiceOpts ¶ added in v0.12.0
type CreateONCProfileOptions ¶ added in v0.12.0
type CreateProfileOptions ¶ added in v0.7.0
type CreateProfileOptions struct {
SkipAuthRetry bool
}
type CreateTunnelblickProfileOpts ¶ added in v0.7.0
type ExecuteOptions ¶ added in v0.7.0
type Service ¶
type Service struct { svc.ServiceType // contains filtered or unexported fields }
func NewService ¶
func NewService(name string, runtime client.Runtime, logger logrus.FieldLogger, fs boshsys.FileSystem, cmdRunner boshsys.CmdRunner, executableFinder client.ExecutableFinder) *Service
func (Service) BaseProfile ¶ added in v0.7.0
func (s Service) BaseProfile(opts BaseProfileOptions) (string, error)
func (Service) CreateLaunchdService ¶ added in v0.12.0
func (s Service) CreateLaunchdService(opts CreateLaunchdServiceOpts) (string, string, error)
func (Service) CreateONCProfile ¶ added in v0.12.0
func (s Service) CreateONCProfile(opts CreateONCProfileOptions) (*onc.ONC, error)
func (Service) CreateProfile ¶
func (s Service) CreateProfile(opts CreateProfileOptions) (profile.Profile, error)
func (Service) CreateTunnelblickProfile ¶ added in v0.7.0
func (s Service) CreateTunnelblickProfile(opts CreateTunnelblickProfileOpts) (string, error)
func (Service) Execute ¶ added in v0.7.0
func (s Service) Execute(opts ExecuteOptions) error
type ServiceFactory ¶ added in v0.7.0
type ServiceFactory struct { svc.ServiceType // contains filtered or unexported fields }
func NewServiceFactory ¶ added in v0.7.0
func NewServiceFactory(runtime client.Runtime, fs boshsys.FileSystem, cmdRunner boshsys.CmdRunner, executableFinder client.ExecutableFinder) ServiceFactory
func (ServiceFactory) New ¶ added in v0.7.0
func (sf ServiceFactory) New(name string) *Service
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
executable
|
|
managementfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
profilefakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.