Documentation ¶
Index ¶
- type ProxiesQuery
- type Proxy
- func (p *Proxy) GetHost() string
- func (p *Proxy) GetName() string
- func (p *Proxy) GetPassword() *core.SensitiveValue
- func (p *Proxy) GetPort() int
- func (p *Proxy) GetSpaceID() string
- func (p *Proxy) GetUsername() string
- func (p *Proxy) SetHost(host string)
- func (p *Proxy) SetName(name string)
- func (p *Proxy) SetPassword(password *core.SensitiveValue)
- func (p *Proxy) SetPort(port int)
- func (p *Proxy) SetSpaceID(spaceID string)
- func (p *Proxy) SetUsername(username string)
- type ProxyService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxiesQuery ¶
type Proxy ¶ added in v2.13.0
type Proxy struct { Name string `json:"Name" validate:"required,notblank"` SpaceID string `json:"SpaceId,omitempty"` Host string `json:"Host,omitempty"` Port int `json:"Port,omitempty"` Username string `json:"Username,omitempty"` Password *core.SensitiveValue `json:"Password,omitempty"` ProxyType string `json:"ProxyType,omitempty" validate:"oneof=HTTP"` resources.Resource }
func (*Proxy) GetPassword ¶ added in v2.13.0
func (p *Proxy) GetPassword() *core.SensitiveValue
func (*Proxy) GetSpaceID ¶ added in v2.13.0
func (*Proxy) GetUsername ¶ added in v2.13.0
func (*Proxy) SetPassword ¶ added in v2.13.0
func (p *Proxy) SetPassword(password *core.SensitiveValue)
func (*Proxy) SetSpaceID ¶ added in v2.13.0
func (*Proxy) SetUsername ¶ added in v2.13.0
type ProxyService ¶
type ProxyService struct {
services.CanDeleteService
}
func NewProxyService ¶
func NewProxyService(sling *sling.Sling, uriTemplate string) *ProxyService
func (*ProxyService) GetAll ¶ added in v2.13.0
func (p *ProxyService) GetAll() ([]*Proxy, error)
Click to show internal directories.
Click to hide internal directories.