-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Releasing version 65.76.0
- Loading branch information
Showing
74 changed files
with
2,296 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. | ||
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. | ||
// Code generated. DO NOT EDIT. | ||
|
||
// Kubernetes Engine API | ||
// | ||
// API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, | ||
// and manage cloud-native applications. For more information, see | ||
// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). | ||
// | ||
|
||
package containerengine | ||
|
||
import ( | ||
"fmt" | ||
"github.com/oracle/oci-go-sdk/v65/common" | ||
"strings" | ||
) | ||
|
||
// OpenIdConnectDiscovery The property that define the status of the OIDC Discovery feature for a cluster. | ||
type OpenIdConnectDiscovery struct { | ||
|
||
// Whether the cluster has OIDC Discovery enabled. Defaults to false. If set to true, the cluster will be assigned a public OIDC Discovery endpoint. | ||
IsOpenIdConnectDiscoveryEnabled *bool `mandatory:"false" json:"isOpenIdConnectDiscoveryEnabled"` | ||
} | ||
|
||
func (m OpenIdConnectDiscovery) String() string { | ||
return common.PointerString(m) | ||
} | ||
|
||
// ValidateEnumValue returns an error when providing an unsupported enum value | ||
// This function is being called during constructing API request process | ||
// Not recommended for calling this function directly | ||
func (m OpenIdConnectDiscovery) ValidateEnumValue() (bool, error) { | ||
errMessage := []string{} | ||
|
||
if len(errMessage) > 0 { | ||
return true, fmt.Errorf(strings.Join(errMessage, "\n")) | ||
} | ||
return false, nil | ||
} |
77 changes: 77 additions & 0 deletions
77
containerengine/open_id_connect_token_authentication_config.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. | ||
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. | ||
// Code generated. DO NOT EDIT. | ||
|
||
// Kubernetes Engine API | ||
// | ||
// API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, | ||
// and manage cloud-native applications. For more information, see | ||
// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). | ||
// | ||
|
||
package containerengine | ||
|
||
import ( | ||
"fmt" | ||
"github.com/oracle/oci-go-sdk/v65/common" | ||
"strings" | ||
) | ||
|
||
// OpenIdConnectTokenAuthenticationConfig The properties that configure OIDC token authentication in kube-apiserver. | ||
// For more information, see Configuring the API Server (https://kubernetes.io/docs/reference/access-authn-authz/authentication/#using-flags). | ||
type OpenIdConnectTokenAuthenticationConfig struct { | ||
|
||
// Whether the cluster has OIDC Auth Config enabled. Defaults to false. | ||
IsOpenIdConnectAuthEnabled *bool `mandatory:"true" json:"isOpenIdConnectAuthEnabled"` | ||
|
||
// URL of the provider that allows the API server to discover public signing keys. | ||
// Only URLs that use the https:// scheme are accepted. This is typically the provider's discovery URL, | ||
// changed to have an empty path. | ||
IssuerUrl *string `mandatory:"false" json:"issuerUrl"` | ||
|
||
// A client id that all tokens must be issued for. | ||
ClientId *string `mandatory:"false" json:"clientId"` | ||
|
||
// JWT claim to use as the user name. By default sub, which is expected to be a unique identifier of the end | ||
// user. Admins can choose other claims, such as email or name, depending on their provider. However, claims | ||
// other than email will be prefixed with the issuer URL to prevent naming clashes with other plugins. | ||
UsernameClaim *string `mandatory:"false" json:"usernameClaim"` | ||
|
||
// Prefix prepended to username claims to prevent clashes with existing names (such as system:users). | ||
// For example, the value oidc: will create usernames like oidc:jane.doe. If this flag isn't provided and | ||
// --oidc-username-claim is a value other than email the prefix defaults to ( Issuer URL )# where | ||
// ( Issuer URL ) is the value of --oidc-issuer-url. The value - can be used to disable all prefixing. | ||
UsernamePrefix *string `mandatory:"false" json:"usernamePrefix"` | ||
|
||
// JWT claim to use as the user's group. If the claim is present it must be an array of strings. | ||
GroupsClaim *string `mandatory:"false" json:"groupsClaim"` | ||
|
||
// Prefix prepended to group claims to prevent clashes with existing names (such as system:groups). | ||
GroupsPrefix *string `mandatory:"false" json:"groupsPrefix"` | ||
|
||
// A key=value pair that describes a required claim in the ID Token. If set, the claim is verified to be present | ||
// in the ID Token with a matching value. Repeat this flag to specify multiple claims. | ||
RequiredClaims []KeyValue `mandatory:"false" json:"requiredClaims"` | ||
|
||
// A Base64 encoded public RSA or ECDSA certificates used to signed your identity provider's web certificate. | ||
CaCertificate *string `mandatory:"false" json:"caCertificate"` | ||
|
||
// The signing algorithms accepted. Default is ["RS256"]. | ||
SigningAlgorithms []string `mandatory:"false" json:"signingAlgorithms"` | ||
} | ||
|
||
func (m OpenIdConnectTokenAuthenticationConfig) String() string { | ||
return common.PointerString(m) | ||
} | ||
|
||
// ValidateEnumValue returns an error when providing an unsupported enum value | ||
// This function is being called during constructing API request process | ||
// Not recommended for calling this function directly | ||
func (m OpenIdConnectTokenAuthenticationConfig) ValidateEnumValue() (bool, error) { | ||
errMessage := []string{} | ||
|
||
if len(errMessage) > 0 { | ||
return true, fmt.Errorf(strings.Join(errMessage, "\n")) | ||
} | ||
return false, nil | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 66 additions & 0 deletions
66
core/boot_volume_source_from_boot_volume_backup_delta_details.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. | ||
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. | ||
// Code generated. DO NOT EDIT. | ||
|
||
// Core Services API | ||
// | ||
// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), | ||
// compute instances, and block storage volumes. For more information, see the console | ||
// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), | ||
// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and | ||
// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. | ||
// The required permissions are documented in the | ||
// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. | ||
// | ||
|
||
package core | ||
|
||
import ( | ||
"encoding/json" | ||
"fmt" | ||
"github.com/oracle/oci-go-sdk/v65/common" | ||
"strings" | ||
) | ||
|
||
// BootVolumeSourceFromBootVolumeBackupDeltaDetails Specifies the boot volume backups (first & second) and block size in bytes. | ||
type BootVolumeSourceFromBootVolumeBackupDeltaDetails struct { | ||
|
||
// The OCID of the first boot volume backup. | ||
FirstBackupId *string `mandatory:"true" json:"firstBackupId"` | ||
|
||
// The OCID of the second boot volume backup. | ||
SecondBackupId *string `mandatory:"true" json:"secondBackupId"` | ||
|
||
// Block size in bytes to be considered while performing volume restore. The value must be a power of 2; ranging from 4KB (4096 bytes) to 1MB (1048576 bytes). If omitted, defaults to 4,096 bytes (4 KiB). | ||
ChangeBlockSizeInBytes *int64 `mandatory:"false" json:"changeBlockSizeInBytes"` | ||
} | ||
|
||
func (m BootVolumeSourceFromBootVolumeBackupDeltaDetails) String() string { | ||
return common.PointerString(m) | ||
} | ||
|
||
// ValidateEnumValue returns an error when providing an unsupported enum value | ||
// This function is being called during constructing API request process | ||
// Not recommended for calling this function directly | ||
func (m BootVolumeSourceFromBootVolumeBackupDeltaDetails) ValidateEnumValue() (bool, error) { | ||
errMessage := []string{} | ||
|
||
if len(errMessage) > 0 { | ||
return true, fmt.Errorf(strings.Join(errMessage, "\n")) | ||
} | ||
return false, nil | ||
} | ||
|
||
// MarshalJSON marshals to json representation | ||
func (m BootVolumeSourceFromBootVolumeBackupDeltaDetails) MarshalJSON() (buff []byte, e error) { | ||
type MarshalTypeBootVolumeSourceFromBootVolumeBackupDeltaDetails BootVolumeSourceFromBootVolumeBackupDeltaDetails | ||
s := struct { | ||
DiscriminatorParam string `json:"type"` | ||
MarshalTypeBootVolumeSourceFromBootVolumeBackupDeltaDetails | ||
}{ | ||
"bootVolumeBackupDelta", | ||
(MarshalTypeBootVolumeSourceFromBootVolumeBackupDeltaDetails)(m), | ||
} | ||
|
||
return json.Marshal(&s) | ||
} |
Oops, something went wrong.