Documentation
¶
Index ¶
- Constants
- func WithRPC(rpc nervous.Controller) option
- type SupbSponge
- func (r *SupbSponge) Close() error
- func (r *SupbSponge) GetAgentGuid(ct *compose.Containers) string
- func (r *SupbSponge) GetContainerGuid(ct *compose.Containers) string
- func (r *SupbSponge) InitFlags(flags *pflag.FlagSet)
- func (r *SupbSponge) InitViper(viper *viper.Viper)
- func (r *SupbSponge) Initialize(opts ...option)
- func (r *SupbSponge) OptionConfig(opts ...option)
- func (r *SupbSponge) ViperConfig(viper *viper.Viper)
Constants ¶
View Source
const ( TryInterval = ".interval" TryTimes = ".times" )
Variables ¶
This section is empty.
Functions ¶
func WithRPC ¶
func WithRPC(rpc nervous.Controller) option
Types ¶
type SupbSponge ¶
type SupbSponge struct {
// contains filtered or unexported fields
}
func NewSupbSponge ¶
func NewSupbSponge(ctx context.Context, prefix string) *SupbSponge
func (*SupbSponge) Close ¶
func (r *SupbSponge) Close() error
func (*SupbSponge) GetAgentGuid ¶
func (r *SupbSponge) GetAgentGuid(ct *compose.Containers) string
func (*SupbSponge) GetContainerGuid ¶
func (r *SupbSponge) GetContainerGuid(ct *compose.Containers) string
func (*SupbSponge) InitFlags ¶
func (r *SupbSponge) InitFlags(flags *pflag.FlagSet)
func (*SupbSponge) InitViper ¶
func (r *SupbSponge) InitViper(viper *viper.Viper)
func (*SupbSponge) Initialize ¶
func (r *SupbSponge) Initialize(opts ...option)
func (*SupbSponge) OptionConfig ¶
func (r *SupbSponge) OptionConfig(opts ...option)
func (*SupbSponge) ViperConfig ¶
func (r *SupbSponge) ViperConfig(viper *viper.Viper)
Click to show internal directories.
Click to hide internal directories.