Documentation
¶
Index ¶
- type ServiceBuilderClient
- func (c *ServiceBuilderClient) AddAddress2(ctx context.Context, arg0 string, arg1 int32) (int64, error)
- func (c *ServiceBuilderClient) AddAddress2_1(ctx context.Context, arg0 int64, arg1 int32) (int64, error)
- func (c *ServiceBuilderClient) AddAllowedApplication(ctx context.Context, arg0 string) (int64, error)
- func (c *ServiceBuilderClient) AddDisallowedApplication(ctx context.Context, arg0 string) (int64, error)
- func (c *ServiceBuilderClient) AddDnsServer1(ctx context.Context, arg0 string) (int64, error)
- func (c *ServiceBuilderClient) AddDnsServer1_1(ctx context.Context, arg0 int64) (int64, error)
- func (c *ServiceBuilderClient) AddRoute1(ctx context.Context, arg0 int64) (int64, error)
- func (c *ServiceBuilderClient) AddRoute2_1(ctx context.Context, arg0 string, arg1 int32) (int64, error)
- func (c *ServiceBuilderClient) AddRoute2_2(ctx context.Context, arg0 int64, arg1 int32) (int64, error)
- func (c *ServiceBuilderClient) AddSearchDomain(ctx context.Context, arg0 string) (int64, error)
- func (c *ServiceBuilderClient) AllowBypass(ctx context.Context) (int64, error)
- func (c *ServiceBuilderClient) AllowFamily(ctx context.Context, arg0 int32) (int64, error)
- func (c *ServiceBuilderClient) Establish(ctx context.Context) (int64, error)
- func (c *ServiceBuilderClient) ExcludeRoute(ctx context.Context, arg0 int64) (int64, error)
- func (c *ServiceBuilderClient) SetBlocking(ctx context.Context, arg0 bool) (int64, error)
- func (c *ServiceBuilderClient) SetConfigureIntent(ctx context.Context, arg0 int64) (int64, error)
- func (c *ServiceBuilderClient) SetHttpProxy(ctx context.Context, arg0 int64) (int64, error)
- func (c *ServiceBuilderClient) SetMetered(ctx context.Context, arg0 bool) (int64, error)
- func (c *ServiceBuilderClient) SetMtu(ctx context.Context, arg0 int32) (int64, error)
- func (c *ServiceBuilderClient) SetSession(ctx context.Context, arg0 string) (int64, error)
- func (c *ServiceBuilderClient) SetUnderlyingNetworks(ctx context.Context, arg0 int64) (int64, error)
- type ServiceClient
- func (c *ServiceClient) IsAlwaysOn(ctx context.Context, handle int64) (bool, error)
- func (c *ServiceClient) IsLockdownEnabled(ctx context.Context, handle int64) (bool, error)
- func (c *ServiceClient) OnBind(ctx context.Context, handle int64, arg0 int64) (int64, error)
- func (c *ServiceClient) OnRevoke(ctx context.Context, handle int64) error
- func (c *ServiceClient) Prepare(ctx context.Context, handle int64, arg0 int64) (int64, error)
- func (c *ServiceClient) Protect1(ctx context.Context, handle int64, arg0 int32) (bool, error)
- func (c *ServiceClient) Protect1_1(ctx context.Context, handle int64, arg0 int64) (bool, error)
- func (c *ServiceClient) Protect1_2(ctx context.Context, handle int64, arg0 int64) (bool, error)
- func (c *ServiceClient) SetUnderlyingNetworks(ctx context.Context, handle int64, arg0 int64) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceBuilderClient ¶
type ServiceBuilderClient struct {
// contains filtered or unexported fields
}
ServiceBuilderClient wraps the gRPC ServiceBuilderService client.
func NewServiceBuilderClient ¶
func NewServiceBuilderClient(cc grpc.ClientConnInterface) *ServiceBuilderClient
NewServiceBuilderClient creates a new ServiceBuilder client.
func (*ServiceBuilderClient) AddAddress2 ¶
func (c *ServiceBuilderClient) AddAddress2(ctx context.Context, arg0 string, arg1 int32) (int64, error)
AddAddress2 calls the AddAddress2 RPC.
func (*ServiceBuilderClient) AddAddress2_1 ¶
func (c *ServiceBuilderClient) AddAddress2_1(ctx context.Context, arg0 int64, arg1 int32) (int64, error)
AddAddress2_1 calls the AddAddress2_1 RPC.
func (*ServiceBuilderClient) AddAllowedApplication ¶
func (c *ServiceBuilderClient) AddAllowedApplication(ctx context.Context, arg0 string) (int64, error)
AddAllowedApplication calls the AddAllowedApplication RPC.
func (*ServiceBuilderClient) AddDisallowedApplication ¶
func (c *ServiceBuilderClient) AddDisallowedApplication(ctx context.Context, arg0 string) (int64, error)
AddDisallowedApplication calls the AddDisallowedApplication RPC.
func (*ServiceBuilderClient) AddDnsServer1 ¶
AddDnsServer1 calls the AddDnsServer1 RPC.
func (*ServiceBuilderClient) AddDnsServer1_1 ¶
AddDnsServer1_1 calls the AddDnsServer1_1 RPC.
func (*ServiceBuilderClient) AddRoute2_1 ¶
func (c *ServiceBuilderClient) AddRoute2_1(ctx context.Context, arg0 string, arg1 int32) (int64, error)
AddRoute2_1 calls the AddRoute2_1 RPC.
func (*ServiceBuilderClient) AddRoute2_2 ¶
func (c *ServiceBuilderClient) AddRoute2_2(ctx context.Context, arg0 int64, arg1 int32) (int64, error)
AddRoute2_2 calls the AddRoute2_2 RPC.
func (*ServiceBuilderClient) AddSearchDomain ¶
AddSearchDomain calls the AddSearchDomain RPC.
func (*ServiceBuilderClient) AllowBypass ¶
func (c *ServiceBuilderClient) AllowBypass(ctx context.Context) (int64, error)
AllowBypass calls the AllowBypass RPC.
func (*ServiceBuilderClient) AllowFamily ¶
AllowFamily calls the AllowFamily RPC.
func (*ServiceBuilderClient) Establish ¶
func (c *ServiceBuilderClient) Establish(ctx context.Context) (int64, error)
Establish calls the Establish RPC.
func (*ServiceBuilderClient) ExcludeRoute ¶
ExcludeRoute calls the ExcludeRoute RPC.
func (*ServiceBuilderClient) SetBlocking ¶
SetBlocking calls the SetBlocking RPC.
func (*ServiceBuilderClient) SetConfigureIntent ¶
SetConfigureIntent calls the SetConfigureIntent RPC.
func (*ServiceBuilderClient) SetHttpProxy ¶
SetHttpProxy calls the SetHttpProxy RPC.
func (*ServiceBuilderClient) SetMetered ¶
SetMetered calls the SetMetered RPC.
func (*ServiceBuilderClient) SetSession ¶
SetSession calls the SetSession RPC.
func (*ServiceBuilderClient) SetUnderlyingNetworks ¶
func (c *ServiceBuilderClient) SetUnderlyingNetworks(ctx context.Context, arg0 int64) (int64, error)
SetUnderlyingNetworks calls the SetUnderlyingNetworks RPC.
type ServiceClient ¶
type ServiceClient struct {
// contains filtered or unexported fields
}
ServiceClient wraps the gRPC ServiceService client.
func NewServiceClient ¶
func NewServiceClient(cc grpc.ClientConnInterface) *ServiceClient
NewServiceClient creates a new Service client.
func (*ServiceClient) IsAlwaysOn ¶
IsAlwaysOn calls the IsAlwaysOn RPC.
func (*ServiceClient) IsLockdownEnabled ¶
IsLockdownEnabled calls the IsLockdownEnabled RPC.
func (*ServiceClient) OnRevoke ¶
func (c *ServiceClient) OnRevoke(ctx context.Context, handle int64) error
OnRevoke calls the OnRevoke RPC.
func (*ServiceClient) Protect1_1 ¶
Protect1_1 calls the Protect1_1 RPC.
func (*ServiceClient) Protect1_2 ¶
Protect1_2 calls the Protect1_2 RPC.
func (*ServiceClient) SetUnderlyingNetworks ¶
func (c *ServiceClient) SetUnderlyingNetworks(ctx context.Context, handle int64, arg0 int64) (bool, error)
SetUnderlyingNetworks calls the SetUnderlyingNetworks RPC.