...

Source file src/github.com/openshift/api/operator/v1alpha1/zz_generated.swagger_doc_generated.go

Documentation: github.com/openshift/api/operator/v1alpha1

     1  package v1alpha1
     2  
     3  // This file contains a collection of methods that can be used from go-restful to
     4  // generate Swagger API documentation for its models. Please read this PR for more
     5  // information on the implementation: https://github.com/emicklei/go-restful/pull/215
     6  //
     7  // TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
     8  // they are on one line! For multiple line or blocks that you want to ignore use ---.
     9  // Any context after a --- is ignored.
    10  //
    11  // Those methods can be generated by using hack/update-swagger-docs.sh
    12  
    13  // AUTO-GENERATED FUNCTIONS START HERE
    14  var map_DelegatedAuthentication = map[string]string{
    15  	"":         "DelegatedAuthentication allows authentication to be disabled.",
    16  	"disabled": "disabled indicates that authentication should be disabled.  By default it will use delegated authentication.",
    17  }
    18  
    19  func (DelegatedAuthentication) SwaggerDoc() map[string]string {
    20  	return map_DelegatedAuthentication
    21  }
    22  
    23  var map_DelegatedAuthorization = map[string]string{
    24  	"":         "DelegatedAuthorization allows authorization to be disabled.",
    25  	"disabled": "disabled indicates that authorization should be disabled.  By default it will use delegated authorization.",
    26  }
    27  
    28  func (DelegatedAuthorization) SwaggerDoc() map[string]string {
    29  	return map_DelegatedAuthorization
    30  }
    31  
    32  var map_GenerationHistory = map[string]string{
    33  	"":               "GenerationHistory keeps track of the generation for a given resource so that decisions about forced updated can be made.",
    34  	"group":          "group is the group of the thing you're tracking",
    35  	"resource":       "resource is the resource type of the thing you're tracking",
    36  	"namespace":      "namespace is where the thing you're tracking is",
    37  	"name":           "name is the name of the thing you're tracking",
    38  	"lastGeneration": "lastGeneration is the last generation of the workload controller involved",
    39  }
    40  
    41  func (GenerationHistory) SwaggerDoc() map[string]string {
    42  	return map_GenerationHistory
    43  }
    44  
    45  var map_GenericOperatorConfig = map[string]string{
    46  	"":               "GenericOperatorConfig provides information to configure an operator\n\nCompatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.",
    47  	"servingInfo":    "ServingInfo is the HTTP serving information for the controller's endpoints",
    48  	"leaderElection": "leaderElection provides information to elect a leader. Only override this if you have a specific need",
    49  	"authentication": "authentication allows configuration of authentication for the endpoints",
    50  	"authorization":  "authorization allows configuration of authentication for the endpoints",
    51  }
    52  
    53  func (GenericOperatorConfig) SwaggerDoc() map[string]string {
    54  	return map_GenericOperatorConfig
    55  }
    56  
    57  var map_LoggingConfig = map[string]string{
    58  	"":        "LoggingConfig holds information about configuring logging",
    59  	"level":   "level is passed to glog.",
    60  	"vmodule": "vmodule is passed to glog.",
    61  }
    62  
    63  func (LoggingConfig) SwaggerDoc() map[string]string {
    64  	return map_LoggingConfig
    65  }
    66  
    67  var map_NodeStatus = map[string]string{
    68  	"":                               "NodeStatus provides information about the current state of a particular node managed by this operator.",
    69  	"nodeName":                       "nodeName is the name of the node",
    70  	"currentDeploymentGeneration":    "currentDeploymentGeneration is the generation of the most recently successful deployment",
    71  	"targetDeploymentGeneration":     "targetDeploymentGeneration is the generation of the deployment we're trying to apply",
    72  	"lastFailedDeploymentGeneration": "lastFailedDeploymentGeneration is the generation of the deployment we tried and failed to deploy.",
    73  	"lastFailedDeploymentErrors":     "lastFailedDeploymentGenerationErrors is a list of the errors during the failed deployment referenced in lastFailedDeploymentGeneration",
    74  }
    75  
    76  func (NodeStatus) SwaggerDoc() map[string]string {
    77  	return map_NodeStatus
    78  }
    79  
    80  var map_OperatorCondition = map[string]string{
    81  	"": "OperatorCondition is just the standard condition fields.",
    82  }
    83  
    84  func (OperatorCondition) SwaggerDoc() map[string]string {
    85  	return map_OperatorCondition
    86  }
    87  
    88  var map_OperatorSpec = map[string]string{
    89  	"":                "OperatorSpec contains common fields for an operator to need.  It is intended to be anonymous included inside of the Spec struct for you particular operator.",
    90  	"managementState": "managementState indicates whether and how the operator should manage the component",
    91  	"imagePullSpec":   "imagePullSpec is the image to use for the component.",
    92  	"imagePullPolicy": "imagePullPolicy specifies the image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.",
    93  	"version":         "version is the desired state in major.minor.micro-patch.  Usually patch is ignored.",
    94  	"logging":         "logging contains glog parameters for the component pods.  It's always a command line arg for the moment",
    95  }
    96  
    97  func (OperatorSpec) SwaggerDoc() map[string]string {
    98  	return map_OperatorSpec
    99  }
   100  
   101  var map_OperatorStatus = map[string]string{
   102  	"":                           "OperatorStatus contains common fields for an operator to need.  It is intended to be anonymous included inside of the Status struct for you particular operator.",
   103  	"observedGeneration":         "observedGeneration is the last generation change you've dealt with",
   104  	"conditions":                 "conditions is a list of conditions and their status",
   105  	"state":                      "state indicates what the operator has observed to be its current operational status.",
   106  	"taskSummary":                "taskSummary is a high level summary of what the controller is currently attempting to do.  It is high-level, human-readable and not guaranteed in any way. (I needed this for debugging and realized it made a great summary).",
   107  	"currentVersionAvailability": "currentVersionAvailability is availability information for the current version.  If it is unmanged or removed, this doesn't exist.",
   108  	"targetVersionAvailability":  "targetVersionAvailability is availability information for the target version if we are migrating",
   109  }
   110  
   111  func (OperatorStatus) SwaggerDoc() map[string]string {
   112  	return map_OperatorStatus
   113  }
   114  
   115  var map_StaticPodOperatorStatus = map[string]string{
   116  	"":                                    "StaticPodOperatorStatus is status for controllers that manage static pods.  There are different needs because individual node status must be tracked.",
   117  	"latestAvailableDeploymentGeneration": "latestAvailableDeploymentGeneration is the deploymentID of the most recent deployment",
   118  	"nodeStatuses":                        "nodeStatuses track the deployment values and errors across individual nodes",
   119  }
   120  
   121  func (StaticPodOperatorStatus) SwaggerDoc() map[string]string {
   122  	return map_StaticPodOperatorStatus
   123  }
   124  
   125  var map_VersionAvailability = map[string]string{
   126  	"":                "VersionAvailability gives information about the synchronization and operational status of a particular version of the component",
   127  	"version":         "version is the level this availability applies to",
   128  	"updatedReplicas": "updatedReplicas indicates how many replicas are at the desired state",
   129  	"readyReplicas":   "readyReplicas indicates how many replicas are ready and at the desired state",
   130  	"errors":          "errors indicates what failures are associated with the operator trying to manage this version",
   131  	"generations":     "generations allows an operator to track what the generation of \"important\" resources was the last time we updated them",
   132  }
   133  
   134  func (VersionAvailability) SwaggerDoc() map[string]string {
   135  	return map_VersionAvailability
   136  }
   137  
   138  var map_ImageContentSourcePolicy = map[string]string{
   139  	"":         "ImageContentSourcePolicy holds cluster-wide information about how to handle registry mirror rules. When multiple policies are defined, the outcome of the behavior is defined on each field.\n\nCompatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.",
   140  	"metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
   141  	"spec":     "spec holds user settable values for configuration",
   142  }
   143  
   144  func (ImageContentSourcePolicy) SwaggerDoc() map[string]string {
   145  	return map_ImageContentSourcePolicy
   146  }
   147  
   148  var map_ImageContentSourcePolicyList = map[string]string{
   149  	"":         "ImageContentSourcePolicyList lists the items in the ImageContentSourcePolicy CRD.\n\nCompatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.",
   150  	"metadata": "metadata is the standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
   151  }
   152  
   153  func (ImageContentSourcePolicyList) SwaggerDoc() map[string]string {
   154  	return map_ImageContentSourcePolicyList
   155  }
   156  
   157  var map_ImageContentSourcePolicySpec = map[string]string{
   158  	"":                        "ImageContentSourcePolicySpec is the specification of the ImageContentSourcePolicy CRD.",
   159  	"repositoryDigestMirrors": "repositoryDigestMirrors allows images referenced by image digests in pods to be pulled from alternative mirrored repository locations. The image pull specification provided to the pod will be compared to the source locations described in RepositoryDigestMirrors and the image may be pulled down from any of the mirrors in the list instead of the specified repository allowing administrators to choose a potentially faster mirror. Only image pull specifications that have an image digest will have this behavior applied to them - tags will continue to be pulled from the specified repository in the pull spec.\n\nEach “source” repository is treated independently; configurations for different “source” repositories don’t interact.\n\nWhen multiple policies are defined for the same “source” repository, the sets of defined mirrors will be merged together, preserving the relative order of the mirrors, if possible. For example, if policy A has mirrors `a, b, c` and policy B has mirrors `c, d, e`, the mirrors will be used in the order `a, b, c, d, e`.  If the orders of mirror entries conflict (e.g. `a, b` vs. `b, a`) the configuration is not rejected but the resulting order is unspecified.",
   160  }
   161  
   162  func (ImageContentSourcePolicySpec) SwaggerDoc() map[string]string {
   163  	return map_ImageContentSourcePolicySpec
   164  }
   165  
   166  var map_RepositoryDigestMirrors = map[string]string{
   167  	"":        "RepositoryDigestMirrors holds cluster-wide information about how to handle mirros in the registries config. Note: the mirrors only work when pulling the images that are referenced by their digests.",
   168  	"source":  "source is the repository that users refer to, e.g. in image pull specifications.",
   169  	"mirrors": "mirrors is one or more repositories that may also contain the same images. The order of mirrors in this list is treated as the user's desired priority, while source is by default considered lower priority than all mirrors. Other cluster configuration, including (but not limited to) other repositoryDigestMirrors objects, may impact the exact order mirrors are contacted in, or some mirrors may be contacted in parallel, so this should be considered a preference rather than a guarantee of ordering.",
   170  }
   171  
   172  func (RepositoryDigestMirrors) SwaggerDoc() map[string]string {
   173  	return map_RepositoryDigestMirrors
   174  }
   175  
   176  // AUTO-GENERATED FUNCTIONS END HERE
   177  

View as plain text