Documentation ¶
Overview ¶
Package routetableclient implements the client for RouteTable.
Index ¶
Constants ¶
View Source
const (
// APIVersion is the API version for network.
APIVersion = "2019-06-01"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // ARM throttling configures. RetryAfterReader time.Time RetryAfterWriter time.Time // contains filtered or unexported fields }
Client implements RouteTable client Interface.
func New ¶
func New(config *azclients.ClientConfig) *Client
New creates a new RouteTable client with ratelimiting.
type Interface ¶
type Interface interface { // Get gets a RouteTable. Get(ctx context.Context, resourceGroupName string, routeTableName string, expand string) (result network.RouteTable, rerr *retry.Error) // CreateOrUpdate creates or updates a RouteTable. CreateOrUpdate(ctx context.Context, resourceGroupName string, routeTableName string, parameters network.RouteTable, etag string) *retry.Error }
Interface is the client interface for RouteTable. Don't forget to run the following command to generate the mock client: mockgen -source=$GOPATH/src/k8s.io/kubernetes/staging/src/k8s.io/legacy-cloud-providers/azure/clients/routetableclient/interface.go -package=mockroutetableclient Interface > $GOPATH/src/k8s.io/kubernetes/staging/src/k8s.io/legacy-cloud-providers/azure/clients/routetableclient/mockroutetableclient/interface.go
Directories ¶
Path | Synopsis |
---|---|
Package mockroutetableclient implements the mock client for RouteTable.
|
Package mockroutetableclient implements the mock client for RouteTable. |
Click to show internal directories.
Click to hide internal directories.