Documentation
¶
Index ¶
- type DataPlaneClient
- func (c DataPlaneClient) GetKeyValues(ctx context.Context, key string, label string, after string, ...) (result KeyValueListResultPage, err error)
- func (c DataPlaneClient) GetKeyValuesComplete(ctx context.Context, key string, label string, after string, ...) (result KeyValueListResultIterator, err error)
- func (c DataPlaneClient) GetKeyValuesResponder(resp *http.Response) (result KeyValueListResult, err error)
- type KeyValue
- type KeyValueListResult
- type KeyValueListResultIterator
- func (iter *KeyValueListResultIterator) Next() error
- func (iter *KeyValueListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter KeyValueListResultIterator) NotDone() bool
- func (iter KeyValueListResultIterator) Response() KeyValueListResult
- func (iter KeyValueListResultIterator) Value() KeyValue
- type KeyValueListResultPage
- func (page *KeyValueListResultPage) Next() error
- func (page *KeyValueListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page KeyValueListResultPage) NotDone() bool
- func (page KeyValueListResultPage) Response() KeyValueListResult
- func (page KeyValueListResultPage) Values() []KeyValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataPlaneClient ¶
type DataPlaneClient struct {
// contains filtered or unexported fields
}
func NewDataPlaneClient ¶
func NewDataPlaneClient(client appconfiguration.BaseClient) DataPlaneClient
func (DataPlaneClient) GetKeyValues ¶
func (c DataPlaneClient) GetKeyValues(ctx context.Context, key string, label string, after string, acceptDatetime string, selectParameter []appconfiguration.KeyValueFields) (result KeyValueListResultPage, err error)
func (DataPlaneClient) GetKeyValuesComplete ¶
func (c DataPlaneClient) GetKeyValuesComplete(ctx context.Context, key string, label string, after string, acceptDatetime string, selectParameter []appconfiguration.KeyValueFields) (result KeyValueListResultIterator, err error)
func (DataPlaneClient) GetKeyValuesResponder ¶
func (c DataPlaneClient) GetKeyValuesResponder(resp *http.Response) (result KeyValueListResult, err error)
type KeyValue ¶
type KeyValue struct { autorest.Response `json:"-"` Key *string `json:"key,omitempty"` Label *string `json:"label,omitempty"` ContentType *string `json:"content_type,omitempty"` Value *string `json:"value,omitempty"` LastModified *date.Time `json:"last_modified,omitempty"` Tags map[string]*string `json:"tags"` Locked *bool `json:"locked,omitempty"` Etag *string `json:"etag,omitempty"` }
KeyValue ...
func (KeyValue) MarshalJSON ¶
MarshalJSON is the custom marshaler for KeyValue.
type KeyValueListResult ¶
type KeyValueListResult struct { autorest.Response `json:"-"` // Items - The collection value. Items *[]KeyValue `json:"items,omitempty"` // NextLink - The URI that can be used to request the next set of paged results. NextLink *string `json:"@nextLink,omitempty"` }
KeyValueListResult the result of a list request.
func (KeyValueListResult) IsEmpty ¶
func (kvlr KeyValueListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type KeyValueListResultIterator ¶
type KeyValueListResultIterator struct {
// contains filtered or unexported fields
}
KeyValueListResultIterator provides access to a complete listing of KeyValue values.
func NewKeyValueListResultIterator ¶
func NewKeyValueListResultIterator(page KeyValueListResultPage) KeyValueListResultIterator
Creates a new instance of the KeyValueListResultIterator type.
func (*KeyValueListResultIterator) Next ¶
func (iter *KeyValueListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*KeyValueListResultIterator) NextWithContext ¶
func (iter *KeyValueListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (KeyValueListResultIterator) NotDone ¶
func (iter KeyValueListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (KeyValueListResultIterator) Response ¶
func (iter KeyValueListResultIterator) Response() KeyValueListResult
Response returns the raw server response from the last page request.
func (KeyValueListResultIterator) Value ¶
func (iter KeyValueListResultIterator) Value() KeyValue
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type KeyValueListResultPage ¶
type KeyValueListResultPage struct {
// contains filtered or unexported fields
}
KeyValueListResultPage contains a page of KeyValue values.
func NewKeyValueListResultPage ¶
func NewKeyValueListResultPage(cur KeyValueListResult, getNextPage func(context.Context, KeyValueListResult) (KeyValueListResult, error)) KeyValueListResultPage
Creates a new instance of the KeyValueListResultPage type.
func (*KeyValueListResultPage) Next ¶
func (page *KeyValueListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*KeyValueListResultPage) NextWithContext ¶
func (page *KeyValueListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (KeyValueListResultPage) NotDone ¶
func (page KeyValueListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (KeyValueListResultPage) Response ¶
func (page KeyValueListResultPage) Response() KeyValueListResult
Response returns the raw server response from the last page request.
func (KeyValueListResultPage) Values ¶
func (page KeyValueListResultPage) Values() []KeyValue
Values returns the slice of values for the current page or nil if there are no values.