Documentation ¶
Index ¶
- func PossibleValuesForEncryptionAtHost() []string
- func PossibleValuesForFipsValidatedModules() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForVisibility() []string
- func ValidateOpenShiftClusterID(input interface{}, key string) (warnings []string, errors []error)
- type APIServerProfile
- type ClusterProfile
- type ConsoleProfile
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EncryptionAtHost
- type FipsValidatedModules
- type GetOperationResponse
- type IngressProfile
- type ListAdminCredentialsOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListCredentialsOperationResponse
- type ListOperationResponse
- type MasterProfile
- type NetworkProfile
- type OpenShiftCluster
- type OpenShiftClusterAdminKubeconfig
- type OpenShiftClusterCredentials
- type OpenShiftClusterId
- type OpenShiftClusterOperationPredicate
- type OpenShiftClusterProperties
- type OpenShiftClusterUpdate
- type OpenShiftClustersClient
- func (c OpenShiftClustersClient) CreateOrUpdate(ctx context.Context, id OpenShiftClusterId, input OpenShiftCluster) (result CreateOrUpdateOperationResponse, err error)
- func (c OpenShiftClustersClient) CreateOrUpdateThenPoll(ctx context.Context, id OpenShiftClusterId, input OpenShiftCluster) error
- func (c OpenShiftClustersClient) Delete(ctx context.Context, id OpenShiftClusterId) (result DeleteOperationResponse, err error)
- func (c OpenShiftClustersClient) DeleteThenPoll(ctx context.Context, id OpenShiftClusterId) error
- func (c OpenShiftClustersClient) Get(ctx context.Context, id OpenShiftClusterId) (result GetOperationResponse, err error)
- func (c OpenShiftClustersClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c OpenShiftClustersClient) ListAdminCredentials(ctx context.Context, id OpenShiftClusterId) (result ListAdminCredentialsOperationResponse, err error)
- func (c OpenShiftClustersClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c OpenShiftClustersClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c OpenShiftClustersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c OpenShiftClustersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c OpenShiftClustersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error)
- func (c OpenShiftClustersClient) ListCredentials(ctx context.Context, id OpenShiftClusterId) (result ListCredentialsOperationResponse, err error)
- func (c OpenShiftClustersClient) Update(ctx context.Context, id OpenShiftClusterId, input OpenShiftClusterUpdate) (result UpdateOperationResponse, err error)
- func (c OpenShiftClustersClient) UpdateThenPoll(ctx context.Context, id OpenShiftClusterId, input OpenShiftClusterUpdate) error
- type ProvisioningState
- type ServicePrincipalProfile
- type UpdateOperationResponse
- type Visibility
- type WorkerProfile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEncryptionAtHost ¶
func PossibleValuesForEncryptionAtHost() []string
func PossibleValuesForFipsValidatedModules ¶
func PossibleValuesForFipsValidatedModules() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForVisibility ¶
func PossibleValuesForVisibility() []string
func ValidateOpenShiftClusterID ¶
ValidateOpenShiftClusterID checks that 'input' can be parsed as a Open Shift Cluster ID
Types ¶
type APIServerProfile ¶
type APIServerProfile struct { IP *string `json:"ip,omitempty"` Url *string `json:"url,omitempty"` Visibility *Visibility `json:"visibility,omitempty"` }
type ClusterProfile ¶
type ClusterProfile struct { Domain *string `json:"domain,omitempty"` FipsValidatedModules *FipsValidatedModules `json:"fipsValidatedModules,omitempty"` PullSecret *string `json:"pullSecret,omitempty"` ResourceGroupId *string `json:"resourceGroupId,omitempty"` Version *string `json:"version,omitempty"` }
type ConsoleProfile ¶
type ConsoleProfile struct {
Url *string `json:"url,omitempty"`
}
type DeleteOperationResponse ¶
type EncryptionAtHost ¶
type EncryptionAtHost string
const ( EncryptionAtHostDisabled EncryptionAtHost = "Disabled" EncryptionAtHostEnabled EncryptionAtHost = "Enabled" )
func (*EncryptionAtHost) UnmarshalJSON ¶ added in v0.20230516.1215417
func (s *EncryptionAtHost) UnmarshalJSON(bytes []byte) error
type FipsValidatedModules ¶
type FipsValidatedModules string
const ( FipsValidatedModulesDisabled FipsValidatedModules = "Disabled" FipsValidatedModulesEnabled FipsValidatedModules = "Enabled" )
func (*FipsValidatedModules) UnmarshalJSON ¶ added in v0.20230516.1215417
func (s *FipsValidatedModules) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *OpenShiftCluster }
type IngressProfile ¶
type IngressProfile struct { IP *string `json:"ip,omitempty"` Name *string `json:"name,omitempty"` Visibility *Visibility `json:"visibility,omitempty"` }
type ListAdminCredentialsOperationResponse ¶
type ListAdminCredentialsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *OpenShiftClusterAdminKubeconfig }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []OpenShiftCluster
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]OpenShiftCluster }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []OpenShiftCluster
}
type ListCredentialsOperationResponse ¶
type ListCredentialsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *OpenShiftClusterCredentials }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]OpenShiftCluster }
type MasterProfile ¶
type MasterProfile struct { DiskEncryptionSetId *string `json:"diskEncryptionSetId,omitempty"` EncryptionAtHost *EncryptionAtHost `json:"encryptionAtHost,omitempty"` SubnetId *string `json:"subnetId,omitempty"` VMSize *string `json:"vmSize,omitempty"` }
type NetworkProfile ¶
type OpenShiftCluster ¶
type OpenShiftCluster struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *OpenShiftClusterProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type OpenShiftClusterAdminKubeconfig ¶
type OpenShiftClusterAdminKubeconfig struct {
Kubeconfig *string `json:"kubeconfig,omitempty"`
}
type OpenShiftClusterId ¶
type OpenShiftClusterId struct { SubscriptionId string ResourceGroupName string OpenShiftClusterName string }
OpenShiftClusterId is a struct representing the Resource ID for a Open Shift Cluster
func NewOpenShiftClusterID ¶
func NewOpenShiftClusterID(subscriptionId string, resourceGroupName string, openShiftClusterName string) OpenShiftClusterId
NewOpenShiftClusterID returns a new OpenShiftClusterId struct
func ParseOpenShiftClusterID ¶
func ParseOpenShiftClusterID(input string) (*OpenShiftClusterId, error)
ParseOpenShiftClusterID parses 'input' into a OpenShiftClusterId
func ParseOpenShiftClusterIDInsensitively ¶
func ParseOpenShiftClusterIDInsensitively(input string) (*OpenShiftClusterId, error)
ParseOpenShiftClusterIDInsensitively parses 'input' case-insensitively into a OpenShiftClusterId note: this method should only be used for API response data and not user input
func (OpenShiftClusterId) ID ¶
func (id OpenShiftClusterId) ID() string
ID returns the formatted Open Shift Cluster ID
func (OpenShiftClusterId) Segments ¶
func (id OpenShiftClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Open Shift Cluster ID
func (OpenShiftClusterId) String ¶
func (id OpenShiftClusterId) String() string
String returns a human-readable description of this Open Shift Cluster ID
type OpenShiftClusterOperationPredicate ¶
type OpenShiftClusterOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (OpenShiftClusterOperationPredicate) Matches ¶
func (p OpenShiftClusterOperationPredicate) Matches(input OpenShiftCluster) bool
type OpenShiftClusterProperties ¶
type OpenShiftClusterProperties struct { ApiserverProfile *APIServerProfile `json:"apiserverProfile,omitempty"` ClusterProfile *ClusterProfile `json:"clusterProfile,omitempty"` ConsoleProfile *ConsoleProfile `json:"consoleProfile,omitempty"` IngressProfiles *[]IngressProfile `json:"ingressProfiles,omitempty"` MasterProfile *MasterProfile `json:"masterProfile,omitempty"` NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ServicePrincipalProfile *ServicePrincipalProfile `json:"servicePrincipalProfile,omitempty"` WorkerProfiles *[]WorkerProfile `json:"workerProfiles,omitempty"` }
type OpenShiftClusterUpdate ¶
type OpenShiftClusterUpdate struct { Properties *OpenShiftClusterProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type OpenShiftClustersClient ¶
type OpenShiftClustersClient struct {
Client *resourcemanager.Client
}
func NewOpenShiftClustersClientWithBaseURI ¶
func NewOpenShiftClustersClientWithBaseURI(api environments.Api) (*OpenShiftClustersClient, error)
func (OpenShiftClustersClient) CreateOrUpdate ¶
func (c OpenShiftClustersClient) CreateOrUpdate(ctx context.Context, id OpenShiftClusterId, input OpenShiftCluster) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (OpenShiftClustersClient) CreateOrUpdateThenPoll ¶
func (c OpenShiftClustersClient) CreateOrUpdateThenPoll(ctx context.Context, id OpenShiftClusterId, input OpenShiftCluster) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (OpenShiftClustersClient) Delete ¶
func (c OpenShiftClustersClient) Delete(ctx context.Context, id OpenShiftClusterId) (result DeleteOperationResponse, err error)
Delete ...
func (OpenShiftClustersClient) DeleteThenPoll ¶
func (c OpenShiftClustersClient) DeleteThenPoll(ctx context.Context, id OpenShiftClusterId) error
DeleteThenPoll performs Delete then polls until it's completed
func (OpenShiftClustersClient) Get ¶
func (c OpenShiftClustersClient) Get(ctx context.Context, id OpenShiftClusterId) (result GetOperationResponse, err error)
Get ...
func (OpenShiftClustersClient) List ¶
func (c OpenShiftClustersClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (OpenShiftClustersClient) ListAdminCredentials ¶
func (c OpenShiftClustersClient) ListAdminCredentials(ctx context.Context, id OpenShiftClusterId) (result ListAdminCredentialsOperationResponse, err error)
ListAdminCredentials ...
func (OpenShiftClustersClient) ListByResourceGroup ¶
func (c OpenShiftClustersClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (OpenShiftClustersClient) ListByResourceGroupComplete ¶
func (c OpenShiftClustersClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (OpenShiftClustersClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c OpenShiftClustersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate OpenShiftClusterOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (OpenShiftClustersClient) ListComplete ¶
func (c OpenShiftClustersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (OpenShiftClustersClient) ListCompleteMatchingPredicate ¶
func (c OpenShiftClustersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate OpenShiftClusterOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (OpenShiftClustersClient) ListCredentials ¶
func (c OpenShiftClustersClient) ListCredentials(ctx context.Context, id OpenShiftClusterId) (result ListCredentialsOperationResponse, err error)
ListCredentials ...
func (OpenShiftClustersClient) Update ¶
func (c OpenShiftClustersClient) Update(ctx context.Context, id OpenShiftClusterId, input OpenShiftClusterUpdate) (result UpdateOperationResponse, err error)
Update ...
func (OpenShiftClustersClient) UpdateThenPoll ¶
func (c OpenShiftClustersClient) UpdateThenPoll(ctx context.Context, id OpenShiftClusterId, input OpenShiftClusterUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAdminUpdating ProvisioningState = "AdminUpdating" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20230516.1215417
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type ServicePrincipalProfile ¶
type UpdateOperationResponse ¶
type Visibility ¶
type Visibility string
const ( VisibilityPrivate Visibility = "Private" VisibilityPublic Visibility = "Public" )
func (*Visibility) UnmarshalJSON ¶ added in v0.20230516.1215417
func (s *Visibility) UnmarshalJSON(bytes []byte) error
type WorkerProfile ¶
type WorkerProfile struct { Count *int64 `json:"count,omitempty"` DiskEncryptionSetId *string `json:"diskEncryptionSetId,omitempty"` DiskSizeGB *int64 `json:"diskSizeGB,omitempty"` EncryptionAtHost *EncryptionAtHost `json:"encryptionAtHost,omitempty"` Name *string `json:"name,omitempty"` SubnetId *string `json:"subnetId,omitempty"` VMSize *string `json:"vmSize,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_openshiftcluster.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listadmincredentials.go
- method_listbyresourcegroup.go
- method_listcredentials.go
- method_update.go
- model_apiserverprofile.go
- model_clusterprofile.go
- model_consoleprofile.go
- model_ingressprofile.go
- model_masterprofile.go
- model_networkprofile.go
- model_openshiftcluster.go
- model_openshiftclusteradminkubeconfig.go
- model_openshiftclustercredentials.go
- model_openshiftclusterproperties.go
- model_openshiftclusterupdate.go
- model_serviceprincipalprofile.go
- model_workerprofile.go
- predicates.go
- version.go