Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArcSettingsServer ¶
type ArcSettingsServer struct { // Create is the fake for method ArcSettingsClient.Create // HTTP status codes to indicate success: http.StatusOK Create func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, arcSetting armazurestackhci.ArcSetting, options *armazurestackhci.ArcSettingsClientCreateOptions) (resp azfake.Responder[armazurestackhci.ArcSettingsClientCreateResponse], errResp azfake.ErrorResponder) // BeginCreateIdentity is the fake for method ArcSettingsClient.BeginCreateIdentity // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginCreateIdentity func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, options *armazurestackhci.ArcSettingsClientBeginCreateIdentityOptions) (resp azfake.PollerResponder[armazurestackhci.ArcSettingsClientCreateIdentityResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method ArcSettingsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, options *armazurestackhci.ArcSettingsClientBeginDeleteOptions) (resp azfake.PollerResponder[armazurestackhci.ArcSettingsClientDeleteResponse], errResp azfake.ErrorResponder) // GeneratePassword is the fake for method ArcSettingsClient.GeneratePassword // HTTP status codes to indicate success: http.StatusOK GeneratePassword func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, options *armazurestackhci.ArcSettingsClientGeneratePasswordOptions) (resp azfake.Responder[armazurestackhci.ArcSettingsClientGeneratePasswordResponse], errResp azfake.ErrorResponder) // Get is the fake for method ArcSettingsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, options *armazurestackhci.ArcSettingsClientGetOptions) (resp azfake.Responder[armazurestackhci.ArcSettingsClientGetResponse], errResp azfake.ErrorResponder) // NewListByClusterPager is the fake for method ArcSettingsClient.NewListByClusterPager // HTTP status codes to indicate success: http.StatusOK NewListByClusterPager func(resourceGroupName string, clusterName string, options *armazurestackhci.ArcSettingsClientListByClusterOptions) (resp azfake.PagerResponder[armazurestackhci.ArcSettingsClientListByClusterResponse]) // Update is the fake for method ArcSettingsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, arcSetting armazurestackhci.ArcSettingsPatch, options *armazurestackhci.ArcSettingsClientUpdateOptions) (resp azfake.Responder[armazurestackhci.ArcSettingsClientUpdateResponse], errResp azfake.ErrorResponder) }
ArcSettingsServer is a fake server for instances of the armazurestackhci.ArcSettingsClient type.
type ArcSettingsServerTransport ¶
type ArcSettingsServerTransport struct {
// contains filtered or unexported fields
}
ArcSettingsServerTransport connects instances of armazurestackhci.ArcSettingsClient to instances of ArcSettingsServer. Don't use this type directly, use NewArcSettingsServerTransport instead.
func NewArcSettingsServerTransport ¶
func NewArcSettingsServerTransport(srv *ArcSettingsServer) *ArcSettingsServerTransport
NewArcSettingsServerTransport creates a new instance of ArcSettingsServerTransport with the provided implementation. The returned ArcSettingsServerTransport instance is connected to an instance of armazurestackhci.ArcSettingsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ClustersServer ¶
type ClustersServer struct { // Create is the fake for method ClustersClient.Create // HTTP status codes to indicate success: http.StatusOK Create func(ctx context.Context, resourceGroupName string, clusterName string, cluster armazurestackhci.Cluster, options *armazurestackhci.ClustersClientCreateOptions) (resp azfake.Responder[armazurestackhci.ClustersClientCreateResponse], errResp azfake.ErrorResponder) // BeginCreateIdentity is the fake for method ClustersClient.BeginCreateIdentity // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginCreateIdentity func(ctx context.Context, resourceGroupName string, clusterName string, options *armazurestackhci.ClustersClientBeginCreateIdentityOptions) (resp azfake.PollerResponder[armazurestackhci.ClustersClientCreateIdentityResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method ClustersClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, options *armazurestackhci.ClustersClientBeginDeleteOptions) (resp azfake.PollerResponder[armazurestackhci.ClustersClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ClustersClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, clusterName string, options *armazurestackhci.ClustersClientGetOptions) (resp azfake.Responder[armazurestackhci.ClustersClientGetResponse], errResp azfake.ErrorResponder) // NewListByResourceGroupPager is the fake for method ClustersClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armazurestackhci.ClustersClientListByResourceGroupOptions) (resp azfake.PagerResponder[armazurestackhci.ClustersClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method ClustersClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armazurestackhci.ClustersClientListBySubscriptionOptions) (resp azfake.PagerResponder[armazurestackhci.ClustersClientListBySubscriptionResponse]) // Update is the fake for method ClustersClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, clusterName string, cluster armazurestackhci.ClusterPatch, options *armazurestackhci.ClustersClientUpdateOptions) (resp azfake.Responder[armazurestackhci.ClustersClientUpdateResponse], errResp azfake.ErrorResponder) // BeginUploadCertificate is the fake for method ClustersClient.BeginUploadCertificate // HTTP status codes to indicate success: http.StatusAccepted BeginUploadCertificate func(ctx context.Context, resourceGroupName string, clusterName string, uploadCertificateRequest armazurestackhci.UploadCertificateRequest, options *armazurestackhci.ClustersClientBeginUploadCertificateOptions) (resp azfake.PollerResponder[armazurestackhci.ClustersClientUploadCertificateResponse], errResp azfake.ErrorResponder) }
ClustersServer is a fake server for instances of the armazurestackhci.ClustersClient type.
type ClustersServerTransport ¶
type ClustersServerTransport struct {
// contains filtered or unexported fields
}
ClustersServerTransport connects instances of armazurestackhci.ClustersClient to instances of ClustersServer. Don't use this type directly, use NewClustersServerTransport instead.
func NewClustersServerTransport ¶
func NewClustersServerTransport(srv *ClustersServer) *ClustersServerTransport
NewClustersServerTransport creates a new instance of ClustersServerTransport with the provided implementation. The returned ClustersServerTransport instance is connected to an instance of armazurestackhci.ClustersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ExtensionsServer ¶
type ExtensionsServer struct { // BeginCreate is the fake for method ExtensionsClient.BeginCreate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreate func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, extensionName string, extension armazurestackhci.Extension, options *armazurestackhci.ExtensionsClientBeginCreateOptions) (resp azfake.PollerResponder[armazurestackhci.ExtensionsClientCreateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method ExtensionsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, extensionName string, options *armazurestackhci.ExtensionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armazurestackhci.ExtensionsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ExtensionsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, extensionName string, options *armazurestackhci.ExtensionsClientGetOptions) (resp azfake.Responder[armazurestackhci.ExtensionsClientGetResponse], errResp azfake.ErrorResponder) // NewListByArcSettingPager is the fake for method ExtensionsClient.NewListByArcSettingPager // HTTP status codes to indicate success: http.StatusOK NewListByArcSettingPager func(resourceGroupName string, clusterName string, arcSettingName string, options *armazurestackhci.ExtensionsClientListByArcSettingOptions) (resp azfake.PagerResponder[armazurestackhci.ExtensionsClientListByArcSettingResponse]) // BeginUpdate is the fake for method ExtensionsClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, clusterName string, arcSettingName string, extensionName string, extension armazurestackhci.Extension, options *armazurestackhci.ExtensionsClientBeginUpdateOptions) (resp azfake.PollerResponder[armazurestackhci.ExtensionsClientUpdateResponse], errResp azfake.ErrorResponder) }
ExtensionsServer is a fake server for instances of the armazurestackhci.ExtensionsClient type.
type ExtensionsServerTransport ¶
type ExtensionsServerTransport struct {
// contains filtered or unexported fields
}
ExtensionsServerTransport connects instances of armazurestackhci.ExtensionsClient to instances of ExtensionsServer. Don't use this type directly, use NewExtensionsServerTransport instead.
func NewExtensionsServerTransport ¶
func NewExtensionsServerTransport(srv *ExtensionsServer) *ExtensionsServerTransport
NewExtensionsServerTransport creates a new instance of ExtensionsServerTransport with the provided implementation. The returned ExtensionsServerTransport instance is connected to an instance of armazurestackhci.ExtensionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type OperationsServer ¶
type OperationsServer struct { // List is the fake for method OperationsClient.List // HTTP status codes to indicate success: http.StatusOK List func(ctx context.Context, options *armazurestackhci.OperationsClientListOptions) (resp azfake.Responder[armazurestackhci.OperationsClientListResponse], errResp azfake.ErrorResponder) }
OperationsServer is a fake server for instances of the armazurestackhci.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armazurestackhci.OperationsClient to instances of OperationsServer. Don't use this type directly, use NewOperationsServerTransport instead.
func NewOperationsServerTransport ¶
func NewOperationsServerTransport(srv *OperationsServer) *OperationsServerTransport
NewOperationsServerTransport creates a new instance of OperationsServerTransport with the provided implementation. The returned OperationsServerTransport instance is connected to an instance of armazurestackhci.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { ArcSettingsServer ArcSettingsServer ClustersServer ClustersServer ExtensionsServer ExtensionsServer OperationsServer OperationsServer }
ServerFactory is a fake server for instances of the armazurestackhci.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armazurestackhci.ClientFactory to instances of ServerFactory. Don't use this type directly, use NewServerFactoryTransport instead.
func NewServerFactoryTransport ¶
func NewServerFactoryTransport(srv *ServerFactory) *ServerFactoryTransport
NewServerFactoryTransport creates a new instance of ServerFactoryTransport with the provided implementation. The returned ServerFactoryTransport instance is connected to an instance of armazurestackhci.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.