Skip to content

Instantly share code, notes, and snippets.

View johnlabarge's full-sized avatar

John LaBarge johnlabarge

  • Apple Inc.
  • Austin, TX
View GitHub Profile
@johnlabarge
johnlabarge / YamlExample.java
Created February 13, 2019 18:14
Yaml Example with api version
package io.kubernetes.client.examples;
import io.kubernetes.client.ApiException;
import io.kubernetes.client.models.V1Pod;
import io.kubernetes.client.models.V1PodBuilder;
import io.kubernetes.client.util.Yaml;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.HashMap;
@johnlabarge
johnlabarge / YamlExample.java
Created February 13, 2019 18:00
Modified YamlExample
/*
Copyright 2018 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
//
// TransitionController.h
//
// Created by XJones on 11/25/11.
//
#import <UIKit/UIKit.h>
@interface TransitionController : UIViewController