Documentation ¶
Index ¶
- type Fake
- type Ign
- func (f *Ign) AccessKeyLabel() string
- func (f *Ign) DefaultRecipients() []string
- func (f *Ign) DefaultSender() string
- func (f *Ign) GazeboServerLogsPath() string
- func (f *Ign) GetWebsocketPath(groupID simulations.GroupID) string
- func (f *Ign) IP() string
- func (f *Ign) LogsBucket() string
- func (f *Ign) LogsCopyEnabled() bool
- func (f *Ign) ROSLogsPath() string
- func (f *Ign) Region() string
- func (f *Ign) SecretAccessKeyLabel() string
- func (f *Ign) SecretsName() string
- func (f *Ign) SidecarContainerLogsPath() string
- func (f *Ign) Verbosity() string
- type Machines
- func (f Machines) BaseImage() string
- func (f Machines) BaseImageGPU() string
- func (f Machines) ClusterName() string
- func (f Machines) FirewallRules() []string
- func (f Machines) InstanceProfile() *string
- func (f Machines) KeyName() string
- func (f Machines) Limit() int
- func (f Machines) NamePrefix() string
- func (f Machines) PollFrequency() time.Duration
- func (f Machines) SidecarType() string
- func (f Machines) Timeout() time.Duration
- func (f Machines) Type() string
- type Orchestrator
- func (f Orchestrator) IngressHost() string
- func (f Orchestrator) IngressName() string
- func (f Orchestrator) IngressNamespace() string
- func (f Orchestrator) Nameservers() []string
- func (f Orchestrator) Namespace() string
- func (f Orchestrator) PollFrequency() time.Duration
- func (f Orchestrator) TerminationGracePeriod() time.Duration
- func (f Orchestrator) Timeout() time.Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fake ¶
type Fake struct {
// contains filtered or unexported fields
}
Fake is a fake store.Store implementation.
func NewDefaultFakeStore ¶
func NewDefaultFakeStore() *Fake
NewDefaultFakeStore initializes a new fake store implementation using default fake configuration providers. This provider uses the mock library
func NewFakeStore ¶
func NewFakeStore(machines *Machines, orchestrator *Orchestrator, ignition *Ign) *Fake
NewFakeStore initializes a new fake store implementation using fake configuration providers. This provider uses the mock library
func (*Fake) Orchestrator ¶
func (f *Fake) Orchestrator() store.Orchestrator
Orchestrator mocks the Orchestrator store.
type Ign ¶
Ign is a fake store.Ignition implementation.
func NewFakeIgnition ¶
func NewFakeIgnition() *Ign
NewFakeIgnition initializes a fake store.Ignition implementation.
func (*Ign) AccessKeyLabel ¶
AccessKeyLabel mocks the AccessKeyLabel method.
func (*Ign) DefaultRecipients ¶
DefaultRecipients mocks the DefaultRecipients method.
func (*Ign) DefaultSender ¶
DefaultSender mocks the DefaultSender method.
func (*Ign) GazeboServerLogsPath ¶
GazeboServerLogsPath mocks the GazeboServerLogsPath method.
func (*Ign) GetWebsocketPath ¶
func (f *Ign) GetWebsocketPath(groupID simulations.GroupID) string
GetWebsocketPath mocks the GetWebsocketPath method.
func (*Ign) LogsCopyEnabled ¶
LogsCopyEnabled mocks the LogsCopyEnabled method.
func (*Ign) ROSLogsPath ¶
ROSLogsPath mocks the ROSLogsPath method.
func (*Ign) SecretAccessKeyLabel ¶
SecretAccessKeyLabel mocks the SecretAccessKeyLabel method.
func (*Ign) SecretsName ¶
SecretsName mocks the SecretsName method.
func (*Ign) SidecarContainerLogsPath ¶
SidecarContainerLogsPath mocks the SidecarContainerLogsPath method.
type Machines ¶
Machines is a fake store.Machines implementation.
func NewFakeMachines ¶
func NewFakeMachines() *Machines
NewFakeMachines initializes a new store.Machines implementation.
func (Machines) BaseImageGPU ¶
BaseImageGPU mocks the BaseImageGPU method.
func (Machines) ClusterName ¶
ClusterName mocks the ClusterName method.
func (Machines) FirewallRules ¶
FirewallRules mocks the FirewallRules method.
func (Machines) InstanceProfile ¶
InstanceProfile mocks the InstanceProfile method.
func (Machines) NamePrefix ¶
NamePrefix mocks the NamePrefix method.
func (Machines) PollFrequency ¶
PollFrequency mocks the PollFrequency method.
func (Machines) SidecarType ¶
SidecarType mocks the SidecarType method.
type Orchestrator ¶
Orchestrator is a fake store.Orchestrator implementation.
func NewFakeOrchestrator ¶
func NewFakeOrchestrator() *Orchestrator
NewFakeOrchestrator initializes a new store.Orchestrator implementation.
func (Orchestrator) IngressHost ¶
func (f Orchestrator) IngressHost() string
IngressHost mocks the IngressHost method.
func (Orchestrator) IngressName ¶
func (f Orchestrator) IngressName() string
IngressName mocks the IngressName method.
func (Orchestrator) IngressNamespace ¶
func (f Orchestrator) IngressNamespace() string
IngressNamespace mocks the IngressNamespace method.
func (Orchestrator) Nameservers ¶
func (f Orchestrator) Nameservers() []string
Nameservers mocks the Nameservers method.
func (Orchestrator) Namespace ¶
func (f Orchestrator) Namespace() string
Namespace mocks the Namespace method.
func (Orchestrator) PollFrequency ¶
func (f Orchestrator) PollFrequency() time.Duration
PollFrequency mocks the PollFrequency method.
func (Orchestrator) TerminationGracePeriod ¶
func (f Orchestrator) TerminationGracePeriod() time.Duration
TerminationGracePeriod mocks the TerminationGracePeriod method.
func (Orchestrator) Timeout ¶
func (f Orchestrator) Timeout() time.Duration
Timeout mocks the Timeout method.