github.com/openshift-online/ocm-sdk-go@v0.1.473/clustersmgmt/v1/cluster_registry_config_builder_alias.go (about)

     1  /*
     2  Copyright (c) 2020 Red Hat, Inc.
     3  
     4  Licensed under the Apache License, Version 2.0 (the "License");
     5  you may not use this file except in compliance with the License.
     6  You may obtain a copy of the License at
     7  
     8    http://www.apache.org/licenses/LICENSE-2.0
     9  
    10  Unless required by applicable law or agreed to in writing, software
    11  distributed under the License is distributed on an "AS IS" BASIS,
    12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  See the License for the specific language governing permissions and
    14  limitations under the License.
    15  */
    16  
    17  // IMPORTANT: This file has been generated automatically, refrain from modifying it manually as all
    18  // your changes will be lost when the file is generated again.
    19  
    20  package v1 // github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1
    21  
    22  import (
    23  	api_v1 "github.com/openshift-online/ocm-api-model/clientapi/clustersmgmt/v1"
    24  )
    25  
    26  // ClusterRegistryConfigBuilder contains the data and logic needed to build 'cluster_registry_config' objects.
    27  //
    28  // ClusterRegistryConfig describes the configuration of registries for the cluster.
    29  // Its format reflects the OpenShift Image Configuration, for which docs are available on
    30  // [docs.openshift.com](https://docs.openshift.com/container-platform/4.16/openshift_images/image-configuration.html)
    31  // ```json
    32  //
    33  //	{
    34  //	   "registry_config": {
    35  //	     "registry_sources": {
    36  //	       "blocked_registries": [
    37  //	         "badregistry.io",
    38  //	         "badregistry8.io"
    39  //	       ]
    40  //	     }
    41  //	   }
    42  //	}
    43  //
    44  // ```
    45  type ClusterRegistryConfigBuilder = api_v1.ClusterRegistryConfigBuilder
    46  
    47  // NewClusterRegistryConfig creates a new builder of 'cluster_registry_config' objects.
    48  var NewClusterRegistryConfig = api_v1.NewClusterRegistryConfig