Documentation ¶
Index ¶
- func PossibleValuesForEncryptionAtHost() []string
- func PossibleValuesForFipsValidatedModules() []string
- func PossibleValuesForOutboundType() []string
- func PossibleValuesForPreconfiguredNSG() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForVisibility() []string
- func ValidateProviderOpenShiftClusterID(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 ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListCredentialsOperationResponse
- type ListCustomPager
- type ListOperationResponse
- type MasterProfile
- type NetworkProfile
- type OpenShiftCluster
- type OpenShiftClusterAdminKubeconfig
- type OpenShiftClusterCredentials
- type OpenShiftClusterOperationPredicate
- type OpenShiftClusterProperties
- type OpenShiftClusterUpdate
- type OpenShiftClustersClient
- func (c OpenShiftClustersClient) CreateOrUpdate(ctx context.Context, id ProviderOpenShiftClusterId, input OpenShiftCluster) (result CreateOrUpdateOperationResponse, err error)
- func (c OpenShiftClustersClient) CreateOrUpdateThenPoll(ctx context.Context, id ProviderOpenShiftClusterId, input OpenShiftCluster) error
- func (c OpenShiftClustersClient) Delete(ctx context.Context, id ProviderOpenShiftClusterId) (result DeleteOperationResponse, err error)
- func (c OpenShiftClustersClient) DeleteThenPoll(ctx context.Context, id ProviderOpenShiftClusterId) error
- func (c OpenShiftClustersClient) Get(ctx context.Context, id ProviderOpenShiftClusterId) (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 ProviderOpenShiftClusterId) (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 ProviderOpenShiftClusterId) (result ListCredentialsOperationResponse, err error)
- func (c OpenShiftClustersClient) Update(ctx context.Context, id ProviderOpenShiftClusterId, ...) (result UpdateOperationResponse, err error)
- func (c OpenShiftClustersClient) UpdateThenPoll(ctx context.Context, id ProviderOpenShiftClusterId, ...) error
- type OutboundType
- type PreconfiguredNSG
- type ProviderOpenShiftClusterId
- func NewProviderOpenShiftClusterID(subscriptionId string, resourceGroupName string, openShiftClusterName string) ProviderOpenShiftClusterId
- func ParseProviderOpenShiftClusterID(input string) (*ProviderOpenShiftClusterId, error)
- func ParseProviderOpenShiftClusterIDInsensitively(input string) (*ProviderOpenShiftClusterId, 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 PossibleValuesForOutboundType ¶
func PossibleValuesForOutboundType() []string
func PossibleValuesForPreconfiguredNSG ¶
func PossibleValuesForPreconfiguredNSG() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForVisibility ¶
func PossibleValuesForVisibility() []string
func ValidateProviderOpenShiftClusterID ¶
func ValidateProviderOpenShiftClusterID(input interface{}, key string) (warnings []string, errors []error)
ValidateProviderOpenShiftClusterID checks that 'input' can be parsed as a Provider 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 ¶
func (s *EncryptionAtHost) UnmarshalJSON(bytes []byte) error
type FipsValidatedModules ¶
type FipsValidatedModules string
const ( FipsValidatedModulesDisabled FipsValidatedModules = "Disabled" FipsValidatedModulesEnabled FipsValidatedModules = "Enabled" )
func (*FipsValidatedModules) UnmarshalJSON ¶
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 { LatestHttpResponse *http.Response Items []OpenShiftCluster }
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]OpenShiftCluster }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []OpenShiftCluster }
type ListCredentialsOperationResponse ¶
type ListCredentialsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *OpenShiftClusterCredentials }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
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 NetworkProfile struct { OutboundType *OutboundType `json:"outboundType,omitempty"` PodCidr *string `json:"podCidr,omitempty"` PreconfiguredNSG *PreconfiguredNSG `json:"preconfiguredNSG,omitempty"` ServiceCidr *string `json:"serviceCidr,omitempty"` }
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 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"` WorkerProfilesStatus *[]WorkerProfile `json:"workerProfilesStatus,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(sdkApi sdkEnv.Api) (*OpenShiftClustersClient, error)
func (OpenShiftClustersClient) CreateOrUpdate ¶
func (c OpenShiftClustersClient) CreateOrUpdate(ctx context.Context, id ProviderOpenShiftClusterId, input OpenShiftCluster) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (OpenShiftClustersClient) CreateOrUpdateThenPoll ¶
func (c OpenShiftClustersClient) CreateOrUpdateThenPoll(ctx context.Context, id ProviderOpenShiftClusterId, input OpenShiftCluster) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (OpenShiftClustersClient) Delete ¶
func (c OpenShiftClustersClient) Delete(ctx context.Context, id ProviderOpenShiftClusterId) (result DeleteOperationResponse, err error)
Delete ...
func (OpenShiftClustersClient) DeleteThenPoll ¶
func (c OpenShiftClustersClient) DeleteThenPoll(ctx context.Context, id ProviderOpenShiftClusterId) error
DeleteThenPoll performs Delete then polls until it's completed
func (OpenShiftClustersClient) Get ¶
func (c OpenShiftClustersClient) Get(ctx context.Context, id ProviderOpenShiftClusterId) (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 ProviderOpenShiftClusterId) (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 ProviderOpenShiftClusterId) (result ListCredentialsOperationResponse, err error)
ListCredentials ...
func (OpenShiftClustersClient) Update ¶
func (c OpenShiftClustersClient) Update(ctx context.Context, id ProviderOpenShiftClusterId, input OpenShiftClusterUpdate) (result UpdateOperationResponse, err error)
Update ...
func (OpenShiftClustersClient) UpdateThenPoll ¶
func (c OpenShiftClustersClient) UpdateThenPoll(ctx context.Context, id ProviderOpenShiftClusterId, input OpenShiftClusterUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type OutboundType ¶
type OutboundType string
const ( OutboundTypeLoadbalancer OutboundType = "Loadbalancer" OutboundTypeUserDefinedRouting OutboundType = "UserDefinedRouting" )
func (*OutboundType) UnmarshalJSON ¶
func (s *OutboundType) UnmarshalJSON(bytes []byte) error
type PreconfiguredNSG ¶
type PreconfiguredNSG string
const ( PreconfiguredNSGDisabled PreconfiguredNSG = "Disabled" PreconfiguredNSGEnabled PreconfiguredNSG = "Enabled" )
func (*PreconfiguredNSG) UnmarshalJSON ¶
func (s *PreconfiguredNSG) UnmarshalJSON(bytes []byte) error
type ProviderOpenShiftClusterId ¶
type ProviderOpenShiftClusterId struct { SubscriptionId string ResourceGroupName string OpenShiftClusterName string }
ProviderOpenShiftClusterId is a struct representing the Resource ID for a Provider Open Shift Cluster
func NewProviderOpenShiftClusterID ¶
func NewProviderOpenShiftClusterID(subscriptionId string, resourceGroupName string, openShiftClusterName string) ProviderOpenShiftClusterId
NewProviderOpenShiftClusterID returns a new ProviderOpenShiftClusterId struct
func ParseProviderOpenShiftClusterID ¶
func ParseProviderOpenShiftClusterID(input string) (*ProviderOpenShiftClusterId, error)
ParseProviderOpenShiftClusterID parses 'input' into a ProviderOpenShiftClusterId
func ParseProviderOpenShiftClusterIDInsensitively ¶
func ParseProviderOpenShiftClusterIDInsensitively(input string) (*ProviderOpenShiftClusterId, error)
ParseProviderOpenShiftClusterIDInsensitively parses 'input' case-insensitively into a ProviderOpenShiftClusterId note: this method should only be used for API response data and not user input
func (*ProviderOpenShiftClusterId) FromParseResult ¶
func (id *ProviderOpenShiftClusterId) FromParseResult(input resourceids.ParseResult) error
func (ProviderOpenShiftClusterId) ID ¶
func (id ProviderOpenShiftClusterId) ID() string
ID returns the formatted Provider Open Shift Cluster ID
func (ProviderOpenShiftClusterId) Segments ¶
func (id ProviderOpenShiftClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Open Shift Cluster ID
func (ProviderOpenShiftClusterId) String ¶
func (id ProviderOpenShiftClusterId) String() string
String returns a human-readable description of this Provider Open Shift Cluster ID
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 ¶
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 ¶
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_provideropenshiftcluster.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